Jump to content

Template:Merged-from/doc

From Wikipedia, the free encyclopedia

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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Merged-from in articles based on its TemplateData.

TemplateData for Merged-from

Put this template on a talk page to note that the article was the TARGET of a previous merge.

Template parameters

ParameterDescriptionTypeStatus
Article1

The title of the article that was merged into this article.

Example
Example
Page namerequired
Date2 date

The date on which the article was merged.

Example
14 February 2024
Stringrequired
Nocatnocat

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.

Suggested values
true
Example
true
Stringoptional
Small?small

If set to "yes" or "true", then the box becomes small and floats to the right.

Suggested values
yes true
Stringoptional
Merge targettarget

Target of the merge, if not the article itself.

Example
Example
Auto value
{{subst:SUBJECTPAGENAME}}
Page nameoptional
AfD discussionafd

If the merge was carried out as part of an Articles for Deletion discussion closure, link to that discussion using this parameter.

Example
Wikipedia:Articles for deletion/Example
Page nameoptional
Link to source's talk?talk

If set to "no", it avoids linking to the source article's talk page.

Suggested values
yes no
Example
no
Stringoptional

See also

[edit]