Template:Merge: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
new ambox conversion
(added flexibility in description)
(new ambox conversion)
Line 1: Line 1:
{{Ambox|type=header
<onlyinclude>{{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}}}}}}}</includeonly></onlyinclude>


==Purpose==
==Purpose==
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.
This {{Temlink|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==
==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.
Place {{Usage|destination}} at the top of the article, above any {{Temlink|Infobox|Infoboxes}} but below any {{Temlink|Hatnote|Hatnotes}}. {{Usage/Param|destination|A link to 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.
If the page doesn't sort properly in categories, use {{Usage|cat{{=}}}} to specify a sort key.
'''<nowiki>{{Merge|desc=}}</nowiki>'''


For example, '''<nowiki>{{Merge|desc=Its content should be merged with (this article) and (this article) as appropriate.}}</nowiki>''' becomes
To define a custom description if the default doesn't correlate with the action to be taken, define a "fix" attribute instead of just the page title.
{{Merge|desc=Its content should be merged with (this article) and (this article) as appropriate.}}
{{Usage|fix{{=}}}}


{{Cat|Ambox Templates}}</noinclude>
For example, '''<nowiki>{{Merge|fix=Its content should be merged with (this article) and (this article) as appropriate.}}</nowiki>''' becomes
{{Merge|fix=Its content should be merged with (this article) and (this article) as appropriate.}}
 
 
{{Cat|Ambox Templates}}

Navigation menu