Template:Argument optional: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


<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.</noinclude>

Revision as of 19: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.