Template:Merge: Difference between revisions

From PZwiki
m (quote to be consistent)
(Change … to ''Not given.'', add period automatically.)
Line 45: Line 45:
   | default = Reason
   | default = Reason
   | arg1 = reason
   | arg1 = reason
   }}: {{#if:{{{2|}}}|{{{2}}}|...}}
   }}: {{#if:{{{2|}}}|{{{2}}}.|''Not given.''}}
| cat = {{#if:{{{hidecat|}}}||Articles to be merged{{lcs}}}}
| cat = {{#if:{{{hidecat|}}}||Articles to be merged{{lcs}}}}
| id = mbox-merge
| id = mbox-merge
| collapsed = {{#if:{{{2|}}}||true}}
| collapsed = {{#if:{{{2|}}}||true}}
}}</includeonly>
}}</includeonly>

Revision as of 15:40, 11 January 2024

Notebook.pngTemplate Documentation

Added to articles that are not lengthy enough to be deemed their own page and therefore should be incorporated into the linked article. The second parameter should be used to provide a reason for the change, if necessary.

Adds articles to the "Articles to be merged" category.

Usage

Parameters

1
The name of the article to be merged with.
2
The reason for the merge.
hidecat
If not empty, the article will not be added to the "Articles to be merged" category.

Examples

Furniture Pickup.png
It has been suggested that this article be merged with Example.
Reason: Not given.

Although not required, adding a reason is highly recommended, so others can better understand the reasoning.

  • {{Merge|Example|This article doesn't contain sufficient notable information to deserve its own page.}}
Furniture Pickup.png
It has been suggested that this article be merged with Example.
Reason: This article doesn't contain sufficient notable information to deserve its own page..

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| title = It has been suggested that this article be merged{{#if:{{{1|}}}|&nbsp;with {{ll|{{{1}}}}}}}.
| reason = Reason
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.