Template:Core

From railML 2 Wiki
Revision as of 16:24, 21 March 2022 by RailML Coord Documentation (talk | contribs) (Created page with "<includeonly>{{#sub:{{{1|{{SUBPAGENAME}}}}}|3}}</includeonly><noinclude> ==Usage== Returns the slug of a pagename. Template:Core returns the page name without the slug, an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

{{core|IS:track}}

returns:

track