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

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Created page with "<includeonly><tr> <td>[[{{{?Has icon|Unknown}}}|link={{{?Companion list subobject}}}|50px]]</td> <td>{{{?Companion list subobject}}}|{{{?Has English name}}} {{#ifeq: {{{...")
 
(trying to find out what's wrong with skill display)
Line 36: Line 36:
|}}<!-- end arraymap --></ul></td>
|}}<!-- end arraymap --></ul></td>
     | separate
     | separate
     |#default = <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>
     |#default = <td>DEBUG CELL
 
Has base skill stage: {{{?Has base skill stage|}}}
 
Has base skill subobj: {{{?Has base skill subobj}}}
 
Has base skill en name: {{{?Has base skill en name}}}
 
Has base skill desc: {{{?Has base skill desc}}}
 
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>
   <td>{{#ifeq: {{#expr:{{#var:counter}} > 1 }} | 1 |{{#ifeq: {{#var:base skill 1 subobj}} | - | {{#var:base skill 1 name}} | [[{{#var:base skill 1 subobj}}|{{#var:base skill 1 name}}]] }} {{#ifeq: {{#var:show skill description}} | y | / {{#var:base skill 1 desc}} }} | N/A }}</td>
   <td>{{#ifeq: {{#expr:{{#var:counter}} > 1 }} | 1 |{{#ifeq: {{#var:base skill 1 subobj}} | - | {{#var:base skill 1 name}} | [[{{#var:base skill 1 subobj}}|{{#var:base skill 1 name}}]] }} {{#ifeq: {{#var:show skill description}} | y | / {{#var:base skill 1 desc}} }} | N/A }}</td>
   <td>{{#ifeq: {{#expr:{{#var:counter}} > 2 }} | 1 |{{#ifeq: {{#var:base skill 2 subobj}} | - | {{#var:base skill 2 name}} | [[{{#var:base skill 2 subobj}}|{{#var:base skill 2 name}}]] }} {{#ifeq: {{#var:show skill description}} | y | / {{#var:base skill 2 desc}} }} | N/A }}</td>
   <td>{{#ifeq: {{#expr:{{#var:counter}} > 2 }} | 1 |{{#ifeq: {{#var:base skill 2 subobj}} | - | {{#var:base skill 2 name}} | [[{{#var:base skill 2 subobj}}|{{#var:base skill 2 name}}]] }} {{#ifeq: {{#var:show skill description}} | y | / {{#var:base skill 2 desc}} }} | N/A }}</td>

Revision as of 02:34, 12 April 2017

Description

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