Theme: iWiki Log in Register

Diff: Template:Main other

Comparing revision #1 (2021-12-10 16:08:06) with revision #2 (2023-02-02 05:25:01).

OldNew
{{#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|}}}
| other
| other
| #default = {{{2|}}}
| #default = {{{2|}}}
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
</noinclude>