Template:Patch check update

From Hearthstone Wiki
Jump to navigation Jump to search

This template is used as a reminder to re-check older content whenever a newer Hearthstone patch is released. Usually in "Known bugs" sections, databases that extract directly from Hearthstone (like: Template:Achievements table), and a lot of other similar content.

Usage[edit source]

{{Patch check update|<patch version or build>|forces_categorize=<text or empty>}}

or

{{Patch check update|latestRevision=<patch version or build>|forces_categorize=<text or empty>}}
  • Insert latestReivison here as a "landmark", indicating that the content was checked in that version/build last time. Only use this template for content which is regularly updated each patch or must be fixed in the coming patch(es).
  • forces_categorize can be used to force the template to categorize on non-main articles, such as Template pages.

Functionality[edit source]

  • If latestRevision patch's release date is equal to or newer than the latest patch's (Template:Latest patch date), it will return nothing.
  • If latestRevision patch's release date is older than the latest patch's, it will return an ambox as a notification and categorized the page this template was used in as Category:Statements needing updates. This means that the content needs to be updated, then latestRevision must be replaced with the latest patch's version.

Examples[edit source]

Example 1
{{Patch check update|20.2.2}}

returns:

This content needs an update.
A newer Hearthstone patch, 29.4.2.200097, has been released. This content/statement needs revision to be up to date with this patch.
Latest revision: 20.2.2.82994
Example 2
{{Patch check update|{{Latest patch version}}}}

returns: