Template:ParseTitle: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{tag|{{#sub:{{{1}}}|0|2}}|{{#sub:{{#explode:{{{1}}}|_|0}}|3|0}}|{{#explode:{{{1}}}|_|1|2}}}}
<includeonly>{{tag|{{#sub:{{{1}}}|0|2}}|{{#sub:{{#explode:{{{1}}}|_|0}}|3|0}}|{{#explode:{{{1}}}|_|1|2}}}}</includeonly><noinclude>
<hr>
{{#sub:{{{1}}}|0|2}}
 
{{#explode:{{{1}}}|_}}
 
x{{#sub:{{#explode:{{{1}}}|_}}|3|0}}
<hr>
</includeonly><noinclude>
==usage==
==usage==
Transforms an element title, e.g. ''IS:additionalName_propOther'' into a tag, e.g. {{parseTitle|IS:additionalName_propOther}}
Transforms an element title, e.g. ''IS:additionalName_propOther'' into a tag, e.g. {{parseTitle|IS:additionalName_propOther}}

Latest revision as of 17:04, 17 December 2020

usage

Transforms an element title, e.g. IS:additionalName_propOther into a tag, e.g. <additionalName>

Arguments

1: The title to be parsed