Template:Merge/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>أحمد مصطفى السيد
m Added the Arabic page
meta>Redrose64
→‎Notes: the interwikis were not showing on two templates because of page moves 22 April 2010. Insert space to fix
Line 51: Line 51:
<!-- ADD INTERWIKIS BELOW THIS LINE within the proper if-then-else -->
<!-- ADD INTERWIKIS BELOW THIS LINE within the proper if-then-else -->
<!---
<!---
----- Please place Interwiki's for mergeto below this line
----- Please place Interwiki's for merge to below this line
---->
---->
{{#ifeq:{{PAGENAME}}|Mergeto|
{{#ifeq:{{PAGENAME}}|Merge to|
[[ar:قالب:دمج إلى]]
[[ar:قالب:دمج إلى]]
[[ca:Plantilla:Fusió a]]
[[ca:Plantilla:Fusió a]]
Line 128: Line 128:
}}
}}
<!---
<!---
----- Please place Interwiki's for mergefrom below this line
----- Please place Interwiki's for merge from below this line
---->
---->
{{#ifeq:{{PAGENAME}}|Mergefrom|
{{#ifeq:{{PAGENAME}}|Merge from|
[[ca:Plantilla:Fusió des de]]
[[ca:Plantilla:Fusió des de]]
[[cs:Šablona:SloučitZe]]
[[cs:Šablona:SloučitZe]]

Revision as of 19:37, 3 October 2010

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=October 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=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 |OtherPage3 |discuss=Talk:OtherPage#Merge discussion |date=October 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=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|OtherTemplate}}, not {{Merge|Template:OtherTemplate}}.
  • Do not link to the pages with square brackets.
For example, write {{Merge|OtherArticle}}, not {{Merge|[[OtherArticle]]}}.
  • 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.

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