Difference between revisions of "Template:Transient list table header"
Jump to navigation
Jump to search
(one more) |
|||
(2 intermediate revisions by the same user not shown) | |||
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 | {{#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> | }}{{#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 39: | Line 39: | ||
== Description == | == Description == | ||
This template creates the header used in | This template creates the header used in transient lists. Used by [[Template:Transient list]]. | ||
== Usage == | == Usage == | ||
<pre>{{ | <pre>{{Transient list header | ||
| show name = | | show name = | ||
| show jp name = | | show jp name = | ||
| show rarity = | | show rarity = | ||
| show cost = | | show cost = | ||
| show | | 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 | ; 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''. |
Latest revision as of 20:31, 20 August 2018
Description
This template creates the header used in transient lists. Used by Template:Transient list.
Usage
{{Transient 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.