Template:SkillList/doc

From Coromon Wiki
Jump to navigation Jump to search

This template generates table elements for the Skills page.

Explanation

The template has two parameters, the first and the second one.

The first parameter is for the name of the skill, with capitalization, or for determining the start or the end of the template. Entering a skill name will generate the necessary elements for it, when used in between {{SkillList|Start}} and {{SkillList|End}}. A skill cannot stand if not between these templates, it will generate gibberish.

The second parameter defines the file name for the icon column.

Parameter Default Use-Case Purpose
1 -
{{SkillList|Start}}
generates headers of table
1 -
{{SkillList|<Skill Name>}}
generates a row with skill's info
1 -
{SkillList|End}}
generates closing of the table
type true
{{SkillList|<Start/Skill>|type=false}}
adds the "Type" column if true
sp true
{{SkillList|<Start/Skill>|sp=false}}
adds the "SP" column if true
power true
{{SkillList|<Start/Skill>|type=false}}
adds the "Type" column if true
acc true
{{SkillList|<Start/Skill>|acc=false}}
adds the "Accuracy" column if true
category true
{{SkillList|<Start/Skill>|category=false}}
adds the "Category" column if true
desc false
{{SkillList|<Start/Skill>|desc=true}}
adds the "Description" column if true
contact true
{{SkillList|<Start/Skill>|contact=false}}
adds the "Contact" column if true
target true
{{SkillList|<Start/Skill>|target=false}}
adds the "Target" column if true
strikes false
{{SkillList|<Start/Skill>|strikes=true}}
adds the "Strikes" column if true


Example Use

{{SkillList|Start}}
{{SkillList|Agility Training}}
{{SkillList|End}}

{{SkillList|Start|type=false|desc=true}}
{{SkillList|Cinder|type=false|desc=true}}
{{SkillList|End}}

{{SkillList|Start|strikes=true}}
{{SkillList|Double String|strikes=true}}
{{SkillList|End}}

produces:

Headers are shortened to save space. Legend: Acc. = Accuracy Ctgry. = Category

Name Type SP Power Acc. Ctgry. Contact Target
AGILITY TRAINING.pngAgility Training Normal Type 0 - - Status no Self

Headers are shortened to save space. Legend: Acc. = Accuracy Ctgry. = Category

Name SP Power Acc. Ctgry. Description Target
CINDER.pngCinder 3 40 100 Special Launch a small burning cinder at the target, with a 10% chance to [condition.burn] the target. Single

Headers are shortened to save space. Legend: Acc. = Accuracy Ctgry. = Category

Name Type SP Power Acc. Ctgry. Contact Target Strikes
DOUBLE STING.pngDouble Sting Normal Type 4 30 95 Physical yes Single 2