今天是2024年7月1日 第27周 星期一

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

更改

跳到导航 跳到搜索
添加115字节 、 2020年6月2日 (二) 06:09
implement checking file and mediawiki namespace
第14行: 第14行:  
    //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: not included, add when req'd
+
    //chk:File if "file" is defined
    //chk:MediaWiki: not included, add when req'd
+
-->| 6{{#ifeq:{{{file}}}|{{{file|}}}||NULL}}= {{{file}}}<!--
 +
    //chk:MediaWiki if "mediawiki" is defined
 +
-->| 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}}}<!--
第22行: 第24行:  
    //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, Widgets, 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.
161

个编辑

导航菜单