Template:Intro: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
(Created for use harmonizing/clarifying version remarks) |
(railML→{{rml}}) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Vers|introduced with version {{{1}}}}}<noinclude>[[Category:ContentTemplate]]</noinclude> | <includeonly><!-- | ||
Darstellung | |||
-->{{Vers|introduced with version {{{1}}}}}<!-- | |||
Kategorie erzeugen | |||
-->{{#vardefine:kat|{{#switch:{{{1}}} | |||
|2.5=[[Category:Intro/2.5]] | |||
|2.4=[[Category:Intro/2.4]] | |||
|2.3=[[Category:Intro/2.3]] | |||
|2.2=[[Category:Intro/2.2]] | |||
|2.1=[[Category:Intro/2.1]] | |||
|#default=[[Category:Intro]] | |||
}}}}<!-- | |||
Kat, falls nicht ausgeschlossen | |||
-->{{#ifeq:{{{kat|1}}}|0||{{#var:kat}}}}</includeonly><noinclude> | |||
==Usage== | |||
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=== | |||
*1: the version when the feature was introduced; required | |||
*kat: suppresses categorization, if zero | |||
===Dependencies=== | |||
The template depends on [[Template:Vers]] | |||
==Example== | |||
<pre>{{intro|2.3}}</pre>delivers | |||
{{intro|2.3}} | |||
<pre>{{intro|2.5|kat=0}}</pre>delivers | |||
{{intro|2.5|kat=0}} | |||
[[Category:ContentTemplate]] | |||
{{interwiki}} | |||
</noinclude> |
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)