Template:SkillInfoBox: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:SkillInfoBox/styles.css"/><div class="skill-infobox"><!--
<includeonly><templatestyles src="Template:InfoBox/styles.css"/><templatestyles src="Template:SkillInfoBox/styles.css"/><div class="infobox-wrapper"><div class="infobox skill-infobox"><!--


-->[[File:Skill Icon {{#yh_data:skills|{{{1}}}|Icon}}.png|64px|icon]]<!--
-->[[File:Skill Icon {{#yh_data:skills|{{{1}}}|Icon}}.png|64px|icon]]<!--


--><span class="heading">{{#yh_data:skills|{{{1}}}|Name}} Lv.{{#expr: {{{1}}} mod 100 }}</span><br/><!--
--><div class="heading">{{#yh_data:skills|{{{1}}}|Name}} Lv.{{#expr: {{{1}}} mod 100 }}</div><!--


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


--><translate nowrap>Target:</translate> {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}}
--><translate nowrap><!--T:13--> Target:</translate> {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}}
  | 1 = <translate nowrap>Self</translate>
  | 1 = <translate nowrap><!--T:14--> Self</translate>
  | 2 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap>Ally</translate>|1=<translate nowrap>Enemy</translate>}}
  | 2 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap><!--T:15--> Ally</translate>|1=<translate nowrap><!--T:16--> Enemy</translate>}}
  | 3 = <translate nowrap>Ground</translate>
  | 3 = <translate nowrap><!--T:17--> Ground</translate>
  | 4 = <translate nowrap>Self, Party Members</translate>
  | 4 = <translate nowrap><!--T:18--> Self, Party Members</translate>
  | 5 = <translate nowrap>Self, </translate>{{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap>Ally</translate>|1=<translate nowrap>Enemy</translate>}}
  | 5 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap><!--T:20--> Self, Ally</translate>|1=<translate nowrap><!--T:21--> Self, Enemy</translate>}}
}}<br/><!--
}}<br/><!--


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


-->{{#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/>}}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|CastTime}}|-1||<translate nowrap><!--T:23--> Casting Time:</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|CastTime}}|0|<translate nowrap><!--T:24--> Instant</translate>| <translate nowrap><!--T:25--> <tvar name="1">{{#expr: {{#yh_data:skills|{{{1}}}|CastTime}} / 1000 }}</tvar> sec</translate>}}<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/><!--
--><translate nowrap><!--T:26--> Cooldown Time:</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|Cooldown}}|0|<translate nowrap><!--T:27--> Instant</translate>| <translate nowrap><!--T:28--> <tvar name="1">{{#expr: {{#yh_data:skills|{{{1}}}|Cooldown}} / 1000 }}</tvar> sec</translate>}}<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/><!--
--><translate nowrap><!--T:29--> 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|<translate nowrap><tvar name="1">{{#yh_data:skills|{{{1}}}|TransferSlots}}</tvar> slots</translate>]]}}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0||[[File:Skill Transfer Icon {{#yh_data:skills|{{{1}}}|TransferSlots}}.png|right|<translate nowrap><!--T:30--> <tvar name="1">{{#yh_data:skills|{{{1}}}|TransferSlots}}</tvar> slots</translate>]]}}<!--


-->{{#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|| <translate nowrap><!--T:31--> Uses <tvar name="1">{{#yh_data:skills|{{{1}}}|TransferSlots}}</tvar> transfer slots</translate><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}}}|TransferSlots}}|0|| <translate nowrap><!--T:32--> Requires cLv. <tvar name="1">{{#yh_data:skills|{{{1}}}|TransferClassLevel}}</tvar> to transfer</translate><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/> }}<!--
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|0|| <translate nowrap><!--T:33--> Consumes</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|-1|<translate nowrap><!--T:34--> all mana</translate>|<translate nowrap><!--T:35--> <tvar name="1">{{#yh_data:skills|{{{1}}}|Mana}}</tvar> mana</translate>}}<br/> }}<!--


-->{{#switch: {{#yh_data:skills|{{{1}}}|Rage}}
-->{{#switch: {{#yh_data:skills|{{{1}}}|Rage}}
Line 51: Line 53:
  | 3
  | 3
  | 4
  | 4
  | 5 = <translate nowrap>Consumes <tvar name="1">{{#yh_data:skills|{{{1}}}|Rage}}</tvar> rage</translate><br/>
  | 5 = <translate nowrap><!--T:36--> Consumes <tvar name="1">{{#yh_data:skills|{{{1}}}|Rage}}</tvar> rage</translate><br/>
  | 6 = <translate nowrap>Consumes all available rage</translate><br/>
  | 6 = <translate nowrap><!--T:37--> Consumes all available rage</translate><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}}}|RageGain}}|0|| <translate nowrap><!--T:38--> Generates <tvar name="1">{{#yh_data:skills|{{{1}}}|RageGain}}</tvar> rage</translate><br/> }}<!--


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


--><hr/><!--
--><hr/><!--
Line 63: Line 65:
-->{{#yh_data_format:{{#yh_data:skills|{{{1}}}|Description}}|full}}<!--
-->{{#yh_data_format:{{#yh_data:skills|{{{1}}}|Description}}|full}}<!--


--></div></includeonly><noinclude>
--></div></div></includeonly><noinclude>
 
This template can be used to render info box about a single level of a single skill (the last two digits of the skill ID identify the skill level).


== Examples ==
== Examples ==
Line 71: Line 75:




[[Category:Game Data Templates{{#translation:}}]]
</noinclude>
</noinclude>

Latest revision as of 08:47, 9 July 2024


This template can be used to render info box about a single level of a single skill (the last two digits of the skill ID identify the skill level).

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