模板:Main other:修订间差异

来自悠日計画 維基百科 ~ Yuuni Wiki
导入1个版本
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
{{{{{|safesubst:}}}#switch:
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->{{{{{|safesubst:}}}#if:{{{demospace|}}}  
  <!--If no or empty "demospace" parameter then detect namespace-->
   | {{{{{|safesubst:}}}lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
  {{#if:{{{demospace|}}}  
   | {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE}}|{{{{{|safesubst:}}}ns:0}}
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
     | {{{{{|safesubst:}}}ifPNS| other | main }}
   | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
     | main
     | other
     | other
     }}  
     }}  
   }}
   }}
| main = {{{1|}}}
| main     = {{{1|}}}
| other
| other
| #default = {{{2|}}}
| #default = {{{2|}}}
}}<noinclude><!--End switch-->{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
}}<noinclude>
 
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>

2022年10月26日 (三) 02:17的最新版本


<templatestyles src="Module:Documentation/styles.css"></templatestyles>