Template:Depr: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(railML→{{rml}})
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{depVers|deprecated with version {{{1}}}}}[[Category:Depr/{{{1}}}]]</includeonly><noinclude>
<includeonly>{{depVers|deprecated with version {{{1}}}}}{{#switch:{{{1}}}
|2.5=[[Category:Depr/2.5]]
|2.4=[[Category:Depr/2.4]]
|2.3=[[Category:Depr/2.3]]
|2.2=[[Category:Depr/2.2]]
|2.1=[[Category:Depr/2.1]]
|2.0=[[Category:Depr/2.0]]
|#default=[[Category:Depr]]
}}</includeonly><noinclude>
==Usage==
==Usage==
This Template delivers a standardized comment that a feature, e.g. an element or attribute was depricated with a certain version of railML<sup>®</sup>. The page will be listet in a child category of [[:Category:Depr]].
This Template delivers a standardized comment that a feature, e.g. an element or attribute was depricated with a certain version of {{rml}}. The page will be listet in a child category of [[:Category:Depr]].
===Argument===
===Argument===
The template has one obligatory argument that is intended for the version when the feature was depricated.
The template has one obligatory argument that is intended for the version when the feature was depricated.
Line 12: Line 20:
delivers
delivers


<span style="color:#FFFFFF; background:#DF0101">(deprecated with version 2.3)</span>
{{depr|2.3}}


[[Category:ContentTemplate]]</noinclude>
[[Category:ContentTemplate]]
{{interwiki}}
</noinclude>

Latest revision as of 21:32, 22 January 2024

Usage

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

Argument

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

Dependencies

The template depends on Template:DepVers

Example

{{depr|2.3}}

delivers

(deprecated with version 2.3)