Difference between revisions of "Template:Infobox Skill"
Jump to navigation
Jump to search
Njosefbeck (talk | contribs) (Save draft) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{| class="infobox" style="width:30em;" | {| class="infobox" style="width:30em;" | ||
|- | |- | ||
! colspan=2 | ! colspan=2 style="background: #89ffa1; font-size: 130%;" | {{#if: {{{id|}}} | {{Skill List |id={{{id}}} }} }} {{PAGENAME}} | ||
|- | |||
| colspan=2 style="text-align: center;" | {{#ifexist: Media:{{PAGENAME}}_Info.gif | [[Image:{{PAGENAME}}_Info.gif|360px]] | [[File:No_image_available.png]] }} | |||
|- | |||
| style="width: 10em;" | '''Type:''' || {{{type}}} Skill | |||
|- | |||
| '''Levels:''' || {{{levels}}} | |||
|- | |||
{{#if: {{{spcost|}}} | | |||
{{!}} '''SP Cost:''' {{!}}{{!}} {{{spcost}}} | |||
{{!}}- }} | |||
{{#if: {{{hpcost|}}} | | |||
{{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}} | |||
{{!}}- }} | |||
{{#if: {{{time|}}} | | |||
{{!}} '''Cast Time:''' {{!}}{{!}} {{{time}}} | |||
{{!}}- | {{#if: {{{cast_fix|}}} | | |||
{{!}} '''Fixed Cast Time:''' {{!}}{{!}} {{{cast_fix}}} | |||
{{!}}- | |||
{{#if: {{{cast_var|}}} | | |||
{{!}} '''Variable Cast Time:''' {{!}}{{!}} {{{cast_var}}} }} | |||
{{!}}- }} }} | |||
{{#if: {{{delay|}}} | | |||
{{!}} '''Cast Delay:''' {{!}}{{!}} {{{delay}}} | |||
{{!}}- }} | |||
{{#if: {{{animation|}}} | | |||
{{!}} '''Animation:''' {{!}}{{!}} {{{animation}}} | |||
{{!}}- }} | |||
{{#if: {{{cooldown|}}} | | |||
{{!}} '''Cooldown:''' {{!}}{{!}} {{{cooldown}}} | |||
{{!}}- }} | |||
{{#if: {{{duration|}}} | | |||
{{!}} '''Duration:''' {{!}}{{!}} {{{duration}}} | |||
{{!}}- }} | |||
{{#if: {{{target|}}} | | |||
{{!}} '''Target:''' {{!}}{{!}} {{{target}}} | |||
{{!}}- }} | |||
{{#if: {{{range|}}} | | |||
{{!}} '''Range:''' {{!}}{{!}} {{#switch: {{{range}}} | Melee={{{range}}} | Magic={{{range}}} | {{{range}}} cells }} | |||
{{!}}- }} | |||
{{#if: {{{range_x|}}} | | |||
{{!}} '''Range:''' {{!}}{{!}} {{{range_x}}} cells | |||
{{!}}- }} | |||
{{#if: {{{magicrange|}}} | | |||
{{!}} '''Range:''' {{!}}{{!}} {{{magicrange}}} cells | |||
{{!}}- }} | |||
{{#if: {{{knock|}}} | | |||
{{!}} '''Knock Back:''' {{!}}{{!}} {{{knock}}} cells | |||
{{!}}- }} | |||
{{#if: {{{area|}}} | | |||
{{!}} '''Area of Effect:''' {{!}}{{!}} {{{area}}} | |||
{{!}}- }} | |||
{{#if: {{{element|}}} | | |||
{{!}} '''Property:''' {{!}}{{!}} {{{element}}} | |||
{{!}}- }} | |||
{{#if: {{{status|}}} | | |||
{{!}} '''Status:''' {{!}}{{!}} {{{status}}} | |||
{{!}}- }} | |||
{{#if: {{{catalyst|}}} | | |||
{{!}} '''Catalyst:''' {{!}}{{!}} {{{catalyst}}} | |||
{{!}}- }} | |||
{{#if: {{{item|}}} | | |||
{{!}} '''Item:''' {{!}}{{!}} {{{item}}} | |||
{{!}}- }} | |||
{{#if: {{{ammo|}}} | | |||
{{!}} '''Ammunition:''' {{!}}{{!}} {{{ammo}}} | |||
{{!}}- }} | |||
{{#if: {{{weapon|}}} | | |||
{{!}} '''Weapon:''' {{!}}{{!}} {{{weapon}}} {{#if: {{{weapon2|}}} | or {{{weapon2}}} {{#if: {{{weapon3|}}} | or {{{weapon3}}} }} }} | |||
{{!}}- }} | |||
{{#if: {{{equip|}}} | | |||
{{!}} '''Equipment:''' {{!}}{{!}} {{{equip}}} | |||
{{!}}- }} | |||
{{#if: {{{equip2|}}} | | |||
{{!}} '''Alt. Equipment:''' {{!}}{{!}} {{{equip2}}} | |||
{{!}}- }} | |||
{{#if: {{{cf_name|}}} | | |||
{{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}} | |||
{{!}}- }} | |||
{{#if: {{{s_icon|}}} | | |||
{{!}} '''Status Icon:''' {{!}}{{!}} {{#ifexist: Media:{{{s_icon}}}_icon.png | [[Image:{{{s_icon}}}_icon.png]] | Unavailable }} | |||
{{!}}- }} | |||
{{#if: {{{prereqs|}}} | | |||
! colspan=2 style="background: #89ffa1;" {{!}} Prerequisites | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} {{{prereqs}}} }} | |||
{{#if: {{{quest|}}} | | |||
! colspan=2 style="background: #89ffa1;" {{!}} Prerequisites | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} ''In order to gain this skill, the player has to complete a [[{{{quest}}}{{!}}quest]].'' }} | |||
|}</includeonly><noinclude>__NOTOC__ | |||
{| class="infobox" style="width:30em;" | |||
|- | |||
! colspan=2 style="background: #89ffa1; font-size: 130%;" | {{#if: {{{id|}}} | {{Skill List |id={{{id}}} }} }} <nowiki>{{PAGENAME}}</nowiki> | |||
|- | |||
| colspan=2 style="text-align: center;" | {{#ifexist: Media:{{PAGENAME}}_Info.gif | [[Image:{{PAGENAME}}_Info.gif]] | [[Image:No_image_available.png]] }} | |||
|- | |||
| 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}}} | |||
|- | |||
| '''Catalyst:''' || {{{catalyst}}} | |||
|- | |||
| '''Item:''' || {{{item}}} | |||
|- | |||
| '''Ammunition:''' || {{{ammo}}} | |||
|- | |||
| '''Weapon:''' || [[{{{weapon}}}]] or [[{{{weapon2}}}]] or [[{{{weapon3}}}]] | |||
|- | |||
| '''Equipment:''' || [[{{{equip}}}]] | |||
|- | |||
| '''Alt. Equipment:''' || [[{{{equip2}}}]] | |||
|- | |||
| '''{{{cf_name}}}:''' || {{{cf_value}}} | |||
|- | |||
| '''Status Icon:''' || {{#ifexist: Media:{{{s_icon}}}_icon.png | [[Image:{{{s_icon}}}_icon.png]] | Unavailable }} | |||
|- | |||
|- | |||
! colspan=2 style="background:#89ffa1;" | Prerequisites | |||
|- | |||
| colspan=2 | {{{prereqs}}} | |||
|} | |} | ||
</ | == Description == | ||
Use this template on any skill page to ensure a consistent look and feel to those pages. | |||
==Usage== | |||
<pre>{{Infobox Skill | |||
|id= | |||
|class= | |||
|class2= | |||
|class3= | |||
|class4= | |||
|type= | |||
|levels= | |||
|prereqs= | |||
|quest= | |||
|spcost= | |||
|hpcost= | |||
|time= | |||
|cast_fix= | |||
|cast_var= | |||
|delay= | |||
|cooldown= | |||
|animation= | |||
|duration= | |||
|target= | |||
|range= | |||
|range_x= | |||
|area= | |||
|knock= | |||
|element= | |||
|status= | |||
|catalyst= | |||
|item= | |||
|ammo= | |||
|weapon= | |||
|weapon2= | |||
|weapon3= | |||
|equip= | |||
|equip2= | |||
|cf_name= | |||
|cf_value= | |||
|s_icon= | |||
}}</pre> | |||
Remember to erase the empty fields. | |||
===Mandatory Fields=== | |||
{| class=wikitable | |||
! Field !! Description | |||
|- | |||
! class | |||
| The class that the skill belongs to. In case of cross-class skills, add the 1st Class or alphabetically first occurring class name here (ex. Vulture's Eye: Archer, Rogue; Heal: Acolyte, Crusader, Super Novice; Safety Wall: Priest, Mage, Super Novice; etc). | |||
|- | |||
! type | |||
| Main type of the skill. Values have to be "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. 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 | |||
|- | |||
! quest | |||
| Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}. | |||
|} | |||
===Optional Fields=== | |||
{| class=wikitable | |||
|- | |||
! Field !! Description | |||
|- | |||
! id | |||
| Skill ID as found on divine-pride. If this param is present, it will output the icon next to the skill name in the infobox. | |||
|- | |||
! class2 | |||
| Use in case of cross class skills. | |||
|- | |||
! class3 | |||
| Use in case of cross class skills. | |||
|- | |||
! class4 | |||
| Use in case of cross class skills. | |||
|- | |||
! spcost | |||
| SP Cost required to initiate the skill. | |||
|- | |||
! hpcost | |||
| HP Cost required to initiate the skill. | |||
|- | |||
! time | |||
| Cast Time ("5 seconds", etc), only if any. | |||
|- | |||
! 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. | |||
|- | |||
! catalyst | |||
| Item the skill consumes upon casting. | |||
|- | |||
! item | |||
| Specific item that must be present in the inventory, or equipped, prior to use the skill. | |||
|- | |||
! ammo | |||
| Ammunition the skill uses upon execution. ("[[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. | |||
|- | |||
! s_icon | |||
| Status Icon that is shown when the skill is in effect, if applicable. Use the filename, like: <code>'''(status_name)'''_icon.png</code> | |||
|} | |||
== Credit == | |||
The original Infobox Skill template comes from [https://irowiki.org/wiki/Template:Skill_Info this iROWiki template]. They have given us permission to use it, and we have modified it to serve our purposes. | |||
[[Category:Templates|Infobox Skill]] | |||
</noinclude> | </noinclude> |
Latest revision as of 14:38, 20 May 2018
Description
Use this template on any skill page to ensure a consistent look and feel to those pages.
Usage
{{Infobox Skill |id= |class= |class2= |class3= |class4= |type= |levels= |prereqs= |quest= |spcost= |hpcost= |time= |cast_fix= |cast_var= |delay= |cooldown= |animation= |duration= |target= |range= |range_x= |area= |knock= |element= |status= |catalyst= |item= |ammo= |weapon= |weapon2= |weapon3= |equip= |equip2= |cf_name= |cf_value= |s_icon= }}
Remember to erase the empty fields.
Mandatory Fields
Field | Description |
---|---|
class | The class that the skill belongs to. In case of cross-class skills, add the 1st Class or alphabetically first occurring class name here (ex. Vulture's Eye: Archer, Rogue; Heal: Acolyte, Crusader, Super Novice; Safety Wall: Priest, Mage, Super Novice; etc). |
type | Main type of the skill. Values have to be "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. 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 |
quest | Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}. |
Optional Fields
Field | Description |
---|---|
id | Skill ID as found on divine-pride. If this param is present, it will output the icon next to the skill name in the infobox. |
class2 | Use in case of cross class skills. |
class3 | Use in case of cross class skills. |
class4 | Use in case of cross class skills. |
spcost | SP Cost required to initiate the skill. |
hpcost | HP Cost required to initiate the skill. |
time | Cast Time ("5 seconds", etc), only if any. |
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. |
catalyst | Item the skill consumes upon casting. |
item | Specific item that must be present in the inventory, or equipped, prior to use the skill. |
ammo | Ammunition the skill uses upon execution. ("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. |
s_icon | Status Icon that is shown when the skill is in effect, if applicable. Use the filename, like: (status_name)_icon.png
|
Credit
The original Infobox Skill template comes from this iROWiki template. They have given us permission to use it, and we have modified it to serve our purposes.