Difference between revisions of "Template:Merge to"
Jump to navigation
Jump to search
m (Fixing extraneous [[}}) |
(Added a <wbr> (soft line break) after the space to see if it breaks the line) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{NAMESPACE}} | |||
|Category={{error|For categories please use the templates available at {{Wikipedia|Categories for discussion}}.}} | |||
}} | |Template=<includeonly>{{error|For templates please use the templates available at {{Wikipedia|Templates for discussion}}.}}[[Category:Pages with templates in the wrong namespace]]</includeonly> | ||
}} | |||
}}{{Mbox | {{#if:{{{1}}}| | ||
{{Mbox | |||
|name = Merge to | |||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
|type = move | |type = move | ||
|image=[[File:Merge-arrow@3.png|alt=|link=]] | |style = border-color:#00bfff;border-style:solid;border-width:1px; | ||
|text=It has been suggested that this {{#if:{{{section|}}}|section|{{#if:{{NAMESPACE}}|page|article}}}} be | |image=[[File:Merge-arrow@3.png|32px|alt=|link=]] | ||
|text=It has been suggested that this {{#if:{{{section|}}}|section|{{#if:{{NAMESPACE}}|page|article}}}} be {{Wikipedia|Merging|merged}} into [[{{{1|<noinclude>|(page to merge into)</noinclude><includeonly>(unknown)</includeonly>}}}]]. ([[{{{discussion|{{{discuss|{{TALKPAGENAME:{{{1}}}}}}}}}}}|Discuss]]){{#if:{{{date<includeonly>|</includeonly>}}}|{{small|{{em| <wbr>Proposed since {{{date<includeonly>|</includeonly>}}}.}}}}}} | |||
<includeonly>{{#switch:{{NAMESPACE}} | <includeonly>{{#switch:{{NAMESPACE}} | ||
||Talk={{DMC|Articles to be merged|from|{{{date|}}}|All articles to be merged}} | ||Talk={{DMC|Articles to be merged|from|{{{date|}}}|All articles to be merged}} | ||
|#default={{DMC||| | |User|User talk= | ||
{{Merge partner|{{{1| | |#default={{#if:{{{demospace|}}}||{{DMC|||Miscellany to be merged}}}}}}{{Merge partner|{{{1|}}}}}</includeonly> | ||
</includeonly><!--{{ | }}<!-- | ||
}}<noinclude> | -->|{{error:Missing page name to merge into}}<!-- | ||
-->}}<!-- end if--><noinclude> | |||
{{Documentation|Template:Merge/doc}} | {{Documentation|Template:Merge/doc}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 04:22, 19 September 2022
It has been suggested that this page be merged into [[]]. ([[|Discuss]]) |
This documentation is transcluded from Template:Merge/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
{
"description": "Template used to propose merging a page with another",
"format": "inline",
"params": {
"1": {
"description": "merge target",
"example": "1=Tag:highway=primary",
"type": "wiki-page-name",
"required": true
},
"2": {
"description": "discussion page name if not equal to the discussion page of the page the template is placed on",
"example": "Talk:Wiki / 2=Tag:highway=motorway",
"type": "wiki-page-name"
},
"lang": {
"description": "language code, use if the language inferred from the page title is not correct",
"example": "uk",
"type": "string",
"default": "en"
},
"nocat": {
"description": "insert any text to switch off categorisation, useful for wiki manuals like \"Wiki organisation\"",
"type": "string"
},
"date": {
"description": "merge proposal date (if known)",
"type": "date"
}
}
}
- First parameter: the page this page should be merged with
- Second parameter (optional): talk page, if different from the default talk page associated to the page tagged with this banner
If the target page name contains an equal sign, prefix the page name with "1=", for example (taken from OpenStreetMap): {{Merge|1= Tag:highway=primary }}
The marked page will be categorized in Category:Suggested merges.
See also
- {{Mbox}} – basis of this template