Template:Semcon/Check: Difference between revisions

From RailTopoModel® Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{{#ifeq:{{#sub:{{{1}}}|1|28}}|ttps://www.railml.org/forum/|''[{{{1}}} Discuss this semantic constraint]''|{{fixme}}: add Link to discussion!Category:Semantic_constraints_without_forum_link}}</includeonly><noinclude> ==Usage== Test for the forum argument of template:Semcon. Adds page to Category:Semantic_constraints_without_forum_link when the link is missing. ==Arguments== *'''1:''' The string...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{#sub:{{{1}}}|1|28}}|ttps://www.railml.org/forum/|''[{{{1}}} Discuss this semantic constraint]''|{{fixme}}: [[template:semcon#forum|add Link to discussion!]][[Category:Semantic_constraints_without_forum_link]]}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{#sub:{{{1}}}|1|28}}|ttps://www.railml.org/forum/|''{{site|{{{1}}}|Discuss this semantic constraint|mode=silent}}|{{fixme|add Link to discussion!}}[[Category:Semantic_constraints_without_forum_link]]}}</includeonly><noinclude>
==Usage==
==Usage==
Test for the [[template:semcon#forum|forum argument]] of [[template:Semcon]]. Adds page to [[:Category:Semantic_constraints_without_forum_link]] when the link is missing.
Test for the [[template:semcon#forum|forum argument]] of [[template:Semcon]]. Adds page to [[:Category:Semantic_constraints_without_forum_link]] when the link is missing.
==Arguments==
==Arguments==
*'''1:''' The string (URL) that should be tested.<noinclude>
*'''1:''' The string (URL) that should be tested.<noinclude>
[[Category:Subtemplate]]
{{Interwiki|2=all}}
</noinclude>


==Examples==
==Examples==

Latest revision as of 12:03, 24 March 2025

Usage

Test for the forum argument of template:Semcon. Adds page to Category:Semantic_constraints_without_forum_link when the link is missing.

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:

FIXME add Link to discussion!

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

delivers:

FIXME add Link to discussion!

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

delivers:

FIXME add Link to discussion!

{{semcon/Check}}

delivers:

FIXME add Link to discussion!