FANDOM


Nashor's Tooth
32xpx Nashor's Tooth Gold 3000
Ability power: +80  
Attack speed: +50%  
Cooldown reduction: +20% (Unique)  
Passive Unique: +15 (+ 15% AP) on-hit magic damage
Recipe 20xpx + 20xpx + Gold 1000

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

Itempages

Parameters

Parameter Value Description
1 Nashor's Tooth Necessary: Used for identification.
disp_name Name of the item
Only necessary if the value differs from Nashor's Tooth.
champion Only necessary for exclusive items!
Traits of the item
maps 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 80 Ability power Values can be empty if the item does not grant the effect.
armor Armor
rpen Armor penetration (%)
ad Attack damage
as 50 Attack speed (%)
cdr Cooldown reduction (%)
cdrunique 20 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 Unique: +15 (+ 15% AP) on-hit magic damage 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 Stinger Stinger,
Fiendish Codex Fiendish Codex
Components of the item Use , to separate the values!
builds Builds into these items Use , to separate the values!
buy 3000 Buy price
comb 1000 Combination cost
sell 2100 Sell price
code 3115 Itemcode
limit Limitations of the item
req Requirements of the item.
hp Hitpoints e.g. Hitpoints of Wards
Menu
menu1a Attack Menu 1 e.g. Attack
menu1b Attack Speed Submenu 1 e.g. Attack Speed
menu2a Magic Menu 2 e.g. Magic
menu2b Ability Power Submenu 2 e.g. Ability Power
menu3a Magic Menu 3 e.g. Movement
menu3b Cooldown Reduction 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 Nashor's Tooth|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 Nashor's Tooth|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.