<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://star-citizen.wiki/index.php?action=history&amp;feed=atom&amp;title=Modul%3AGetParameters%2Fdoc</id>
	<title>Modul:GetParameters/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://star-citizen.wiki/index.php?action=history&amp;feed=atom&amp;title=Modul%3AGetParameters%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://star-citizen.wiki/index.php?title=Modul:GetParameters/doc&amp;action=history"/>
	<updated>2026-05-25T16:06:27Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Star Citizen Wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://star-citizen.wiki/index.php?title=Modul:GetParameters/doc&amp;diff=79237&amp;oldid=prev</id>
		<title>FoXFTW: Die Seite wurde neu angelegt: „{{Documentation|fromWikipedia=true}}  == Usage == === getParameters === Takes 2 required arguments, &lt;code&gt;frame_args&lt;/code&gt; and &lt;code&gt;arg_list&lt;/code&gt;. Parses a frame&#039;s arguments, returning either the provided named arguments in &lt;code&gt;arg_list&lt;/code&gt; if found or the positional parameters instead if not. This is designed to work around the stripping of values that takes place for defined parameters which could be important.  As an example, the calls &lt;syntax…“</title>
		<link rel="alternate" type="text/html" href="https://star-citizen.wiki/index.php?title=Modul:GetParameters/doc&amp;diff=79237&amp;oldid=prev"/>
		<updated>2024-04-06T18:22:53Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „{{Documentation|fromWikipedia=true}}  == Usage == === getParameters === Takes 2 required arguments, &amp;lt;code&amp;gt;frame_args&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;arg_list&amp;lt;/code&amp;gt;. Parses a frame&amp;#039;s arguments, returning either the provided named arguments in &amp;lt;code&amp;gt;arg_list&amp;lt;/code&amp;gt; if found or the positional parameters instead if not. This is designed to work around the stripping of values that takes place for defined parameters which could be important.  As an example, the calls &amp;lt;syntax…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation|fromWikipedia=true}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== getParameters ===&lt;br /&gt;
Takes 2 required arguments, &amp;lt;code&amp;gt;frame_args&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;arg_list&amp;lt;/code&amp;gt;. Parses a frame&amp;#039;s arguments, returning either the provided named arguments in &amp;lt;code&amp;gt;arg_list&amp;lt;/code&amp;gt; if found or the positional parameters instead if not. This is designed to work around the stripping of values that takes place for defined parameters which could be important.&lt;br /&gt;
&lt;br /&gt;
As an example, the calls &amp;lt;syntaxhighlight lang=lua inline&amp;gt;getParameters({&amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;}, {&amp;quot;x&amp;quot;, &amp;quot;y&amp;quot;})&amp;lt;/syntaxhighlight&amp;gt; and &amp;lt;syntaxhighlight lang=lua inline&amp;gt;getParameters({x=&amp;quot;a&amp;quot;, y=&amp;quot;b&amp;quot;, z=&amp;quot;c&amp;quot;}, {&amp;quot;x&amp;quot;, &amp;quot;y&amp;quot;})&amp;lt;/syntaxhighlight&amp;gt; would both give back &amp;lt;syntaxhighlight lang=lua inline&amp;gt;{x=&amp;quot;a&amp;quot;, y=&amp;quot;b&amp;quot;}&amp;lt;/syntaxhighlight&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== getBoolean ===&lt;br /&gt;
Takes 1 required argument &amp;lt;code&amp;gt;boolean_str&amp;lt;/code&amp;gt;. Turns the input into a true/false boolean value based on the input. Will error if given anything other than a string or boolean value.&lt;br /&gt;
&lt;br /&gt;
=== defined ===&lt;br /&gt;
To be invoked from inside a template instead of a module. Determines if a certain parameter is defined in the parent frame&amp;#039;s arguments.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Module:Arguments]]&lt;/div&gt;</summary>
		<author><name>FoXFTW</name></author>
	</entry>
</feed>