Difference between revisions of "Template:Duplication"
(better) |
imported>Bsherr m (as found, replacing Template:Tld with Template:Tlc or adding/updating category placement comments, plus general and typo fixes) |
||
| (27 intermediate revisions by 14 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B= | ||
<!--{{Duplication}} begin-->{{Ambox | <!--{{Duplication}} begin-->{{Ambox | ||
| − | |name=Duplication | + | |name = Duplication |
| − | |subst=<includeonly>{{subst: | + | |subst = <includeonly>{{subst:substcheck}}</includeonly> |
| − | |type=style | + | |type = style |
| − | |sect= {{#if:{{ | + | |sect = {{{1|{{#if:{{yesno|{{{section|}}}}}|section|article}}}}} |
| − | |issue= '''[[WP:CFORK|duplicates]] | + | |small = {{{small|{{#if:{{yesno|{{{section|}}}}}|left|{{#ifeq:{{{1|}}}|section|left|no}}}}}}} |
| − | |fix= Please [[{{TALKPAGENAME}}|discuss]] this issue on the talk page and conform with [[Wikipedia:Summary style|Wikipedia's Manual of Style]] 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. | + | |issue = '''[[WP:CFORK|duplicates]] the scope of other {{#if:{{yesno|{{{section|}}}}}|sections|articles}}'''{{#if:{{{dupe|}}}|, specifically, [[:{{{dupe}}}]]{{#if:{{{dupe2|}}}| and [[:{{{dupe2}}}]]}}}}. |
| − | |date={{{date|}}} | + | |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.|.}} |
| − | |all=Duplicate articles | + | |date = {{{date|}}} |
| − | }}<!--{{Duplication}} end--><noinclude> | + | |all = {{#if:{{{dupe|}}}|Duplicate articles|Articles in need of internal merging}} |
| − | + | }}<!--{{Duplication}} end--> | |
| + | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
| − | + | <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> | |
</noinclude> | </noinclude> | ||
Latest revision as of 23:13, 9 August 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. |