Difference between revisions of "Template:Duplication/doc"
imported>RedUser m (Reverted 1 edit by 115.164.52.1 (talk) to last revision by Intgr. (Using Twinkle)) |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| Line 9: | Line 9: | ||
=== Parameters === | === Parameters === | ||
All parameters are optional. | All parameters are optional. | ||
| − | *< | + | *<kbd>section</kbd> — changes wording to say "This '''section''' duplicates...". Place the template at the top of the section. |
*:Example: {{Tlx|Duplication|section{{=}}yes}} | *:Example: {{Tlx|Duplication|section{{=}}yes}} | ||
| − | *< | + | *<kbd>dupe</kbd> — 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: {{Tlx|Duplication|dupe{{=}}#Section name}} {{Tlx|Duplication|dupe{{=}}Article name}} | *:Examples: {{Tlx|Duplication|dupe{{=}}#Section name}} {{Tlx|Duplication|dupe{{=}}Article name}} | ||
| − | *< | + | *<kbd>dupe2</kbd> — same as <kbd>dupe</kbd>, just allows for an additional section/article to be linked. |
*:Example: {{Tlx|Duplication|dupe{{=}}Article name|dupe2{{=}}#Section name}} | *:Example: {{Tlx|Duplication|dupe{{=}}Article name|dupe2{{=}}#Section name}} | ||
Revision as of 15:35, 5 August 2018
| 40px | 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. |
Contents
Usage
This template automatically adds articles to Category:Articles in need of internal merging or Category:Duplicate articles.
Basic usage: {{Duplication|date=June 2026}}
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 phrase "article" with "section"
| 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 | 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
- {{Duplicate}}, for files.
- {{Move portions}}/{{Move portions from}}: another approach to mitigate partial duplication
- {{Overly detailed}}, perhaps a much more appropriate template under these circumstances.
- {{Summarize section}}
- {{Summarize}}:
{{Summarize|to|ArticleName}},{{Summarize|from|ArticleName}}