Difference between revisions of "Template:Skill Info"

From Project Alfheim Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#if: {{{class|}}} | [[Category:{{{class}}}]] }}{{#if: {{{class2|}}} | [[Category:{{{class2}}}]] }}{{#if: {{{class3|}}} | [[Category:{{{class3}}}]] }}{{#if: {{{class4|}}} | [[Category:{{{class4}}}]] }}{{#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]] | [[Category:Ranged 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]] | }} }}
 
{|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|link=http://irowiki.org/w/index.php?title=Special:Upload&wpDestFile={{PAGENAMEE}}.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}}.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=https://projectalfheim.net/wiki/images/a/a2/Passive.jpg]] | [[Image:No_Image_Info.gif|link=http://irowiki.org/w/index.php?title=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 18: Line 19:
 
{{#if: {{{time|}}} |
 
{{#if: {{{time|}}} |
 
{{!}} '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' {{!}}{{!}} {{{time}}}
 
{{!}} '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' {{!}}{{!}} {{{time}}}
{{!}}- }}
 
{{#if: {{{cast_fix|}}} |
 
{{!}} '''{{Colorlink|black|Skills#Cast Time|Fixed Cast Time}}:''' {{!}}{{!}} {{{cast_fix}}}
 
{{!}}- }}
 
{{#if: {{{cast_var|}}} |
 
{{!}} '''{{Colorlink|black|Skills#Cast Time|Variable Cast Time}}:''' {{!}}{{!}} {{{cast_var}}} }}
 
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{delay|}}} |
 
{{#if: {{{delay|}}} |
 
{{!}} '''{{Colorlink|black|Skills#Cast Delay|Cast Delay}}:''' {{!}}{{!}} {{{delay}}}
 
{{!}} '''{{Colorlink|black|Skills#Cast Delay|Cast Delay}}:''' {{!}}{{!}} {{{delay}}}
{{!}}- }}
 
{{#if: {{{animation|}}} |
 
{{!}} '''Animation:''' {{!}}{{!}} {{{animation}}}
 
{{!}}- }}
 
{{#if: {{{cooldown|}}} |
 
{{!}} '''{{Colorlink|black|Skills#Cooldown|Cooldown}}:''' {{!}}{{!}} {{{cooldown}}}
 
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{duration|}}} |
 
{{#if: {{{duration|}}} |
Line 109: Line 98:
 
|-
 
|-
 
| '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' || {{{time}}}
 
| '''{{Colorlink|black|Skills#Cast Time|Cast Time}}:''' || {{{time}}}
|-
+
|-
| '''{{Colorlink|black|Skills#Cast Time|Fixed Cast Time}}:''' || {{{cast_fix}}}
 
|-
 
| '''{{Colorlink|black|Skills#Cast Time|Variable Cast Time}}:''' || {{{cast_var}}}
 
|-
 
 
| '''{{Colorlink|black|Skills#Cast Delay|Cast Delay}}:''' || {{{delay}}}
 
| '''{{Colorlink|black|Skills#Cast Delay|Cast Delay}}:''' || {{{delay}}}
|-
 
| '''Animation:''' || {{{animation}}}
 
|-
 
| '''{{Colorlink|black|Skills#Cooldown|Cooldown}}:''' || {{{cooldown}}}
 
 
|-
 
|-
 
| '''Duration:''' || {{{duration}}}
 
| '''Duration:''' || {{{duration}}}
Line 157: Line 138:
 
|}
 
|}
 
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 163: Line 152:
 
|class2=
 
|class2=
 
|class3=
 
|class3=
|class4=
 
 
|type=
 
|type=
 
|levels=
 
|levels=
Line 171: Line 159:
 
|hpcost=
 
|hpcost=
 
|time=
 
|time=
|cast_fix=
 
|cast_var=
 
 
|delay=
 
|delay=
|cooldown=
 
|animation=
 
 
|duration=
 
|duration=
 
|target=
 
|target=
Line 235: Line 219:
 
| Use in case of cross class skills.
 
| Use in case of cross class skills.
 
| Category:<class3>
 
| Category:<class3>
|-
 
! class4
 
| Use in case of cross class skills.
 
| Category:<class4>
 
 
|-
 
|-
 
! spcost
 
! spcost
Line 250: Line 230:
 
! time
 
! time
 
| Cast Time ("5 seconds", etc), only if any.
 
| Cast Time ("5 seconds", etc), only if any.
| -
 
|-
 
! cast_fix
 
| Fixed Cast Time of a skill.
 
| -
 
|-
 
! cast_var
 
| Variable Cast Time of a skill.
 
 
| -
 
| -
 
|-
 
|-
 
! 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.
| -
 
|-
 
! 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.
 
 
| -
 
| -
 
|-
 
|-
Line 277: Line 241:
 
|-
 
|-
 
! target
 
! target
| Target (ground, self, party, enemy, etc).
+
| Target (Self, party, enemy, etc).
| not yet implemented
+
| -
 
|-
 
|-
 
! range
 
! range
Line 313: Line 277:
 
|-
 
|-
 
! ammo
 
! ammo
| Ammunition the skill uses upon execution. ("[[Arrows]] (1)", "[[Bullets]] (10)", etc)
+
| Ammunition the skill uses upon execution. (1 [[Arrows|Arrow]], 1 [[Bullets|Bullet]], etc)
 
| [[:Category:Ammunition Skills]]
 
| [[:Category:Ammunition Skills]]
 
|-
 
|-
Line 346: Line 310:
 
! s_icon
 
! 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")
 
| 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 20:11, 3 October 2022

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]]
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.

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

{{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=
}}

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")