Template:Merge: Difference between revisions

+ date stamping + rel: Template:Splitapart
(+doc + some alterations)
(+ date stamping + rel: Template:Splitapart)
Line 1: Line 1:
<div class="messagebox merge" style="border: 1px #ccc solid; padding: 12px; margin: 12px;">[[Image:Merge-arrows.gif|left]] It has been suggested that this article or section be merged with ''[[{{{1}}}|{{{1}}}]]''. {{#if: {{{2|}}} | [[{{{2}}}|Discuss]] this merge.|}}</div>
<div class="messagebox merge" style="border: 1px #ccc solid; padding: 12px; margin: 12px;">[[Image:Merge-arrows.gif|left]] It has been suggested that this article or section be merged with ''[[{{{1}}}]]''. {{#if: {{{2|}}} | [[{{{2}}}|Discuss]] this merge.|}} {{#if: {{{date|}}} | <small>''This has been proposed since {{{date}}}''.</small>|}}</div>
<includeonly>[[Category:Articles to be merged|{{PAGENAME}} (into {{{1}}})]]</includeonly>
<includeonly>[[Category:Articles to be merged|{{PAGENAME}} (into {{{1}}})]]</includeonly>
<noinclude>
<noinclude>
Line 14: Line 14:
The template is placed at the top of the article to be merged from.
The template is placed at the top of the article to be merged from.


  <nowiki>{{</nowiki>'''merge'''<nowiki>|</nowiki>The other article<nowiki>|</nowiki>''Discussion page''<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>'''merge'''<nowiki>|</nowiki>The other article<nowiki>|</nowiki>''Discussion page''<nowiki>|</nowiki>''date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}''<nowiki>}}</nowiki>


* <tt>The other article</tt>: Name of the article to be merged to
* <tt>'''The other article'''</tt>: Name of the article to be merged to
* <tt>''Discussion page''</tt>: Optional name of a discussion page with a section about the merge.
* <tt>'''''Discussion page'''''</tt>: Optional name of a discussion page with a section about the merge.
* <tt>'''''date='''''</tt> Optional date the merge was proposed in <tt>m YYYY</tt> format (for example <tt>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</tt>)


If there is a need for a motivation or a discussion about the merge, do so on the discussion page to 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.
If there is a need for a motivation or a discussion about the merge, do so on the discussion page to 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.
Line 29: Line 30:


<div class="messagebox merge" style="border: 1px #ccc solid; padding: 12px; margin: 12px;">[[Image:Merge-arrows.gif|left]] It has been suggested that this article or section be merged with ''[[Example|Example]]''. [[Template talk:Merge#Merge with example|Discuss]] this merge.</div>
<div class="messagebox merge" style="border: 1px #ccc solid; padding: 12px; margin: 12px;">[[Image:Merge-arrows.gif|left]] It has been suggested that this article or section be merged with ''[[Example|Example]]''. [[Template talk:Merge#Merge with example|Discuss]] this merge.</div>
<pre>{{merge|Example|Template talk:Merge#Merge with Example|date=August 2013}}</pre>
<div class="messagebox merge" style="border: 1px #ccc solid; padding: 12px; margin: 12px;">[[Image:Merge-arrows.gif|left]] It has been suggested that this article or section be merged with ''[[Example|Example]]''. [[Template talk:Merge#Merge with Example|Discuss]] this merge. <small>''This has been proposed since August 2013''.</small></div>


== Related templates ==
== Related templates ==
Line 34: Line 39:
* {{tl|mergefrom}}
* {{tl|mergefrom}}
* {{tl|mergedisputed}}
* {{tl|mergedisputed}}
* {{tl|splitapart}}


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