Difference between revisions of "Template:Sibling"
m (Added missing safesubst) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:36, 23 January 2013
[[{{Template:Sibling|Example|ignore=}}]]
Returns the path to a sibling template (a template in the same directory as the end page).
Usage
{{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
- {{TEMPLATENAME}}
- {{TEMPLATENAMEE}}
The above documentation is transcluded from Sibling/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |