Template:SemconProposed: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|border="5"
<includeonly>{{semconFrame|{{{1}}}|Proposed on {{{2|'''Introduction date missing!'''}}}|#ffbbbb;|Proposed Semantic Constraint|id={{{id|}}}|forum={{{forum}}}}}[[category:Semantic constraints proposed]]</includeonly><noinclude>
|
{|type="wikitable" border="0" style="background-color:#ffbbbb;"
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints proposed]]
|'''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>
==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 [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints]].
This template is used in the background for proposed [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Category:Semantic constraints 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]]!
===Arguments===
===Arguments===
The template has two unnamed obligatory arguments:
The template has two unnamed obligatory arguments and two named obligatory arguments:
*1: The constraint.
*'''1''': The constraint.
*2: The introduction date
*'''2''': The introduction date
*'''id''': The id of the constraint
*'''forum''': A link to the forum entry, where the constraint was discussed
==Example==
==Example==
<pre>{{semconProposed|Never put off until tomorrow what you can do today.|tomorrow}}</pre>
<pre>{{semconProposed|Never put off until tomorrow what you can do today.|tomorrow}}</pre>
Line 20: Line 16:
{{semconProposed|Never put off until tomorrow what you can do today.|2018-12-10}}
{{semconProposed|Never put off until tomorrow what you can do today.|2018-12-10}}


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

Latest revision as of 15:04, 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 proposed semantic constraints. It presents them in a standardized way and provides listing in Category:Semantic constraints proposed.

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

Arguments

The template has two unnamed obligatory arguments and two named obligatory arguments:

  • 1: The constraint.
  • 2: The introduction date
  • id: The id of the constraint
  • forum: A link to the forum entry, where the constraint was discussed

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
{{{forum}}}
Please, recognize our guidelines on semantic constraints