Difference between revisions of "Template:Skill Info"

From HeRO Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{{class|}}} | [[Category:{{{class}}}]] }}{{#if: {{{class2|}}} | [[Category:{{{class2}}}]] }}{{#if: {{{class3|}}} | [[Category:{{{class3}}}]] }}{{#if: {{{t...")
 
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]] }}
+
<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]] | }} }}
{{#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]] | }} }}
+
 
{|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="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_Info.gif|link=http://irowiki.org/classic/Special:Upload?wpDestFile={{PAGENAMEE}}_Info.gif]] | [[Image:No_Image_Info.gif|link=http://irowiki.org/classic/Special:Upload?wpDestFile={{PAGENAMEE}}_Info.gif]] }} }}
+
| 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]] }} }}
 
|-
 
|-
 
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
 
| style="width:10em;" | '''Type:''' || {{{type}}} Skill
Line 72: Line 72:
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{s_icon|}}} |
 
{{#if: {{{s_icon|}}} |
{{!}} '''{{Colorlink|black|Status Icons|Status Icon}}:''' {{!}}{{!}} [[Image:I_{{{s_icon}}}.png]]
+
{{!}} '''{{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|}}} |
 
{{#if: {{{prereqs|}}} |
Line 132: Line 135:
 
|-
 
|-
 
| '''{{Colorlink|black|Status Icons|Status Icon}}:''' || [[Image:I_{{{s_icon}}}.png]]
 
| '''{{Colorlink|black|Status Icons|Status Icon}}:''' || [[Image:I_{{{s_icon}}}.png]]
 +
|-
 +
| [[Image:Mskicon.gif|link={{{msk}}} || ]]
 
|-
 
|-
 
! colspan=2 style="background:#CCCCCC;" | Prerequisites
 
! colspan=2 style="background:#CCCCCC;" | Prerequisites
Line 138: Line 143:
 
|}
 
|}
 
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.
 
''Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.''
 
 
''Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?''
 
 
''At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.''
 
 
''--Cicero 45 B.C. (CET) ''
 
  
 
==Usage==
 
==Usage==
Line 179: Line 176:
 
|cf_value=
 
|cf_value=
 
|s_icon=
 
|s_icon=
 +
|msk=
 
}}</pre>
 
}}</pre>
 
Remember to erase the empty fields.
 
Remember to erase the empty fields.

Revision as of 01:54, 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
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: [[Image:I_{{{s_icon}}}.png]]
link={{{msk}}}
Prerequisites
{{{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
|class=
|class2=
|class3=
|type=
|levels=
|prereqs=
|quest=
|spcost=
|hpcost=
|time=
|delay=
|duration=
|target=
|range=
|range_x=
|area=
|knock=
|element=
|status=
|catalyst=
|item=
|ammo=
|weapon=
|weapon2=
|weapon3=
|equip=
|equip2=
|cf_name=
|cf_value=
|s_icon=
|msk=
}}

Remember to erase the empty fields.

Mandatory Fields

Field Description Auto-adds Category
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 Main type of the skill. Values have to be "Active", "Passive", "Offensive", "Supportive". Category:<type>
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}}}. Category:Quest Skills

Optional Fields

Field Description Auto-adds Category if used
class2 Use in case of cross class skills. Category:<class2>
class3 Use in case of cross class skills. Category:<class3>
spcost SP Cost required to initiate the skill. -
hpcost HP Cost required to initiate the skill. Category:HP Consuming Skills
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). If value is is "Melee", Category:Melee Skills
If value is "Magic", Category:Magic Skills
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 of Effect (3x3, 7x7, etc). Category:AoE Skills
knock Knock Back push amount (2, 7, etc). Category:Knock Back Skills
element Primary property, if applicable ("Water", "Holy", "Neutral", etc). Category:Forced Element Skills
status Status Effect the skill inflicts on the target. Category:Status Inflicting Skills
catalyst 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 Ammunition the skill uses upon execution. (1 Arrow, 1 Bullet, etc) Category:Ammunition Skills
weapon Weapon that must be equipped in order for the skill to execute. Adds category per Weapon. i.e. Category:Dagger Skills
weapon2 For skills with multiple allowable weapons. Adds category per Weapon. i.e. Category:Dagger Skills
weapon3 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 I_(field).png (between "I_" and ".png")