Template:SemconDeprecated: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Farbe #f7f2dc)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{semconFrame|{{{1}}}|Proposed on {{{2|'''Introduction date missing!'''}}}<br>Approved on {{{3|'''Approvement date missing!'''}}}<br>Deprecated on {{{3|'''Deprecation date missing!'''}}}<br>'''Deprecated semantic constraints may still be valid for older {{rml}} versions!'''|#f7f2dc;|Deprecated Semantic Constraint}}[[category:Semantic constraints deprecated]]</includeonly><noinclude>
<includeonly>{{semconFrame|{{{1}}}|Proposed on {{{2|'''Introduction date missing!'''}}}<br>Approved on {{{3|'''Approvement date missing!'''}}}<br>Deprecated on {{{3|'''Deprecation date missing!'''}}}<br>'''Deprecated semantic constraints may still be valid for older {{rml}} versions!'''|#f7f2dc;|Deprecated Semantic Constraint|id={{{id|}}}|forum={{{forum}}}}}[[category:Semantic constraints deprecated]]</includeonly><noinclude>
==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!}}
Line 6: Line 6:
Please, don't forget to hint at semantic constraints with [[template:semconHint]]!
Please, don't forget to hint at semantic constraints with [[template:semconHint]]!
===Arguments===
===Arguments===
The template has three unnamed obligatory arguments:
*1: The constraint.
*1: The constraint.
*2: The introduction date
*2: The introduction date
*3: The approvement date
*3: The approvement date
*4: The deprecation date
*4: The deprecation date
*'''forum''': A link to the forum entry, where the constraint was discussed
==Example==
==Example==
<pre>{{semconDeprecated|Never put off until tomorrow what you can do today.|monday|thursday|friday}}</pre>
<pre>{{semconDeprecated|Never put off until tomorrow what you can do today.|monday|thursday|friday}}</pre>
Line 16: Line 17:
{{semconDeprecated|Never put off until tomorrow what you can do today.|monday|thursday|friday}}
{{semconDeprecated|Never put off until tomorrow what you can do today.|monday|thursday|friday}}


[[category:template]]
[[Category:Template for semantic constraints]]
</noinclude>
</noinclude>

Latest revision as of 15:06, 16 September 2022

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

  • 1: The constraint.
  • 2: The introduction date
  • 3: The approvement date
  • 4: The deprecation date
  • forum: A link to the forum entry, where the constraint was discussed

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 thursday
Deprecated semantic constraints may still be valid for older railML® versions!
{{{forum}}}
Please, recognize our guidelines on semantic constraints