Template:Merge/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Bility
m adding section parameter usage
meta>Ceyockey
attempt to add template data to template documentation
Line 60: Line 60:
* 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 '''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.
* If you want to propose merging a '''template''', you must do so at [[Wikipedia:Templates for discussion]], using the specific templates available there.
==TemplateData==
{{TemplateDataHeader}}
<templatedata>
{
"description": "insert description here",
"params": {
"1": {
"label": "Other page",
"type": "string/wiki-page-name",
"required": true,
"description": "This is the page into which this article should be merged."
},
"date": {
"label": "Date",
"type": "string",
"description": "The date on which the article was tagged (month year; e.g. August 2013)"
}
}
}
</templatedata>


{{Wikipedia:Template messages/Merging and splitting/List}}<includeonly>
{{Wikipedia:Template messages/Merging and splitting/List}}<includeonly>

Revision as of 23:28, 9 August 2013

Which merge template should I use?

Do not use this tag on a template or category—instead below for instructions.

  • To merge at least two together at an unspecified location: {{Merge|OtherPage}}
  • To merge the contents of the tagged article into the specified article: {{Merge to|OtherPage}}
  • The contents of the specified article should be merged into the tagged article: {{Merge from|OtherPage}} – the opposite of {{Merge to}};
  • To suggest merging only some material, use {{Move portions from|SourcePage}} and {{Move portions|TargetPage}}

When 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 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, please create a section on the talkpage 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 rather than setting up a discussion.

How to use

Simple example

Tagging a single page is simple:

{{Merge|OtherPage |date=October 2024}}

When you want to discuss a simple merge of one page into another, tag both of them:

{{Merge to|FirstPage |date=October 2024}}
{{Merge from|SecondPage |date=October 2024}}

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|OtherPage |discuss=Talk:OtherPage#Merge discussion |date=October 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|OtherPage1 |OtherPage2 |OtherPage3 |discuss=Talk:OtherPage#Merge discussion |date=October 2024}}

To name multiple pages to merge into a single page, use the |target= parameter. For example, to merge the tagged page, as well as OtherPage1, OtherPage2, and OtherPage3 into OtherPage4, use:

{{Merge|OtherPage1 |OtherPage2 |OtherPage3 |target=OtherPage4 |discuss=Talk:OtherPage#Merge discussion |date=October 2024}}

If you are placing the template in a section, you can use |section= to change the wording to reflect this:

{{Merge|OtherPage |discuss=Talk:OtherPage#Merge discussion |date=October 2024 |section=yes}}
  • Do not add the namespace to the names of the pages.
    For example, write {{Merge|OtherHelpPage}}, not {{Merge|Help:OtherHelpPage}}.
  • 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.
  • 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.

Notes

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Merge

insert description here

Template parameters

ParameterDescriptionTypeStatus
Other page1

This is the page into which this article should be merged.

Page namerequired
Datedate

The date on which the article was tagged (month year; e.g. August 2013)

Stringoptional


{{Wikipedia:Template messages/Merging and splitting/List}}