Template:SkillInfoBox: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Line 6: Line 6:


-->{{#switch: {{#yh_data:skills|{{{1}}}|Type}}
-->{{#switch: {{#yh_data:skills|{{{1}}}|Type}}
  | 1 = Weapon Attack Skill
  | 1 = <translate nowrap>Weapon Attack Skill</translate>
  | 2 = Passive Skill
  | 2 = <translate nowrap>Passive Skill</translate>
  | 3 = Active Skill
  | 3 = <translate nowrap>Active Skill</translate>
  | 4 = Toggleable Skill
  | 4 = <translate nowrap>Toggleable Skill</translate>
  | 5 = Karma Stone Skill
  | 5 = <translate nowrap>Karma Stone Skill</translate>
  | 6 = Alter Stone Skill
  | 6 = <translate nowrap>Alter Stone Skill</translate>
  | 7 = Equipment
  | 7 = <translate nowrap>Equipment</translate>
  | 8 = Consumable
  | 8 = <translate nowrap>Consumable</translate>
  | 9 = Emotion
  | 9 = <translate nowrap>Emotion</translate>
  | 10 = Stance
  | 10 = <translate nowrap>Stance</translate>
  | 11 = Stone of Promise Skill
  | 11 = <translate nowrap>Stone of Promise Skill</translate>
  | 12 = Active Structure Skill
  | 12 = <translate nowrap>Active Structure Skill</translate>
}}<br/><!--
}}<br/><!--


-->Target: {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}}
--><translate nowrap>Target:</translate> {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}}
  | 1 = Self
  | 1 = <translate nowrap>Self</translate>
  | 2 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=Ally|1=Enemy}}
  | 2 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap>Ally</translate>|1=<translate nowrap>Enemy</translate>}}
  | 3 = Ground
  | 3 = <translate nowrap>Ground</translate>
  | 4 = Self, Party Members
  | 4 = <translate nowrap>Self, Party Members</translate>
  | 5 = Self, {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=Ally|1=Enemy}}
  | 5 = <translate nowrap>Self, </translate>{{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap>Ally</translate>|1=<translate nowrap>Enemy</translate>}}
}}<br/><!--
}}<br/><!--


-->Max Level: {{#yh_data:skills|{{{1}}}|MaxLevel}}<!--
--><translate nowrap>Max Level:</translate> {{#yh_data:skills|{{{1}}}|MaxLevel}}<!--
--><hr/><!--
--><hr/><!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|CastTime}}|-1||Casting Time: {{#ifeq:{{#yh_data:skills|{{{1}}}|CastTime}}|0|Instant| {{#expr: {{#yh_data:skills|{{{1}}}|CastTime}} / 1000 }} sec}}<br/>}}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|CastTime}}|-1||<translate nowrap>Casting Time:</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|CastTime}}|0|<translate nowrap>Instant</translate>| <translate nowrap><tvar name="1">{{#expr: {{#yh_data:skills|{{{1}}}|CastTime}} / 1000 }}</tvar> sec</translate>}}<br/>}}<!--


-->Cooldown Time: {{#ifeq:{{#yh_data:skills|{{{1}}}|Cooldown}}|0|Instant| {{#expr: {{#yh_data:skills|{{{1}}}|Cooldown}} / 1000 }} sec}}<br/><!--
--><translate nowrap>Cooldown Time:</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|Cooldown}}|0|<translate nowrap>Instant</translate>| <translate nowrap><tvar name="1">{{#expr: {{#yh_data:skills|{{{1}}}|Cooldown}} / 1000 }}</tvar> sec</translate>}}<br/><!--


-->Range: {{#ifeq:{{#yh_data:skills|{{{1}}}|MinRange}}|0|| {{#expr: {{#yh_data:skills|{{{1}}}|MinRange}} / 100 }}m~}}{{#expr: {{#yh_data:skills|{{{1}}}|MaxRange}} / 100 }}m<br/><!--
--><translate nowrap>Range:</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|MinRange}}|0|| {{#expr: {{#yh_data:skills|{{{1}}}|MinRange}} / 100 }}m~}}{{#expr: {{#yh_data:skills|{{{1}}}|MaxRange}} / 100 }}m<br/><!--
--><hr/><!--
--><hr/><!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0||[[File:Skill Transfer Icon {{#yh_data:skills|{{{1}}}|TransferSlots}}.png|right|{{#yh_data:skills|{{{1}}}|TransferSlots}} slots]]}}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0||[[File:Skill Transfer Icon {{#yh_data:skills|{{{1}}}|TransferSlots}}.png|right|<translate nowrap><tvar name="1">{{#yh_data:skills|{{{1}}}|TransferSlots}}</tvar> slots</translate>]]}}<!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0|| Uses {{#yh_data:skills|{{{1}}}|TransferSlots}} transfer slots<br/> }}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0|| <translate nowrap>Uses <tvar name="1">{{#yh_data:skills|{{{1}}}|TransferSlots}}</tvar> transfer slots</translate><br/> }}<!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0|| Requires cLv. {{#yh_data:skills|{{{1}}}|TransferClassLevel}} to transfer<br/> }}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0|| <translate nowrap>Requires cLv. <tvar name="1">{{#yh_data:skills|{{{1}}}|TransferClassLevel}}</tvar> to transfer</translate><br/> }}<!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|0|| Consumes {{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|-1|all|{{#yh_data:skills|{{{1}}}|Mana}} }} mana<br/> }}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|0|| <translate nowrap>Consumes</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|-1|<translate nowrap>all</translate>|{{#yh_data:skills|{{{1}}}|Mana}} }} <translate nowrap>mana</translate><br/> }}<!--


-->{{#switch: {{#yh_data:skills|{{{1}}}|Rage}}
-->{{#switch: {{#yh_data:skills|{{{1}}}|Rage}}
Line 51: Line 51:
  | 3
  | 3
  | 4
  | 4
  | 5 = Consumes {{#yh_data:skills|{{{1}}}|Rage}} rage<br/>
  | 5 = <translate nowrap>Consumes <tvar name="1">{{#yh_data:skills|{{{1}}}|Rage}}</tvar> rage</translate><br/>
  | 6 = Consumes all available rage<br/>
  | 6 = <translate nowrap>Consumes all available rage</translate><br/>
}}<!--
}}<!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|RageGain}}|0|| Generates {{#yh_data:skills|{{{1}}}|RageGain}} rage<br/> }}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|RageGain}}|0|| <translate nowrap>Generates <tvar name="1">{{#yh_data:skills|{{{1}}}|RageGain}}</tvar> rage</translate><br/> }}<!--


-->{{#ifeq:{{#yh_data:skills|{{{1}}}|Enmity}}|0|| Enmity: {{#yh_data:skills|{{{1}}}|Enmity}}<br/> }}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|Enmity}}|0|| <translate nowrap>Enmity:</translate> {{#yh_data:skills|{{{1}}}|Enmity}}<br/> }}<!--


--><hr/><!--
--><hr/><!--

Revision as of 16:16, 6 July 2024


Examples

icon
Quick Strike Lv.10
Active Skill
Target: Enemy
Max Level: 10
Casting Time: Instant
Cooldown Time: 5 sec
Range: 3m

3 slots
Uses 3 transfer slots
Requires cLv. 5 to transfer
Consumes 18 mana
Generates 1 rage
Enmity: 20

A quick attack with high accuracy.

Accuracy 180%.
Attack Power 75%.
{{SkillInfoBox|1000100110}}