Template:Merge: Difference between revisions

Want an adless experience? Log in or Create an account.
775 bytes removed ,  September 10, 2014
separated documentation, fixed template appearing in Articles to Merge category
(added flexibility in description)
(separated documentation, fixed template appearing in Articles to Merge category)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Ambox|type=header
{{Ambox| <!-- small/section version not applicable -->
|color={{@}}993333
| type = move
|image=[[File:Chuchu-wind-waker.png|70px]]
|header=This is a duplicate or unnecessary article
|header=This is a duplicate or unnecessary article
|{{{desc|Its content should be merged with the article "[[{{{1|}}}]]". If this has already been done, this article should be replaced by a redirect to said article.}}}
| text = This is a '''duplicate or unnecessary article'''. {{{fix|Its content should be merged with the article "[[{{{1|}}}]]".}}} If this has already been done, this article should be replaced by a redirect to said article or considered for deletion.
}}<includeonly>{{Cat|Articles to Merge}}</includeonly><noinclude>
}}<includeonly>{{Cat|Articles to Merge|{{{cat|{{PAGENAME}}}}}|nocat={{{nocat|}}}}}</includeonly><noinclude>
 
{{Documentation}}
==Purpose==
</noinclude>
This is a header [[Template:Ambox|Ambox]] used for flagging a duplicate article.  It adds a notice and link to the destination article at the top of the article, and adds it to a category so it can easily be tracked by admins.
 
==Usage==
Place this template at the very top of an article (above any infoboxes, etc.), using '''<nowiki>{{Merge|Destination}}</nowiki>'''.  Replace "Destination" with the title of the destination article.
 
To define a custom description if the default doesn't correlate with the action to be taken, define a "desc" attribute instead of just the page title.
'''<nowiki>{{Merge|desc=}}</nowiki>'''
 
For example, '''<nowiki>{{Merge|desc=Its content should be merged with (this article) and (this article) as appropriate.}}</nowiki>''' becomes
{{Merge|desc=Its content should be merged with (this article) and (this article) as appropriate.}}
 
{{Cat|Ambox Templates}}</noinclude>