Template:Semcon/Check: Difference between revisions
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ß={{#vardefine:falle|1}}''[{{{1}}} Discuss this semantic constraint]''{{#vardefine:falle|0}} | ||
|2=''[{{#sub:{{#explode:{{#explode:{{{1}}}|#|0}}| |0}}|1|0}} Discuss this semantic constraint]'' | |||
|#default={{fixme}}: [[template:semcon#forum|add Link to discussion!]] {{#sub:{{{1}}}|1|0}}}}</includeonly><noinclude> | |#default={{fixme}}: [[template:semcon#forum|add Link to discussion!]] {{#sub:{{{1}}}|1|0}}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 17:49, 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:
Discuss this semantic constraint
{{semcon/Check}}
delivers:
FIXME: add Link to discussion! {{1}}}