Template:Multiple use: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{|border="5" | {|type="wikitable" border="0" |50px |In the element name'''{{#if:{{{1|}}}|{{{1}}}|{{subst:PAGENAME}}''' is used several times wit...")
 
No edit summary
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
{|type="wikitable" border="0"
{|type="wikitable" border="0"
|[[File:mass.png|50px]]
|[[File:mass.png|50px]]
|In the element name'''{{#if:{{{1|}}}|{{{1}}}|{{subst:PAGENAME}}''' is used several times within {{rml}} in different contexts. See the listbelow for the different occurances.
|The element name '''{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}''' is used several times within {{rml}} in different contexts. See the list below for the different occurances.
|}
|}
|}[[category:Multiply used names]]</includeonly><noinclude>
|}[[category:Multiply used names]]
 
</includeonly><noinclude>
==Usage==
==Usage==
This template produces a standardized note for element names that are used multiply. The pages employing the template are listed in [[:category:Multiply used names]]. Place it on the page of the multiply used element name and use [[template:mult_line]] for the occurances.
This template produces a standardized note for element names that are used multiply. The pages employing the template are listed in [[:category:Multiply used names]]. Place it on the page of the multiply used element name and use [[template:mult_line]] for the occurances.
Line 14: Line 16:
*1: The element name. The default is PAGENAME.
*1: The element name. The default is PAGENAME.
==Examples==
==Examples==
The template is used e.g. on page ''[[states]]''.
The template is used e.g. on page ''[[IS:states]]''.


<pre>{{multiple use|states}}</pre>
<pre>{{multiple use|states}}</pre>
Line 23: Line 25:


[[Category:ContentTemplate]]
[[Category:ContentTemplate]]
</noinclude
</noinclude>

Revision as of 15:03, 29 January 2018

Usage

This template produces a standardized note for element names that are used multiply. The pages employing the template are listed in category:Multiply used names. Place it on the page of the multiply used element name and use template:mult_line for the occurances.

Dependencies

The template uses template:rml.

Arguments

The template has one optional unnamed argument:

  • 1: The element name. The default is PAGENAME.

Examples

The template is used e.g. on page IS:states.

{{multiple use|states}}

delivers

Mass.png The element name states is used several times within railML® in different contexts. See the list below for the different occurances.