Difference between revisions of "Template:FunctionArgument"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
(Add 2 examples)
imported>SnakeChomp
m (Try to get the : to show up as a literal :)
Line 22: Line 22:
}}
}}


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

Revision as of 17:12, 30 January 2009

Example 1

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

 foo[0/1/2]

Example 2

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

 foo:int