Template:LinkState: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{{#vardefine:slug|{{#sub:{{SUBPAGENAME}}|0|2}}}}<noinclude> </noinclude>{{#vardefine:parent|{{#explode:{{SUBPAGENAME}}|_|-1}}}}<noinclude> </noinclude>{{#vardefin...")
 
No edit summary
 
Line 2: Line 2:
</noinclude>{{#vardefine:parent|{{#explode:{{SUBPAGENAME}}|_|-1}}}}<noinclude>
</noinclude>{{#vardefine:parent|{{#explode:{{SUBPAGENAME}}|_|-1}}}}<noinclude>
</noinclude>{{#vardefine:dim|{{#ifeq:{{#count:{{stateDim}}|{{#var:parent}}}}|0||_(with length)}}}}<noinclude>
</noinclude>{{#vardefine:dim|{{#ifeq:{{#count:{{stateDim}}|{{#var:parent}}}}|0||_(with length)}}}}<noinclude>
</noinclude>#redirect[[{{#var:slug}}:state{{#var:dim}}]]</includeonly><noinclude>
</noinclude>#REDIRECT[[{{#var:slug}}:state{{#var:dim}}]]</includeonly><noinclude>
Produces a redirect either to <states> or to <states (with length)>
Produces a redirect either to <states> or to <states (with length)>
[[category:template]]
[[category:template]]
</noinclude>
</noinclude>

Latest revision as of 13:29, 21 March 2022

Produces a redirect either to <states> or to <states (with length)>