模板:Main other:修订间差异

来自悠日計画 維基百科 ~ Yuuni Wiki
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
第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|}}}
}}<noinclude>
}}<noinclude><!--End switch-->{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
 
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>

2022年5月10日 (二) 09:20的版本

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