Template:Merged-from/sandbox
![]() | The contents of [nil {{{1}}}] was merged into Template:Merged-from/sandbox. The former page's [ history] now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its [[Talk:{{{1}}}|talk page]]. |
![]() | This is the template sandbox page for Template:Merged-from (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 19,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|12 April 2025}} — 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}}