Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(test (?))
m (This edit and the previous one made it to show the skill specific evolution skills)
Line 436: Line 436:
{{#vardefine:transient id|{{{id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}}}}}}}}
{{#vardefine:transient id|{{{id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}}}}}}}}
{{#ifexpr:{{#var:transient id|}}<2|{{#vardefine:transient id|}}}}
{{#ifexpr:{{#var:transient id|}}<2|{{#vardefine:transient id|}}}}
<!--searching for skill specific evolutions now that id is estabilished-->{{#if:{{#vardefineecho:sse evo|{{#ask:
<!--searching for skill specific evolutions now that id is estabilished
This is a temporary solution until the original template creator comes up with a better way to link those skill evos with their respective units-->{{#if:{{#vardefineecho:sse evo|{{#ask:
   [[Has key::Sse linker]]
   [[Has key::Sse linker]]
   [[Has transient ID::{{#var:transient id|}}]]
   [[Has transient ID::{{#var:transient id|}}]]

Revision as of 18:49, 5 February 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.