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

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(set explode delimiter for base skill values to ###)
(test explode further)
Line 44: Line 44:


Has base skill desc: {{{?Has base skill desc}}}
Has base skill desc: {{{?Has base skill desc}}}
explode Has base skill stage at pos=0 with delimiter="###": {{#explode:{{{?Has base skill stage}}}|###| 0 }}
explode Has base skill stage at pos=0 with delimiter="### ": {{#explode:{{{?Has base skill stage}}}|### | 0 }}


END</td><td>{{#ifeq: {{#expr:{{#var:counter}} > 0 }} | 1 |{{#ifeq: {{#var:base skill 0 subobj}} | - | {{#var:base skill 0 name}} | [[{{#var:base skill 0 subobj}}|{{#var:base skill 0 name}}]] }} {{#ifeq: {{#var:show skill description}} | y | / {{#var:base skill 0 desc}} }} | N/A}}</td>
END</td><td>{{#ifeq: {{#expr:{{#var:counter}} > 0 }} | 1 |{{#ifeq: {{#var:base skill 0 subobj}} | - | {{#var:base skill 0 name}} | [[{{#var:base skill 0 subobj}}|{{#var:base skill 0 name}}]] }} {{#ifeq: {{#var:show skill description}} | y | / {{#var:base skill 0 desc}} }} | N/A}}</td>

Revision as of 02:49, 12 April 2017

Description

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