Template:SemconApproved: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
(8 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!'''}}}|#ffffff;|}}[[category:Semantic constraints]]
<includeonly>{{semconFrame|{{{1}}}|Proposed on {{{2|'''Introduction date missing!'''}}}<br>Approved on {{{3|'''Approvement date missing!'''}}}|#ffffff;|Semantic Constraint|id={{{id|}}}}}[[category:Semantic constraints]]</includeonly><noinclude>
{|border="5"
|
{|type="wikitable" border="0" style="background-color:#ffffff;"
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints]]
|'''Semantic constraint:'''<br>{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{{1}}}<br>Proposed on {{{2}}}<br>Approved on {{{3}}}|Approvement date missing!}}|'''Introduction date missing!'''}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''
|}
|}</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 18: Line 11:
*3: The approvement date
*3: The approvement date
==Example==
==Example==
<pre>{{semconApproved|Never put off until tomorrow what you can do today.|monday|thursday}}</pre>
<pre>{{semconApproved|Never put off until tomorrow what you can do today.|2019-01-01|2019-05-01}}</pre>
delivers
delivers
{{semconApproved|Never put off until tomorrow what you can do today.|monday|thursday}}
{{semconApproved|Never put off until tomorrow what you can do today.|2019-01-01|2019-05-01}}


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

Revision as of 13:01, 19 August 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 approved semantic constraints. It presents them in a standardized way and provides listing in Category:Semantic constraints. For proposed semantic constraints use Template:SemconProposal.

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

Example

{{semconApproved|Never put off until tomorrow what you can do today.|2019-01-01|2019-05-01}}

delivers

Private-cloud-icon.png Semantic Constraint:
 
Never put off until tomorrow what you can do today.
 
Proposed on 2019-01-01
Approved on 2019-05-01
{{{forum}}}
Please, recognize our guidelines on semantic constraints