Template:Slug: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Slug isolieren </noinclude>{{#vardefine:slug|{{#explode:{{{1|{{FULLPAGENAME}}}}}|:|0}}}}<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 | |GML4RAILML | ||
Line 23: | 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