Template:Merge from: Difference between revisions
meta>Harej adding support for listing multiple pages (merging this template with template:mergefrom-multiple) |
m 219 revisions imported |
||
(31 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B= | ||
{{#switch:{{NAMESPACE}} | |||
|Category=<span class="error">For categories please use the templates available at [[Wikipedia:Categories for discussion]].</span> | |||
|Template=<includeonly><span class="error">For templates, please use the templates available at [[Wikipedia:Templates for discussion]].</span>[[Category:Pages with misplaced templates]]</includeonly> | |||
}}{{Mbox | |||
| name = Merge from | |||
| demospace={{{demospace|}}} | | demospace={{{demospace|}}} | ||
| type = move | | type = move | ||
| image = [[ | | image = [[File:Mergefrom.svg|50px|alt=|link=]] | ||
| text = It has been suggested that {{Pagelist|delim=''|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}} be [[Wikipedia:Merging|merged]] into this {{#if:{{NAMESPACE}}|page|article}} | | text = It has been suggested that {{#ifeq:{{{multiplesections}}}|yes|multiple sections of }}{{Pagelist|nspace=all|delim=''|{{{1|<noinclude>''an article''</noinclude>}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}} be [[Wikipedia:Merging|merged]] into this {{#if:{{{section|}}}|section|{{#if:{{NAMESPACE}}|page|article}}}}. ([[{{{discussion|{{{discuss|{{TALKPAGENAME}}}}}}}}|Discuss]]){{#if:{{{date<includeonly>|</includeonly>}}}|<small>'' Proposed since {{{date<includeonly>|</includeonly>}}}.''</small>}} | ||
#switch:{{NAMESPACE}} | }}<includeonly>{{#switch:{{NAMESPACE}} | ||
| | ||Talk={{DMC|Articles to be merged|from|{{{date|}}}|All articles to be merged}} | ||
|User|User talk= | |||
|#default= | |#default={{#if:{{{demospace|}}}||{{DMC|||Items to be merged}}}}}}{{Merge partner|{{{1|}}}}}</includeonly> | ||
}} | }}<noinclude> | ||
{{ | {{Documentation|Template:Merge/doc}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> | </noinclude> |
Latest revision as of 04:45, 3 September 2020
It has been suggested that an article be merged into this page. (Discuss) Proposed since {{{date}}}. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
{{Wikipedia:Article alerts/Bot use warning}}
Which merge template should I use?
Do not use this tag on a Wikipedia WP:template or WP:category—instead see below for instructions.
- To merge at least two articles together at an unspecified location, use
{{Merge|OtherPage}}
- To merge the contents of the tagged article into the specified article, use
{{Merge to|OtherPage}}
- If the contents of the specified article should be merged into the tagged article, use
{{Merge from|OtherPage}}
– the opposite of{{Merge to}}
; - To suggest merging only some material from one article to another, use
{{Merge portions from|SourcePage}}
and{{Split portions|TargetPage}}
When to use and when not to use
These templates are used primarily to identify potential merges that would benefit from discussion. If it is obvious that a merge would be appropriate, then you may boldly merge the pages yourself without tagging and without discussion. Some editors also use these tags to mark pages that obviously require merging in the hope that someone else will merge the pages.
After adding the merge template, you are expected to create a section on the talk page of the appropriate article (see below for details) explaining your rationale for the merge proposal. If the rationale is so obvious that it requires no explanation, then you should consider boldly merging the pages yourself, or explain on the talk page why you didn't do so yourself.
- If you want to propose merging a category, you must do so at Wikipedia:Categories for discussion, using the specific templates available there.
- If you want to propose merging a template, you must do so at Wikipedia:Templates for discussion, using the specific templates available there.
How to use
Simple example
Tagging a single page is simple:
Markup | Renders as |
---|---|
{{Merge|OtherPage |date=November 2024 }} or {{Merge |OtherPage |{{subst:DATE}} }} |
|
When you want to discuss a simple merge of one page into another, tag both of them:
Markup | Renders as |
---|---|
{{Merge to |FirstPage |date=November 2024 }} or {{Merge to |FirstPage |{{subst:DATE}} }} |
|
Markup | Renders as | ||
---|---|---|---|
{{Merge from |SecondPage |date=November 2024 }} or {{Merge from |SecondPage |{{subst:DATE}} }} |
| ||
This allows editors at both pages to see both the proposed source and target.
Other options
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 from|OtherPage |discuss=Talk:OtherPage#Merger discussion |date=November 2024}}
To name multiple pages to be merged, simply separate them with a vertical pipe. You can add up to 20 articles to be merged:
{{Merge from|OtherPage1 |OtherPage2 |OtherPage3 |discuss=Talk:OtherPage#Merger discussion |date=November 2024}}
If you are placing the template in a section, you can use |section=yes
to change the wording to reflect this:
{{Merge from|OtherPage |discuss=Talk:OtherPage#Merger discussion |date=November 2024 |section=yes}}
- Do not link to the pages with square brackets.
For example, write{{Merge|OtherArticle}}
, not{{Merge|[[OtherArticle]]}}
. - If you don't supply a date, a bot will add it later.
- The date may not be shown in the box. Do not be concerned about this. It is used when grouping tagged pages together into categories by date.
- 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.
- For {{Merge}}, if you are specifying a merge of two or more pages in different namespaces, the template supports this via specification of the full page name, including the namespace prefix.
|nspace=
can take on namespace values, which fixes all params to the namespace specified. - Do not
subst:
these templates.
When to remove
There is no deadline for completing proposed merges. Pages that have been tagged for a long time (frequently more than one year) generally fall into these groups:
- Discussion supported the proposed merge, but no one did it yet
- Feel free to merge the pages yourself.
- Discussion opposed merge, but nobody removed the tags
- Feel free to remove the tags yourself.
- No discussion found
- Feel free to remove the tags if you believe the merge would be a poor choice, or to boldly merge the pages if you believe the merge would be appropriate. Or feel free to start a discussion if you are uncertain or feel it would be controversial.
TemplateData
TemplateData for Merge from
This is a hatnote template that proposes to merge one or more specified pages into the tagged page. Use 'merge to' to tag the source page(s).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Other page | 1 | This is the page from which content should be merged into this article. Note: 19 additional pages to merge from can be added manually as optional parameters. | Page name | required |
Second page | 2 | Second page that should be merged into this article | Page name | optional |
Third page | 3 | Third page that should be merged into this article | Page name | optional |
Month and year | date | The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.
| Line | suggested |
Discussion | discuss discussion | Discussion related to the merge proposal; typically on the talk page for the target page. Insert the full page name (with namespace). | Page name | optional |
Section | section | If you are placing the template in a section, set this parameter to "yes". | Line | optional |
{{Wikipedia:Template messages/Splitting/List}}{{Wikipedia:Template messages/Merging/List|noheading=yes}}