Template:Skill infobox: Difference between revisions
(Created page with "<includeonly><templatestyles src="Infobox/styles.css" /> <div class="infobox skill"> <div class="infobox-icon">[[File:{{{icon}}}|40px]]</div> <p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> <div class="wrapper> {{quote|quote={{{description}}}|source=In-game description.}} ;Class :[[{{{class}}}]] ;Req. Level :{{{level}}} ;Max. Level :{{{max-level}}} ;Target :{{{target}}} ;Type :{{{type}}} </div> {{#if: {{{gallery1|}}} | {{{!}} style="width:100%" {{!}...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<div class="infobox-icon">[[File:{{{icon}}}|40px]]</div> | <div class="infobox-icon">[[File:{{{icon}}}|40px]]</div> | ||
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | <p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | ||
<div class="wrapper> | <div class="wrapper"> | ||
{{quote|quote={{{description}}}|source=In-game description.}} | {{quote|quote={{{description}}}|source=In-game description.}} | ||
;Class | ;Class | ||
:[[{{{ | :[[{{{class1|Class needed}}}]][[Category:{{{class1}}}]]{{#if:{{{class2|}}}|, [[{{{class2}}}]][[Category:{{{class2}}}]]}}{{#if:{{{class3|}}}|, [[{{{class3}}}]][[Category:{{{class3}}}]]}} | ||
;Req. Level | ;Req. Level | ||
:{{{level}}} | :{{{level}}} | ||
Line 15: | Line 15: | ||
;Type | ;Type | ||
:{{{type}}} | :{{{type}}} | ||
{{#if:{{{requires|}}}| | |||
;Req. Skill | |||
:{{{requires}}}}} | |||
{{#if:{{{weapon|}}}| | |||
;Weapon | |||
:{{{weapon}}}}} | |||
</div> | </div> | ||
{{#if: {{{gallery1|}}} | | {{#if: {{{gallery1|}}} | | ||
Line 38: | Line 44: | ||
|icon= | |icon= | ||
|description= | |description= | ||
| | |class1...class3= | ||
|level= | |level= | ||
|max-level= | |max-level= | ||
|target= | |target= | ||
|type= | |type= | ||
|weapon= | |||
|requires= | |||
|gallery1...gallery5= | |gallery1...gallery5= | ||
|gallery-text1...gallery-text5= | |gallery-text1...gallery-text5= | ||
Line 51: | Line 59: | ||
; icon : Required. Icon of the skill. | ; icon : Required. Icon of the skill. | ||
; description : Required. Skill description. | ; description : Required. Skill description. | ||
; | ; class1 : Required. Class that can unlock the skill. | ||
; class2...class3 : Optional. Include if skill is used by multiple classes. | |||
; level : Required. Required level to unlock the skill. Separate multiple class level requirements with a comma. | ; 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. | ; max-level : Required. Maximum level this skill can reach. | ||
Line 61: | Line 70: | ||
:: Curse | :: Curse | ||
:: Utility | :: Utility | ||
; weapon : Optional. Required weapon to activate. | |||
; requires: Optional. Required skill to unlock. | |||
; gallery1...gallery5 : Optional. Images related to the item. | ; gallery1...gallery5 : Optional. Images related to the item. | ||
; gallery-text1...gallery-text5 : Optional. Image descriptions. | ; gallery-text1...gallery-text5 : Optional. Image descriptions. | ||
Line 69: | Line 80: | ||
|icon=Summon Naiad icon.gif | |icon=Summon Naiad icon.gif | ||
|description=Summon Naiad, the spirit of water, who uses recovery and blessing magic. | |description=Summon Naiad, the spirit of water, who uses recovery and blessing magic. | ||
| | |class1=Summoner | ||
|level=1 | |level=1 | ||
|max-level=40 | |max-level=40 | ||
Line 82: | Line 93: | ||
|icon=Summon Naiad icon.gif | |icon=Summon Naiad icon.gif | ||
|description=Summon Naiad, the spirit of water, who uses recovery and blessing magic. | |description=Summon Naiad, the spirit of water, who uses recovery and blessing magic. | ||
| | |class1=Summoner | ||
|level=1 | |level=1 | ||
|max-level=40 | |max-level=40 |
Latest revision as of 20:55, 22 July 2024
Description
This is the Skill infobox template. It should be transcluded in the following format:
{{Skill infobox |name= |icon= |description= |class1...class3= |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.
- class1
- Required. Class that can unlock the skill.
- class2...class3
- Optional. Include if skill is used by multiple classes.
- 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.
- Class
- Summoner
- 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. |class1=Summoner |level=1 |max-level=40 |target=Myself |type=Utility |gallery1= |gallery-text1= }}
TODO
- Add properties to parameters