Difference between revisions of "Template:SemconFrame"

From wiki.railML.org
Jump to: navigation, search
[checked revision][checked revision]
Line 3: Line 3:
 
{|type="wikitable" border="0" style="background-color:{{{3}}}"
 
{|type="wikitable" border="0" style="background-color:{{{3}}}"
 
|valign="top"|[[file:Private-cloud-icon.png|50px]]
 
|valign="top"|[[file:Private-cloud-icon.png|50px]]
|<font color="grey">'''{{{4}}}{{#if:{{{id}}}|&nbsp;{{{id}}}}}:'''</font><hr>&nbsp;<br>{{{1}}}<br>&nbsp;<hr><font color="grey">{{{2}}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''</font>
+
|<font color="grey">'''{{{4}}}{{#if:{{{id}}}|&nbsp;"{{{id}}}"}}:'''</font><hr>&nbsp;<br>{{{1}}}<br>&nbsp;<hr><font color="grey">{{{2}}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''</font>
 
|}
 
|}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>

Revision as of 14:48, 9 July 2019

Usage

Note.png 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.

Arguments

The template has two unnamed obligatory arguments:

  • 1: The constraint.
  • 2: Some organisatorial info provided by the template that employs this template
  • 3: The background color
  • 4: The status

Example

See Template:Semcon#Example