Difference between revisions of "Template:FunctionArgument"

Jump to navigation Jump to search
371 bytes added ,  16:33, 30 January 2009
Document template syntax
imported>SnakeChomp
(Add example for optional arg)
imported>SnakeChomp
(Document template syntax)
Line 1: Line 1:
<noinclude>
<noinclude>


=Template syntax=
<pre>{{FunctionArgument
|Name = The name of the function argument. May be omitted, but it only makes sense
        to do so when ''Values'' is specified.
|Type = The type of the function argument (int, float, ref)
|Optional = If specified, the argument is optional
|Values = If specified, the given set of values is shown instead of the type
}}
</pre>
=Example 1=
=Example 1=


Anonymous user

Navigation menu