Difference between revisions of "Template:Skill Info"
From LeikaRO wiki
(line 87 / {{!}}) |
|||
Line 13: | Line 13: | ||
{{!}} style="background:#f9f9f9" {{!}} '''[[SP]]:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{sp}}} | {{!}} style="background:#f9f9f9" {{!}} '''[[SP]]:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{sp}}} | ||
{{!}}- }} | {{!}}- }} | ||
− | |||
{{#if: {{{hpcost|}}} | | {{#if: {{{hpcost|}}} | | ||
{{!}} style="background:#f9f9f9" {{!}} '''HP:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{hpcost}}} | {{!}} style="background:#f9f9f9" {{!}} '''HP:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{hpcost}}} | ||
{{!}}- }} | {{!}}- }} | ||
− | |||
{{#if: {{{cast|}}} | | {{#if: {{{cast|}}} | | ||
− | {{!}} style="background:#f9f9f9" {{!}} '''[[Skills#Cast_Time|Cast Time]]:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{cast}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''[[Skills#Cast_Time|Cast Time]]:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{cast}}} |
{{!}}- | {{#if: {{{cast_fix|}}} | | {{!}}- | {{#if: {{{cast_fix|}}} | | ||
{{!}} style="background:#f9f9f9" {{!}} '''[[Skills#Cast_Time|Cast Time]]:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} <span style="color:#b22222">{{tip|{{{cast_fix}}}|Fixed}}</span> {{#if: {{{cast_var|}}} | + <span style="color:#006400">{{tip|{{{cast_var}}}|Variable}}</span> seconds }} | {{!}} style="background:#f9f9f9" {{!}} '''[[Skills#Cast_Time|Cast Time]]:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} <span style="color:#b22222">{{tip|{{{cast_fix}}}|Fixed}}</span> {{#if: {{{cast_var|}}} | + <span style="color:#006400">{{tip|{{{cast_var}}}|Variable}}</span> seconds }} | ||
{{!}}- | {{!}}- | ||
}}}} | }}}} | ||
− | |||
{{#if: {{{delay|}}} | | {{#if: {{{delay|}}} | | ||
{{!}} style="background:#f9f9f9" {{!}} '''Cast Delay:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{delay}}} | {{!}} style="background:#f9f9f9" {{!}} '''Cast Delay:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{delay}}} | ||
Line 79: | Line 76: | ||
{{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}} | {{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}} | ||
{{!}}- }} | {{!}}- }} | ||
− | |||
{{#if: {{{s_icon|}}} | | {{#if: {{{s_icon|}}} | | ||
{{!}} style="background:#f9f9f9" {{!}} '''Status Icon:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} [[Image:{{{s_icon}}}-status-ico.png]] | {{!}} style="background:#f9f9f9" {{!}} '''Status Icon:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} [[Image:{{{s_icon}}}-status-ico.png]] | ||
Line 89: | Line 85: | ||
{{!}} align="center" colspan=2 {{!}} {{{prereqs}}} }} | {{!}} align="center" colspan=2 {{!}} {{{prereqs}}} }} | ||
{{#if: {{{quest|}}} | | {{#if: {{{quest|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8 }};" {{!}} Prerequisites | + | {{!}} colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8 }};" {{!}} Prerequisites |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} | {{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} |
Revision as of 18:03, 16 December 2021
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 = |sp = |hpcost = |s_icon = |time = |cast_fix = |cast_var = |delay = |animation = |cooldown = |duration = |target = |range = |range_x = |magicrange = |knock = |area = |element = |catalyst = |item = |ammo = |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 |
---|---|
sp | 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")
|
time | Skill's cast time, if any |
cast_fix | Skill's fixed cast time, if any |
cast_var | Skill's variable cast time, if any |
delay | Skill's cast delay/after cast/skill delay/global delay, if any |
animation | Skill's animation delay, if any |
cooldown | Skill reuse delay, if any. This is different from cast delay if the skill has a reuse delay that is specific to itself. |
duration | How long the skill lasts |
target | Target of skill (Self, ally, enemy, ground, etc.) |
range | Range of the skill. (Melee, magic, ranged, etc.) |
range_x | Non-conditional range value for skills that have a cell-range but where it is irrelevant from the standpoint of defensive skills or gears because of their non-offensive nature. |
area | Area of Effect (3x3, 5x5, etc.) |
knock | Knockback effect of the skill, if any (2 squares, 1 square, etc.) |
status | Status Effects the skill inflicts on the target |
element | Skill's primary elemental attribute, if any. Typically "Neutral" unless otherwise specified. |
catalyst | Item the skill consumes upon casting. ("Holy Water (1)", "Blue Gemstone (2)", etc) |
item | Specific item that must be present in the inventory, or equipped, prior to use the skill. |
ammo | Equipped ammo the skill consumes upon casting. ("Arrows (1)", "Bullets (10)", etc) |
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.jpg"
- Example: "Magnum_Break-screen.jpg" or "Magnum Break-screen.jpg"
- 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"