Template:History/doc

< Template:History
Revision as of 16:04, 24 July 2022 by Totengeist (talk | contribs) (Create documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

This template creates a list entry for version changes in an article or page, with a link to that version in the Version History.

UsageEdit

Common caseEdit

The convention is to add a History section at the bottom of the page:

==History==
{{History|1.0|Introduced.}}
{{History|1.1|Adjusted power consumption from 100 MW to 150 MW.}}
{{History|1.2.37|Sewage now has a visual indicator.}}

Minus the header, this results in:

  • 1.0: Introduced.
  • 1.1: Adjusted power consumption from 100 MW to 150 MW.
  • 1.2.37: Sewage now has a visual indicator.

Version labelEdit

In niche cases, you can override the link text shown for the version number. For example:

{{History|1.5.23|version label=1.5|Sewage now has a visual indicator.}}
  • 1.5: Sewage now has a visual indicator.