Template:Merge: Difference between revisions
(new layout) |
m (add category) |
||
Line 45: | Line 45: | ||
| arg1 = reason | | arg1 = reason | ||
}}: {{#if:{{{2|}}}|{{{2}}}|...}} | }}: {{#if:{{{2|}}}|{{{2}}}|...}} | ||
| cat = {{#if:{{{hidecat|}}}||Articles to be merged|articles to be merged{{#ifeq:{{Language code}}|true|{{Subpage}}|}}}} | |||
| id = mbox-merge | | id = mbox-merge | ||
| collapsed = {{#if:{{{2|}}}||true}} | | collapsed = {{#if:{{{2|}}}||true}} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 15:05, 28 December 2023
Added to articles that are not lengthy enough to be deemed their own page and therefore should be incorporated into the linked article. The reason
parameter should be used to provide a reason for the change, if necessary.
Adds articles to the articles to be merged category.
Usage
This template should contain the page it is to be merged with, separated by a pipe |
.
Examples
For the basic functionality: {{Merge|Example}}
This will produce:
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.}}
- Produces:
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|}}}| 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.