Template:Slug: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><noinclude>
<includeonly><noinclude>
Slug isolieren    </noinclude>{{#vardefine:slug|{{#explode:{{{1|{{FULLPAGENAME}}}}}|:}}}}<noinclude>
Slug isolieren    </noinclude>{{#vardefine:slug|{{#explode:{{{1|{{FULLPAGENAME}}}}}|:|0}}}}<noinclude>
... und testen    </noinclude>{{#switch:{{#var:slug}}
... und testen    </noinclude>{{#switch:{{#var:slug}}
|CO
|CO
|GML4RAILML
|IL
|IL
|IS
|IS
|RS
|RS
|TT={{#var:slug}}}}
|RTM
</includeonly><noinclude>
|TT
|Talk
|Template
|Template_talk
|Visualizations={{#var:slug}}}}</includeonly><noinclude>
==Usage==
==Usage==
Template returning the subschema slug of the page
Template returning the subschema slug of the page

Latest revision as of 11:45, 24 October 2022

Usage

Template returning the subschema slug of the page

Example

{{slug}}

returns

Template

{{slug|IS:track}}

returns

IS