模板:Duplication/doc

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

Usage编辑

This template automatically adds articles to Category:Articles in need of internal merging or Category:Duplicate articles.

Basic usage: {{Duplication|date=11月 2024}}

Parameters编辑

All parameters are optional.

Template data编辑

<templatedata> { "params": { "section": { "label": "Section", "description": "Replaces word \"article\" with \"section\" if either section=yes or 1=section is specified", "example": "yes", "type": "string", "suggested": true, "aliases": [ "1" ] }, "small": { "label": "Small version of template", "description": "If value 'left' is specified, displays a smaller version of this template, for use when template is not at top of article", "type": "string", "default": "no, unless section parameter is given, in which case left" }, "dupe": { "label": "Duplicate article or section", "description": "Adds a link referring to the section or article being duplicated, and adds the article to Category:Duplicate articles", "example": "Microsoft Windows", "type": "string" }, "dupe2": { "label": "Duplicate article or section 2", "description": "Same as dupe, just allows for an additional section/article to be linked.", "example": "#Windows 10", "type": "string" }, "discuss": { "label": "Talk page discussion", "description": "Article talk page and section where a relevant discussion is taking place", "example": "Talk:Microsoft#Duplicate information", "type": "string" }, "date": { "label": "Month and year", "description": "The month and year that this cleanup request was placed", "example": "March 2017", "type": "string", "suggested": true, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" } }, "description": "Cleanup template for use in articles which duplicate the scope of other articles.", "paramOrder": [ "dupe", "dupe2", "section", "discuss", "date", "small" ], "format": "inline" } </templatedata>

See also编辑