Difference between revisions of "Template:SkillTable/row"
Jump to navigation
Jump to search
(hide modifiers and requirements for the enemy skills) |
(load values from Skill data) |
||
Line 2: | Line 2: | ||
<td align="center">[[File:{{{1}}}.png|center|link={{{1}}}|{{{1}}}]]{{cl|{{:{{{1}}}|Active}}|{{#if:{{:{{{1}}}|Name}}|{{:{{{1}}}|Name}}|{{{1}}}}}}}</td><!-- | <td align="center">[[File:{{{1}}}.png|center|link={{{1}}}|{{{1}}}]]{{cl|{{:{{{1}}}|Active}}|{{#if:{{:{{{1}}}|Name}}|{{:{{{1}}}|Name}}|{{{1}}}}}}}</td><!-- | ||
-->{{#if:{{#var:skill table hidebasicstats}}||<td><!-- | -->{{#if:{{#var:skill table hidebasicstats}}||<td><!-- | ||
-->{{#if: {{:{{{1}}}|Type}} | <div style="float: left">Type:</div><div style="float: right">{{:{{{1}}}|Type}}</div>{{Clear}}}}<!-- | -->{{#if: {{:Skill data|{{{1}}}|Type}} | <div style="float: left">{{Translate|Type|Properties}}:</div><div style="float: right">{{Translate|{{:Skill data|{{{1}}}|Type}}|Properties}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{:{{{1}}}|Range}} | <div style="float: left">Range:</div><div style="float: right">{{:{{{1}}}|Range}}</div>{{Clear}}}}<!-- | -->{{#if: {{:Skill data|{{{1}}}|Range}} | <div style="float: left">{{Translate|Range|Properties}}:</div><div style="float: right">{{Translate|{{:Skill data|{{{1}}}|Range}}|Properties}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{:{{{1}}}|Energy}} | <div style="float: left">Energy:</div><div style="float: right">{{:{{{1}}}|Energy}}</div>{{Clear}}}}<!-- | -->{{#if: {{:Skill data|{{{1}}}|Energy}} | <div style="float: left">{{Translate|Energy|Properties}}:</div><div style="float: right">{{:Skill data|{{{1}}}|Energy}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{:{{{1}}}|Cooldown}} | <div style="float: left">Cooldown:</div><div style="float: right">{{:{{{1}}}|Cooldown}}</div>{{Clear}}}}<!-- | -->{{#if: {{:Skill data|{{{1}}}|Cooldown}} | <div style="float: left">{{Translate|Cooldown|Properties}}:</div><div style="float: right">{{:Skill data|{{{1}}}|Cooldown}}</div>{{Clear}}}}<!-- | ||
-->{{#if:{{#var:skill table enemyskills}}||<!-- | -->{{#if:{{#var:skill table enemyskills}}||<!-- | ||
-->{{#if: {{:{{{1}}}|Modifiers}} | <div style="float: left">Modified by:</div><div style="float: right">{{:{{{1}}}|Modifiers}}</div>{{Clear}}}}<!-- | -->{{#if: {{:Skill data|{{{1}}}|Modifiers}} | <div style="float: left">{{Translate|Modified by|Properties}}:</div><div style="float: right">{{Translate|{{:Skill data|{{{1}}}|Modifiers}}|Properties}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{:{{{1}}}|Requirements}} | <div align="left">{{ | -->{{#if: {{:Skill data|{{{1}}}|Requirements}} | <div align="left">{{C|Req|{{Translate|{{:Skill data|{{{1}}}|Requirements}}|Properties}}}}</div>}}</td>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><td>{{:{{{1}}}|Description}}</td><!-- | --><td>{{C|Gray|{{Translate|{{:Skill data|{{{1}}}|Description}}|SkillDescription}}}}</td><!-- | ||
-->{{#if:{{#var:skill table passivebonus}}|<td>{{:{{{1}}}| | -->{{#if:{{#var:skill table passivebonus}}|<td>{{#if: {{:Skill data|{{{1}}}|Passivevalue1}}|<br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:Skill data|{{{1}}}|Passivevalue1}} {{Translate|{{:Skill data|{{{1}}}|Passivebonus1}}|Properties}}{{#if: {{:Skill data|{{{1}}}|Passivevalue2}} |<br>{{:Skill data|{{{1}}}|Passivevalue2}} {{Translate|{{:Skill data|{{{1}}}|Passivebonus2}}|Properties}}}}{{#if: {{:Skill data|{{{1}}}|Passivevalue3}} |<br>{{:Skill data|{{{1}}}|Passivevalue3}} {{Translate|{{:Skill data|{{{1}}}|Passivebonus3}}|Properties}}}} }} }}</td>}}<!-- | ||
-->{{#if:{{#var:skill table hiddenbonus}}|<td>{{:{{{1}}}| | -->{{#if:{{#var:skill table hiddenbonus}}|<td>{{C|Gray|{{#if: {{:Skill data|{{{1}}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Hidden bonus|Properties}}:}}<br>{{#if: {{:Skill data|{{{1}}}|Hiddentext1}}|{{:Skill data|{{{1}}}|Hiddentext1}}<br>}} {{:Skill data|{{{1}}}|Hiddenvalue1}} {{Translate|{{:Skill data|{{{1}}}|Hiddenbonus1}}|Properties}}{{#if: {{:Skill data|{{{1}}}|Hiddenvalue2}} |<br>{{:Skill data|{{{1}}}|Hiddenvalue2}} {{Translate|{{:Skill data|{{{1}}}|Hiddenbonus2}}|Properties}}}} }}</td>}}<!-- | ||
-->{{#if:{{#var:skill table notes}}|<td>{{:{{{1}}}|Notes}}</td>}}<!-- | -->{{#if:{{#var:skill table notes}}|<td>{{:{{{1}}}|Notes}}</td>}}<!-- | ||
--></tr></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> | --></tr></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> |
Revision as of 17:58, 29 July 2022
This template has no documentation. If you know how to use this template, please add some.