Template:Mult line: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>* Element {{{{{1}}}:Tag|{{{3}}}|{{{2}}}}}, child of {{{{{1}}}:Tag|{{{2}}}}}</includeonly><noinclude> ==Usage== Use this template in connection with Template:Mul...")
 
Line 17: Line 17:


{{mult line|IS|track|signal}}
{{mult line|IS|track|signal}}
[[category:template]]
[[category:ContentTemplate]]
</noinclude>
</noinclude>

Revision as of 12:39, 19 August 2019

Usage

Use this template in connection with Template:Multiple_use to list the elements sharing a name.

Dependecies

The template employs the tag templates, e.g. template:IS:Tag.

Arguments

The template has three obligatory, unnamed arguments:

  • Obligatory:
    • 1: the subschema: CO, IS, TT, IL, RS
    • 2: the parent name. The element name will automatically be expanded by the parent name
  • Optional
    • 3: the element name (without extension). This argument is optional, the default is PAGENAME.

Example

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

{{subst:mult line|IS|track|states}}

delivers