Difference between pages "Template:Main other" and "Template:Main other/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (6 revisions imported)
 
imported>Redrose64
(noinclude must follow "real" template code directly, without intervening spaces or line breaks)
 
Line 1: Line 1:
{{#switch:
+
{{#switch:{{NAMESPACENUMBER:{{{demospace|{{NAMESPACE}}}}}:{{PAGENAME}}}}
  <!--If no or empty "demospace" parameter then detect namespace-->
+
| 0        = {{{1|}}}
  {{#if:{{{demospace|}}}
 
  | {{lc: {{{demospace}}} }}   <!--Use lower case "demospace"-->
 
  | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
 
    | main
 
    | other
 
    }}
 
  }}
 
| main    = {{{1|}}}
 
| other
 
 
| #default = {{{2|}}}
 
| #default = {{{2|}}}
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Documentation}}
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>