Difference between revisions of "Template:SkillTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
(align Active skill type to center and first letter uppercase)
(capitalization for Active skills with multiple types)
Line 6: Line 6:
-->{{#if:{{#var:skill table hidebasicstats}}||<td><!--
-->{{#if:{{#var:skill table hidebasicstats}}||<td><!--
-->{{#ifeq: {{#var:Skilltree}}|Skill data missing.|Skill with name "{{{1|{{ROOTPAGENAME}}}}}" does not exist.<br><br>Add it to [[Skill data]] or fix the Skill name.|<!--
-->{{#ifeq: {{#var:Skilltree}}|Skill data missing.|Skill with name "{{{1|{{ROOTPAGENAME}}}}}" does not exist.<br><br>Add it to [[Skill data]] or fix the Skill name.|<!--
-->{{#if: {{#var:Active}} | <div style="text-align: center;">{{c|{{#var:Active}}|{{ucfirst:{{Translate|{{#var:Active}}|Properties}}}}}}</div>{{Clear}}}}<!--
-->{{#if: {{#var:Active}} | {{#switch: {{lc:{{#var:Active}}}}
| attack/charge = <div style="text-align: center;">{{c|Active|{{Translate|Attack|Properties}} / {{Translate|Charge|Properties}}}}</div>{{Clear}}
| attack/maneuver = <div style="text-align: center;">{{c|Active|{{Translate|Attack|Properties}} / {{Translate|Maneuver|Properties}}}}</div>{{Clear}}
| <div style="text-align: center;">{{c|Active|{{ucfirst:{{Translate|{{#var:Active}}|Properties}}}}}}</div>{{Clear}}
}}}}<!--
-->{{#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: {{:{{#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: {{:{{#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: {{:{{#var:Skilltree}}|{{{1}}}|Range}} | <div style="float: left">{{Translate|Range|Properties}}:</div><div style="float: right">{{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Range}}|Properties}}</div>{{Clear}}}}<!--

Revision as of 12:07, 22 September 2023

This template has no documentation. If you know how to use this template, please add some.