Difference between revisions of "Template:Merge/doc"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Removed cats.) |
Shawndouglas (talk | contribs) m (Fix) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
== Notes == | == Notes == | ||
* '''Do not add the namespace''' to the names of the pages. | * '''Do not add the namespace''' to the names of the pages. | ||
Line 40: | Line 37: | ||
* The date ''will not'' be shown in the box. Do not be concerned about this. It is used when grouping tagged pages together into categories by date. | * The date ''will 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> | <includeonly> | ||
Line 47: | Line 42: | ||
{{DEFAULTSORT:{{PAGENAME}}}} | {{DEFAULTSORT:{{PAGENAME}}}} | ||
[[Category:Merge templates]] | [[Category:Merge templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 17:52, 19 August 2016
This is a documentation subpage for Template:Merge. It contains usage information, categories, interlanguage links, and other content that is not part of the original template page. |
Which merge template should I use?
- {{Merge}} – to merge at least two together at an unspecified location
- {{Merge to}} – to merge the contents of the tagged article into the specified article.
- {{Merge from}} – 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
- Do not add the namespace to the names of the pages.
- Do not link to the pages with square brackets.
- The date will not be shown in the box. Do not be concerned about this. It is used when grouping tagged pages together into categories by date.