Difference between revisions of "Template:SkillTable/row"
Jump to navigation
Jump to search
(load active/passive param from Skill data page) |
(add Skilltree variable) |
||
Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly>{{#vardefine:Skilltree|{{:Skill data|{{{1|}}}}}}}<!-- | ||
<td align="center">[[File:{{{1}}}.png|center|link={{{1}}}|{{{1}}}]]{{cl|{{: | --><tr> | ||
<td align="center">[[File:{{{1}}}.png|center|link={{{1}}}|{{{1}}}]]{{cl|{{:{{#var:Skilltree}}|{{{1}}}|Active}}|{{{1}}}}}</td><!-- | |||
-->{{#if:{{#var:skill table hidebasicstats}}||<td><!-- | -->{{#if:{{#var:skill table hidebasicstats}}||<td><!-- | ||
-->{{#if: {{: | -->{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Type}} | <div style="float: left">{{Translate|Type|Properties}}:</div><div style="float: right">{{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Type}}|Properties}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{: | -->{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Range}} | <div style="float: left">{{Translate|Range|Properties}}:</div><div style="float: right">{{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Range}}|Properties}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{: | -->{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Energy}} | <div style="float: left">{{Translate|Energy|Properties}}:</div><div style="float: right">{{:{{#var:Skilltree}}|{{{1}}}|Energy}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{: | -->{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Cooldown}} | <div style="float: left">{{Translate|Cooldown|Properties}}:</div><div style="float: right">{{:{{#var:Skilltree}}|{{{1}}}|Cooldown}}</div>{{Clear}}}}<!-- | ||
-->{{#if:{{#var:skill table enemyskills}}||<!-- | -->{{#if:{{#var:skill table enemyskills}}||<!-- | ||
-->{{#if: {{: | -->{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Modifiers}} | <div style="float: left">{{Translate|Modified by|Properties}}:</div><div style="float: right">{{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Modifiers}}|Properties}}</div>{{Clear}}}}<!-- | ||
-->{{#if: {{: | -->{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Requirements}} | <div align="left">{{C|Req|{{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Requirements}}|Properties}}}}</div>}}</td>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><td>{{C|Gray|{{Translate|{{: | --><td>{{C|Gray|{{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Description}}|SkillDescription}}}}</td><!-- | ||
-->{{#if:{{#var:skill table passivebonus}}|<td>{{#if: {{: | -->{{#if:{{#var:skill table passivebonus}}|<td>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue1}}|<br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus2}}|Properties}}}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue3}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue3}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus3}}|Properties}}}} }}</td>}}<!-- | ||
-->{{#if:{{#var:skill table hiddenbonus}}|<td>{{C|Gray|{{#if: {{: | -->{{#if:{{#var:skill table hiddenbonus}}|<td>{{C|Gray|{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Hidden bonus|Properties}}:}}<br>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddentext1}}|{{:{{#var:Skilltree}}|{{{1}}}|Hiddentext1}}<br>}} {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Hiddenbonus1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue2}} {{Translate|{{:{{#var:Skilltree}}|{{{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:02, 8 August 2022
This template has no documentation. If you know how to use this template, please add some.