Template:Merge/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Debresser
Forgot one.
meta>Debresser
m Fix.
Line 12: Line 12:
Tagging a single page is simple:
Tagging a single page is simple:


: {{tlx|{{BASEPAGENAME}} | OtherPage | date {{=}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
: <code>{{tlx|{{BASEPAGENAME}} | OtherPage | date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>




By default, the {{Color|#002BB8|Discuss}} link on the template links to the top of the tagged page's [[Wikipedia:Talk page|talk page]]. To specify which section, or to name a different talk page entirely, use the <code>discuss</code> parameter:
By default, the {{Color|#002BB8|Discuss}} link on the template links to the top of the tagged page's [[Wikipedia:Talk page|talk page]]. To specify which section, or to name a different talk page entirely, use the <code>discuss</code> parameter:


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




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


: {{tlx|{{BASEPAGENAME}} | OtherPage1 | OtherPage2 | OtherPage 3 | discuss=Talk:OtherPage#Merge discussion | date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
: <code>{{tlx|{{BASEPAGENAME}} | OtherPage1 | OtherPage2 | OtherPage 3 | discuss{{=}}Talk:OtherPage#Merge discussion | date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>


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


: {{tlx|{{BASEPAGENAME}} | OtherPage1 | OtherPage2 | OtherPage3 | target=OtherPage4 | discuss=Talk:OtherPage#Merge discussion | date {{=}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
: <code>{{tlx|{{BASEPAGENAME}} | OtherPage1 | OtherPage2 | OtherPage3 | target=OtherPage4 | discuss=Talk:OtherPage#Merge discussion | date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}</code>





Revision as of 18:38, 7 October 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.

Usage

Tagging a single page is simple:

{{Merge|OtherPage|date=October 2024}}


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

{{#ifeq:Merge|Merge|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|date=October 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.
For example, write {{Merge|TemplateName}}, not {{Merge|Template:TemplateName}}.
  • Do not link the pages (with square brackets [[]]).

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