Difference between revisions of "Template:Argument optional"

From JRiverWiki
Jump to: navigation, search
Line 1: Line 1:
Argument ''{{{1}}}'' is optional (defaults to {{monospace|{{{2}}}}}).
+
Argument ''{{{1|mode}}}'' is optional (defaults to {{monospace|{{{2|0}}}}}).<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.</noinclude>

Revision as of 14:11, 25 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.