Template:Main other: Difference between revisions

From PZwiki
(Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ...")
 
m (Automated Formatting)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#switch:
{{#switch:
   <!--If no or empty "demospace" parameter then detect namespace-->
   <!--If no or empty "demospace" parameter then detect namespace-->
   {{#if:{{{demospace|}}}  
   {{#if:{{{demospace|}}}
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
   | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
   | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
     | main
     | main
     | other
     | other
     }}  
     }}
   }}
   }}
| main    = {{{1|}}}
| main    = {{{1|}}}
Line 12: Line 12:
| #default = {{{2|}}}
| #default = {{{2|}}}
}}
}}
<noinclude>{{documentation}}</noinclude>

Latest revision as of 14:19, 14 April 2024

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Main other/doc.
Editors can experiment in this template's sandbox (create)