Template:FunctionArgument
Revision as of 16:29, 30 January 2009 by imported>SnakeChomp (Add example for optional arg)
Example 1
{{FunctionArgument |Name = foo |Type = int }}
foo:int
Example 2
{{FunctionArgument |Values = {0, 1} }}
{0, 1}
Example 3
{{FunctionArgument |Name = flag |Values = {0, 1} }}
flag{0, 1}
Example 4
{{FunctionArgument |Name = foo |Type = int |Optional = y }}
foo:int