Changes

2,808 bytes added ,  11:19, 27 June 2018
no edit summary
{{Documentation subpage}}
{{languages}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

== Usage ==
Tagging a single page is simple:

: <code>{{tlx|{{BASEPAGENAME}} |OtherPage&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>
{{{{BASEPAGENAME}}|OtherPage|nocat=true|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}


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

: <code>{{tlx|{{BASEPAGENAME}} |OtherPage&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>
{{{{BASEPAGENAME}}|OtherPage|nocat=true|discuss=Talk:OtherPage#Merge discussion|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}


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

: <code>{{tlx|{{BASEPAGENAME}} |OtherPage1&nbsp;|OtherPage2&nbsp;|OtherPage3&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>
{{{{BASEPAGENAME}}|OtherPage1|OtherPage2|OtherPage3|nocat=true|discuss=Talk:OtherPage#Merge discussion|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}


{{#ifeq:{{BASEPAGENAME}}|Merge|To name multiple pages to merge ''into'' a single page, use the {{para|target}} parameter. For example, to merge the tagged page, as well as OtherPage1, OtherPage2, and OtherPage3 into OtherPage4, use:

: <code>{{tlx|{{BASEPAGENAME}} |OtherPage1&nbsp;|OtherPage2&nbsp;|OtherPage3&nbsp;|target{{=}}OtherPage4&nbsp;|discuss{{=}}Talk:OtherPage#Merge discussion&nbsp;|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>}}<!-- ifeq end -->
{{{{BASEPAGENAME}}|OtherPage1|OtherPage2|OtherPage3|target=OtherPage4|nocat=true|discuss=Talk:OtherPage#Merge discussion|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}


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 {{Tlx|Merge|OtherArticle}}, not {{Tlx|Merge|&#91;&#91;OtherArticle&#93;&#93;}}.

* 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.

<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:Utility templates]]
[[Category:Exclude in print]]

<!-- ADD INTERWIKIS BELOW THIS LINE within the proper if-then-else -->
</includeonly>