Template:SemconDeprecated: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(Deprecated constraints should be listed in a separate category. Also, users should not be told to use Template:Semcon rather than using Template:SemconProposed directly.)
Line 2: Line 2:
|
|
{|type="wikitable" border="0" style="background-color:#ffbf00;"
{|type="wikitable" border="0" style="background-color:#ffbf00;"
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints]]
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints deprecated]]
|'''Deprecated semantic constraint:'''<br>{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{{1}}}<br>Proposed on {{{2}}}<br>Approved on {{{3}}}<br>Deprecated on {{{4}}}|Approvement date missing!}}|'''Introduction date missing!'''}}|'''Deprecation Date missing!'''}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''<br>&nbsp;<br>'''Deprecated semantic constraints may still be valid for older {{rml}} versions!'''
|'''Deprecated semantic constraint:'''<br>{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{{1}}}<br>Proposed on {{{2}}}<br>Approved on {{{3}}}<br>Deprecated on {{{4}}}|Approvement date missing!}}|'''Introduction date missing!'''}}|'''Deprecation Date missing!'''}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''<br>&nbsp;<br>'''Deprecated semantic constraints may still be valid for older {{rml}} versions!'''
|}
|}
Line 8: Line 8:
==Usage==
==Usage==
{{note|This template is intended for indirect use via [[Template:Semcon]]. Please, don't employ it directly!}}
{{note|This template is intended for indirect use via [[Template:Semcon]]. Please, don't employ it directly!}}
This template is used in the background for '''deprecated''' [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints]]. For '''proposed''' semantic constraints use [[Template:SemconProposal]].
This template is used in the background for '''deprecated''' [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints deprecated]]. For '''proposed''' semantic constraints use [[Template:Semcon]] with ''status<nowiki>=</nowiki>proposed''.


Please, don't forget to hint at semantic constraints with [[template:semconHint]]!
Please, don't forget to hint at semantic constraints with [[template:semconHint]]!

Revision as of 15:58, 6 May 2019

Usage

🗒️ This template is intended for indirect use via Template:Semcon. Please, don't employ it directly!

This template is used in the background for deprecated semantic constraints. It presents them in a standardized way and provides listing in Category:Semantic constraints deprecated. For proposed semantic constraints use Template:Semcon with status=proposed.

Please, don't forget to hint at semantic constraints with template:semconHint!

Arguments

The template has three unnamed obligatory arguments:

  • 1: The constraint.
  • 2: The introduction date
  • 3: The approvement date
  • 4: The deprecation date

Example

{{semconDeprecated|Never put off until tomorrow what you can do today.|monday|thursday|friday}}

delivers

Private-cloud-icon.png Deprecated semantic constraint:
Never put off until tomorrow what you can do today.
Proposed on monday
Approved on thursday
Deprecated on friday
Please, recognize our guidelines on semantic constraints
 
Deprecated semantic constraints may still be valid for older railML® versions!