Thornmail
32xpx Thornmail Gold.png 2900
Armor: +80  
Health: +250  
Passive Unique – Thorns: Upon being hit by a basic attack, reflects 25 (+ 10% bonus armor) magic damage, while also inflicting Grievous Wounds icon.png Grievous Wounds on the attacker for 1 second.
Unique – Cold Steel: When hit by basic attacks, 20px cripples source's attack speed by 15% for 1 second.
Recipe 20xpx + 20xpx + 20xpx + Gold.png 500

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

Itempages

Parameters

Parameter Value Description
1 Thornmail Necessary: Used for identification.
disp_name Name of the item
Only necessary if the value differs from Thornmail.
champion Only necessary for exclusive items!
Traits of the item
maps STH 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 Ability power Values can be empty if the item does not grant the effect.
armor 80 Armor
rpen Armor penetration (%)
ad Attack damage
as Attack speed (%)
cdr Cooldown reduction (%)
cdrunique UNIQUE Cooldown reduction (%)
crit Critical strike chance (%)
gp10 Gold per 10 seconds
hsp UNIQUE Heal and shield power (%)
health 250 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 Unique – Thorns: Upon being hit by a basic attack, reflects 25 (+ 10% bonus armor) magic damage, while also inflicting Grievous Wounds icon.png Grievous Wounds on the attacker for 1 second. Passive 1
pass2 Unique – Cold Steel: When hit by basic attacks, 20px cripples source's attack speed by 15% for 1 second. Passive 2
pass3 Passive 3
pass4 Passive 4
pass5 Passive 5
act 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 Bramble Vest Bramble Vest,
Ruby Crystal Ruby Crystal,
Warden's Mail Warden's Mail
Components of the item Use , to separate the values!
builds Builds into these items Use , to separate the values!
buy 2900 Buy price
comb 500 Combination cost
sell 2030 Sell price
code 3075 Itemcode
limit Limitations of the item
req Requirements of the item.
hp Hitpoints e.g. Hitpoints of Wards
Menu
menu1a Defense Menu 1 e.g. Attack
menu1b Armor Submenu 1 e.g. Attack Speed
menu2a Defense Menu 2 e.g. Magic
menu2b Health Submenu 2 e.g. Ability Power
menu3a Menu 3 e.g. Movement
menu3b 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 Nicknames or abbreviations

All item data templates use the same parameter.

Retrieval of data items

{{data Thornmail|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 Thornmail|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.