模板:Main other:修订间差异

来自悠日計画 維基百科 ~ Yuuni Wiki
导入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年9月18日 (日) 17:37的版本


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