Jump to: navigation, search

Sibling/doc


Revision as of 04:57, 10 November 2012 by Zenexer (Talk) (Zenexer moved page Zenexer/Templates/sibling/doc to Sibling/doc: Appropriate documentation for {{sibling}})

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Returns the path to a sibling template (a template in the same directory as the end page).

Usage

{{Sibling/doc|template|ignore=ignored}}
  • template specifies the name of the sibling template.
  • ignored is a namespace that gets ignored, and therefore won't be used to prefix the resulting string, even if it is the current namespace. Defaults to {{ns:Template}}.

{{subst:}} can be used safely with this template, but the template then loses its dynamic nature.

See also