模板:Repetition/doc

< 模板:Repetition
Ph9讨论 | 贡献2020年12月27日 (日) 14:49的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

This template should be placed on articles that seem to state the same or similar thing many times.

Usage

{{Repetition|date=11月 2024}}

The word "article" can be replaced with any word or phrase using the first parameter, like so:

{{Repetition|page relating to gaming|date=11月 2024}} creates

{{#ifeq:模板|{{subst:NAMESPACE}}||}}

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

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

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

|{{#if:11月 2024
 |{{#ifexist:Category:Wikipedia articles with style issues from 11月 2024
   ||}}
 |[[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.

See also