Template:SkillInfoBox: Difference between revisions
From Ymirheim Wiki
No edit summary Tag: Manual revert |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<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]]<!-- | ||
-->< | --><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 = Weapon Attack Skill | | 1 = <translate nowrap><!--T:1--> Weapon Attack Skill</translate> | ||
| 2 = Passive Skill | | 2 = <translate nowrap><!--T:2--> Passive Skill</translate> | ||
| 3 = Active Skill | | 3 = <translate nowrap><!--T:3--> Active Skill</translate> | ||
| 4 = Toggleable Skill | | 4 = <translate nowrap><!--T:4--> Toggleable Skill</translate> | ||
| 5 = Karma Stone Skill | | 5 = <translate nowrap><!--T:5--> Karma Stone Skill</translate> | ||
| 6 = Alter Stone Skill | | 6 = <translate nowrap><!--T:6--> Alter Stone Skill</translate> | ||
| 7 = Equipment | | 7 = <translate nowrap><!--T:7--> Equipment</translate> | ||
| 8 = Consumable | | 8 = <translate nowrap><!--T:8--> Consumable</translate> | ||
| 9 = Emotion | | 9 = <translate nowrap><!--T:9--> Emotion</translate> | ||
| 10 = Stance | | 10 = <translate nowrap><!--T:10--> Stance</translate> | ||
| 11 = Stone of Promise Skill | | 11 = <translate nowrap><!--T:11--> Stone of Promise Skill</translate> | ||
| 12 = Active Structure Skill | | 12 = <translate nowrap><!--T:12--> Active Structure Skill</translate> | ||
}}< | }}</div><!-- | ||
--><div style="clear: left;"></div><!-- | |||
-->Target: {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}} | --><translate nowrap><!--T:13--> Target:</translate> {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}} | ||
| 1 = Self | | 1 = <translate nowrap><!--T:14--> Self</translate> | ||
| 2 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=Ally|1=Enemy}} | | 2 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=<translate nowrap><!--T:15--> Ally</translate>|1=<translate nowrap><!--T:16--> Enemy</translate>}} | ||
| 3 = Ground | | 3 = <translate nowrap><!--T:17--> Ground</translate> | ||
| 4 = Self, Party Members | | 4 = <translate nowrap><!--T:18--> Self, Party Members</translate> | ||
| 5 = | | 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/><!-- | ||
-->Max Level: {{#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||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><!--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/>}}<!-- | ||
-->Cooldown Time: {{#ifeq:{{#yh_data:skills|{{{1}}}|Cooldown}}|0|Instant| {{#expr: {{#yh_data:skills|{{{1}}}|Cooldown}} / 1000 }} sec}}<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/><!-- | ||
-->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><!--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|{{#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><!--T:30--> <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><!--T:31--> 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><!--T:32--> 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}} }} | -->{{#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 = Consumes {{#yh_data:skills|{{{1}}}|Rage}} rage<br/> | | 5 = <translate nowrap><!--T:36--> Consumes <tvar name="1">{{#yh_data:skills|{{{1}}}|Rage}}</tvar> rage</translate><br/> | ||
| 6 = Consumes all available rage<br/> | | 6 = <translate nowrap><!--T:37--> 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><!--T:38--> 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><!--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> | --></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 == | |||
{{SkillInfoBox|1000100110}} | |||
<pre><nowiki>{{SkillInfoBox|1000100110}}</nowiki></pre> | |||
[[Category:Game Data Templates{{#translation:}}]] | |||
</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
{{SkillInfoBox|1000100110}}