Difference between revisions of "Template:Transient list table result format"
Jump to navigation
Jump to search
(mayb one more time) |
|||
Line 5: | Line 5: | ||
}}{{#ifeq: {{#var:show rarity}} | y | <td>{{{?Has rarity}}}</td> | }}{{#ifeq: {{#var:show rarity}} | y | <td>{{{?Has rarity}}}</td> | ||
}}{{#ifeq: {{#var:show cost}} | y | <td>{{{?Has card cost}}}</td> | }}{{#ifeq: {{#var:show cost}} | y | <td>{{{?Has card cost}}}</td> | ||
}}{{#ifeq: {{#var:show | }}{{#ifeq: {{#var:show energy}} | y | <td>{{Energy|{{{?Has energy|{{{?Has element}}}}}}}}</td> | ||
}}{{#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> |
Revision as of 21:07, 31 March 2018
Description
This template creates a table row using query results. Used by Template:Companion list.