Template:Depr: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
(Deprecation template created)
 
(railML→{{rml}})
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Vers|deprecated with version {{{1}}}}}
<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==
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===
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==
<nowiki>{{depr|2.3}}</nowiki>
 
delivers
 
{{depr|2.3}}
 
[[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)