今天是2024年11月5日 第45周 星期二
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
更改
跳到导航
跳到搜索
小第3行:
第3行:
− +
− check for namespace. use ID to reduce ambiguity and allow easy implementation of ANYTALK functionality. +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
− +
+
+
+
Passed evaluation, transfered from sandbox.
-->{{lc:{{{noinclude|}}}}}|true||<!--
-->{{lc:{{{noinclude|}}}}}|true||<!--
Store NAMESPACENUMBER. if demospaceid exists, use demospaceid instead
Store NAMESPACENUMBER. if demospaceid exists, use demospaceid instead
-->{{#vardefine:nsid|{{#if:{{{demospaceid|}}}|{{{demospaceid}}}|{{NAMESPACENUMBER}}}}}}<!--
-->{{#vardefine:nsid|{{#iferror:{{#expr:{{{demospaceid|error}}}*0}}|{{NAMESPACENUMBER}}|{{#expr:trunc {{{demospaceid}}}}}}}}}<!--
Start checking for namespace
chk:ANY Talk page
chk:ANY Talk page if "anytalk" is defined
-->{{#ifeq:{{#expr:{{#var:nsid}}mod2}}|1|{{{anytalk|}}}|<!--
-->{{#ifeq:{{#ifeq:{{{anytalk}}}|{{{anytalk|}}}|{{#expr:{{#var:nsid}}mod2}}|2}}|1|{{{anytalk}}}|<!--
-->{{#switch:{{#var:nsid}}<!--
-->{{#switch:{{#var:nsid}}<!--
chk:(MAIN)
chk:(MAIN) if "main" is defined
-->| 0 = {{{main|}}}<!--
-->| 0{{#ifeq:{{{main}}}|{{{main|}}}||NULL}}= {{{main}}}<!--
chk:User
chk:User if "user" is defined
-->| 2 = {{{user|}}}<!--
-->| 2{{#ifeq:{{{user}}}|{{{user|}}}||NULL}}= {{{user}}}<!--
chk:Project: not included, add when req'd
chk:Project: not included, add when req'd
chk:MediaWiki: not included, add when req'd
chk:MediaWiki: not included, add when req'd
chk:Template
chk:Template if "template" is defined
-->|10 = {{{template|}}}<!--
-->|10{{#ifeq:{{{template}}}|{{{template|}}}||NULL}}= {{{template}}}<!--
chk:Help
chk:Help if "help" is defined
-->|12 = {{{help|}}}<!--
-->|12{{#ifeq:{{{help}}}|{{{help|}}}||NULL}}= {{{help}}}<!--
chk:Category
chk:Category if "category" is defined
-->|14 = {{{category|}}}<!--
-->|14{{#ifeq:{{{category}}}|{{{category|}}}||NULL}}= {{{category}}}<!--
does not yet include Modules, Widgets, etc. since they are not built in
does not yet include Modules, Widgets, etc. since they are not built in
-->|#default = {{#switch:{{FULLPAGENAME}}<!--
-->|#default = {{#switch:{{FULLPAGENAME}}<!--
check for FULL page name. Allow for 3 entries, but more can be setup.
check for FULL page name. Ignore entire entry if corresponding pagename is not defined.
-->|{{{pagename|}}} = {{{page|}}}<!--
Allow 3 entries, but more can be setup.
-->|{{{pagename2|}}} = {{{page2|}}}<!--
-->|{{{pagename}}}{{#ifeq:{{{pagename}}}|{{{pagename|}}}||NULLPAGENEVERCHECK}}= {{{page|}}}<!--
-->|{{{pagename3|}}} = {{{page3|}}}|#default={{{other|}}}}}}}}}}}</includeonly><noinclude>{{doc}}</noinclude>
-->|{{{pagename2}}}{{#ifeq:{{{pagename2}}}|{{{pagename2|}}}||NULLPAGENEVERCHECK}}= {{{page2|}}}<!--
-->|{{{pagename3}}}{{#ifeq:{{{pagename3}}}|{{{pagename3|}}}||NULLPAGENEVERCHECK}}= {{{page3|}}}<!--
done checking everything. Use "other".
-->|#default={{{other|}}}}}}}}}}}</includeonly><noinclude>{{doc}}</noinclude>