wikilife>Vanisaac
→‎See alsoclean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:47的最新版本

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:模板:Debate
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage编辑

Do not Wikipedia:Subst this template.

  • Use {{Debate}} to add the above message box to the top of an article.
  • Use {{Debate|section}} to add the message box to a section within an article.

Examples编辑

{{debate}}

{{#ifeq:|left|}}{{#ifeq:{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Debate/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Debate/doc}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Wikipedia articles with style issues from 
   ||}}
 |[[Category:{{#if:Wikipedia articles with style issues by month
              |Wikipedia articles with style issues by month|Wikipedia articles with style issues}}]]}}{{#if:All articles with style issues
     |}}}}}}

{{debate|section}}

{{#ifeq:|left|}}{{#ifeq:{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Debate/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Debate/doc}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Wikipedia articles with style issues from 
   ||}}
 |[[Category:{{#if:Wikipedia articles with style issues by month
              |Wikipedia articles with style issues by month|Wikipedia articles with style issues}}]]}}{{#if:All articles with style issues
     |}}}}}}

Notes编辑

This template will add tagged articles to dated subcategories of Category:Wikipedia articles with style issues by month and to Category:All articles with style issues.

This template is a self-reference.

See also编辑