Template:SemconHint: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{{#vardefine:output|{{#if:{{{1|}}}|}}}|semantic constraint {{{1}}}|the }}}|semantic constraint(s)}}}}<span style="<!--color:#FFFFFF; background:#DF0101-->">Please, be aware of {{#var:output}}!</span></includeonly><noinclude> ==Usage== Gives a hint to chapter ''Semantic constraints''. This template is called automatically by Template:ElementDocu, if the argument ''semcon'' of Template:ElementDocu exists. Compare dev:Seman...")
 
Line 1: Line 1:
<includeonly>{{#vardefine:output|{{#if:{{{1|}}}|[[#semcon{{{1|}}}|semantic constraint {{{1}}}]]|the [[#semcon{{{1|}}}|semantic constraint(s)]]}}}}<span style="<!--color:#FFFFFF; background:#DF0101-->">Please, be aware of {{#var:output}}!</span></includeonly><noinclude>
<includeonly>{{#vardefine:output|{{#if:{{{1|}}}|[[#semcon{{{1|}}}|semantic constraint {{{1}}}]]|the [[#semcon{{{1|}}}|semantic constraint(s)]]}}}}<span style="<!--color:#FFFFFF; background:#DF0101-->">Please, be aware of {{#var:output}}!</span></includeonly><noinclude>
==Usage==
==Usage==
Gives a hint to chapter ''Semantic constraints''. This template is called automatically by [[Template:ElementDocu]], if the argument ''semcon'' of Template:ElementDocu exists. Compare [[dev:Semantic Constraints]].
Gives a hint to chapter ''Semantic constraints''. In the {{rml|2}} wiki, this template is called automatically by [[Template:ElementDocu]], if the argument ''semcon'' of Template:ElementDocu exists. Compare [[dev:Semantic Constraints]].
===Arguments===
===Arguments===
'''1:''' (optional) The id of the referenced semcon. If empty, the top of the semantic constraints paragraph will be linked.
'''1:''' (optional) The id of the referenced semcon. If empty, the top of the semantic constraints paragraph will be linked.
==Example==
==Example==
<pre>{{semconHint}}</pre>
<pre>{{semconHint}}</pre>

Revision as of 18:52, 20 March 2024

Usage

Gives a hint to chapter Semantic constraints. In the railML® 2 wiki, this template is called automatically by Template:ElementDocu, if the argument semcon of Template:ElementDocu exists. Compare dev:Semantic Constraints.

Arguments

1: (optional) The id of the referenced semcon. If empty, the top of the semantic constraints paragraph will be linked.

Example

{{semconHint}}

delivers

Please, be aware of the semantic constraint(s)!