Template:Semcon/Check: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
-->{{#ifeq:{{#sub:{{{1}}}|1|28}}|ttps://www.railml.org/forum/|{{#vardefine:test|1}}}}<!-- | -->{{#ifeq:{{#sub:{{{1}}}|1|28}}|ttps://www.railml.org/forum/|{{#vardefine:test|1}}}}<!-- | ||
-->{{#ifeq:{{#sub:{{{1}}}|1|30}}|ttps://development.railml.org/|{{#vardefine:test|1}}}}<!-- | -->{{#ifeq:{{#sub:{{{1}}}|1|30}}|ttps://development.railml.org/|{{#vardefine:test|1}}}}<!-- | ||
-->{{#ifeq:{{#sub:{{{1}}}|1|31}}|https://development.railml.org/|{{#vardefine:test| | -->{{#ifeq:{{#sub:{{{1}}}|1|31}}|https://development.railml.org/|{{#vardefine:test|2}}}}<!-- | ||
-->{{# | -->{{#switch:{{#var:test}} | ||
|1=''[{{{1}}} Discuss this semantic constraint]'' | |||
|2=''[{{#sub:{{{1}}}|1|0}} Discuss this semantic constraint]'' | |||
|#default={{fixme}}: [[template:semcon#forum|add Link to discussion!]] {{#sub:{{{1}}}|1|0}}}}</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
Test for the [[template:semcon#forum|forum argument]] of [[template:Semcon]]. | Test for the [[template:semcon#forum|forum argument]] of [[template:Semcon]]. |
Revision as of 17:12, 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}}}