ElEditors, Interface administrators, Administrators
70,893
edits
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Lua|SkillTable}} | |||
== Overview == | == 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. | 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. | ||
Line 77: | Line 78: | ||
*For mod skills: insert "/Mod" in name. | *For mod skills: insert "/Mod" in name. | ||
*For cube icon: insert "[space]ModCube[number]" in name. (See [[Template:Mod Cube]]) | *For cube icon: insert "[space]ModCube[number]" in name. (See [[Template:Mod Cube]]) | ||
*You can also add anything before and after the display name: "[prefix]++[content]##[suffix]" | |||
<pre><nowiki>{{SkillTable | <pre><nowiki>{{SkillTable | ||
Line 82: | Line 84: | ||
TaleSpinnerHyperActive.png; Brillante Locked-Hyper1; | TaleSpinnerHyperActive.png; Brillante Locked-Hyper1; | ||
TaleSpinnerSkill1.png; Swing ModCube1; | TaleSpinnerSkill1.png; Swing ModCube1; | ||
TaleSpinnerSkill4.png; Tuning ModCube2; | TaleSpinnerSkill4.png; Prophetess: ++ Tuning ## (튜닝) ModCube2; | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 89: | Line 91: | ||
TaleSpinnerHyperActive.png; Brillante Locked-Hyper1; | TaleSpinnerHyperActive.png; Brillante Locked-Hyper1; | ||
TaleSpinnerSkill1.png; Swing ModCube1; | TaleSpinnerSkill1.png; Swing ModCube1; | ||
TaleSpinnerSkill4.png; Tuning ModCube2; | TaleSpinnerSkill4.png; Prophetess: ++ Tuning ## (튜닝) ModCube2; | ||
}}<br/> | }}<br/> | ||
*Use the following Syntax for Secret Arts or just multiple images in one cell: | *Use the following Syntax for Secret Arts or just multiple images in one cell: | ||
<pre><nowiki>{{SkillTable | <pre><nowiki>{{SkillTable | ||
|skill_columns=2 | |||
| | | | ||
LittleHelperSkill1.png | LittleHelperSkill1.png | ||
Line 105: | Line 108: | ||
\Turtle Stance 4: Barrier | \Turtle Stance 4: Barrier | ||
# | # Iceberg/Mod Locked-Expert; | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 121: | Line 124: | ||
\Turtle Stance 4: Barrier | \Turtle Stance 4: Barrier | ||
# | # Iceberg/Mod Locked-Expert; | ||
}} | }} | ||
You can optionally provide the <code>skill_columns</code> argument (number) to specify how many columns of images you would like | *You can optionally provide the <code>skill_columns</code> argument (number) to specify how many columns of images you would like to be displayed (default: 2). | ||
**As you can see, the other extras work just fine with it. | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Images and skill names", | |||
"description": "Images and skill names separated by semicolons. The image always comes first. To add a header row, simply append \"--\" where the image should be. You can pick a character to autofill its color or choose it yourself and paste it afterwards. The next entity is the title. More information & extras on the template's page.", | |||
"example": "FYPassive2.png; Key of Proof; --Rose; Minerva;", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"i": { | |||
"label": "Number of entries per row", | |||
"example": "5", | |||
"type": "number", | |||
"default": "4", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "A template 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.", | |||
"paramOrder": [ | |||
"i", | |||
"1" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> |