Difference between revisions of "Template:FunctionArgument"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
m (Try to get the : to show up as a literal :)
imported>SnakeChomp
(Try different value syntax)
Line 3: Line 3:
<pre>{{FunctionArgument
<pre>{{FunctionArgument
|Name = foo
|Name = foo
|Value = 0/1
|Value = {0, 1}
}}</pre>
}}</pre>


{{FunctionArgumentTest
{{FunctionArgumentTest
|Name = foo
|Name = foo
|Value = 0/1/2
|Value = {0, 1}
}}
}}


Line 22: Line 22:
}}
}}


</noinclude><includeonly>&nbsp;{{{Name}}}{{#if: {{{Value|}}} | [{{{Value}}}] | <nowiki>:</nowiki>{{{Type}}}}}</includeonly>
</noinclude><includeonly>&nbsp;{{{Name}}}{{#if: {{{Value|}}} | {{{Value}}} | <nowiki>:</nowiki>{{{Type}}}}}</includeonly>

Revision as of 17:13, 30 January 2009

Example 1

{{FunctionArgument
|Name = foo
|Value = {0, 1}
}}

 foo{0, 1}

Example 2

{{FunctionArgument
|Name = foo
|Type = int
}}

 foo:int