Template:SemconFrame: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
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}}}| "{{{id}}}"}}:'''</font><hr>{{{1}}}<hr><font color="grey">{{{2}}}<br>{{#ifeq:{{#sub:{{{forum}}}|0|29}}|https://www.railml.org/forum/|''[{{{forum}}} Discuss this semantic constraint]''|{{#ifeq:{{#sub:{{{forum}}}|1|56}}|https://development.railml.org/railml/version2/-/issues/|find background information in ticket {{{forum}}}|{{fixme|forum}}: [[template:semcon#forum|add Link to discussion!]]}}}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''</font> | |<font color="grey">'''{{{4}}}{{#if:{{{id}}}|{{anchor|semcon{{{id}}} "{{{id}}}"}}:'''</font><hr>{{{1}}}<hr><font color="grey">{{{2}}}<br>{{#ifeq:{{#sub:{{{forum}}}|0|29}}|https://www.railml.org/forum/|''[{{{forum}}} Discuss this semantic constraint]''|{{#ifeq:{{#sub:{{{forum}}}|1|56}}|https://development.railml.org/railml/version2/-/issues/|find background information in ticket {{{forum}}}|{{fixme|forum}}: [[template:semcon#forum|add Link to discussion!]]}}}}<br>''Please, recognize '''[[dev:Semantic Constraints|our guidelines on semantic constraints]]'''''</font> | ||
|} | |} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Line 15: | Line 15: | ||
*4: The status | *4: The status | ||
*'''forum''': Either a link to the forum entry, where the constraint was discussed, or a call of [[template:ticket]]. | *'''forum''': Either a link to the forum entry, where the constraint was discussed, or a call of [[template:ticket]]. | ||
*'''id''': The id. If given, an achor ''#semcon<nowiki>{{{id}}}</nowiki> will be set. | |||
==Example== | ==Example== | ||
See [[Template:Semcon#Example]] | See [[Template:Semcon#Example]] |
Revision as of 14:25, 14 March 2022
Usage
|
This template is used in the background for semantic constraints. It presents them in a standardized way.
Arguments
- 1: The constraint.
- 2: Some organisatorial info provided by the template that employs this template
- 3: The background color
- 4: The status
- forum: Either a link to the forum entry, where the constraint was discussed, or a call of template:ticket.
- id: The id. If given, an achor #semcon{{{id}}} will be set.