Template:SkillInfoBox: Difference between revisions
From Ymirheim Wiki
(Marked this version for translation) |
No edit summary |
||
(6 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]]<!-- | ||
-->< | --><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><!--T:1--> Weapon Attack Skill</translate> | | 1 = <translate nowrap><!--T:1--> Weapon Attack Skill</translate> | ||
| 2 = <translate nowrap><!--T:2--> Passive Skill</translate> | | 2 = <translate nowrap><!--T:2--> Passive Skill</translate> | ||
Line 18: | Line 18: | ||
| 11 = <translate nowrap><!--T:11--> Stone of Promise Skill</translate> | | 11 = <translate nowrap><!--T:11--> Stone of Promise Skill</translate> | ||
| 12 = <translate nowrap><!--T:12--> Active Structure Skill</translate> | | 12 = <translate nowrap><!--T:12--> Active Structure Skill</translate> | ||
}}< | }}</div><!-- | ||
--><div style="clear: left;"></div><!-- | |||
--><translate nowrap><!--T:13--> Target:</translate> {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}} | --><translate nowrap><!--T:13--> Target:</translate> {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}} | ||
Line 25: | Line 27: | ||
| 3 = <translate nowrap><!--T:17--> Ground</translate> | | 3 = <translate nowrap><!--T:17--> Ground</translate> | ||
| 4 = <translate nowrap><!--T:18--> Self, Party Members</translate> | | 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/><!-- | ||
Line 44: | Line 46: | ||
-->{{#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}}}|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><!--T:33--> Consumes</translate> {{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|-1|<translate nowrap><!--T:34--> all</translate>|{{#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 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
{{SkillInfoBox|1000100110}}