Difference between revisions of "Template:Merge"

From ArchWiki
Jump to: navigation, search
m (the line break was creating <p><br></p> before the template)
(deprecate feature, see talk page)
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
====Usage====
 
====Usage====
  
This template should be added at the beginning of articles that duplicate effort or otherwise overlap with an existing article's scope.
+
This template should be added at the beginning of articles that duplicate effort or otherwise overlap with an existing article's scope. Ensure to rationalize the proposed merge with the second argument and possibly also on the flagged article's discussion page.
  
<pre>{{Merge|Article to merge with}}</pre>
+
<nowiki>{{Merge|Article to merge with|reason}}</nowiki>
  
Please link to any existing merger discussion:
+
You can override the default discussion page with a third optional argument
  
<pre>{{Merge|Article to merge with|Talk:Article to be merged#Merge discussion}}</pre>
+
<nowiki>{{Merge|Article to merge with|reason|Talk:Article to be merged#Merge discussion}}</nowiki>
  
Flagged pages can be found in [[Special:WhatLinksHere/Template:Merge]]. Users are encouraged to participate in merger discussions or simply complete the merge (if sensible). The <tt><nowiki>{{Merge}}</nowiki></tt> flag should be removed after the merge is completed or the proposal is rejected.
+
You can point to a specific section in the default talk page with the named {{ic|section}} parameter:
 +
 +
<nowiki>{{Merge|Article to merge with|reason|section}}</nowiki>
  
====Example====
+
Flagged pages can be found in [[Special:WhatLinksHere/Template:Merge]]. Users are encouraged to participate in merger discussions or simply complete the merge (if sensible). The {{ic|<nowiki>{{Merge}}</nowiki>}} flag should be removed after the merge is completed or the proposal is rejected.
 +
 
 +
====Example==== <!-- unlike most other template examples, this one is not called directly so as not to categorize the page as disputed; please update the example if updating the code -->
 +
 
 +
<nowiki>{{Merge|</nowiki>{{FULLPAGENAME}}<nowiki>|This is just a demonstration template.}}</nowiki>
  
 
{{Message_box
 
{{Message_box
 
|id              = merge
 
|id              = merge
 
|signal          = [[Image:Tango-two-arrows.png]]
 
|signal          = [[Image:Tango-two-arrows.png]]
|heading        = This article is a candidate for [[Template:Merge|merging]].
+
|heading        = This article or section is a candidate for merging with [[{{FULLPAGENAME}}]].
|message        = It is suggested that this page or section be merged with ''[[:{{NAMESPACE}}:{{{1}}}|{{{1}}}]]''. ([[{{{2|:{{NAMESPACE}} talk:{{PAGENAMEE}}}}}|Discuss]])}}</noinclude><includeonly>{{Message_box
+
|message        = '''Notes:''' This is just a demonstration template. ([[{{TALKPAGENAME}}|Discuss]])}}</noinclude><includeonly>{{Message_box
 
|id              = merge
 
|id              = merge
 
|signal          = [[Image:Tango-two-arrows.png]]
 
|signal          = [[Image:Tango-two-arrows.png]]
|heading        = This article is a candidate for [[Template:Merge|merging]].
+
|heading        = This article or section is a candidate for merging with [[{{{1|<span style="color:red;">specify the target title with the first argument</span>}}}]].
|message        = It is suggested that this page or section be merged with ''[[:{{NAMESPACE}}:{{{1}}}|{{{1}}}]]''. ([[{{{2|:{{NAMESPACE}} talk:{{PAGENAMEE}}}}}|Discuss]])}}</includeonly>
+
|message        = '''Notes:''' {{{reason|{{{2|{{Unexplained Status Template|second|more detailed indications}}}}}}}} ([[{{{talk|{{{3|{{TALKPAGENAME}}#{{{section|}}}}}}}}}|Discuss]])}}</includeonly>

Revision as of 12:18, 20 March 2012

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A "merge" flag used to suggest merging of two articles.

Usage

This template should be added at the beginning of articles that duplicate effort or otherwise overlap with an existing article's scope. Ensure to rationalize the proposed merge with the second argument and possibly also on the flagged article's discussion page.

{{Merge|Article to merge with|reason}}

You can override the default discussion page with a third optional argument

{{Merge|Article to merge with|reason|Talk:Article to be merged#Merge discussion}}

You can point to a specific section in the default talk page with the named section parameter:

{{Merge|Article to merge with|reason|section}}

Flagged pages can be found in Special:WhatLinksHere/Template:Merge. Users are encouraged to participate in merger discussions or simply complete the merge (if sensible). The {{Merge}} flag should be removed after the merge is completed or the proposal is rejected.

Example

{{Merge|Template:Merge|This is just a demonstration template.}}

Template:Message box