Difference between revisions of "Template:Transient extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) (Attempt at an optimization) |
||
Line 437: | Line 437: | ||
}} | }} | ||
{{#ifeq:{{#var:availability|}}|Current| | {{#ifeq:{{#var:availability|}}|Current| | ||
{{#arraydefine: | {{#arraydefine:available ar|{{#ask: | ||
[[Has game context::AR Equipment]] | [[Has game context::AR Equipment]] | ||
[[Has restrictions::No restrictions]] | [[Has restrictions::No restrictions||{{{en name|{{{jp name|?}}}}}}||{{Weapon type|{{#var:weapon type|?}}}}||{{Energy|{{#var:energy|?}}}}]] | ||
|?Has ID #|mainlabel=-|link=none|headers=hide | |?Has ID #|mainlabel=-|link=none|headers=hide | ||
}} | }}}}{{#arraysort:available ar|asc}} | ||
}} | }} | ||
{{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}} | {{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}} |
Revision as of 04:05, 4 July 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}} {{#vardefine:transient height|166}} {{#vardefine:transient weight|96}} {{#vardefine:transient summon date|8/7}}
To invoke this template properly, use (after the vardefines):
{{#masterdata:Card|CARDID}}
Consult other transient pages for additional undocumented options.