Difference between revisions of "Template:Duplication/doc"

From blackwiki
Jump to navigation Jump to search
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.
*<tt>section</tt> — changes wording to say "This '''section''' duplicates...". Place the template at the top of the section.
+
*<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}}
*<tt>dupe</tt> — 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]].
+
*<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}}
*<tt>dupe2</tt> — same as <tt>dupe</tt>, just allows for an additional section/article to be linked.
+
*<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

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.

Template data

Cleanup template for use in articles which duplicate the scope of other articles.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Duplicate article or sectiondupe

Adds a link referring to the section or article being duplicated, and adds the article to Category:Duplicate articles

Example
Microsoft Windows
Stringoptional
Duplicate article or section 2dupe2

Same as dupe, just allows for an additional section/article to be linked.

Example
#Windows 10
Stringoptional
Sectionsection 1

Replaces phrase "article" with "section"

Example
yes
Stringsuggested
Talk page discussiondiscuss

Article talk page and section where a relevant discussion is taking place

Example
Talk:Microsoft#Duplicate information
Stringoptional
Month and yeardate

The month and year that this cleanup request was placed

Example
March 2017
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Small version of templatesmall

Displays a smaller version of this template, for use when template is not at top of article

Default
no
Stringoptional

See also