Template:Slug

From railML 2 Wiki
Jump to navigation Jump to search

Usage

Returns the slug of a pagename. Template:Core returns the page name without the slug, and template:getParent tries to find the parent element.

Arguments

  • 1: The page name, optional; the default is the current page name via {{SUBPAGENAME}}

Example

{{slug|IS:track}}

returns:

IS