Difference between revisions of "Template:Argument optional"
From JRiverWiki
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Argument ''{{{1}}}'' is optional (defaults to {{ | + | * <span style="font-size:92%; color:#0f3f8d;">Argument ''{{{1|mode}}}'' is optional (defaults to {{{2|{{monospace|0}}}}}).</span><br /><noinclude> |
+ | |||
+ | == Usage == | ||
+ | |||
+ | <pre>{{argument optional|ARGUMENT_NAME|DEFAULT_VALUE}}</pre> | ||
+ | : If ARGUMENT_NAME is not included, it defaults to mode. | ||
+ | : If DEFAULT_VALUE is not included, it defaults to zero (in monospace).</noinclude> |
Latest revision as of 01:19, 26 January 2016
- Argument mode is optional (defaults to 0).
Usage
{{argument optional|ARGUMENT_NAME|DEFAULT_VALUE}}
- If ARGUMENT_NAME is not included, it defaults to mode.
- If DEFAULT_VALUE is not included, it defaults to zero (in monospace).