Template:Merge/doc: Difference between revisions
ar |
meta>Markhurd Add OtherPage to even the first references; the date /is/ currently displayed; mention you don't have to specify the date; emphasise Template: example is 'bad' |
||
Line 3: | Line 3: | ||
== Which merge template should I use? == | == Which merge template should I use? == | ||
* {{tlx|Merge}} – to merge at least two together at an unspecified location | * {{tlx|Merge|OtherPage}} – to merge at least two together at an unspecified location | ||
* {{tlx|Merge to}} – to merge the contents of the tagged article ''into'' the specified article. | * {{tlx|Merge to|OtherPage}} – to merge the contents of the tagged article ''into'' the specified article. | ||
* {{tlx|Merge from}} – the opposite of {{tlx|Merge to}}; the contents of the specified article should be merged into the tagged article. | * {{tlx|Merge from|OtherPage}} – the opposite of {{tlx|Merge to}}; the contents of the specified article should be merged into the tagged article. | ||
== Usage == | == Usage == | ||
Line 33: | Line 33: | ||
* '''Do not add the namespace''' to the names of the pages. | * '''Do not add the namespace''' to the names of the pages. | ||
: For example, write {{tlx|Merge|OtherTemplate}}, not {{tlx|Merge|Template:OtherTemplate}}. | : For example, write {{tlx|Merge|OtherTemplate}}, not {{tlx|Merge|Template:OtherTemplate}} (however note the caveat above re templates). | ||
* '''Do not link to the pages''' with square brackets. | * '''Do not link to the pages''' with square brackets. | ||
Line 39: | Line 39: | ||
: For example, write {{tlx|Merge|OtherArticle}}, not {{tlx|Merge|[[OtherArticle]]}}. | : For example, write {{tlx|Merge|OtherArticle}}, not {{tlx|Merge|[[OtherArticle]]}}. | ||
* The date '' | * You do not have to supply the date: a [[WP:Bots|bot]] will add it later. | ||
* 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. | |||
{{Wikipedia:Template messages/Merging and splitting/List}} | {{Wikipedia:Template messages/Merging and splitting/List}} |
Revision as of 09:46, 23 August 2011
This is a documentation subpage for Template:Merge. It may contain usage information, categories and other content that is not part of the original template page. |
Which merge template should I use?
{{Merge|OtherPage}}
– to merge at least two together at an unspecified location{{Merge to|OtherPage}}
– to merge the contents of the tagged article into the specified article.{{Merge from|OtherPage}}
– the opposite of{{Merge to}}
; the contents of the specified article should be merged into the tagged article.
Usage
Tagging a single page is simple:
{{Merge|OtherPage |date=November 2024}}
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=Talk:OtherPage#Merge discussion |date=November 2024}}
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=Talk:OtherPage#Merge discussion |date=November 2024}}
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=OtherPage4 |discuss=Talk:OtherPage#Merge discussion |date=November 2024}}
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
- If you want to propose merging a category, you must do so at Wikipedia:Categories for discussion, using the specific templates available there.
- If you want to propose merging a template, you must do so at Wikipedia:Templates for discussion, using the specific templates available there.
- Do not add the namespace to the names of the pages.
- For example, write
{{Merge|OtherTemplate}}
, not{{Merge|Template:OtherTemplate}}
(however note the caveat above re templates).
- Do not link to the pages with square brackets.
- You do not have to supply the date: a bot will add it later.
- 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.
{{Wikipedia:Template messages/Merging and splitting/List}}