Difference between revisions of "Template:Skill Info"

From HeRO Wiki
Jump to: navigation, search
m
 
(14 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{class|}}} | [[Category:{{{class}}}]] }}{{#if: {{{class2|}}} | [[Category:{{{class2}}}]] }}{{#if: {{{class3|}}} | [[Category:{{{class3}}}]] }}{{#if: {{{type|}}} | [[Category:{{{type}}} Skills]] }}{{#if: {{{quest|}}} | [[Category:Quest Skills]] }}{{#if: {{{hpcost|}}} | [[Category:HP Consuming Skills]] }}{{#if: {{{area|}}} | [[Category:AoE Skills]] }}{{#if: {{{knock|}}} | [[Category:Knock Back Skills]] }}{{#if: {{{element|}}} | [[Category:Forced Element Skills]] [[Category:{{{element}}}]] }}{{#if: {{{status|}}} | [[Category:Status Inflicting Skills]] }}{{#if: {{{catalyst|}}} | [[Category:Item Consuming Skills]] }}{{#if: {{{item|}}} | [[Category:Item Dependant Skills]] }}{{#if: {{{ammo|}}} | [[Category:Ammunition Skills]] }}{{#if: {{{weapon|}}} | [[Category:{{{weapon}}} Skills]] }}{{#if: {{{weapon2|}}} | [[Category:{{{weapon2}}} Skills]] }}{{#if: {{{weapon3|}}} | [[Category:{{{weapon3}}} Skills]] }}{{#if: {{{equip|}}} | [[Category:{{{equip}}} Skills]] }}{{#if: {{{equip2|}}} | [[Category:{{{equip2}}} Skills]] }}{{#if: {{{range|}}} | {{#switch: {{{range}}} | Melee=[[Category:Melee Skills]] | Magic=[[Category:Magic Skills]] | {{#expr: {{{range}}} }}=[[Category:Ranged Skills]] | }} }}
+
<includeonly>
 
+
{|class="infobox" style="width:30em;"
{|class="infobox" style="width:30em;float:right"
+
|-
+
! 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|link=http://irowiki.org/classic/Special:Upload?wpDestFile={{PAGENAMEE}}.png|Needs a proper skill icon]]}} {{PAGENAME}}
+
 
|-
 
|-
| colspan=2 style="text-align:center;" | {{#ifexist:Media:{{PAGENAME}}_Info.gif | [[Image:{{PAGENAME}}_Info.gif]] | {{#ifeq: {{{type|}}} | Passive | [[Image:Passive.jpg|link=https://projectalfheim.net/wiki/images/a/a2/Passive.jpg]] | [[Image:No_Image_Info.gif|link=https://projectalfheim.net/wiki/images/6/67/No_Image_Info.gif]] }} }}
+
! colspan=2 style="background:#CCCCCC; font-size:130%;" | {{PAGENAME}}
 
|-
 
|-
 
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
 
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
Line 11: Line 8:
 
| '''Levels:''' || {{{levels}}}   
 
| '''Levels:''' || {{{levels}}}   
 
|-
 
|-
{{#if: {{{spcost|}}} |
 
 
{{!}} '''SP Cost:''' {{!}}{{!}} {{{spcost}}}
 
{{!}} '''SP Cost:''' {{!}}{{!}} {{{spcost}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{hpcost|}}} |
 
 
{{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}}
 
{{!}} '''HP Cost:''' {{!}}{{!}} {{{hpcost}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{time|}}} |
 
 
{{!}} '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' {{!}}{{!}} {{{time}}}
 
{{!}} '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' {{!}}{{!}} {{{time}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{delay|}}} |
 
 
{{!}} '''{{Colorlink|black|Skills#Cast Delay|Cast Delay}}:''' {{!}}{{!}} {{{delay}}}
 
{{!}} '''{{Colorlink|black|Skills#Cast Delay|Cast Delay}}:''' {{!}}{{!}} {{{delay}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{duration|}}} |
 
 
{{!}} '''Duration:''' {{!}}{{!}} {{{duration}}}
 
{{!}} '''Duration:''' {{!}}{{!}} {{{duration}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{target|}}} |
 
 
{{!}} '''Target:''' {{!}}{{!}} {{{target}}}
 
{{!}} '''Target:''' {{!}}{{!}} {{{target}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{range|}}} |
+
{{!}} '''Range:''' {{!}}{{!}} {{{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
 
{{!}} '''Knock Back:''' {{!}}{{!}} {{{knock}}} cells
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{area|}}} |
 
 
{{!}} '''{{Colorlink|black|Area of Effect|Area of Effect}}:''' {{!}}{{!}} {{{area}}}
 
{{!}} '''{{Colorlink|black|Area of Effect|Area of Effect}}:''' {{!}}{{!}} {{{area}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{element|}}} |
+
{{!}} '''{{Colorlink|black|Element|Property}}:''' {{!}}{{!}} {{{element}}}
{{!}} '''{{Colorlink|black|Element|Property}}:''' {{!}}{{!}} [[{{{element}}}]]
+
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{status|}}} |
 
 
{{!}} '''{{Colorlink|black|Status Effects|Status}}:''' {{!}}{{!}} {{{status}}}
 
{{!}} '''{{Colorlink|black|Status Effects|Status}}:''' {{!}}{{!}} {{{status}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{catalyst|}}} |
 
 
{{!}} '''Catalyst:''' {{!}}{{!}} {{{catalyst}}}
 
{{!}} '''Catalyst:''' {{!}}{{!}} {{{catalyst}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{item|}}} |
 
{{!}} '''Item:''' {{!}}{{!}} {{{item}}}
 
{{!}}- }}
 
{{#if: {{{ammo|}}} |
 
 
{{!}} '''{{Colorlink|black|Ammunition|Ammunition}}:''' {{!}}{{!}} {{{ammo}}}
 
{{!}} '''{{Colorlink|black|Ammunition|Ammunition}}:''' {{!}}{{!}} {{{ammo}}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{weapon|}}} |
+
{{!}} '''{{Colorlink|black|Weapons|Weapon}}:''' {{!}}{{!}} {{{weapon}}}
{{!}} '''{{Colorlink|black|Weapons|Weapon}}:''' {{!}}{{!}} [[{{{weapon}}}]] {{#if: {{{weapon2|}}} | or [[{{{weapon2}}}]] {{#if: {{{weapon3|}}} | or [[{{{weapon3}}}]] }} }}
+
{{!}}- }}
+
{{#if: {{{equip|}}} |
+
{{!}} '''{{Colorlink|black|Equipment|Equipment}}:''' {{!}}{{!}} [[{{{equip}}}]]
+
{{!}}- }}
+
{{#if: {{{equip2|}}} |
+
{{!}} '''Alt. {{Colorlink|black|Equipment|Equipment}}:''' {{!}}{{!}} [[{{{equip2}}}]]
+
{{!}}- }}
+
{{#if: {{{cf_name|}}} |
+
{{!}} '''{{{cf_name}}}:''' {{!}}{{!}} {{{cf_value}}}
+
{{!}}- }}
+
{{#if: {{{s_icon|}}} |
+
{{!}} '''{{Colorlink|black|Status Icons|Status Icon}}:''' {{!}}{{!}} [[Image:I_{{{s_icon}}}.png]] {{#if: {{{s_icon2|}}}|[[Image:I_{{{s_icon2}}}.png]]| }} {{#if: {{{s_icon3|}}}|[[Image:I_{{{s_icon3}}}.png]]| }}
+
{{!}}- }}
+
{{#if: {{{msk|}}} |
+
{{!}} [[Image:Mskicon.gif|link={{{msk}}}]] {{!}}{{!}}  
+
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{prereqs|}}} |
+
{{!}} '''Pre-requisite Skills:''' {{!}}{{!}} {{{prereqs}}}
! 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]].'' }}
+
 
|}</includeonly><noinclude>__NOTOC__
 
|}</includeonly><noinclude>__NOTOC__
 
{| class="infobox" style="width:30em;"
 
{| class="infobox" style="width:30em;"
Line 109: Line 62:
 
|-
 
|-
 
| '''Range:''' || {{{range}}} cells
 
| '''Range:''' || {{{range}}} cells
|-
 
| '''Range:''' || {{{range_x}}} cells
 
 
|-
 
|-
 
| '''Knock Back:''' || {{{knock}}} cells
 
| '''Knock Back:''' || {{{knock}}} cells
Line 116: Line 67:
 
| '''{{Colorlink|black|Area of Effect|Area of Effect}}:''' || {{{area}}}
 
| '''{{Colorlink|black|Area of Effect|Area of Effect}}:''' || {{{area}}}
 
|-
 
|-
| '''{{Colorlink|black|Element|Property}}:''' || [[{{{element}}}]]
+
| '''{{Colorlink|black|Element|Property}}:''' || {{{element}}}
 
|-
 
|-
 
| '''{{Colorlink|black|Status Effects|Status}}:''' || {{{status}}}
 
| '''{{Colorlink|black|Status Effects|Status}}:''' || {{{status}}}
Line 126: Line 77:
 
| '''{{Colorlink|black|Ammunition|Ammunition}}:''' || {{{ammo}}}
 
| '''{{Colorlink|black|Ammunition|Ammunition}}:''' || {{{ammo}}}
 
|-
 
|-
| '''{{Colorlink|black|Weapons|Weapon}}:''' || [[{{{weapon}}}]] or [[{{{weapon2}}}]] or [[{{{weapon3}}}]]
+
| '''{{Colorlink|black|Weapons|Weapon}}:''' || {{{weapon}}}
 
|-
 
|-
| '''{{Colorlink|black|Equipment|Equipment}}:''' || [[{{{equip}}}]]
+
| '''Pre-requisites:''' || {{{prereqs}}}
|-
+
| '''Alt. {{Colorlink|black|Equipment|Equipment}}:''' || [[{{{equip2}}}]]
+
|-
+
| '''{{{cf_name}}}:''' || {{{cf_value}}}
+
|-
+
| '''{{Colorlink|black|Status Icons|Status Icon}}:''' || [[Image:I_{{{s_icon}}}.png]]
+
|-
+
| [[Image:Mskicon.gif|link={{{msk}}} || ]]
+
|-
+
! 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. Any changes should be discussed on the Talk page beforehand.
 
This template displays an info box for a skill and should be used at the beginning of all skill pages. Any changes should be discussed on the Talk page beforehand.
Line 146: Line 85:
 
==Usage==
 
==Usage==
 
<pre>{{Skill Info
 
<pre>{{Skill Info
|class=
 
|class2=
 
|class3=
 
 
|type=
 
|type=
 
|levels=
 
|levels=
Line 160: Line 96:
 
|target=
 
|target=
 
|range=
 
|range=
|range_x=
 
 
|area=
 
|area=
 
|knock=
 
|knock=
Line 166: Line 101:
 
|status=
 
|status=
 
|catalyst=
 
|catalyst=
|item=
 
 
|ammo=
 
|ammo=
 
|weapon=
 
|weapon=
 
|weapon2=
 
|weapon2=
 
|weapon3=
 
|weapon3=
|equip=
 
|equip2=
 
|cf_name=
 
|cf_value=
 
|s_icon=
 
|msk=
 
 
}}</pre>
 
}}</pre>
 
Remember to erase the empty fields.
 
Remember to erase the empty fields.
Line 182: Line 110:
 
===Mandatory Fields===
 
===Mandatory Fields===
 
{| class=wikitable
 
{| class=wikitable
! Field !! Description !! Auto-adds Category
+
! 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).
+
| Category:<class>
+
 
|-
 
|-
 
! type
 
! type
| Main type of the skill. Values have to be "Active", "Passive", "Offensive", "Supportive".
+
| Main type of the skill. Values should be "Active", "Passive", "Offensive", "Supportive" or a mix of when appropriate
| 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
+
| Informational sentence about what is required to learn this skill
| -
+
 
|-
 
|-
 
! quest
 
! quest
 
| Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}.
 
| Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}.
| [[:Category:Quest Skills]]
 
|}
 
 
===Optional Fields===
 
{| class=wikitable
 
|-
 
! Field !! Description !! Auto-adds Category if used
 
|-
 
! class2
 
| Use in case of cross class skills.
 
| Category:<class2>
 
 
|-
 
|-
! class3
+
! Field !! Description
| Use in case of cross class skills.
+
| Category:<class3>
+
 
|-
 
|-
 
! spcost
 
! spcost
 
| SP Cost required to initiate the skill.
 
| SP Cost required to initiate the skill.
| -
 
 
|-
 
|-
 
! hpcost
 
! hpcost
 
| HP Cost required to initiate the skill.
 
| HP Cost required to initiate the skill.
| [[:Category:HP Consuming Skills]]
 
 
|-
 
|-
 
! time
 
! time
 
| Cast Time ("5 seconds", etc), only if any.
 
| Cast Time ("5 seconds", etc), only if any.
| -
 
 
|-
 
|-
 
! delay
 
! delay
 
| Cast Delay/After Cast/Skill Delay/Global Delay ("2 seconds", "ASPD Based", etc), Only if any.
 
| Cast Delay/After Cast/Skill Delay/Global Delay ("2 seconds", "ASPD Based", etc), Only if any.
| -
 
 
|-
 
|-
 
! duration
 
! duration
 
| Lasting time of the skill/skill's effect ("30 seconds", "1 minute", etc).
 
| Lasting time of the skill/skill's effect ("30 seconds", "1 minute", etc).
| -
 
 
|-
 
|-
 
! target
 
! target
 
| Target (Self, party, enemy, etc).
 
| Target (Self, party, enemy, etc).
| -
 
 
|-
 
|-
 
! range
 
! range
 
| Range (Melee, Magic, 3, 4, etc).
 
| Range (Melee, Magic, 3, 4, etc).
| If value is is "Melee", [[:Category:Melee Skills]]<br>If value is "Magic", [[:Category:Magic Skills]]<br>If value is numeric, [[:Category:Ranged Skills]]
 
|-
 
! 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
 
| Area of Effect (3x3, 7x7, etc).
 
| Area of Effect (3x3, 7x7, etc).
| [[:Category:AoE Skills]]
 
 
|-
 
|-
 
! knock
 
! knock
 
| Knock Back push amount (2, 7, etc).
 
| Knock Back push amount (2, 7, etc).
| [[:Category:Knock Back Skills]]
 
 
|-
 
|-
 
! element
 
! element
| Primary property, if applicable ("Water", "Holy", "Neutral", etc).
+
| Primary property, if applicable ("Water", "Holy", "Neutral", etc). Use "None" otherwise.
| [[:Category:Forced Element Skills]]
+
 
|-
 
|-
 
! status
 
! status
 
| Status Effect the skill inflicts on the target.
 
| Status Effect the skill inflicts on the target.
| [[:Category:Status Inflicting Skills]]
 
 
|-
 
|-
 
! catalyst
 
! catalyst
 
| Item the skill consumes upon casting.
 
| Item the skill consumes upon casting.
| [[:Category:Item Consuming Skills]]
 
|-
 
! item
 
| Specific item that must be present in the inventory, or equipped, prior to use the skill.
 
| [[:Category:Item Dependant Skills]]
 
 
|-
 
|-
 
! ammo
 
! ammo
| Ammunition the skill uses upon execution. (1 [[Arrows|Arrow]], 1 [[Bullets|Bullet]], etc)
+
| Ammunition the skill uses upon execution.
| [[:Category:Ammunition Skills]]
+
 
|-
 
|-
 
! weapon
 
! weapon
| Weapon that must be equipped in order for the skill to execute.
+
| Weapon that must be equipped for the skill to execute.
| Adds category per Weapon. i.e. [[:Category:Dagger Skills]]
+
 
|-
 
|-
 
! weapon2
 
! weapon2
 
| For skills with multiple allowable weapons.
 
| For skills with multiple allowable weapons.
| Adds category per Weapon. i.e. [[:Category:Dagger Skills]]
 
 
|-
 
|-
 
! weapon3
 
! weapon3
 
| For skills with multiple allowable weapons.
 
| For skills with multiple allowable weapons.
| Adds category per Weapon. i.e. [[:Category:Dagger Skills]]
 
|-
 
! equip
 
| Equipment item that must be worn for the skill to execute.
 
| Adds category per Equipment type. i.e. [[:Category:Shield Skills]]
 
|-
 
! equip2
 
| For skills with multiple required equipment types.
 
| Adds category per Equipment type. i.e. [[:Category:Shield Skills]]
 
|-
 
! 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 found in [[Status Icons]] as <code>I_'''(field)'''.png</code> (between "I_" and ".png")
 
 
|}
 
|}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:46, 22 August 2023

Needs proper Skill Icon {{PAGENAME}}
No Image Info.gif
Type: {{{type}}} Skill
Levels: {{{levels}}}
SP Cost: {{{spcost}}}
HP Cost: {{{hpcost}}}
Cast Time: {{{time}}}
Cast Delay: {{{delay}}}
Duration: {{{duration}}}
Target: {{{target}}}
Range: {{{range}}} cells
Knock Back: {{{knock}}} cells
Area of Effect: {{{area}}}
Property: {{{element}}}
Status: {{{status}}}
Catalyst: {{{catalyst}}}
Item: {{{item}}}
Ammunition: {{{ammo}}}
Weapon: {{{weapon}}}
Pre-requisites: {{{prereqs}}}

This template displays an info box for a skill and should be used at the beginning of all skill pages. Any changes should be discussed on the Talk page beforehand.

Usage

{{Skill Info
|type=
|levels=
|prereqs=
|quest=
|spcost=
|hpcost=
|time=
|delay=
|duration=
|target=
|range=
|area=
|knock=
|element=
|status=
|catalyst=
|ammo=
|weapon=
|weapon2=
|weapon3=
}}

Remember to erase the empty fields.

Mandatory Fields

Field Description
type Main type of the skill. Values should be "Active", "Passive", "Offensive", "Supportive" or a mix of when appropriate
levels Maximum levels of the skill. Being a string variable, adding comments after the number is possible. Ex: Levels: "5, selectable"
prereqs Informational sentence about what is required to learn this skill
quest Quest that must be cleared before acquiring this skill. If it has one, set this field instead of {{{prereqs}}}.
Field Description
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.
delay Cast Delay/After Cast/Skill Delay/Global Delay ("2 seconds", "ASPD Based", etc), Only if any.
duration Lasting time of the skill/skill's effect ("30 seconds", "1 minute", etc).
target Target (Self, party, enemy, etc).
range Range (Melee, Magic, 3, 4, etc).
area Area of Effect (3x3, 7x7, etc).
knock Knock Back push amount (2, 7, etc).
element Primary property, if applicable ("Water", "Holy", "Neutral", etc). Use "None" otherwise.
status Status Effect the skill inflicts on the target.
catalyst Item the skill consumes upon casting.
ammo Ammunition the skill uses upon execution.
weapon Weapon that must be equipped for the skill to execute.
weapon2 For skills with multiple allowable weapons.
weapon3 For skills with multiple allowable weapons.