Jump to content

Template:Namespace detect

From SeptemWiki
Revision as of 12:28, 9 April 2016 by Shawn (talk | contribs) (Created page with "{{#switch: {{lc: <!--Lower case the result--> <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{{demosp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation for Template:Namespace detect[view] [edit] [history]

This template is used to produce different text depending on what namespace the rendered page is in. You may want a template to render one way in a Main: namespace page, another when viewing it directly in the Template: namespace, and still another in Help:.

{{Namespace detect
|main=Show this in main pages
|template=Use this in the template space
|help=And in the help space use this
|other=Anywhere else, this}}


Pages that use this Template
Templates that use this Template