Template:Intro: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
(railML→{{rml}}) |
||
(One intermediate revision by the same user not shown) | |||
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]] | ||
Line 13: | Line 14: | ||
-->{{#ifeq:{{{kat|1}}}|0||{{#var:kat}}}}</includeonly><noinclude> | -->{{#ifeq:{{{kat|1}}}|0||{{#var:kat}}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
This Template delivers a standardized comment that a feature, e.g. an element or attribute was introduced with a certain version of | This Template delivers a standardized comment that a feature, e.g. an element or attribute was introduced with a certain version of {{rml}}. The page will be listet in a child category of [[:Category:Intro]]. | ||
===Options=== | ===Options=== | ||
*1: the version when the feature was introduced; required | *1: the version when the feature was introduced; required |
Latest revision as of 22:09, 22 January 2024
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)