League of Legends Wiki

Want to contribute to this wiki?
Sign up for an account, and get started!
You can even turn off ads in your preferences.

Come join the LoL Wiki community Discord server!

READ MORE

League of Legends Wiki
Advertisement
[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

Advertisement