Template:Semcon/Check: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:test|0}}<!-- | <includeonly>{{#vardefine:test|0}}<!-- | ||
-->{{#ifeq:{{#sub:{{{1}}}| | -->{{#ifeq:{{#sub:{{{1}}}|1|28}}|ttps://www.railml.org/forum/|{{#vardefine:test|1}}}}<!-- | ||
-->{{#ifeq:{{#sub:{{{1}}}| | -->{{#ifeq:{{#sub:{{{1}}}|1|30}}|ttps://development.railml.org/|{{#vardefine:test|1}}}}<!-- | ||
-->{{# | -->{{#ifeq:{{#sub:{{{1}}}|1|31}}|https://development.railml.org/|{{#vardefine:test|2}}}}<!-- | ||
<noinclude> | -->{{#switch:{{#var:test}} | ||
Test for the [[template:semcon#forum|forum argument]] of [[template:Semcon]] | |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!]]}}</includeonly><noinclude> | |||
==Usage== | |||
Test for the [[template:semcon#forum|forum argument]] of [[template:Semcon]]. | |||
==Arguments== | |||
*'''1:''' The string (URL) that should be tested. | |||
==Examples== | |||
<pre>{{Semcon/Check|1=https://www.railml.org/forum/index.php?t=msg&th=786&start=0&}}</pre>delivers: | |||
{{Semcon/Check|https://www.railml.org/forum/index.php?t=msg&th=786&start=0&}} | {{Semcon/Check|1=https://www.railml.org/forum/index.php?t=msg&th=786&start=0&}} | ||
<pre>{{Semcon/Check|https://development.railml.org/railml/version3/-/issues/460}}</pre>delivers: | |||
{{Semcon/Check|https://development.railml.org/railml/version3/-/issues/460}} | {{Semcon/Check|https://development.railml.org/railml/version3/-/issues/460}} | ||
<pre>{{semcon/Check|https://www.railml.org/en/developer/ontology.html}}</pre>delivers: | |||
{{semcon/Check|https://www.railml.org/en/developer/ontology.html}} | {{semcon/Check|https://www.railml.org/en/developer/ontology.html}} | ||
<pre>{{semcon/Check|{{ticket|460}}}}</pre>delivers: | |||
{{semcon/Check|{{ticket|460}}}} | |||
<pre>{{semcon/Check}}</pre>delivers: | |||
{{semcon/Check}} | |||
{{interwiki}} | {{interwiki}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:11, 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!
{{semcon/Check|{{ticket|460}}}}
delivers:
Discuss this semantic constraint
{{semcon/Check}}
delivers:
FIXME: add Link to discussion!