Difference between revisions of "Template:Skill Info"

From LeikaRO wiki
Jump to: navigation, search
(cleaning up formatting and condensing some fields)
(Updating template with newest/redesigned version)
Line 2: Line 2:
 
{|class="infobox" style="width:30em;"
 
{|class="infobox" style="width:30em;"
 
|-
 
|-
! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }}; font-size:130%;" | {{#ifexist:Media:{{PAGENAME}}.png | [[Image:{{PAGENAME}}.png]] | [[Image:No_Info.png|Needs proper Skill Icon]]}} {{PAGENAME}}
+
! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }}; 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}}_Info.gif | [[Image:{{PAGENAME}}_Info.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] | [[Image:No_Image_Info.gif]] }} }}
+
| colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}-screen.gif | [[Image:{{PAGENAME}}-screen.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive_Info.gif]] | [[Image:No_Image_Info.gif]] }} }}
 
|-
 
|-
 
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
 
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
Line 16: Line 16:
 
{{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}}
 
{{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{time|}}} |
+
{{#if: {{{s_icon|}}} |
{{!}} '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' {{!}}{{!}} {{{time}}}
+
{{!}} '''Status Icon:''' {{!}}{{!}} [[Image:{{{s_icon}}}-icon.png]]
{{!}}- | {{#if: {{{cast_fix|}}} |
+
{{!}} '''Fixed Cast Time:''' {{!}}{{!}} {{{cast_fix}}}
+
{{!}}-
+
{{#if: {{{cast_var|}}} |
+
{{!}} '''Variable Cast Time:''' {{!}}{{!}} {{{cast_var}}} }}
+
{{!}}- }} }}
+
{{#if: {{{delay|}}} |
+
{{!}} '''Cast Delay:''' {{!}}{{!}} {{{delay}}}
+
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{animation|}}} |
+
{{#if: {{{catalyst|}}} |
{{!}} '''Animation:''' {{!}}{{!}} {{{animation}}}
+
{{!}} '''Catalyst:''' {{!}}{{!}} {{{catalyst}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{cooldown|}}} |
+
{{#if: {{{item|}}} |
{{!}} '''Cooldown:''' {{!}}{{!}} {{{cooldown}}}
+
{{!}} '''Item:''' {{!}}{{!}} {{{item}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{duration|}}} |
+
{{#if: {{{ammo|}}} |
{{!}} '''Duration:''' {{!}}{{!}} {{{duration}}}
+
{{!}} '''Ammunition:''' {{!}}{{!}} {{{ammo}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{target|}}} |
+
{{#if: {{{weapon|}}} |
{{!}} '''Target:''' {{!}}{{!}} {{{target}}}
+
{{!}} '''Weapons:''' {{!}}{{!}} [[{{{weapon}}}]] {{#if: {{{weapon2|}}} | or [[{{{weapon2}}}]] {{#if: {{{weapon3|}}} | or [[{{{weapon3}}}]] }} }}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{range|}}} |
+
{{#if: {{{equip|}}} |
{{!}} '''Range:''' {{!}}{{!}} {{#switch: {{{range}}} | Melee={{{range}}} | Magic={{{range}}} | {{{range}}} cells }}
+
{{!}} '''Equipment:''' {{!}}{{!}} [[{{{equip}}}]]
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{range_x|}}} |
+
{{#if: {{{equip2|}}} |
{{!}} '''Range:''' {{!}}{{!}} {{{range_x}}} cells
+
{{!}} '''Alt. Equipment:''' {{!}}{{!}} [[{{{equip2}}}]]
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{magicrange|}}} |
+
{{#if: {{{prereqs|}}} |
{{!}} '''Range:''' {{!}}{{!}} {{{magicrange}}} cells
+
! colspan=2 style="background:#{{#switch: {{{type}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }};" {{!}} Prerequisites
 +
{{!}}-
 +
{{!}} colspan=2 {{!}} {{{prereqs}}} }}
 +
{{#if: {{{quest|}}} |
 +
! colspan=2 style="background:#{{#switch: {{{type}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }};" {{!}} Prerequisites
 +
{{!}}-
 +
{{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }}
 +
{{!}}-
 +
{{#if: {{{required|}}} |
 +
! colspan=2 style="background:#{{#switch: {{{type}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }};" {{!}} Required For
 +
{{!}}-
 +
{{!}} colspan=2 {{!}} {{{required}}} }}
 +
|}
 +
</includeonly>
 +
 
 +
<noinclude>
 +
__NOTOC__
 +
{|class="infobox" style="width:30em;"
 +
|-
 +
! colspan=2 style="background:#{{#switch:{{{type|}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }}; 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.gif]] | [[Image:No_Image_Info.gif]] }} }}
 +
|-
 +
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
 +
|-
 +
| '''Levels:''' || {{{levels}}} 
 +
|-
 +
{{#if: {{{spcost|}}} |
 +
{{!}} '''SP Cost:''' {{!}}{{!}} {{{spcost}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{knock|}}} |
+
{{#if: {{{hpcost|}}} |
{{!}} '''Knock Back:''' {{!}}{{!}} {{{knock}}} cells
+
{{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{area|}}} |
+
{{#if: {{{s_icon|}}} |
{{!}} '''Area of Effect:''' {{!}}{{!}} {{{area}}}
+
{{!}} '''Status Icon:''' {{!}}{{!}} [[Image:{{{s_icon}}}-icon.png]]
{{!}}- }}
+
{{#if: {{{element|}}} |
+
{{!}} '''Element:''' {{!}}{{!}} [[{{{element}}}]]
+
{{!}}- }}
+
{{#if: {{{status|}}} |
+
{{!}} '''Status Effects:''' {{!}}{{!}} {{{status}}}
+
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{catalyst|}}} |
 
{{#if: {{{catalyst|}}} |
Line 80: Line 94:
 
{{#if: {{{cf_name|}}} |
 
{{#if: {{{cf_name|}}} |
 
{{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}}
 
{{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}}
{{!}}- }}
 
{{#if: {{{s_icon|}}} |
 
{{!}} '''Status Icon:''' {{!}}{{!}} [[Image:I_{{{s_icon}}}.png]]
 
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{prereqs|}}} |
 
{{#if: {{{prereqs|}}} |
Line 92: Line 103:
 
{{!}}-
 
{{!}}-
 
{{!}} 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]].'' }}
|}
+
{{!}}-
</includeonly>
+
{{#if: {{{required|}}} |
 
+
! colspan=2 style="background:#{{#switch: {{{type}}} | Active=CCFFCC | Passive=CCCCCC | Offensive=FFCCCC | Supportive=CCFFFF | CCCCCC }};" {{!}} Required For
<noinclude>__NOTOC__
+
{{!}}-
{| class="infobox" style="width:30em;"
+
{{!}} colspan=2 {{!}} {{{required}}} }}
|-
+
! colspan=2 style="background:#CCCCCC; font-size:130%;" | [[Image:No_Info.png|Needs proper Skill Icon]] <nowiki>{{PAGENAME}}</nowiki>
+
|-
+
| colspan=2 style="text-align:center;" | [[Image:No_Image_Info.gif]]
+
|-
+
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
+
|-
+
| '''Levels:''' || {{{levels}}}
+
|-
+
| '''SP Cost:''' || {{{spcost}}}
+
|-
+
| '''HP Cost:''' || {{{hpcost}}}
+
|-
+
| '''Cast Time:''' || {{{time}}}
+
|-
+
| '''Fixed Cast Time:''' || {{{cast_fix}}}
+
|-
+
| '''Variable Cast Time:''' || {{{cast_var}}}
+
|-
+
| '''Cast Delay:''' || {{{delay}}}
+
|-
+
| '''Animation:''' || {{{animation}}}
+
|-
+
| '''Cooldown:''' || {{{cooldown}}}
+
|-
+
| '''Duration:''' || {{{duration}}}
+
|-
+
| '''Target:''' || {{{target}}}
+
|-
+
| '''Range:''' || {{{range}}} cells
+
|-
+
| '''Range:''' || {{{range_x}}} cells
+
|-
+
| '''Knock Back:''' || {{{knock}}} cells
+
|-
+
| '''Area of Effect:''' || {{{area}}}
+
|-
+
| '''Property:''' || [[{{{element}}}]]
+
|-
+
| '''Status:''' || {{{status}}}
+
|-
+
| '''Consumable:''' || {{{consumable}}}
+
|-
+
| '''Item:''' || {{{item}}}
+
|-
+
| '''Weapon:''' || [[{{{weapon}}}]] or [[{{{weapon2}}}]] or [[{{{weapon3}}}]]
+
|-
+
| '''Equipment:''' || [[{{{equip}}}]]
+
|-
+
| '''Alt. Equipment:''' || [[{{{equip2}}}]]
+
|-
+
| '''{{{cf_name}}}:''' || {{{cf_value}}}
+
|-
+
| '''Status Icon:''' || [[Image:I_{{{s_icon}}}.png]]
+
|-
+
! colspan=2 style="background:#CCCCCC;" | Prerequisites
+
|-
+
| colspan=2 | {{{prereqs}}}
+
 
|}
 
|}
  
 
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.
  
==Usage==
+
== Usage ==
<pre>{{Skill Info
+
<pre>
|type=
+
{{Skill Info
|levels=
+
|type =
|prereqs=
+
|levels =
|quest=
+
|spcost =
|spcost=
+
|hpcost =
|hpcost=
+
|s_icon =
|time=
+
|consumable =
|cast_fix=
+
|item =
|cast_var=
+
|weapon =
|delay=
+
|weapon2 =
|cooldown=
+
|weapon3 =
|animation=
+
|equip =
|duration=
+
|equip2 =
|target=
+
|cf_name =
|range=
+
|cf_value =
|range_x=
+
|quest =
|area=
+
|prereqs =
|knock=
+
|required =  
|element=
+
}}
|status=
+
</pre>
|consumable=
+
|item=
+
|weapon=
+
|weapon2=
+
|weapon3=
+
|equip=
+
|equip2=
+
|cf_name=
+
|cf_value=
+
|s_icon=
+
}}</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
 
|-
 
|-
 
! type
 
! type
| Main type of the skill. Values have to be "Active", "Passive", "Offensive", "Supportive".
+
| Main type of the skill. Values: "Active", "Passive", "Offensive", "Supportive".
| Category:<type>
+
 
|-
 
|-
 
! levels
 
! levels
 
| Maximum levels of the skill. Being a string variable, adding comments after the number is possible. Ex: Levels: "5, selectable"
 
| Maximum levels of the skill. Being a string variable, adding comments after the number is possible. Ex: Levels: "5, selectable"
 
| -
 
| -
|-
 
 
! prereqs
 
! prereqs
| Additional skills that must have learned before acquiring this skill. Order of class listing: 1st, 2-1/2-2, Extended. Style example: ([[Mage]] and [[Super Novice]]) [[Napalm Beat]] Lv. 7, [[Soul Strike]] Lv. 5; ([[Priest]]) [[Aspersio]] Lv. 4, [[Sanctuary]] Lv. 3
+
| Additional skills that must have learned before acquiring this skill.  
| -
+
 
|-
 
|-
 
! quest
 
! quest
Line 226: Line 165:
 
| HP Cost required to initiate the skill.
 
| HP Cost required to initiate the skill.
 
|-
 
|-
! time
+
! s_icon
| Cast Time ("5 seconds", etc), only if any.
+
| Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in [[Status Icons]] as <code>I_'''(field)'''.png</code> (between "I_" and ".png")
|-
+
! cast_fix
+
| Fixed Cast Time of a skill, this will only show if {{{time}}} is left blank.
+
|-
+
! cast_var
+
| Variable Cast Time of a skill, this will only show of {{{time}}} is left blank, and if {{{cast_fix}}} is defined. For skills that have no fixed cast time, use the {{{time}}} field only.
+
|-
+
! delay
+
| Cast Delay/After Cast/Skill Delay/Global Delay ("2 seconds", "ASPD Based", etc), only if any.
+
|-
+
! animation
+
| Animation delay of the skill
+
|-
+
! cooldown
+
| Skill Re-use Delay. For skills that have a re-use delay specific to that skill, this is distinct from Cast Delay.
+
|-
+
! duration
+
| Lasting time of the skill/skill's effect ("30 seconds", "1 minute", etc).
+
|-
+
! target
+
| Target (ground, self, party, enemy, etc).
+
|-
+
! range
+
| Range (Melee, Magic, 3, 4, etc).
+
|-
+
! range_x
+
| Non-conditional ''Range'' value for skills that do 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, 7x7, etc).
+
|-
+
! knock
+
| Knock Back push amount (2, 7, etc).
+
|-
+
! element
+
| Primary property, if applicable ("Water", "Holy", "Neutral", etc).
+
|-
+
! status
+
| Status Effect the skill inflicts on the target.
+
 
|-
 
|-
 
! consumable
 
! consumable
Line 294: Line 194:
 
! 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.
 
| Custom Field Value, set this if you have cf_name set also. Setting this without cf_name, it will simply get ignored.
|-
 
! s_icon
 
| Status Icon that is shown when the skill is in effect, if applicable. Use the filename found in [[Status Icons]] as <code>I_'''(field)'''.png</code> (between "I_" and ".png")
 
 
|}
 
|}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:49, 6 August 2015



Needs proper Skill Icon Skill Info
No Image Info.gif
Type: {{{type}}} Skill
Levels: {{{levels}}}

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 I_(field).png (between "I_" and ".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.