模板:Main other:修订间差异

imported>BrockF5
保護「Template:Main other」: 高風險模板 ([edit=autoconfirmed] (无期) [move=autoconfirmed] (无期))
imported>Xiplus
 
(未显示3个用户的4个中间版本)
第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 }}
     | main
     | other
     | other
     }}  
     }}  
   }}
   }}
| main     = {{{1|}}}
| main = {{{1|}}}
| other
| other
| #default = {{{2|}}}
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
}}<noinclude><!--End switch-->{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
 
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>