Template:Intro: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
No edit summary
No edit summary
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Vers|introduced with version {{{1}}}}}<noinclude>
<includeonly>{{Vers|introduced with version {{{1}}}}}{{#switch:{{{1}}}
|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]]
}}</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 railML<sup>®</sup>.
This Template delivers a standardized comment that a feature, e.g. an element or attribute was introduced with a certain version of railML<sup>®</sup>. The page will be listet in a child category of [[:Category:Intro]].
===Options===
===Options===
The template has one obligatory argument that is intended for the version.
The template has one obligatory argument that is intended for the version when the feature was introduced.
===Dependencies===
The template depends on [[Template:Vers]]
 
==Example==
==Example==
<nowiki>{{intro|2.3}}</nowiki>
<nowiki>{{intro|2.3}}</nowiki>
Line 9: Line 18:
delivers
delivers


{{Vers|introduced with version 2.3}}
<span style="color:#FFFFFF; background:#228B22">(introduced with version 2.3)</span>


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

Revision as of 09:58, 19 October 2018

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

The template has one obligatory argument that is intended for the version when the feature was introduced.

Dependencies

The template depends on Template:Vers

Example

{{intro|2.3}}

delivers

(introduced with version 2.3)