|
|
Line 1: |
Line 1: |
| {{documentation subpage|{{tl|merge}}, {{tl|mergefrom}} and {{tl|mergeto}}|[[Template:Merge/doc]]}} | | <noinclude>{{template doc page viewed directly}}</noinclude> |
| | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
| | {{seealso|Wikipedia:Duplicate articles}} |
|
| |
|
| {{tl|{{PAGENAME}}}} will add tagged pages to [[:Category:All articles to be merged]]. If the <tt>date</tt> parameter is specified, pages are added to a subcategory of [[:Category:Merge by month]]. | | This template should be used for page mergers without knowing where exactly the pages will be merged. {{tl|Mergeto}} should be used to state that an article should be merged ''into'' a pre-existing article, and said pre-existing article should be tagged with {{tl|mergefrom}}. |
|
| |
|
| This template is intended to be placed on articles rather than talk pages. | | This template will add tagged articles to [[:Category:Articles to be merged]], and accepts anywhere between 1–20 articles to be merged. |
|
| |
|
| == Usage == | | ==Syntax== |
| * First parameter: name of page to be merged to (without square brackets)
| | Tagging a single page is simple: |
| * Second parameter: location of merge discussion (without square brackets)
| |
| * <tt>date</tt> parameter (optional): date, in "{{CURRENTMONTHNAME}} {{CURRENTYEAR}}" format
| |
|
| |
|
| '''To keep discussion of merges to one place, ensure the same location is specified on each page'''.
| | :<code><nowiki>{{merge | OtherPage }}</nowiki></code> |
|
| |
|
| == Examples ==
| | To list multiple pages, separate them with a pipe: |
| ;{{tl|merge}}
| |
|
| |
|
| #<code><nowiki>{{</nowiki>Merge| ''Article 1'' | Talk:''Article 1#Merge proposal'' |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code>
| | :<code><nowiki>{{merge | OtherPage1 | OtherPage2 | OtherPage3 }}</nowiki></code> |
| #<code><nowiki>{{</nowiki>Merge| ''Article 2'' | Talk:''Article 1#Merge proposal'' |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code>
| |
|
| |
|
| ;{{tl|mergefrom}} and {{tl|mergeto}} | | The "discuss" by default links to the Talk: page of the page the template is transcluded in; to override, use a parameter named <code>discuss</code>; e.g.: |
| | :<code><nowiki>{{merge | Otherpage1 | Otherpage2 | Otherpage3 | discuss=Talk:Otherpage2#Merge-discussion-sectiontitle }}</nowiki></code> |
|
| |
|
| #<code><nowiki>{{</nowiki>Mergefrom| ''Article 2'' | Talk:''Article 1#Merge proposal'' |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code>
| | All uses of this template should be accompanied with a date and month via the <code>date</code> parameter. For example: |
| #<code><nowiki>{{</nowiki>Mergeto| ''Article 1'' | Talk:''Article 1#Merge proposal'' |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code> | | |
| | :<code><nowiki>{{merge | Otherpage | date=September 2009 }}</nowiki></code> |
| | |
| | ==Redirects== |
| | <!--regex Merge-multiple|Mergesplit|MergeSplit|Multiplemergeinto|Mergemulti|Multimerge --> |
| | #{{Tl|Merge-multiple}} |
| | #{{Tl|Mergesplit}} |
| | #{{Tl|MergeSplit}} |
| | #{{Tl|Multiplemergeinto}} |
| | #{{Tl|Mergemulti}} |
| | #{{Tl|Multimerge}} |
|
| |
|
| {{Wikipedia:Template messages/Merging and splitting/List}} | | {{Wikipedia:Template messages/Merging and splitting/List}} |
|
| |
| * [[Wikipedia:Proposed mergers]]
| |
|
| |
|
| <includeonly> | | <includeonly> |
| <!-- ADD CATEGORIES BELOW THIS LINE --> | | <!-- ADD CATEGORIES BELOW THIS LINE --> |
| [[Category:Merge templates|{{PAGENAME}}]] | | [[Category:Merge templates|{{PAGENAME}}]] |
| [[Category:Exclude in print]]
| | |
| <!-- ADD INTERWIKIS BELOW THIS LINE within the proper if-then-else --> | | <!-- ADD INTERWIKIS BELOW THIS LINE --> |
| <!---
| | |
| ----- Please place Interwiki's for mergeto below this line
| |
| ---->
| |
| {{#ifeq:{{PAGENAME}}|Mergeto|
| |
| [[ca:Plantilla:Fusió a]]
| |
| [[da:Skabelon:SammenskrivesTil]]
| |
| [[cs:Šablona:SloučitDo]]
| |
| <!--[[en:Template:Mergeto]]-->
| |
| [[es:Plantilla:Fusionar en]]
| |
| [[fa:الگو:ادغام با]]
| |
| [[fi:Malline:YhdistettäväArtikkeliin]]
| |
| [[ja:Template:Mergeto]]
| |
| [[he:תבנית:לאחד לתוך]]
| |
| [[hr:Predložak:Spoji]]
| |
| [[no:Mal:Flett-til]]
| |
| [[pl:Szablon:Integruj do]]
| |
| [[ro:Format:Uneşte cu]]
| |
| [[ru:Шаблон:Перенести]]
| |
| [[sv:Mall:Infoga]]
| |
| [[th:แม่แบบ:รวมไป]]
| |
| [[zh-yue:Template:Mergeto]]
| |
| [[zh:Template:Mergeto]]
| |
| }}
| |
| <!---
| |
| ----- Please place Interwiki's for merge below this line
| |
| ---->
| |
| {{#ifeq:{{PAGENAME}}|Merge|
| |
| [[ar:قالب:دمج]]
| |
| [[id:Templat:Gabung]]
| |
| [[be:Шаблён:Аб'яднаць]]
| |
| [[bg:Шаблон:Сливане]]
| |
| [[ca:Plantilla:Fusió]]
| |
| [[cs:Šablona:Sloučit]]
| |
| [[da:Skabelon:Sammenskrives]]
| |
| [[de:Vorlage:Redundanz]]
| |
| [[dsb:Pśedłoga:Zjadnośiś]]
| |
| [[el:Πρότυπο:Συγχώνευση]]
| |
| [[es:Plantilla:Fusionar]]
| |
| [[eo:Ŝablono:Kunigu]]
| |
| [[fr:Modèle:À fusionner]]
| |
| [[hi:Template:Merge]]
| |
| [[he:תבנית:לאחד]]
| |
| [[hr:Predložak:Spajanje]]
| |
| [[hsb:Předłoha:Zjednoćić]]
| |
| [[ia:Patrono:Fusionar]]
| |
| [[it:Template:Da unire]]
| |
| [[kn:ಟೆಂಪ್ಲೇಟು:Merge]]
| |
| [[lv:Veidne:Apvienot]]
| |
| [[lt:Šablonas:Merge]]
| |
| [[hu:Sablon:Összevon]]
| |
| [[mk:Шаблон:Спојување]]
| |
| [[nl:Sjabloon:Samenvoegen]]
| |
| [[ja:Template:統合提案]]
| |
| [[no:Mal:Fletting]]
| |
| [[pl:Szablon:Integruj]]
| |
| [[pt:Predefinição:Fusão]]
| |
| [[ro:Format:Uneşte]]
| |
| [[ru:Шаблон:К объединению]]
| |
| [[sq:Stampa:Bashkoji]]
| |
| [[simple:Template:Merge]]
| |
| [[sk:Šablóna:Spojiť s]]
| |
| [[sl:Predloga:Združi]]
| |
| [[sr:Шаблон:Спајање]]
| |
| [[fi:Malline:Yhdistettävä]]
| |
| [[sv:Mall:Slå ihop]]
| |
| [[te:మూస:విలీనము]]
| |
| [[vi:Tiêu bản:Hợp nhất]]
| |
| [[tpi:Template:Merge]]
| |
| [[tr:Şablon:Birleş]]
| |
| [[uk:Шаблон:Об'єднати]]
| |
| [[zh-yue:Template:合併]]
| |
| [[zh:Template:Merge]]
| |
| }}
| |
| <!---
| |
| ----- Please place Interwiki's for mergefrom below this line
| |
| ---->
| |
| {{#ifeq:{{PAGENAME}}|Mergefrom|
| |
| [[ca:Plantilla:Fusió des de]]
| |
| [[cs:Šablona:SloučitZe]]
| |
| [[da:Skabelon:SammenskrivesFra]]
| |
| <!--[[en:Template:Mergefrom]]-->
| |
| [[es:Plantilla:Fusionar desde]]
| |
| [[fa:الگو:ادغام از]]
| |
| [[he:תבנית:לאחד עם]]
| |
| [[hr:Predložak:Mergefrom]]
| |
| [[ja:Template:Mergefrom]]
| |
| [[pl:Szablon:Integruj z]]
| |
| [[ro:Format:Uneşte din]]
| |
| [[ru:Шаблон:Перенести сюда]]
| |
| [[sv:Mall:Infoga från]]
| |
| [[th:แม่แบบ:รวมมา]]
| |
| [[vi:Tiêu bản:Hợp nhất từ]]
| |
| [[zh-yue:Template:Mergefrom]]
| |
| [[zh:Template:Mergefrom]]
| |
| }}
| |
| </includeonly> | | </includeonly> |
Template:Template doc page viewed directly
Template:Seealso
This template should be used for page mergers without knowing where exactly the pages will be merged. {{Mergeto}} should be used to state that an article should be merged into a pre-existing article, and said pre-existing article should be tagged with {{mergefrom}}.
This template will add tagged articles to Category:Articles to be merged, and accepts anywhere between 1–20 articles to be merged.
Syntax
Tagging a single page is simple:
{{merge | OtherPage }}
To list multiple pages, separate them with a pipe:
{{merge | OtherPage1 | OtherPage2 | OtherPage3 }}
The "discuss" by default links to the Talk: page of the page the template is transcluded in; to override, use a parameter named discuss
; e.g.:
{{merge | Otherpage1 | Otherpage2 | Otherpage3 | discuss=Talk:Otherpage2#Merge-discussion-sectiontitle }}
All uses of this template should be accompanied with a date and month via the date
parameter. For example:
{{merge | Otherpage | date=September 2009 }}
Redirects
- {{Merge-multiple}}
- {{Mergesplit}}
- {{MergeSplit}}
- {{Multiplemergeinto}}
- {{Mergemulti}}
- {{Multimerge}}
{{Wikipedia:Template messages/Merging and splitting/List}}