Template:SemconProposed: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{|border="5" | {|type="wikitable" border="0" style="background-color:#ffbf00;" |valign="top"|50pxcategory:Semantic constraints...")
 
No edit summary
Line 1: Line 1:
<includeonly>{|border="5"
<includeonly>{|border="5"
|
|
{|type="wikitable" border="0" style="background-color:#ffbf00;"
{|type="wikitable" border="0" style="background-color:#ffbbbb;"
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints]]
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints proposed]]
|'''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]]'''''
|'''Proposed semantic constraint:'''<br>{{#if:{{{2|}}}|{{{1}}}<br>Proposed on {{{2}}}|'''Introduction date missing!'''}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''
|}
|}
|}</includeonly><noinclude>
|}</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!}}
This template is used in the background for '''approved''' [[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 [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints]].


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:
The template has two unnamed obligatory arguments:
*1: The constraint.
*1: The constraint.
*2: The introduction date
*2: The introduction date
*3: The approvement date
==Example==
==Example==
<pre>{{semcon|Never put off until tomorrow what you can do today.|monday|thursday}}</pre>
<pre>{{semconProposed|Never put off until tomorrow what you can do today.|tomorrow}}</pre>
delivers
delivers
{{semcon|Never put off until tomorrow what you can do today.|monday|thursday}}
{{semconProposed|Never put off until tomorrow what you can do today.|2018-12-10}}


[[category:template]]
[[category:template]]
</noinclude>
</noinclude>

Revision as of 17:58, 27 March 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 semantic constraints. It presents them in a standardized way and provides listing in Category:Semantic constraints.

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

Arguments

The template has two unnamed obligatory arguments:

  • 1: The constraint.
  • 2: The introduction date

Example

{{semconProposed|Never put off until tomorrow what you can do today.|tomorrow}}

delivers

Private-cloud-icon.png Proposed semantic constraint:
Never put off until tomorrow what you can do today.
Proposed on 2018-12-10
Please, recognize our guidelines on semantic constraints