Difference between revisions of "Template:Transient list table result format"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
m (corrected a booboo with previous change)
Line 8: Line 8:
}}{{#ifeq: {{#var:show weapon type}} | y | <td>{{Weapon type|{{{?Has weapon type}}}}}</td>
}}{{#ifeq: {{#var:show weapon type}} | y | <td>{{Weapon type|{{{?Has weapon type}}}}}</td>
}}{{#ifeq: {{#var:show base stats}} | y | <td>{{{?Has hp value}}}</td><td>{{{?Has atk value}}}</td>
}}{{#ifeq: {{#var:show base stats}} | y | <td>{{{?Has hp value}}}</td><td>{{{?Has atk value}}}</td>
}}{{#ifeq: {{#var:show stats at lv}} | 0 | | <td>{{#expr:{{{?Has hp value}}}+{{{?Has hp growth value|0}}}*{{#var:show stats at lv}}-{{{?Has growth hp value}}} round 0}}</td><td>{{#expr:{{{?Has atk value}}}+{{{?Has atk growth value|0}}}*{{#var:show stats at lv}}-{{{?Has atk growth value}}} round 0}}</td>
}}{{#ifeq: {{#var:show stats at lv}} | 0 | | <td>{{#expr:{{{?Has hp value}}}+{{{?Has hp growth value|0}}}*{{#var:show stats at lv}}-{{{?Has hp growth value}}} round 0}}</td><td>{{#expr:{{{?Has atk value}}}+{{{?Has atk growth value|0}}}*{{#var:show stats at lv}}-{{{?Has atk growth value}}} round 0}}</td>
}}{{#if:
}}{{#if:
     <!-- vardefine skills and match them -->
     <!-- vardefine skills and match them -->

Revision as of 02:26, 11 October 2017

Description

This template creates a table row using query results. Used by Template:Companion list.