Template:SkillTable/doc
From Elwiki
Overview
A template using the LUA module Module:SkillTable allowing you to create custom grids with an image on the left and a clickable link box on the right. Mainly used for skill categories and the Related Skills section on skill pages.
How to use
Basic
Takes only 2 parameters (in theory).
- First unnamed parameter: a.k.a. just the content, separated by semicolons. Put image names in odd fields and links to the page in even fields, like so:
{{SkillTable |FYPassive2.png; Key of Proof; GrenadeEnhancement.png; Enhanced Grenades; MusketMaster.png; Musket Master; PenetratingBullet.png; Penetrating Bullet; FYPassive1.png; Arsenal Reinforcement; }}
- The
i
parameter that slices the input into rows of (i) cells - default 4.
{{SkillTable |i=3 |TurbidsPassive4.png; Awakened Will: Turbids; TurbidsPassive5.png; Death's Instinct; EmptinessSkill6.png; Abyss Scatter; EmptinessSkill2.png; Heartless ID; EmptinessPassive1.png; ID; TurbidsSkill11.png; Blanket Authority }}
Formatting is irrelevant. All white space is stripped.
With a header
To insert a header, you will need to add 2 special fields between any 2 cells (or at the top):
- The first field is the color of your header, which will try to parse it as HEX/RGB (# or rgb() needed). Otherwise, it will try to get a color from the Color Selector template's "Character" category using the provided string.
- The second field is the wikitext content of your header.
{{SkillTable |--Rose; [[File:Mini Icon - Minerva.png]] '''Minerva'''; FYPassive2.png; Key of Proof; GrenadeEnhancement.png; Enhanced Grenades; MusketMaster.png; Musket Master; PenetratingBullet.png; Penetrating Bullet; FYPassive1.png; Arsenal Reinforcement; FreySkill10.png; C4 Remote Control; }}
Extras
- For locked skills: insert "[space]Locked-[type]" in the second field (name). (See Template:Locked Skill)
- For mod skills: insert "/Mod" in the second field (name).
<nowiki>{{SkillTable |PoeticRangerSkill6.png; Recite/Mod; TaleSpinnerHyperActive.png; Brillante Locked-Hyper1; }}
</nowiki>