FANDOM


Zhonya's Hourglass
32xpx Zhonya's Hourglass Gold 2900
Ability power: +70  
Armor: +45  
Cooldown reduction: +10%  
Active Unique – Stasis: Put yourself in Stasis icon stasis for 2.5 seconds, rendering yourself untargetable and invulnerable for the duration, but also unable to move, attack, cast spells, or use items during this time (120 second cooldown).
Recipe 20xpx + 20xpx + 20xpx + Gold 200

This template contains various independently retrievable data items about Zhonya's Hourglass in the form of parameter values of a variable template of choice, in a standardized fashion.

Itempages

Parameters

Parameter Value Description
1 Zhonya's Hourglass Necessary: Used for identification.
disp_name Name of the item
Only necessary if the value differs from Zhonya's Hourglass.
champion Only necessary for exclusive items!
Traits of the item
maps SH Availability of the item Valid values: A combination of the letters STH.
S = Summoners Rift, T = Twisted Treeline, H = Howling Abyss

Defaults to Common.
altmaps Other maps
caption Official caption Only if available!
tier Legendary Unofficial classification of the item Valid values: Basic, Advanced, Legendary, Mythical, Trinket, Consumable
consume Effect 1 of the consumable item Only if the item is consumable.
consume2 Effect 2 of the consumable item Only if the item is consumable.
Itemstats
ap 70 Ability power Values can be empty if the item does not grant the effect.
armor 45 Armor
rpen Armor penetration (%)
ad Attack damage
as Attack speed (%)
cdr 10 Cooldown reduction (%)
cdrunique UNIQUE Cooldown reduction (%)
crit Critical strike chance (%)
gp10 Gold per 10 seconds
hsp UNIQUE Heal and shield power (%)
health Life
hp5 Health regeneration (%)
lifesteal Life steal (%)
mpen Magic penetration (%)
mr Magic resistance
mana Mana
mp5 Mana regeneration (%)
mp5flat Mana regeneration (flat)
ms Movement speed (%)
msflat Movement speed (flat)
spec Other effects (e.g. Mana per level)
spec2 Other effects 2
pass Passive 1
pass2 Passive 2
pass3 Passive 3
pass4 Passive 4
pass5 Passive 5
act Unique – Stasis: Put yourself in Stasis icon stasis for 2.5 seconds, rendering yourself untargetable and invulnerable for the duration, but also unable to move, attack, cast spells, or use items during this time (120 second cooldown). Active
aura Aura 1
aura2 Aura 2
aura3 Aura 3
noe No effects. If the item has no effects, set the value to true.
Other
recipe Seeker's Armguard Seeker's Armguard,
Stopwatch Stopwatch,
Fiendish Codex Fiendish Codex
Components of the item Use , to separate the values!
builds Builds into these items Use , to separate the values!
buy 2900 Buy price
comb 200 Combination cost
sell 2030 Sell price
code 3157 Itemcode
limit Limitations of the item
req Requirements of the item.
hp Hitpoints e.g. Hitpoints of Wards
Menu
menu1a Magic Menu 1 e.g. Attack
menu1b Ability Power Submenu 1 e.g. Attack Speed
menu2a Magic Menu 2 e.g. Magic
menu2b Cooldown Reduction Submenu 2 e.g. Ability Power
menu3a Defense Menu 3 e.g. Movement
menu3b Armor Submenu 3 e.g. Other Movement Items
menu4a Menu 4
menu4b Submenu 4
menu5a Menu
menu5b Submenu
menu6a Menu
menu6b Submenu 6
menu7a Menu 7
menu7b Submenu 7
Meta
removed If the item is removed from game, set the value to true. Value can be empty.
nickname zhg,zonya Nicknames or abbreviations

All item data templates use the same parameter.

Retrieval of data items

{{data Zhonya's Hourglass|pst2|as_base}}, using parameter selection template Template:Pst2, gives the parameter as_base, etc.

For retrieval of more data items it is more efficient to prepare a template for that, to be used as follows:

{{data Zhonya's Hourglass|template name|..|..|..|..}}

so that this data template needs to be called only once.[1] The default template is Template:Item data, producing this page.

The four parameters are optional, they are passed on to the prepared template as parameters 2-5.

A parameter being undefined or empty typically means the same, see below. {{data ..|pst2|..}} gives the empty string and the text "{{{..}}}", respectively. Therefore, an application checking the parameter has to check both. Checking whether a result is equal to e.g. the text "{{{popinc}}}" cannot be done directly with #ifeq in a template which itself has also a parameter with that name, because if that is defined, there would be a comparison with the value instead of the text itself. Instead, it can be checked whether the first character of the result is "{", e.g.: {{#ifeq:{{padleft:|1|{{data {{{continent}}}|pst2|popinc}}}}|{|..|..}}. Until here the documentation is automatically generated by Template:Item data.

References

  1. See the first two rows of the first table in m:Help:Array#Summary of counts for template limits.
I contenuti della comunità sono disponibili sotto la licenza CC-BY-SA a meno che non sia diversamente specificato.