Template:Skill infobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
| {{clear}} }} | | {{clear}} }} | ||
</div>[[Category:Skill]]{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|1}} | </div>[[Category:Skill]]{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|1}} | ||
|Wr=[[Category:Warrior]] | |||
|Kn=[[Category:Knight]] | |||
|Ac=[[Category:Archer]] | |||
|Pa=[[Category:Paladin]] | |||
|Wi=[[Category:Wizard]] | |||
|Cl=[[Category:Cleric]] | |||
|Sn=[[Category:Summoner]] | |||
}}|{{clear}}}}{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|2}} | |||
|Wr=[[Category:Warrior]] | |||
|Kn=[[Category:Knight]] | |||
|Ac=[[Category:Archer]] | |||
|Pa=[[Category:Paladin]] | |||
|Wi=[[Category:Wizard]] | |||
|Cl=[[Category:Cleric]] | |||
|Sn=[[Category:Summoner]] | |||
}}|{{clear}}}}{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|3}} | |||
|Wr=[[Category:Warrior]] | |||
|Kn=[[Category:Knight]] | |||
|Ac=[[Category:Archer]] | |||
|Pa=[[Category:Paladin]] | |||
|Wi=[[Category:Wizard]] | |||
|Cl=[[Category:Cleric]] | |||
|Sn=[[Category:Summoner]] | |||
}}|{{clear}}}}{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|4}} | |||
|Wr=[[Category:Warrior]] | |||
|Kn=[[Category:Knight]] | |||
|Ac=[[Category:Archer]] | |||
|Pa=[[Category:Paladin]] | |||
|Wi=[[Category:Wizard]] | |||
|Cl=[[Category:Cleric]] | |||
|Sn=[[Category:Summoner]] | |||
}}|{{clear}}}}{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|5}} | |||
|Wr=[[Category:Warrior]] | |||
|Kn=[[Category:Knight]] | |||
|Ac=[[Category:Archer]] | |||
|Pa=[[Category:Paladin]] | |||
|Wi=[[Category:Wizard]] | |||
|Cl=[[Category:Cleric]] | |||
|Sn=[[Category:Summoner]] | |||
}}|{{clear}}}}{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|6}} | |||
|Wr=[[Category:Warrior]] | |||
|Kn=[[Category:Knight]] | |||
|Ac=[[Category:Archer]] | |||
|Pa=[[Category:Paladin]] | |||
|Wi=[[Category:Wizard]] | |||
|Cl=[[Category:Cleric]] | |||
|Sn=[[Category:Summoner]] | |||
}}|{{clear}}}}{{#if:{{{classes|]}}}|{{#switch:{{ucfirst:{{string split|{{{classes|}}}}}|" "|7}} | |||
|Wr=[[Category:Warrior]] | |Wr=[[Category:Warrior]] | ||
|Kn=[[Category:Knight]] | |Kn=[[Category:Knight]] |
Revision as of 04:18, 24 October 2024
Description
This is the Skill infobox template. It should be transcluded in the following format:
{{Skill infobox |name= |icon= |description= |classes= |level= |max-level= |target= |type= |weapon= |requires= |gallery1...gallery5= |gallery-text1...gallery-text5= }}
Parameters
- name
- Optional. Only include if the name of the skill differs from the article name. Defaults to the name of the article:
{{PAGENAME}}
- icon
- Required. Icon of the skill.
- description
- Required. Skill description.
- classes
- Required. Class that can unlock the skill. Use shortened class name: Wr Kn Ac Pa Wi Cl Sn
- level
- Required. Required level to unlock the skill. Separate multiple class level requirements with a comma.
- max-level
- Required. Maximum level this skill can reach.
- target
- Required. List who the skill can target.
- type
- Required. The type of item. Options:
- Passive
- Damage
- Buff
- Curse
- Utility
- weapon
- Optional. Required weapon to activate.
- requires
- Optional. Required skill to unlock.
- gallery1...gallery5
- Optional. Images related to the item.
- gallery-text1...gallery-text5
- Optional. Image descriptions.
Example
Summon Naiad
βSummon Naiad, the spirit of water, who uses recovery and blessing magic.βIn-game description.
- Classes
- Sn
- Req. Level
- 1
- Max. Level
- 40
- Target
- Myself
- Type
- Utility
{{Skill infobox |name=Summon Naiad |icon=Summon Naiad icon.gif |description=Summon Naiad, the spirit of water, who uses recovery and blessing magic. |classes=Sn |level=1 |max-level=40 |target=Myself |type=Utility |gallery1= |gallery-text1= }}
TODO
- Add properties to parameters