Difference between revisions of "Template:Transient list table header"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(one more)
Line 5: Line 5:
{{#vardefine:show rarity| {{{show rarity|y}}} }}
{{#vardefine:show rarity| {{{show rarity|y}}} }}
{{#vardefine:show cost| {{{show cost|n}}} }}
{{#vardefine:show cost| {{{show cost|n}}} }}
{{#vardefine:show element| {{{show element|y}}} }}
{{#vardefine:show energy| {{{show energy|{{{show element|y}}}}}} }}
{{#vardefine:show weapon type| {{{show weapon type|y}}} }}
{{#vardefine:show weapon type| {{{show weapon type|y}}} }}
{{#vardefine:show base stats| {{{show base stats|y}}} }}
{{#vardefine:show base stats| {{{show base stats|y}}} }}
Line 23: Line 23:
}}{{#ifeq: {{#var:show rarity}} | y | <th>Rarity</th>
}}{{#ifeq: {{#var:show rarity}} | y | <th>Rarity</th>
}}{{#ifeq: {{#var:show cost}} | y | <th>Cost</th>
}}{{#ifeq: {{#var:show cost}} | y | <th>Cost</th>
}}{{#ifeq: {{#var:show element}} | y | <th>Element</th>
}}{{#ifeq: {{#var:show energy|{{#var:show element}}}} | y | <th>Energy</th>
}}{{#ifeq: {{#var:show weapon type}} | y | <th>Weapon type</th>
}}{{#ifeq: {{#var:show weapon type}} | y | <th>Weapon type</th>
}}{{#ifeq: {{#var:show base stats}} | y | <th>Base HP</th><th>Base ATK</th>
}}{{#ifeq: {{#var:show base stats}} | y | <th>Base HP</th><th>Base ATK</th>
Line 47: Line 47:
| show rarity =  
| show rarity =  
| show cost =  
| show cost =  
| show element =  
| show energy =  
| show weapon type =  
| show weapon type =  
| show base stats =  
| show base stats =  
Line 64: Line 64:
; show rarity : Set to ''y'' to show rarity, ''n'' to hide. Defaults to ''y''.
; show rarity : Set to ''y'' to show rarity, ''n'' to hide. Defaults to ''y''.
; show cost : Set to ''y'' to show team cost, ''n'' to hide. Defaults to ''y''.
; show cost : Set to ''y'' to show team cost, ''n'' to hide. Defaults to ''y''.
; show element : Set to ''y'' to show element, ''n'' to hide. Defaults to ''y''.
; show energy : Set to ''y'' to show energy, ''n'' to hide. Defaults to ''y''.
; show weapon type : Set to ''y'' to show weapon type, ''n'' to hide. Defaults to ''y''.
; show weapon type : Set to ''y'' to show weapon type, ''n'' to hide. Defaults to ''y''.
; show base stats : Set to ''y'' to show base stats, ''n'' to hide. Defaults to ''y''.
; show base stats : Set to ''y'' to show base stats, ''n'' to hide. Defaults to ''y''.

Revision as of 21:06, 31 March 2018

Description

This template creates the header used in companion lists. Used by Template:Companion list.

Usage

{{Companion list header
| show name = 
| show jp name = 
| show rarity = 
| show cost = 
| show energy = 
| show weapon type = 
| show base stats = 
| show stats at lv = 
| show skills = 
| show skill description = 
| show charge skill = 
| show illustrator = 
| show scenario writer = 
| show voice actor = 
}}

Parameters

show name
Set to y to show the name, n to hide. Defaults to y.
show jp name
Set to y to show the Japanese name, n to hide. Defaults to n.
show rarity
Set to y to show rarity, n to hide. Defaults to y.
show cost
Set to y to show team cost, n to hide. Defaults to y.
show energy
Set to y to show energy, n to hide. Defaults to y.
show weapon type
Set to y to show weapon type, n to hide. Defaults to y.
show base stats
Set to y to show base stats, n to hide. Defaults to y.
show stats at lv
Set to any number to show the base stats at the given level, 0 to hide. Defaults to 0.
show skills
Set to separate to show all skills in a separate column, combined to show them in a single column, n to hide. Defaults to separate.
show skill description
If show skills is not set to n, set to y to show skill descriptions, n to hide. Defaults to n.
show charge skill
Set to y to show charge skill, n to hide. Defaults to y.
show illustrator
Set to y to show illustrator, n to hide. Defaults to n.
show scenario writer
Set to y to show scenario writer, n to hide. Defaults to n.
show voice actor
Set to y to show voice actor, n to hide. Defaults to n.