Template:Renamed

From Body Communication
Template documentation[view] [edit] [history] [purge]

Purpose

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

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

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Renamed

<templatedata> { "params": { "from": { "aliases": [ "old" ], "label": "Moved from", "description": "The original title of the article before it was renamed", "example": "Ask Jeeves", "type": "wiki-page-name", "required": true }, "date": { "label": "Month and year", "description": "The month and year that the template was added", "example": "December 2020", "type": "string", "default": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}", "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}", "required": true } }, "description": "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.", "format": "inline" } </templatedata>