Template:Merged-from/doc
This is a documentation subpage for Template:Merged-from. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 18,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Intended for use on talk pages, this template identifies that another page was previously merged into the current article.
Usage
[edit]{{Merged-from|article|date}}
- article
- Name of article which was merged; must not be wikilinked.
- date
- Date which the article was merged (if known).
- talk
- Whether to link to the article's talk page
- target
- The target page, if not the subject page (e.g. for a merge to a talk page)
Example:
- {{merged-from|foo|10 November 2024}} — displays message that the current article was merged from foo
Examples
[edit]{{merged-from|foo}}
— displays message that foo was merged into the current article
The talk page link can be removed with the parameter |talk=no
. Example:
{{merged-from|foo|talk=no}}
The talk page is in another namespace. Example:
{{merged-from|Wikipedia:foo|foo}}
Additionally, if the merge has been carried out as a result of an AfD, an optional |afd=
parameter can be used to link to the discussion:
{{merged-from|article|date|afd=}}
TemplateData
[edit]TemplateData for Merged-from
Put this template on a talk page to note that the article was the TARGET of a previous merge.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article | 1 | The title of the article that was merged into this article.
| Page name | required |
Date | 2 date | The date on which the article was merged.
| String | required |
Nocat | nocat | If set to "true", then this template will not show any errors even if it is transcluded on a non-talk page (e.g. for demonstration purposes). Otherwise, it will produce an error and add the page to Category:Pages with templates in the wrong namespace.
| String | optional |
Small? | small | If set to "yes" or "true", then the box becomes small and floats to the right.
| String | optional |
Merge target | target | Target of the merge, if not the article itself.
| Page name | optional |
AfD discussion | afd | If the merge was carried out as part of an Articles for Deletion discussion closure, link to that discussion using this parameter.
| Page name | optional |
Link to source's talk? | talk | If set to "no", it avoids linking to the source article's talk page.
| String | optional |
See also
[edit]- {{Blank and redirect notice}}
- {{Copied}}, combination of Split-to and Split-from templates
- {{Merged-to}}, for the old article's talk page after a merge
- {{Split article}}, for both article's talk page after a split
- {{Talk page of redirect}}
- {{Moved discussion from}}