Template:SkillInfoBox/en: Difference between revisions
From Ymirheim Wiki
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(5 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 = Weapon Attack Skill | | 1 = Weapon Attack Skill | ||
| 2 = Passive Skill | | 2 = Passive Skill | ||
Line 18: | Line 18: | ||
| 11 = Stone of Promise Skill | | 11 = Stone of Promise Skill | ||
| 12 = Active Structure Skill | | 12 = Active Structure Skill | ||
}}< | }}</div><!-- | ||
--><div style="clear: left;"></div><!-- | |||
-->Target: {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}} | -->Target: {{#switch: {{#yh_data:skills|{{{1}}}|TargetType}} | ||
Line 25: | Line 27: | ||
| 3 = Ground | | 3 = Ground | ||
| 4 = Self, Party Members | | 4 = Self, Party Members | ||
| 5 = | | 5 = {{#switch: {{#yh_data:skills|{{{1}}}|Disposition}}|0=Self, Ally|1=Self, Enemy}} | ||
}}<br/><!-- | }}<br/><!-- | ||
Line 44: | Line 46: | ||
-->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0|| Requires cLv. {{#yh_data:skills|{{{1}}}|TransferClassLevel}} to transfer<br/> }}<!-- | -->{{#ifeq:{{#yh_data:skills|{{{1}}}|TransferSlots}}|0|| Requires cLv. {{#yh_data:skills|{{{1}}}|TransferClassLevel}} to transfer<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|| Consumes {{#ifeq:{{#yh_data:skills|{{{1}}}|Mana}}|-1|all mana|{{#yh_data:skills|{{{1}}}|Mana}} mana}}<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:48, 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}}