更改

添加129字节 、 2020年6月8日 (一) 00:27
无编辑摘要
第3行: 第3行:  
-->{{lc:{{{noinclude|}}}}}|true||<!--
 
-->{{lc:{{{noinclude|}}}}}|true||<!--
 
    //Store NAMESPACENUMBER. if demospaceid exists and is legal, use demospaceid instead
 
    //Store NAMESPACENUMBER. if demospaceid exists and is legal, use demospaceid instead
-->{{#vardefine:nsid|{{#iferror:{{#expr:{{{demospaceid|error}}}*0}}|{{NAMESPACENUMBER}}|{{#expr:trunc {{{demospaceid}}}}}}}}}<!--
+
  -->{{#vardefine:nsid|{{#iferror:{{#expr:{{{demospaceid|error}}}*0}}|{{NAMESPACENUMBER}}|{{#expr:trunc {{{demospaceid}}}}} }} }}<!--
 
    //Start checking for namespace
 
    //Start checking for namespace
    chk:ANY Talk page if "anytalk" is defined
+
    //chk:ANY Talk page if "anytalk" is defined
-->{{#ifeq:{{#ifeq:{{{anytalk}}}|{{{anytalk|}}}|{{#expr:{{#var:nsid}}mod2}}|2}}|1|{{{anytalk}}}|<!--
+
  -->{{#ifeq:{{#ifeq:{{{anytalk}}}|{{{anytalk|}}}|{{#expr:{{#var:nsid}}mod2}}|2}}|1|{{{anytalk}}}|<!--
-->{{#switch:{{#var:nsid}}<!--
+
   -->{{#switch:{{#var:nsid}}<!--
 
    //chk:(MAIN) if "main" is defined
 
    //chk:(MAIN) if "main" is defined
-->| 0{{#ifeq:{{{main}}}|{{{main|}}}||NULL}}= {{{main}}}<!--
+
   -->| 0{{#ifeq:{{{main}}}|{{{main|}}}||NULL}}= {{{main}}}<!--
 
    //chk:User if "user" is defined
 
    //chk:User if "user" is defined
-->| 2{{#ifeq:{{{user}}}|{{{user|}}}||NULL}}= {{{user}}}<!--
+
   -->| 2{{#ifeq:{{{user}}}|{{{user|}}}||NULL}}= {{{user}}}<!--
 
    //chk:Project if "project" is defined
 
    //chk:Project if "project" is defined
-->| 4{{#ifeq:{{{project}}}|{{{project|}}}||NULL}}= {{{project}}}<!--
+
   -->| 4{{#ifeq:{{{project}}}|{{{project|}}}||NULL}}= {{{project}}}<!--
 
    //chk:File if "file" is defined
 
    //chk:File if "file" is defined
-->| 6{{#ifeq:{{{file}}}|{{{file|}}}||NULL}}= {{{file}}}<!--
+
   -->| 6{{#ifeq:{{{file}}}|{{{file|}}}||NULL}}= {{{file}}}<!--
 
    //chk:MediaWiki if "mediawiki" is defined
 
    //chk:MediaWiki if "mediawiki" is defined
-->| 8{{#ifeq:{{{mediawiki}}}|{{{mediawiki|}}}||NULL}}= {{{mediawiki}}}<!--
+
   -->| 8{{#ifeq:{{{mediawiki}}}|{{{mediawiki|}}}||NULL}}= {{{mediawiki}}}<!--
 
    //chk:Template if "template" is defined
 
    //chk:Template if "template" is defined
-->|10{{#ifeq:{{{template}}}|{{{template|}}}||NULL}}= {{{template}}}<!--
+
   -->|10{{#ifeq:{{{template}}}|{{{template|}}}||NULL}}= {{{template}}}<!--
 
    //chk:Help if "help" is defined
 
    //chk:Help if "help" is defined
-->|12{{#ifeq:{{{help}}}|{{{help|}}}||NULL}}= {{{help}}}<!--
+
   -->|12{{#ifeq:{{{help}}}|{{{help|}}}||NULL}}= {{{help}}}<!--
 
    //chk:Category if "category" is defined
 
    //chk:Category if "category" is defined
-->|14{{#ifeq:{{{category}}}|{{{category|}}}||NULL}}= {{{category}}}<!--
+
   -->|14{{#ifeq:{{{category}}}|{{{category|}}}||NULL}}= {{{category}}}<!--
 
    //does not yet include Modules, etc. since they are not built in
 
    //does not yet include Modules, etc. since they are not built in
-->|#default = {{#switch:{{FULLPAGENAME}}<!--
+
   -->|#default =<!--
 +
    -->{{#switch:{{FULLPAGENAME}}<!--
 
    //check for FULL page name. Ignore entire entry if corresponding pagename is not defined.
 
    //check for FULL page name. Ignore entire entry if corresponding pagename is not defined.
 
    //Allow 3 entries, but more can be added if there is the need.
 
    //Allow 3 entries, but more can be added if there is the need.
-->|{{{pagename}}}{{#ifeq:{{{pagename}}}|{{{pagename|}}}||NULLPAGENEVERCHECK}}= {{{page|}}}<!--
+
    -->|{{{pagename}}}{{#ifeq:{{{pagename}}}|{{{pagename|}}}||NULLPAGENEVERCHECK}}= {{{page|}}}<!--
-->|{{{pagename2}}}{{#ifeq:{{{pagename2}}}|{{{pagename2|}}}||NULLPAGENEVERCHECK}}= {{{page2|}}}<!--
+
    -->|{{{pagename2}}}{{#ifeq:{{{pagename2}}}|{{{pagename2|}}}||NULLPAGENEVERCHECK}}= {{{page2|}}}<!--
-->|{{{pagename3}}}{{#ifeq:{{{pagename3}}}|{{{pagename3|}}}||NULLPAGENEVERCHECK}}= {{{page3|}}}<!--
+
    -->|{{{pagename3}}}{{#ifeq:{{{pagename3}}}|{{{pagename3|}}}||NULLPAGENEVERCHECK}}= {{{page3|}}}<!--
 
    //done checking everything and there was no match. Use "other".
 
    //done checking everything and there was no match. Use "other".
-->|#default={{{other|}}}}}}}}}}}</includeonly><noinclude>{{doc}}<!--
+
    -->|#default={{{other|}}}<!--
 +
    -->}}<!--
 +
   -->}}<!--
 +
  -->}}<!--
 +
-->}}</includeonly><noinclude>{{doc}}<!--
 
    //C++ & C# best programmer waifus (滑稽
 
    //C++ & C# best programmer waifus (滑稽
 
--></noinclude>
 
--></noinclude>
161

个编辑