Difference between revisions of "Template:Skill Info"
From LeikaRO wiki
m (→Optional Fields) |
m (experimental modification to get rid of empty p tags at start of page which distort layout) |
||
Line 51: | Line 51: | ||
{{!}} colspan=2 {{!}} {{{required}}} }} | {{!}} colspan=2 {{!}} {{{required}}} }} | ||
|} | |} | ||
− | </includeonly> | + | </includeonly><noinclude>__NOTOC__ |
− | + | ||
− | <noinclude> | + | |
− | __NOTOC__ | + | |
{|class="infobox" style="width:30em; clear: none;" | {|class="infobox" style="width:30em; clear: none;" | ||
|- | |- | ||
Line 109: | Line 106: | ||
{{!}} colspan=2 {{!}} {{{required}}} }} | {{!}} colspan=2 {{!}} {{{required}}} }} | ||
|} | |} | ||
− | |||
== Overview == | == Overview == | ||
This template displays an info box for a skill and should be used at the beginning of all skill pages. | This template displays an info box for a skill and should be used at the beginning of all skill pages. | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
+ | |||
== Usage == | == Usage == | ||
Revision as of 14:26, 21 January 2016
Skill Info | |
---|---|
Type: | {{{type}}} Skill |
Levels: | {{{levels}}} |
Overview
This template displays an info box for a skill and should be used at the beginning of all skill pages.
Usage
{{Skill Info |type = |levels = |spcost = |hpcost = |s_icon = |consumable = |item = |weapon = |weapon2 = |weapon3 = |equip = |equip2 = |cf_name = |cf_value = |quest = |prereqs = |required = }}
Remember to erase the empty fields.
Mandatory Fields
Field | Description | Auto-adds Category |
---|---|---|
type | Main type of the skill. Values: "Active", "Passive", "Offensive", "Supportive". | - |
levels | Maximum levels of the skill. Being a string variable, adding comments after the number is possible. Ex: Levels: "5, selectable" | - |
prereqs | Additional skills that must have learned before acquiring this skill. | - |
quest | Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}. | Category:Quest Skills |
Optional Fields
Field | Description |
---|---|
spcost | SP Cost required to initiate the skill. |
hpcost | HP Cost required to initiate the skill. |
s_icon | Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in Status Icons as (field)-status-ico.png (before "-status-ico.png")
|
consumable | Item or ammo the skill consumes upon casting. ("Arrows (1)", "Bullets (10)", etc) |
item | Specific item that must be present in the inventory, or equipped, prior to use the skill. |
weapon | Weapon that must be equipped in order for the skill to execute. |
weapon2 | For skills with multiple allowable weapons. |
weapon3 | For skills with multiple allowable weapons. |
equip | Equipment item that must be worn for the skill to execute. |
equip2 | For skills with multiple required equipment types. |
cf_name | Custom Field Name, in case none of the above field criteria apply. Set text will get bolded, use in conjunction with cf_value. |
cf_value | Custom Field Value, set this if you have cf_name set also. Setting this without cf_name, it will simply get ignored. |
required | If this skill is required in order to learn Skill B, place Skill B here. |
File Names
- Icon (What appears next to the skill name at the top of the infobox): "(skill name)-icon.png"
- Example: "Magnum_Break-icon.png" or "Magnum Break-icon.png"
- Screenshot of Skill In-Game (below the skill name, toward the top of the box): "(skill name)-screen.gif"
- Example: "Magnum_Break-screen.gif" or "Magnum Break-screen.gif"
- Status Icon (optional, for any skills that create status icons): "(skill name)-stat-ico.png"
- Example: "Magnum_Break-stat-ico.png"or "Magnum Break-stat-ico.png"