Template:History/doc

From The Last Starwiki
< 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)
Jump to navigation Jump to search

Description[edit source]

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

Usage[edit source]

Common case[edit source]

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 label[edit source]

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.