Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(oh boy)
(First try)
Line 478: Line 478:
| Has gate = {{{gate|}}}
| Has gate = {{{gate|}}}
| Has summon date = {{{summon date|}}}
| Has summon date = {{{summon date|}}}
| Has weight = {{{weight|}}}
| Has weight = {{#varexists:weight|{{#var:weight}}|{{{weight|}}}}}
| Has height = {{{height|}}}
| Has height = {{{height|}}}
| Has base skill ={{#if:{{{base skill 1|}}}|{{#var:base skill 1 subobj|-}};0;{{{base skill 1}}};{{#var:base skill 1 en name|{{{base skill 1}}}}};{{#var:base skill 1 desc|[?] ? / ?%}};{{#var:base skill 1 raw desc|[?] ? / ?%}};{{{base skill 1 id}}}}}
| Has base skill ={{#if:{{{base skill 1|}}}|{{#var:base skill 1 subobj|-}};0;{{{base skill 1}}};{{#var:base skill 1 en name|{{{base skill 1}}}}};{{#var:base skill 1 desc|[?] ? / ?%}};{{#var:base skill 1 raw desc|[?] ? / ?%}};{{{base skill 1 id}}}}}

Revision as of 03:21, 31 May 2020

Description

This templates creates an infobox and subobject for a Transient. Please do not directly invoke this template.

An example to feed override parameters (such as translation names) are:

{{#vardefine:transient en name|Name}}
{{#vardefine:transient en title|Title}}
{{#vardefine:transient availability|Available}}
{{#vardefine:transient acquisition|Gacha}}
{{#vardefine:transient en jingi|Charge Skill Name}}
{{#vardefine:transient species|Species}}
{{#vardefine:transient gate|Gate Name}}
{{#vardefine:transient jp en research file|Translation for Japanese Research File}}

To invoke this template properly, use (after the vardefines):

{{#masterdata:Card|CARDID}}

Consult other transient pages for additional undocumented options.