Difference between revisions of "Template:Skill Info"
From LeikaRO wiki
(53 intermediate revisions by 4 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:''' {{!}}{{!}} | + | {{!}} style="background:#f9f9f9" {{!}} '''HP Cost:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{hpcost}}} |
− | + | ||
− | + | ||
− | {{!}} | + | |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{time|}}} | | {{#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: {{{delay|}}} | | {{#if: {{{delay|}}} | | ||
− | {{!}} '''Cast Delay:''' {{!}}{{!}} {{{delay}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''Cast Delay:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{delay}}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{animation|}}} | | {{#if: {{{animation|}}} | | ||
Line 127: | Line 32: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{cooldown|}}} | | {{#if: {{{cooldown|}}} | | ||
− | {{!}} '''Cooldown:''' {{!}}{{!}} {{{cooldown}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''Cooldown:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{cooldown}}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{duration|}}} | | {{#if: {{{duration|}}} | | ||
− | {{!}} '''Duration:''' {{!}}{{!}} {{{duration}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''Duration:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{duration}}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{target|}}} | | {{#if: {{{target|}}} | | ||
− | {{!}} '''Target:''' {{!}}{{!}} {{{target}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''Target:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{target}}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{range|}}} | | {{#if: {{{range|}}} | | ||
− | {{!}} '''Range:''' {{!}}{{!}} {{#switch: {{{range}}} | Melee={{{range}}} | Magic={{{range}}} | {{{range}}} cells }} | + | {{!}} style="background:#f9f9f9" {{!}}'''Range:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{#switch: {{{range}}} | Melee={{{range}}} | Magic={{{range}}} | {{{range}}} cells }} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{range_x|}}} | | {{#if: {{{range_x|}}} | | ||
− | {{!}} '''Range:''' {{!}}{{!}} {{{range_x}}} cells | + | {{!}} style="background:#f9f9f9" {{!}} '''Range:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{range_x}}} cells |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{magicrange|}}} | | {{#if: {{{magicrange|}}} | | ||
− | {{!}} '''Range:''' {{!}}{{!}} {{{magicrange}}} cells | + | {{!}} style="background:#f9f9f9" {{!}} '''Range:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{magicrange}}} cells |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{knock|}}} | | {{#if: {{{knock|}}} | | ||
Line 148: | Line 53: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{area|}}} | | {{#if: {{{area|}}} | | ||
− | {{!}} '''Area of Effect:''' {{!}}{{!}} {{{area}}} | + | {{!}} style="background:#f9f9f9" {{!}} '''Area of Effect:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} {{{area}}} |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{element|}}} | | {{#if: {{{element|}}} | | ||
− | {{!}} '''Element:''' {{!}}{{!}} [[{{{element}}}]] | + | {{!}} style="background:#f9f9f9" {{!}} '''Element:''' {{!}}{{!}} style="background:#f9f9f9" {{!}} [[{{{element}}}]] |
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{catalyst|}}} | | {{#if: {{{catalyst|}}} | | ||
Line 163: | Line 68: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{weapon|}}} | | {{#if: {{{weapon|}}} | | ||
− | {{!}} '''Weapons:''' {{!}}{{!}} {{{weapon}}} {{#if: {{{weapon2|}}} | or {{{weapon2}}} {{#if: {{{weapon3|}}} | or {{{weapon3}}} }} }} | + | {{!}} 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 174: | 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. | ||
Line 213: | Line 125: | ||
|magicrange = | |magicrange = | ||
|knock = | |knock = | ||
+ | |status = | ||
|area = | |area = | ||
|element = | |element = | ||
Line 348: | 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"