Difference between revisions of "Template:FunctionArgument"

Try different value syntax
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>
Anonymous user