4,753 Pages

[view] [edit] [history] [purge] Template documentation
Retrieves champion data from Module:ChampionData/data.
Description
This template contains various independently retrievable champion data items. This template is the interface for Module:ChampionData/data.
Syntax
{{Current champion data|<champname>|<datatype>|<output>|<prepend>|<append>|<separator>|<t_name>|<index>}}
{{ccd|<champion>|<datatype>|<output>|<prepend>|<append>|<separator>|<t_name>|<index>}}}
Parameters
1/champname - Required
2/datatype - Required
3/output - Required if datatype in {stats, role, skill_i, skill_q, skill_w, skill_e, skill_r}, otherwise not needed

For use with output=custom

prepend - Optional
append - Optional
separator - Optional
index - Optional

For use with output=template

t_name - Optional
Example
{{ccd|Aatrox|title}}

{{ccd|Aatrox|role|csv}}

{{ccd|Aatrox|role|template|t_name=tip}}

{{ccd|Diana|role|custom|prepend=<<<|append=>>>|separator=-}}

{{ccd|Diana|role|custom|index=2}}
...yields:

the Darkin Blade

Juggernaut

Fighter icon Juggernaut

<<<Assassin>>>-<<<Diver>>>

Diver

Community content is available under CC-BY-SA unless otherwise noted.