Difference between revisions of "Template:Merge"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</>" to "")
m (Text replacement - "<tvar|2>" to "")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
  |type  = move
 
  |type  = move
 
  |image = [[Image:Merge-arrows.svg|50px]]
 
  |image = [[Image:Merge-arrows.svg|50px]]
  |text  =  It has been suggested that this {{<tvar|1>#ifeq:{{NAMESPACE}}|{{ns:Extension}}|extension|{{<tvar|2>#if:{{NAMESPACE}}|page|article}} or section}} be {{<tvar|3>#ifeq:{{NAMESPACE}}|{{ns:Extension}}|[[Extension merger|merged]]|[[w:Wikipedia:Merging|merged]]}}{{<tvar|4>#if:{{{1|}}}|&nbsp;with <tvar|5>{{Pagelist|nspace=default|delim=''|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}}}}{{<tvar|6>#if:{{{target|}}}|&nbsp;to <tvar|7>''[[{{{target}}}]]''|}}. ([[{{{discussion|{{{discuss|:{{TALKPAGENAME}}}}}}}}| Discuss]])}}{{#if:{{{nocat|}}}||<includeonly>{{#switch:{{NAMESPACE}}
+
  |text  =  It has been suggested that this {{#ifeq:{{NAMESPACE}}|{{ns:Extension}}|extension|{{#if:{{NAMESPACE}}|page|article}} or section}} be {{<tvar|3>#ifeq:{{NAMESPACE}}|{{ns:Extension}}|[[Extension merger|merged]]|[[w:Wikipedia:Merging|merged]]}}{{<tvar|4>#if:{{{1|}}}|&nbsp;with <tvar|5>{{Pagelist|nspace=default|delim=''|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}}}}{{<tvar|6>#if:{{{target|}}}|&nbsp;to <tvar|7>''[[{{{target}}}]]''|}}. ([[{{{discussion|{{{discuss|:{{TALKPAGENAME}}}}}}}}| Discuss]])}}{{#if:{{{nocat|}}}||<includeonly>{{#switch:{{NAMESPACE}}
 
  ||Talk={{DMC|Articles to be merged{{#translation:}}|from|{{{date|}}}|All articles to be merged{{#translation:}}}}
 
  ||Talk={{DMC|Articles to be merged{{#translation:}}|from|{{{date|}}}|All articles to be merged{{#translation:}}}}
 
  ||Extension=[[Category:Extensions to be merged{{#translation:}}]]
 
  ||Extension=[[Category:Extensions to be merged{{#translation:}}]]

Latest revision as of 18:19, 21 December 2019


Template documentation[view] [edit] [history] [purge]

Usage

Tagging a single page is simple:

{{Merge|OtherPage |date

Template loop detected: Template:DocumentationJune 2025}}


By default, the Discuss link on the template links to the top of the destination page's talk page. To specify which section, or to name a different talk page entirely, use the |discuss= parameter:

{{Merge|OtherPage |discuss

Template loop detected: Template:DocumentationTalk:OtherPage#Merge discussion |date Template loop detected: Template:DocumentationJune 2025}}


To name other pages to be merged, simply separate them with a vertical pipe. You can add up to 20 articles to be merged:

{{Merge|OtherPage1 |OtherPage2 |OtherPage3 |discuss

Template loop detected: Template:DocumentationTalk:OtherPage#Merge discussion |date Template loop detected: Template:DocumentationJune 2025}}


To name multiple pages to merge into a single page, use the |target= parameter. For example, to merge the tagged page, as well as OtherPage1, OtherPage2, and OtherPage3 into OtherPage4, use:

{{Merge|OtherPage1 |OtherPage2 |OtherPage3 |target

Template loop detected: Template:DocumentationOtherPage4 |discuss Template loop detected: Template:DocumentationTalk:OtherPage#Merge discussion |date Template loop detected: Template:DocumentationJune 2025}}


These templates will add tagged articles to Category:Articles to be merged, while non-articles (files, templates, etc.) will be added to Category:Items to be merged.

Notes

  • After adding the merge template, please create a section on the talkpage explaining your rationale for the merge proposal.
  • Do not link to the pages with square brackets.
For example, write {{Merge|OtherArticle}}, not {{Merge|[[OtherArticle]]}}.
  • The date may not be shown in the box. Do not be concerned about this. It is used when grouping tagged pages together into categories by date.