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