Difference between revisions of "Template:Skill Info"
From LeikaRO wiki
m |
|||
Line 55: | Line 55: | ||
<noinclude> | <noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
− | {|class="infobox" style="width:30em;" | + | {|class="infobox" style="width:30em; clear: none;" |
|- | |- | ||
! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8}}; font-size:130%;" | {{#ifexist:Media:{{PAGENAME}}-icon.png | [[Image:{{PAGENAME}}-icon.png]] | [[Image:No_Info.png|Needs proper Skill Icon]]}} {{PAGENAME}} | ! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8}}; font-size:130%;" | {{#ifexist:Media:{{PAGENAME}}-icon.png | [[Image:{{PAGENAME}}-icon.png]] | [[Image:No_Info.png|Needs proper Skill Icon]]}} {{PAGENAME}} | ||
Line 112: | Line 112: | ||
== 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> | |
== Usage == | == Usage == | ||
+ | |||
<pre> | <pre> | ||
{{Skill Info | {{Skill Info | ||
Line 135: | Line 136: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
Remember to erase the empty fields. | Remember to erase the empty fields. | ||
=== Mandatory Fields === | === Mandatory Fields === | ||
+ | |||
{| class=wikitable | {| class=wikitable | ||
! Field !! Description !! Auto-adds Category | ! Field !! Description !! Auto-adds Category |
Revision as of 16:30, 21 December 2015
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. |
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"