Template:Depr: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(interwiki)
(+Kat v2.5)
Line 1: Line 1:
<includeonly>{{depVers|deprecated with version {{{1}}}}}{{#switch:{{{1}}}
<includeonly>{{depVers|deprecated with version {{{1}}}}}{{#switch:{{{1}}}
|2.5=[[Category:Depr/2.5]]
|2.4=[[Category:Depr/2.4]]
|2.4=[[Category:Depr/2.4]]
|2.3=[[Category:Depr/2.3]]
|2.3=[[Category:Depr/2.3]]

Revision as of 19:26, 13 March 2023

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)