Template:Sibling
Jump to navigation
Jump to search
[[{{Template:Sibling|Example|ignore=}}]]
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Returns the path to a sibling template (a template in the same directory as the end page).
Usage
[edit source]{{Sibling|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
[edit source]- {{TEMPLATENAME}}
- {{TEMPLATENAMEE}}