Template:Mergeto: Difference between revisions

Jump to navigation Jump to search
+doc + some alterations
No edit summary
(+doc + some alterations)
Line 1: Line 1:
<div class="messagebox merge" style="border: 1px #ccc solid; padding:12px;margin: 12px">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[{{{1}}}|{{{1}}}]]''.</div>
<div class="messagebox merge" style="border: 1px #ccc solid; padding:12px;margin: 12px">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[{{{1}}}|{{{1}}}]]''. {{#if: {{{2|}}} | [[{{{2}}}|Discuss]] this merge.|}}</div>
<includeonly>[[Category:Articles to be merged|{{PAGENAME}} (into {{{1}}})]]</includeonly>
<includeonly>[[Category:Articles to be merged|{{PAGENAME}} (into {{{1}}})]]</includeonly>
<noinclude>
<noinclude>
Comments go here.
{{Informative template|1=
__NOTOC__
== Goal ==
This template can be placed at the top of an article or section that is considered to be merged into another article or section.
 
Articles marked with this template will automatically be added to the category [[:Category:Articles to be merged|Articles to be merged]].
 
Merging can be done if two articles are found to be similar enough that merging them would aid their maintenance.  The merge is done by copying text from one article to another and keeping the first as a redirect page.  Normally text from a shorter article is merged into a longer article.
 
== Usage ==
The template is placed at the top of the article or section to be merged from.
 
<nowiki>{{</nowiki>'''mergeto'''<nowiki>|</nowiki>The other article<nowiki>|</nowiki>''Discussion page''<nowiki>}}</nowiki>
 
* <tt>The other article</tt>: Name of the article to be merged into
* <tt>''Discussion page''</tt>: Optional name of a discussion page with a section about the merge.
 
If there is a need for a motivation or a discussion about the merge, do so on the page to be merged from, preferably as a new section named something like ''Merge to &lt;other article&gt;'' and link to the talk page and preferably also to that section with the second parameter.
 
== Examples ==
<pre>{{mergeto|Example}}</pre>
 
<div class="messagebox merge" style="border: 1px #ccc solid; padding:12px;margin: 12px">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[Example|Example]]''.</div>
 
<pre>{{mergeto|Example|Template talk:Merge#Merge with Example}}</pre>
 
<div class="messagebox merge" style="border: 1px #ccc solid; padding:12px;margin: 12px">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[Example|Example]]''. [[Template talk:Mergeto#Merge into Example|Discuss]] this merge.</div>
 
== Related templates ==
* {{tl|merge}}
* {{tl|mergefrom}}
* {{tl|mergedisputed}}


[[Category:Maintenance templates]]
[[Category:Maintenance templates]]
[[Category:Undocumented templates]]
}}
</noinclude>
</noinclude>

Navigation menu