FANDOM


Description
This template will return the value of various champion stats.
If a champion's stats are updated here, all pages that use this template will automatically be updated, making it easy to keep multiple pages accurate and up-to-date.
(The variable names were taken from an old dump of Riot's code.)
Syntax
{{cv|champion's name|variable}} or
{{Champion Variable|champion's name|variable}}
(The output will be the variable's value.)
Example

The Variables

Stat Base & Per Level
Variable Example Code Result
Display Name disp_name {{cv|Lux|disp_name}} Lux
Movement Speed ms {{cv|Lux|ms}} 340
Attack Range range {{cv|Lux|range}} 550
Attack Speed as_base
as_lvl
{{cv|Lux|as_base}}
{{cv|Lux|as_lvl}}%
0.625
1.36%
Attack Damage dam_base
dam_lvl
{{cv|Lux|dam_base}}
{{cv|Lux|dam_lvl}}
50
3.3
Armor arm_base
arm_lvl
{{cv|Lux|arm_base}}
{{cv|Lux|arm_lvl}}
8
4
Magic Resistance mr_base
mr_lvl
{{cv|Lux|mr_base}}
{{cv|Lux|mr_lvl}}
30
0
Health Points hp_base
hp_lvl
{{cv|Lux|hp_base}}
{{cv|Lux|hp_lvl}}
345
79
Mana Points mp_base
mp_lvl
{{cv|Lux|mp_base}}
{{cv|Lux|mp_lvl}}
250
50
Health Regen per 5 seconds hp5_base
hp5_lvl
{{cv|Lux|hp5_base}}
{{cv|Lux|hp5_lvl}}
4.5
0.55
Mana Regen per 5 seconds mp5_base
mp5_lvl
{{cv|Lux|mp5_base}}
{{cv|Lux|mp5_lvl}}
6.0
0.6
Other information
Variable Example Code Result
image {{cv|Lux|image}} File:LuxSquare.png
title {{cv|Lux|title}} the Lady of Luminosity
herotype {{cv|Lux|herotype}} Mage, Ranged, Support
date {{cv|Lux|date}} October 19th, 2010
patch {{cv|Lux|patch}} V1.0.0.103
health {{cv|Lux|health}} 40
attack {{cv|Lux|attack}} 20
spells {{cv|Lux|spells}} 90
difficulty {{cv|Lux|difficulty}} 60
ip {{cv|Lux|ip}} 3150
rp {{cv|Lux|rp}} 790


Example of use

Here is an example of it being used inside the infobox template.

{{champion info
|name        = {{cv|Nunu|disp_name}}
|image       = File:NunuSquare.png
|title       = The Yeti Rider
|herotype    = {{Attributes|Melee|Recommended|Fighter|Jungler}}
|date        = February 21, 2009 (Alpha)
|health      = 60
|attack      = 40
|spells      = 70
|difficulty  = 30
|hp          = {{cv|Nunu|hp_base}} (+{{cv|Nunu|hp_lvl}})
|mana        = {{cv|Nunu|mp_base}} (+{{cv|Nunu|mp_lvl}})
|damage      = {{cv|Nunu|dam_base}} (+{{cv|Nunu|dam_lvl}})
|attackspeed = {{cv|Nunu|as_base}} (+{{cv|Nunu|as_lvl}}%)
|range       = {{cv|Nunu|range}}
|armor       = {{cv|Nunu|arm_base}} (+{{cv|Nunu|arm_lvl}})
|magicresist = {{cv|Nunu|mr_base}} (+{{cv|Nunu|mr_lvl}})
|healthregen = {{cv|Nunu|hp5_base}} (+{{cv|Nunu|hp5_lvl}})
|manaregen   = {{cv|Nunu|mp5_lvl}} (+{{cv|Nunu|mp5_lvl}})
|speed       = {{cv|Nunu|ms}}
|IP          = 450
|RP          = 260
}}
Estatística
Vida N/A Dano de Ataque N/A
Regeneração de vida N/A Velocidade de Ataque [*] N/A
Mana N/A Armadura N/A
Regeneração de mana N/A Resistência mágica N/A
Range 125 Velocidade de movimento N/A


Multiple Champion Names

  • Capitals don't matter.
{{cv|hEiMeRdInGeR|disp_name}} = Heimerdinger
  • In a few cases, common nicknames have been added for ease.
{{cv|Dr. Mundo|disp_name}} = Dr. Mundo
{{cv|Mundo|disp_name}} = Dr. Mundo
{{cv|Blitzcrank|disp_name}} = Blitzcrank
{{cv|Blitz|disp_name}} = Blitzcrank
  • This template only processes the first word of the input champion's name. This allows {{PAGENAME}} to be used on any pages that begin with the champion's name.
For example, on both pages, Anivia the Cryophoenix and Anivia the Cryophoenix/Ability Details:
{{cv|{{PAGENAME}}|disp_name}} becomes:
{{cv|anivia|disp_name}} which results in:
Anivia

Resource

Majority champions use mana and as such will return an empty string. Otherwise, the resource they use is returned as follows:

  • {{cv|Garen|resource}} → Manaless
  • {{cv|Akali|resource}} → Energy
  • {{cv|Shyvana|resource}} → Fury
  • {{cv|Vladimir|resource}} → Health
  • {{cv|Rumble|resource}} → Heat
  • {{cv|Ahri|resource}}



O conteúdo da comunidade está disponível sob CC-BY-SA salvo indicação em contrário.