Template:Duplication/doc
This is a documentation subpage for Template:Duplication. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
Usage
This template automatically adds articles to Category:Articles in need of internal merging or Category:Duplicate articles.
Basic usage: {{Duplication|date=November 2024}}
Parameters
All parameters are optional.
- section — changes wording to say "This section duplicates...". Place the template at the top of the section.
- Example:
{{Duplication|section=yes}}
- Example:
- dupe — adds a link referring to the section or article being duplicated, and adds the article to Category:Duplicate articles instead of Category:Articles in need of internal merging.
- Examples:
{{Duplication|dupe=#Section name}}
{{Duplication|dupe=Article name}}
- Examples:
- dupe2 — same as dupe, just allows for an additional section/article to be linked.
- Example:
{{Duplication|dupe=Article name|dupe2=#Section name}}
- Example:
TemplateData
TemplateData for Duplication
<templatedata> {
"description": "Use this cleanup template to indicate that an article or section duplicates the scope of other articles or sections.",
"format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"January 2024\" inserts the current month and year automatically.", "type": "line", "autovalue": "January 2024", "example": "January 2013", "suggested": true }, "dupe": { "label": "Duplicate article or section", "description": "The article or section that this article or section duplicates. This also adds this article to Category:Duplicate articles.", "example": "Microsoft Windows", "type": "wiki-page-name", "suggested": true }, "dupe2": { "label": "Duplicate article or section 2", "description": "A second article or section that this article or section duplicates", "example": "#Windows 10", "type": "wiki-page-name" }, "discuss": { "label": "Talk page discussion", "description": "Talk page and section where a relevant discussion is taking place", "example": "Talk:Microsoft#Duplicate information", "type": "wiki-page-name" }, "1": { "label": "Affected area", "description": "Text to replace the word \"article\", usually \"section\"", "type": "line", "autovalue": "section", "example": "section" }, "section": { "label": "Section?", "description": "Enter any text here to replace the word \"article\" with \"section\".", "type": "line", "autovalue": "y", "example": "y" }, "othersections": { "label": "Duplicates other sections?", "description": "If \"Affected area\" is set to \"section\", or \"Section?\" is true, you can enter \"y\", \"yes\", \"true\", \"on\" or \"1\" here to change \"other articles\" to \"other sections\".", "type": "line", "autovalue": "y", "example": "y" }, "small": { "label": "Make template small", "description": "Enter \"left\" here to make the template box small and aligned to the left.", "type": "line", "autovalue": "left", "example": "left" } }, "paramOrder": [ "date", "dupe", "dupe2", "discuss", "1", "section", "othersections", "small" ] } </templatedata>
See also
- WP:REDUNDANTFORK, a content guideline
- See a list of related cleanup templates at Wikipedia:Template messages/Cleanup.
- {{CWW}}, for pages that have been copied and pasted within CAPipedia*{{Convert to transclusion}}
- {{Duplicate}}, for files.
- {{Split portions}}/{{Merge portions from}}: another approach to mitigate partial duplication
- {{Overly detailed}}, for pages that contain excessive detail that may warrant splitting into a separate article or removing entirely
- {{Summarize section}}
- {{Summarize}}:
{{Summarize|to|ArticleName}}
,{{Summarize|from|ArticleName}}