4,553 Pages

N/A
N/A

This template contains various independently retrievable data items about [[{{{disp_name|{{{1}}}}}}]] in the form of parameter values of a variable template of choice, in a standardized fashion.

Itempages

  • Page:
    • [[{{{1}}}]]

Parameters

Parameter Value Description
1 {{{1}}} Necessary: Used for identification.
disp_name Name of the item
Only necessary if the value differs from {{{1}}}.
champion Only necessary for exclusive items!
Traits of the item
maps Availability of the item Valid values: A combination of the letters STHN.
S = Summoners Rift, T = Twisted Treeline, H = Howling Abyss, N = Nexus Blitz

Defaults to Common.
altmaps Other maps
caption Official caption Only if available!
tier Classification of the tier item Valid values: Tier 1, Tier 2, Tier 3, Tier 4, Tier 5
type Item's type, if it's not a standard item Valid values: Starter, Distributed, Consumable, Advanced Consumable, Basic Trinket, Advanced Trinket, Enchantment
Can also be two values, for example: Consumable, Distributed
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 Armor
rpen Armor penetration (%)
ad Attack damage
as Attack speed (%)
cdr Cooldown reduction (%)
cdrunique UNIQUE Cooldown reduction (%)
crit Critical strike chance (%)
critunique UNIQUE Critical strike chance (%)
gp10 Gold per 10 seconds
hsp UNIQUE Heal and shield power (%)
health Life
hp5 Health regeneration (%)
hp5flat Health regeneration (flat)
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 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 Components of the item Use , to separate the values!
builds Builds into these items Use , to separate the values!
buy Buy price
comb Combination cost
sell Sell price
code Itemcode
limit Limitations of the item
req Requirements of the item.
hp Hitpoints e.g. Hitpoints of Wards
Menu
menu1a Menu 1 e.g. Attack
menu1b Submenu 1 e.g. Attack Speed
menu2a Menu 2 e.g. Magic
menu2b 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 {{{1}}}|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 {{{1}}}|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.
Community content is available under CC-BY-SA unless otherwise noted.