Difference between revisions of "Template:Skill Info"
From LeikaRO wiki
m (→Optional Fields) |
|||
(57 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {| | + | {| style="border: 1px solid #aaaaaa; background-color: #f1f1f1; padding: 0.2em; float: right; border-spacing: 2; width: 30em; vertical-align: top;" |
|- | |- | ||
− | ! 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}} | + | ! align="center" 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="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info | + | | colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] }} }} |
|- | |- | ||
− | | style=" | + | | style="background:#f9f9f9" | '''Type:''' || style="background:#f9f9f9" | {{{type}}} Skill |
|- | |- | ||
− | | '''Levels:''' || {{{levels}}} | + | | style="background:#f9f9f9" | '''Levels:''' || style="background:#f9f9f9" | {{{levels}}} |
|- | |- | ||
{{#if: {{{spcost|}}} | | {{#if: {{{spcost|}}} | | ||
− | {{!}} '''SP Cost:''' {{!}}{{!}} {{{spcost}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''SP Cost:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{spcost}}} |
− | {{!}}- }} | + | {{!}}- }} |
{{#if: {{{hpcost|}}} | | {{#if: {{{hpcost|}}} | | ||
− | {{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''HP Cost:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{hpcost}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{time|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Cast Time:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{time}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{cast_fix|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Fixed Cast Time:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{cast_fix}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{cast_var|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Variable Cast Time:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{cast_var}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{delay|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Cast Delay:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{delay}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{animation|}}} | |
− | {{!}} ''' | + | {{!}} '''Animation:''' {{!}}{{!}} {{{animation}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{cooldown|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Cooldown:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{cooldown}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{duration|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Duration:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{duration}}} |
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{target|}}} | |
− | + | {{!}} style="background:#f9f9f9" {{!}} '''Target:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{target}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{!}} | + | |
− | {{ | + | |
− | ! | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{range|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}}'''Range:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{#switch: {{{range}}} | Melee={{{range}}} | Magic={{{range}}} | {{{range}}} cells }} |
+ | {{!}}- }} | ||
+ | {{#if: {{{range_x|}}} | | ||
+ | {{!}} style="background:#f9f9f9" {{!}} '''Range:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{range_x}}} cells | ||
{{!}}- }} | {{!}}- }} | ||
− | {{#if: {{{ | + | {{#if: {{{magicrange|}}} | |
− | {{!}} ''' | + | {{!}} style="background:#f9f9f9" {{!}} '''Range:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{magicrange}}} cells |
+ | {{!}}- }} | ||
+ | {{#if: {{{knock|}}} | | ||
+ | {{!}} '''Knock Back:''' {{!}}{{!}} {{{knock}}} cells | ||
+ | {{!}}- }} | ||
+ | {{#if: {{{area|}}} | | ||
+ | {{!}} style="background:#f9f9f9" {{!}} '''Area of Effect:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{area}}} | ||
+ | {{!}}- }} | ||
+ | {{#if: {{{element|}}} | | ||
+ | {{!}} style="background:#f9f9f9" {{!}} '''Element:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} [[{{{element}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{catalyst|}}} | | {{#if: {{{catalyst|}}} | | ||
Line 84: | Line 68: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{weapon|}}} | | {{#if: {{{weapon|}}} | | ||
− | {{!}} '''Weapons:''' {{!}}{{!}} | + | {{!}} style="background:#f9f9f9" {{!}} '''Weapons:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{weapon}}} {{#if: {{{weapon2|}}} | or {{{weapon2}}} {{#if: {{{weapon3|}}} | or {{{weapon3}}} }} }} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{equip|}}} | | {{#if: {{{equip|}}} | | ||
− | {{!}} '''Equipment:''' {{!}}{{!}} [[{{{equip}}}]] | + | {{!}} style="background:#f9f9f9" {{!}} '''Equipment:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} [[{{{equip}}}]] |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{equip2|}}} | | {{#if: {{{equip2|}}} | | ||
Line 95: | Line 79: | ||
{{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}} | {{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}} | ||
{{!}}- }} | {{!}}- }} | ||
+ | {{#if: {{{s_icon|}}} | | ||
+ | {{!}} style="background:#f9f9f9" {{!}} '''Status Icon:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} [[Image:{{{s_icon}}}-status-ico.png]] | ||
+ | {{!}}- }} | ||
+ | <!-- Can't fucking figure out this vertical white space between the Prerequisites --> | ||
{{#if: {{{prereqs|}}} | | {{#if: {{{prereqs|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive= | + | {{!}} align="center" colspan="2" style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9|93E4E8}}" {{!}} '''Prerequisites''' |
{{!}}- | {{!}}- | ||
− | {{!}} colspan=2 {{!}} {{{prereqs}}} }} | + | {{!}} align="center" colspan=2 {{!}} {{{prereqs}}} }} |
{{#if: {{{quest|}}} | | {{#if: {{{quest|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive= | + | {{!}} 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]].'' }} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{required|}}} | | {{#if: {{{required|}}} | | ||
− | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive= | + | ! colspan=2 style="background:#{{#switch: {{{type}}} | Active=FFCCA1| Passive=94EBD3| Offensive=93E4E8| Supportive=F1C3F9| 93E4E8 }};" {{!}} Required For |
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{required}}} }} | {{!}} colspan=2 {{!}} {{{required}}} }} | ||
|} | |} | ||
+ | </includeonly><noinclude>__NOTOC__ | ||
+ | |||
== 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 == | ||
Line 122: | Line 113: | ||
|hpcost = | |hpcost = | ||
|s_icon = | |s_icon = | ||
− | | | + | |time = |
+ | |cast_fix = | ||
+ | |cast_var = | ||
+ | |delay = | ||
+ | |animation = | ||
+ | |cooldown = | ||
+ | |duration = | ||
+ | |target = | ||
+ | |range = | ||
+ | |range_x = | ||
+ | |magicrange = | ||
+ | |knock = | ||
+ | |status = | ||
+ | |area = | ||
+ | |element = | ||
+ | |catalyst = | ||
|item = | |item = | ||
+ | |ammo = | ||
|weapon = | |weapon = | ||
|weapon2 = | |weapon2 = | ||
Line 175: | Line 182: | ||
| Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in [[Status Icons]] as <code>'''(field)'''-status-ico.png</code> (before "-status-ico.png") | | Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in [[Status Icons]] as <code>'''(field)'''-status-ico.png</code> (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 | ! item | ||
| Specific item that must be present in the inventory, or equipped, prior to use the skill. | | 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 | ||
Line 209: | Line 261: | ||
* Icon (What appears next to the skill name at the top of the infobox): "(skill name)-icon.png" | * 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" | ** 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. | + | * Screenshot of Skill In-Game (below the skill name, toward the top of the box): "(skill name)-screen.jpg" |
− | ** Example: "Magnum_Break-screen. | + | ** 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" | * 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" | + | ** Example: "Magnum_Break-stat-ico.png" or "Magnum Break-stat-ico.png" |
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:39, 7 January 2022
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 = |time = |cast_fix = |cast_var = |delay = |animation = |cooldown = |duration = |target = |range = |range_x = |magicrange = |knock = |status = |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 |
---|---|
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")
|
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"