Difference between revisions of "Template:Default"

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{{#if:{{{2|}}}|D|d}}efault: '''{{{1}}}'''</includeonly><noinclude> ==Usage== This template is supposed to standardize the display of default values. ===Arguments=...")
 
 
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|D|d}}efault: '''{{{1}}}'''</includeonly><noinclude>
+
<includeonly>{{#if:{{{2|}}}|D|d}}efault: '''{{{1}}}'''[[Category:Default]]</includeonly><noinclude>
 
==Usage==
 
==Usage==
This template is supposed to standardize the display of default values.
+
This template is supposed to standardize the display of default values. Elements using defaults are pooled in [[:Category:Default]].
 
===Arguments===
 
===Arguments===
 
'''1''': a default value
 
'''1''': a default value

Latest revision as of 14:43, 30 May 2018

Usage

This template is supposed to standardize the display of default values. Elements using defaults are pooled in Category:Default.

Arguments

1: a default value 2: anything; if used, the D in Default is capitalized

Examples

{{default|TRUE}}

delivers

default: TRUE

{{default|0|x}}

delivers

Default: 0