Difference between revisions of "Template:Transient list table header"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
<th>Icon</th> | <th>Icon</th> | ||
<th>Name</th> | <th>Name</th> | ||
{{#ifeq: {{#var:show jp name}} | y | <th>Name (JP)</th> }} | {{#ifeq: {{#var:show jp name}} | y | <th>Name (JP)</th> | ||
}}{{#ifeq: {{#var:show rarity}} | y | <th>Rarity</th> | |||
}}{{#ifeq: {{#var:show cost}} | y | <th>Cost</th> | |||
}}{{#ifeq: {{#var:show element}} | y | <th>Element</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 stats at lv}} | 0 | | <th>HP at Lv {{#var:show stats at lv}}</th><th>ATK at Lv {{#var:show stats at lv}}</th> | |||
}}{{#switch: {{#var:show skills}} | |||
| n = | | n = | ||
| combined = <th>Base skills</th> | | combined = <th>Base skills</th> | ||
| separate | | separate | ||
|#default = <th>Base skill (Def.)</th><th>Base skill (LB1)</th><th>Base skill (LB2)</th><th>Base skill (LB3)</th> }} | |#default = <th>Base skill (Def.)</th><th>Base skill (LB1)</th><th>Base skill (LB2)</th><th>Base skill (LB3)</th> | ||
}}{{#ifeq: {{#var:show charge skill}} | y | <th></th><th>Charge skill</th> | |||
}}{{#ifeq: {{#var:show illustrator}} | y | <th>Illustration</th> | |||
}}{{#ifeq: {{#var:show scenario writer}} | y | <th>Scenario</th> | |||
}}{{#ifeq: {{#var:show voice actor}} | y | <th>Voice</th> | |||
}}</tr></includeonly><noinclude> | |||
== Description == | == Description == | ||
Revision as of 19:50, 17 April 2017
Description
This template creates the header used in companion lists. Used by Template:Companion list.
Usage
{{Companion list header | show jp name = | show rarity = | show cost = | show element = | 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 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 element
- Set to y to show element, 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.