“Category handler”的版本间差异
L>Xiplus 小 (已保护“Template:Category handler”:高风险模板([编辑=仅管理员](无限期)[移动=仅管理员](无限期))) |
小 (导入1个版本) |
2020年10月30日 (五) 08:43的最新版本
{{#if:
{{#ifeq: | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: | no = 模板:Basepage subpage | only = 模板:Basepage subpage }}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Category handler }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | h0#384!5nea+w9 | {{#switch: {{#if: | {{{demospace}}} | {{#ifeq:| | main | {{#ifeq:|讨论 | talk | }} }} }}
| main = | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | other | #default =
}}
| {{#iferror: {{#expr: 1 + {{#switch: {{#if: | {{{demospace}}} | {{#ifeq:| | main | {{#ifeq:|讨论 | talk | }} }} }}
| main = | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | other | #default =
}} }} | {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:| | main | {{#ifeq:|讨论 | talk | }} }} }}
| main = | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | other | #default =
}} | }}
}} }}
}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}