Template:Merge/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Debresser
m why have same link twice (and not under its correct name, at that)?
meta>Debresser
moved some things, added "note" that templates at Cfd
Line 3: Line 3:


== Which merge template should I use? ==
== Which merge template should I use? ==
* {{tl|Merge}} — to merge at least two together at an unspecified location
* {{tl|Merge}} — to merge at least two together at an unspecified location
* {{tl|Mergeto}} — to merge the contents of the tagged article ''into'' the specified article.
* {{tl|Mergeto}} — to merge the contents of the tagged article ''into'' the specified article.
* {{tl|Mergefrom}} — the opposite of {{tl|Mergeto}}; the contents of the specified article should be merged into the tagged article.
* {{tl|Mergefrom}} — the opposite of {{tl|Mergeto}}; the contents of the specified article should be merged into the tagged article.


This template will add tagged articles to [[:Category:Articles to be merged]], and accepts at least one and up to 20 to be merged.
'''Note''': If you want to propose merging a category, do so at [[WP:Cfd]].
 
== Usage ==


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


Line 22: Line 24:
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> | OtherPage | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}</nowiki></code>
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> | OtherPage | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}</nowiki></code>


To name other pages to be merged, simply separate them with a vertical pipe:
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><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> | OtherPage1 | OtherPage2 | OtherPage 3 | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}</nowiki></code>
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> | OtherPage1 | OtherPage2 | OtherPage 3 | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}</nowiki></code>
Line 29: Line 31:


:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> | OtherPage1 | OtherPage2 | OtherPage3 | target=OtherPage4 | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}</nowiki></code>|}}
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki> | OtherPage1 | OtherPage2 | OtherPage3 | target=OtherPage4 | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}</nowiki></code>|}}
These templates will add tagged articles to [[:Category:Articles to be merged]], and other items (files, templates, etc.) to [[:Category:Items to be merged]].


{{Wikipedia:Template messages/Merging and splitting/List}}
{{Wikipedia:Template messages/Merging and splitting/List}}

Revision as of 00:50, 23 September 2009

Template:Template doc page viewed directly

Which merge template should I use?

  • {{Merge}} — to merge at least two together at an unspecified location
  • {{Mergeto}} — to merge the contents of the tagged article into the specified article.
  • {{Mergefrom}} — the opposite of {{Mergeto}}; the contents of the specified article should be merged into the tagged article.

Note: If you want to propose merging a category, do so at WP:Cfd.

Usage

Tagging a single page is simple:

{{Merge | OtherPage }}

By default, the (Discuss) link on the template links to the top of the tagged 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 }}

In addition, all uses of this template should be accompanied with a date and month via the date parameter:

{{Merge | OtherPage | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}

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 | OtherPage 3 | discuss=Talk:OtherPage#Merge discussion | date=September 2009 }}

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=September 2009 }}

These templates will add tagged articles to Category:Articles to be merged, and other items (files, templates, etc.) to Category:Items to be merged.

{{Wikipedia:Template messages/Merging and splitting/List}}