November 4th, 2019

🕒 Wiki Weekly #25! 🕑

It's November!
We've listed pages that need some love. Take a look!

Latest Announcements

Template:HeartAmount

From Zelda Wiki, the Zelda encyclopedia
Jump to: navigation, search

Purpose

Displays a number of Hearts, for example the amount of health healed by food in Breath of the Wild. It's mainly to be used in tables, so by default a sort key wikitext is added so the row will sort by number of Hearts correctly.

It supports between 0 and 30 hearts, incrementing by quarters. Exactly 30 hearts is a "full recovery".

Usage

    {{HeartAmount|Number of Hearts |No data sort }}

  • Number of Hearts — The number of hearts, e.g. 1+1/4 or 10.25
  • No data sort — If this parameter is used with any text, the data sort key for use in tables will not appear

Examples

data-sort-value=0|BotW Empty Heart Icon.png
data-sort-value=0.5|BotW Half-Heart Icon.png
data-sort-value=6.25|BotW 5Heart Icon.pngBotW Heart Icon.pngBotW Quarter Heart Icon.png
data-sort-value=12|BotW 10Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.png
data-sort-value=18|BotW 15Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.png
data-sort-value=24|BotW 20Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.png
data-sort-value=27.75|BotW 25Heart Icon.pngBotW Heart Icon.pngBotW Heart Icon.pngBotW Three-Quarter Heart Icon.png
data-sort-value=30|BotW Full Recovery Icon.png