Template:Slug: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(9 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}} | ||
|Generic | |||
|Visualizations | |||
|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 | ||
Line 18: | Line 25: | ||
<pre>{{slug|IS:track}}</pre> returns | <pre>{{slug|IS:track}}</pre> returns | ||
{{slug|IS:track}} | |||
[[category:template]] | [[category:template]] | ||
</noinclude><noinclude> | </noinclude><noinclude> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:11, 13 May 2024
Usage
Template returning the subschema slug of the page
Example
{{slug}}
returns
Template
{{slug|IS:track}}
returns
IS