Difference between revisions of "Template:Main other"
Jump to navigation
Jump to search
(Mukund-pondkule-6a11@uni-paderborn.de moved page Template to Template:Trim) Tag: New redirect |
m (Mukund-pondkule-6a11@uni-paderborn.de moved page Template to Template:Main other) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | # | + | {{#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|}}} | ||
+ | }} |