Template:HP/Documentation

From Zelda Wiki, the Zelda encyclopedia
< Template:HP
Revision as of 22:39, 3 October 2022 by PhantomCaleb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Displaying health-related information in infoboxes of enemies. This ensures a standardization of how we display the information and where we link readers to.

Usage

    {{HP/Documentation|<game> |<hp> }}

  • game — The game's abbreviation. Used to link to the proper section.
  • hp — The enemy's health points value.

Examples

#InputOutputCategories added
1{{HP|OoT|4}} 4
Error handling
2{{HP|OoT|}} Error: Missing HP value
3{{HP|invalid game|4}} 4
4{{HP|oot|4}} 4
5{{HP||4}} 4
This is the documentation page, it should be transcluded into the main template page. See here for more information.