Template:Semcon: 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={{#switch:{{{2}}}|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-col...")
 
No edit summary
Line 1: Line 1:
<includeonly>{|border="5"
<includeonly>{|border="5"
|
|
{|type="wikitable" border="0" style={{#switch:{{{2}}}|error="background-color:#ffbbbb;"|gotcha="background-color:#ffbbbb;"|reminder="background-color:#E7DBBD;"|#default="background-color:#ffeeee;"}}
{|type="wikitable" border="0" style="background-color:#ffbbbb;"
|valign="top"|{{#switch:{{{2}}}|error=[[file:rufzeichen.png|50px]][[category:Error]]|gotcha=[[file:rufzeichen.png|50px]]|reminder=[[file:birne.png|50px]]|#default=[[file:note.png|50px]]}}
|valign="top"|[[file:Private-cloud-icon.png|50px]][[category:Semantic constraints]]
|{{{1}}}
|'''Semantic constraint'''<br>{{{1}}}
|}
|}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Usage==
This template is designated for [[dev:Semantic Constraints|semantic constraints]]. It presents them in a standardized way and provides listing in [[:Sategory:Semantic constraints]].
===Arguments===
The template has one obligatoryargument for the constraint.
==Example==
<pre>{{semcon|Never put off until tomorrow what you can do today.}}</pre>
delivers
{{semcon|Never put off until tomorrow what you can do today.}}


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

Revision as of 15:32, 25 October 2018

Usage

This template is designated for semantic constraints. It presents them in a standardized way and provides listing in Sategory:Semantic constraints.

Arguments

The template has one obligatoryargument for the constraint.

Example

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

delivers

Private-cloud-icon.png Semantic constraint
Never put off until tomorrow what you can do today.