Template:Mergeto

From FlightGear wiki
Revision as of 21:00, 30 May 2014 by Johan G (talk | contribs) (Fixing unintentional line break if page is categorised)
Jump to navigation Jump to search
Merge-arrow.gif
It has been suggested that this template or section be merged into [[{{{1}}}]].
The following template description is not displayed when the template is inserted in an article.

Goal

This template can be placed at the top of an article or section that is considered to be merged into another article or section.

Pages marked with this template will automatically be added to the category Articles to be merged. Categorisation can be suppressed with the nocat parameter.

Merging can be done if a section is slightly out of context in one article but is similar enough that copying it into another article or merging it with a section in the other article would aid their maintenance.

Usage

The template is placed at the top of the article or section to be merged from.

{{mergeto|other article#section|discussion page |date=April 2024 |nocat=}}
other article
Mandatory name of the article to be merged into.
section
Optionally a section suitable to merge with if there already is such a section.
discussion page
Optional name of a discussion page with a section about the merge.
date
Optional date the merge was proposed in m YYYY format, for example April 2024.
nocat
Optionally suppresses automatic categorisation if true. Useful in examples.

If there is a need for a motivation or a discussion about the merge, do so on the discussion page of the page to be merged from, preferably as a new section named something like Merge to <other article> and link to the talk page and preferably also to that section with the second parameter.

Examples

{{mergeto|Example}}
Merge-arrow.gif
It has been suggested that this template or section be merged into Example .


{{mergeto|Example|Template talk:Merge#Merge with Example}}
Merge-arrow.gif
It has been suggested that this template or section be merged into Example. Discuss this merge.


{{mergeto|Example#Sample section|Template talk:Merge#Merge with Example |date=April 2024}}
Merge-arrow.gif
It has been suggested that this template or section be merged into Example#Sample section. Discuss this merge. This has been proposed since April 2024.


Related templates