Difference between revisions of "Template:FunctionArgument"
Jump to navigation
Jump to search
Fixed typos - Values -> Value
imported>SnakeChomp (Move template code to the top. Add Value to example 4.) |
imported>Cipscis (Fixed typos - Values -> Value) |
||
Line 8: | Line 8: | ||
|Type = The type of the function argument (int, float, ref, string, ...) | |Type = The type of the function argument (int, float, ref, string, ...) | ||
|Optional = If specified, the argument is optional | |Optional = If specified, the argument is optional | ||
| | |Value = If specified, appears after the name and type information. | ||
}} | }} | ||
</pre> | </pre> | ||
Line 26: | Line 26: | ||
<pre>{{FunctionArgument | <pre>{{FunctionArgument | ||
| | |Value = 0, 1 | ||
}}</pre> | }}</pre> | ||
Line 37: | Line 37: | ||
<pre>{{FunctionArgument | <pre>{{FunctionArgument | ||
|Name = flag | |Name = flag | ||
| | |Value = 0, 1 | ||
}}</pre> | }}</pre> | ||