Jump to content

Template:Renamed/doc

From Wikipedia, the free encyclopedia

Purpose

[edit]

Renaming, or moving a page, might result in double redirects pointing to the original article name which need to be fixed. It could also make it necessary for other changes to be made to an article's content so that it aligns properly with the new title. In some cases where such changes are not immediately made at the time of page move, a notice may be beneficial to prevent confusion.

Usage

[edit]

This template adds a message box to an article in order to inform editors and readers of the article's recent name change. It should remain at the top of the page at least until any obvious or major incongruences are fixed.

Place the following wikitext at the top of an article: {{Renamed|from=Old title|date=November 2024}}

Parameters

[edit]

There are only two parameters for this template, but both are required:

  • |from= (or |old=) should be the original title of the article it was moved from. The double-bracket enclosure (i.e. [[Article name]] format) is not needed, the template does it automatically.
  • |date= takes the current month and year and adds it at the end of the template for reference. (Ex: |date=December 2020)

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Renamed in articles based on its TemplateData.

TemplateData for Renamed

Adds a message box to an article informing editors and readers of a recent title change. Renaming (or page moving) may require additional edits to be made to an article's content and/or redirects to the original article name. This template should be removed once the necessary fixes are complete.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Moved fromfrom old

The original title of the article before it was renamed

Example
Ask Jeeves
Page namerequired
Month and yeardate

The month and year that the template was added

Default
{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}
Example
December 2020
Auto value
{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}
Stringrequired