Template:Intro: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
Line 4: Line 4:
Kategorie erzeugen
Kategorie erzeugen
-->{{#vardefine:kat|{{#switch:{{{1}}}
-->{{#vardefine:kat|{{#switch:{{{1}}}
|2.5=[[Category:Intro/2.5]]
|2.4=[[Category:Intro/2.4]]
|2.4=[[Category:Intro/2.4]]
|2.3=[[Category:Intro/2.3]]
|2.3=[[Category:Intro/2.3]]

Revision as of 15:29, 15 September 2022

Usage

This Template delivers a standardized comment that a feature, e.g. an element or attribute was introduced with a certain version of railML®. The page will be listet in a child category of Category:Intro.

Options

  • 1: the version when the feature was introduced; required
  • kat: suppresses categorization, if zero

Dependencies

The template depends on Template:Vers

Example

{{intro|2.3}}

delivers

(introduced with version 2.3)

{{intro|2.5|kat=0}}

delivers

(introduced with version 2.5)