Template:Semcon/Check: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 5: Line 5:
-->{{#switch:{{#var:test}}
-->{{#switch:{{#var:test}}
|1=''[{{{1}}} Discuss this semantic constraint]''
|1=''[{{{1}}} Discuss this semantic constraint]''
|2={{#vardfine:falle|1}}''[{{{1}}} Discuss this semantic constraint]''{{#vardfine:falle|0}}
|2={{#vardefine:falle|1}}''[{{{1}}} Discuss this semantic constraint]''{{#vardefine:falle|0}}
|#default={{fixme}}: [[template:semcon#forum|add Link to discussion!]]&nbsp;{{#sub:{{{1}}}|1|0}}}}</includeonly><noinclude>
|#default={{fixme}}: [[template:semcon#forum|add Link to discussion!]]&nbsp;{{#sub:{{{1}}}|1|0}}}}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 17:40, 26 November 2023

Usage

Test for the forum argument of template:Semcon.

Arguments

  • 1: The string (URL) that should be tested.

Examples

{{Semcon/Check|1=https://www.railml.org/forum/index.php?t=msg&th=786&start=0&}}

delivers:

Discuss this semantic constraint

{{Semcon/Check|https://development.railml.org/railml/version3/-/issues/460}}

delivers:

Discuss this semantic constraint

{{semcon/Check|https://www.railml.org/en/developer/ontology.html}}

delivers:

FIXME: add Link to discussion! ttps://www.railml.org/en/developer/ontology.html

{{semcon/Check|{{ticket|460}}}}

delivers:

[#460 Discuss this semantic constraint]

{{semcon/Check}}

delivers:

FIXME: add Link to discussion! {{1}}}