Jump to content

Template:Namespace detect/test1

Revision as of 11:07, 20 March 2025 by Shia.k (talk | contribs) (Created page with "{{#switch: {{lc: <!--Lower case the result--> <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{{demospace}}} | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | talk | {{NAMESPACE}} }} }} }} }} <!-- Only one of the lines below will be executed --> <!-- Respecting empty parameters on purpose --> | main = {{{main| {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


David's sandbox for {{namespace detect}}

Here David Göthberg is testing and showing new code versions. Please do not edit this page. If you want to experiment do so in {{namespace detect/sandbox}} or create your own subpage under {{namespace detect}} or in your own user space.

The area above is template code on this page, the area below are transclusions of this page and show how that code renders when used. If you anyway have updated the code above then you have to purge this page to see the effect on the examples below.

{{namespace detect/test1
| main  = Article text
| image = Image page text
| other = Other pages text
}}

Other pages text


{{namespace detect/test1
| main  = Article text
| file  = File page text
| other = Other pages text
}}

Other pages text


{{namespace detect/test1
| demospace = image
| main  = Article text
| image = Image page text
| other = Other pages text
}}

Image page text


{{namespace detect/test1
| demospace = file
| main  = Article text
| file = File page text
| other = Other pages text
}}

File page text


{{namespace detect/test1
| demospace = file
| main  = Article text
| image = Image page text
| other = Other pages text
}}

Image page text


{{namespace detect/test1
| demospace = image
| main = Article text
| file = File page text
| other = Other pages text
}}

File page text