Difference between revisions of "Template:Main other"

From HPC Wiki
Jump to navigation Jump to search
(Mukund-pondkule-6a11@uni-paderborn.de moved page Template to Template:Trim)
Tag: New redirect
 
(Removed redirect to Template:Trim)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:Trim]]
+
{{#switch:
 +
  <!--If no or empty "demospace" parameter then detect namespace-->
 +
  {{#if:{{{demospace|}}}
 +
  | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
 +
  | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
 +
    | main
 +
    | other
 +
    }}
 +
  }}
 +
| main    = {{{1|}}}
 +
| other
 +
| #default = {{{2|}}}
 +
}}

Revision as of 17:28, 7 October 2020