Difference between revisions of "Template:Duplication"
imported>UsuallyNonviolentBot m (→top: Remove deprecated parameter $N from Module:Unsubst) |
imported>Smjg (fix broken small parameter - see talk) |
||
| Line 5: | Line 5: | ||
|type = style | |type = style | ||
|sect = {{{1|{{#if:{{yesno|{{{section|}}}}}|section|article}}}}} | |sect = {{{1|{{#if:{{yesno|{{{section|}}}}}|section|article}}}}} | ||
| − | |small = {{#if:{{yesno|{{{section|}}}}}|left|{{#ifeq:{{{1|}}}|section|left| | + | |small = {{{small|{{#if:{{yesno|{{{section|}}}}}|left|{{#ifeq:{{{1|}}}|section|left|no}}}}}}} |
|issue = '''[[WP:CFORK|duplicates]] the scope of other {{#if:{{yesno|{{{section|}}}}}|sections|articles}}'''{{#if:{{{dupe|}}}|, specifically, [[:{{{dupe}}}]]{{#if:{{{dupe2|}}}| and [[:{{{dupe2}}}]]}}}}. | |issue = '''[[WP:CFORK|duplicates]] the scope of other {{#if:{{yesno|{{{section|}}}}}|sections|articles}}'''{{#if:{{{dupe|}}}|, specifically, [[:{{{dupe}}}]]{{#if:{{{dupe2|}}}| and [[:{{{dupe2}}}]]}}}}. | ||
|fix = Please [[{{{discuss|{{TALKPAGENAME}}}}}|discuss]] this issue on the talk page and edit it to conform with [[Wikipedia:Summary style|Wikipedia's Manual of Style]]{{#if:{{yesno|{{{section|}}}}}| by replacing the section with a link and a [[Wikipedia:Summary style|summary]] of the repeated material, or by spinning off the repeated text into an article in its own right.|.}} | |fix = Please [[{{{discuss|{{TALKPAGENAME}}}}}|discuss]] this issue on the talk page and edit it to conform with [[Wikipedia:Summary style|Wikipedia's Manual of Style]]{{#if:{{yesno|{{{section|}}}}}| by replacing the section with a link and a [[Wikipedia:Summary style|summary]] of the repeated material, or by spinning off the repeated text into an article in its own right.|.}} | ||
Revision as of 19:45, 23 June 2020
This article duplicates the scope of other articles. (December 2025) |
Contents
Usage
This template automatically adds articles to Category:Articles in need of internal merging or Category:Duplicate articles.
Basic usage: {{Duplication|date=December 2025}}
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:
Template data
Cleanup template for use in articles which duplicate the scope of other articles.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Duplicate article or section | dupe | Adds a link referring to the section or article being duplicated, and adds the article to Category:Duplicate articles
| String | optional |
| Duplicate article or section 2 | dupe2 | Same as dupe, just allows for an additional section/article to be linked.
| String | optional |
| Section | section 1 | Replaces word "article" with "section" if either section=yes or 1=section is specified
| String | suggested |
| Talk page discussion | discuss | Article talk page and section where a relevant discussion is taking place
| String | optional |
| Month and year | date | The month and year that this cleanup request was placed
| String | suggested |
| Small version of template | small | If value 'left' is specified, displays a smaller version of this template, for use when template is not at top of article
| String | optional |
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 Wikipedia
- {{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}}
| The above documentation is transcluded from Template:Duplication/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |