Template:Merge: Difference between revisions
(update doc) |
m (reason -> 2) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Documentation/sandbox|doc = | {{Documentation/sandbox|doc = | ||
Added to articles that are not lengthy enough to be deemed their own page and therefore should be incorporated into the linked article. The | 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 "{{ll|:Category:Articles to be merged|Articles to be merged}}" category. | Adds articles to the "{{ll|:Category:Articles to be merged|Articles to be merged}}" category. |
Revision as of 06:39, 29 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 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
- Name of the article to be merged with.
2
- Reason for the merge.
hidecat
- If not empty, the category will not be added to the Articles to be merged category.
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.