Control Ward
32xpx Control Ward Gold.png 75
Consume Places a visible 20px Control Ward at the target location (600 range), which grants vision over the surrounding area as well as:
Passive Limit 1 Control Ward on the map per player.
Limitations Can only carry 3 Control Wards in inventory.

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

Itempages

Parameters

Parameter Value Description
1 Control Ward Necessary: Used for identification.
disp_name Name of the item
Only necessary if the value differs from Control Ward.
champion Only necessary for exclusive items!
Traits of the item
maps S 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 Consumable Unofficial classification of the item Valid values: Basic, Advanced, Legendary, Mythical, Trinket, Consumable
consume Places a visible 20px Control Ward at the target location (600 range), which grants vision over the surrounding area as well as: 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 (%)
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 Limit 1 Control Ward on the map per player. 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 true 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 75 Buy price
comb Combination cost
sell 30 Sell price
code 2055 Itemcode
limit Can only carry 3 Control Wards in inventory. Limitations of the item
req Requirements of the item.
hp 4 Hitpoints e.g. Hitpoints of Wards
Menu
menu1a Menu 1 e.g. Attack
menu1b Submenu 1 e.g. Attack Speed
menu2a Starter Items Menu 2 e.g. Magic
menu2b Laning Submenu 2 e.g. Ability Power
menu3a Tools Menu 3 e.g. Movement
menu3b Vision & Trinkets 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 green,red,pink,kleptomancy,oracles Nicknames or abbreviations

All item data templates use the same parameter.

Retrieval of data items

{{data Control Ward|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 Control Ward|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.