模板:Main other:修订间差异

imported>Tigerzeng
imported>Xiplus
 
第1行: 第1行:
{{#switch:
{{{{{|safesubst:}}}#switch:
  <!--If no or empty "demospace" parameter then detect namespace-->
<!--If no or empty "demospace" parameter then detect namespace-->{{{{{|safesubst:}}}#if:{{{demospace|}}}  
  {{#if:{{{demospace|}}}  
   | {{{{{|safesubst:}}}lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
   | {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE}}|{{{{{|safesubst:}}}ns:0}}
   | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
     | {{{{{|safesubst:}}}ifPNS| other | main }}
     | {{ifPNS| other | main }}
     | other
     | other
     }}  
     }}  
第11行: 第10行:
| other
| other
| #default = {{{2|}}}
| #default = {{{2|}}}
}}<!--End switch--><noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
}}<noinclude><!--End switch-->{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>