Template:Argument optional: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="font-size:1em; color:#0f3f8d;"> |
* <span style="font-size:1em; color:#0f3f8d;">Argument ''{{{1|mode}}}'' is optional (defaults to {{{2|{{monospace|0}}}}}).</span><br /><noinclude> |
||
== Usage == |
== Usage == |
||
Line 5: | Line 5: | ||
<pre>{{argument optional|ARGUMENT_NAME|DEFAULT_VALUE}}</pre> |
<pre>{{argument optional|ARGUMENT_NAME|DEFAULT_VALUE}}</pre> |
||
: If ARGUMENT_NAME is not included, it defaults to mode. |
: If ARGUMENT_NAME is not included, it defaults to mode. |
||
: If DEFAULT_VALUE is not included, it defaults to zero.</noinclude> |
: If DEFAULT_VALUE is not included, it defaults to zero (in monospace).</noinclude> |
Revision as of 06:17, 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).