Template talk:If pagename

From Knot Atlas
Revision as of 10:29, 29 August 2005 by Scott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

For each pagename you'd like to test against, you need to create a new template. For example, if you want to be able to use

{{If pagename|Sandbox|We're on the Sandbox, no place else.}}

you need to create a page Template:CallSandbox, with content

{{{{{Sandbox}}}|{{{1}}}|{{{2}}}|{{{3}}}}}

See also Template:If not pagename, Template:If pagename transclude and Template:If not pagename transclude, for each of which the same note applies.