13,208
edits
(Using nocat parameter instead of regular category suppression, this template might be used in other namespaces than the main namespace) |
m (Various) |
||
Line 1: | Line 1: | ||
<div style="background: #fff; border: 1px #ccc solid; padding:12px; margin: 12px">[[Image:Merge-arrow.gif|left]] It has been suggested that this {{namespace}} or section be merged into ''[[{{{1}}}]]''. {{#if: {{{2|}}} | [[{{{2}}}|Discuss]] this merge.|}} {{#if: {{{date|}}} | <small>''This has been proposed since {{{date}}}''.</small>|}}</div><includeonly> | <div style="background: #fff; border: 1px #ccc solid; padding:12px; margin: 12px">[[Image:Merge-arrow.gif|left]] It has been suggested that this {{namespace}} or section be merged into ''[[{{{1}}}]]''. {{#if: {{{2|}}} | [[{{{2}}}|Discuss]] this merge.|}} {{#if: {{{date|}}} | <small>''This has been proposed since {{{date}}}''.</small>|}}</div><includeonly> | ||
{{#ifeq: {{lc: {{{nocat|}}} }} | true | | [[Category:Articles to be merged|{{PAGENAME}} (into {{{1}}})]] }} <!-- | {{#ifeq: {{lc: {{{nocat|}}} }} | true | | [[Category:Articles to be merged|{{PAGENAME}} (into {{{1}}})]] }} <!-- Suppresses categorisation if nocat=true --> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
Line 7: | Line 7: | ||
This template can be placed at the top of an article or section that is considered to be merged into another article or section. | 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 [[:Category:Articles to be merged|Articles to be merged]]. | Pages marked with this template will automatically be added to the category [[:Category:Articles to be merged|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. | 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. | ||
Line 16: | Line 16: | ||
<nowiki>{{</nowiki>'''mergeto'''<nowiki>|</nowiki>other article''#section''<nowiki>|</nowiki>''discussion page'' <nowiki>|</nowiki>''date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}'' <nowiki>|</nowiki>''nocat=''<nowiki>}}</nowiki> | <nowiki>{{</nowiki>'''mergeto'''<nowiki>|</nowiki>other article''#section''<nowiki>|</nowiki>''discussion page'' <nowiki>|</nowiki>''date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}'' <nowiki>|</nowiki>''nocat=''<nowiki>}}</nowiki> | ||
; other article: Mandatory name of the article to be merged into | ; 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. | ; section: Optionally a section suitable to merge with if there already is such a section. | ||
Line 22: | Line 22: | ||
; discussion page: Optional name of a discussion page with a section about the merge. | ; 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 | ; date: Optional date the merge was proposed in '''m YYYY''' format, for example '''{{CURRENTMONTHNAME}} {{CURRENTYEAR}}'''. | ||
; nocat: Optionally suppresses automatic categorisation if '''true'''. Useful in examples. | ; nocat: Optionally suppresses automatic categorisation if '''true'''. Useful in examples. |