Difference between revisions of "Template:Transient extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
(shino fix) |
||
Line 820: | Line 820: | ||
{{#ifeq:{{#var:transientnumber}}|0|<h2>Transient Information</h2><div class='transientBox'><div class="tabs"></div></div>}}<div class="transient-infobox" id="transient{{#var:transientnumber}}"> | {{#ifeq:{{#var:transientnumber}}|0|<h2>Transient Information</h2><div class='transientBox'><div class="tabs"></div></div>}}<div class="transient-infobox" id="transient{{#var:transientnumber}}"> | ||
{{#ifeq:{{#var:transientnumber}}|0|<!--div class="tabs"></div-->}} | {{#ifeq:{{#var:transientnumber}}|0|<!--div class="tabs"></div-->}} | ||
<div class="transient-container {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}} transient{{#var:transientnumber}}"> | <div class="transient-container {{#ifeq:{{#var:energy}}|?|none|{{lc:{{Energy|{{#var:energy}}}}}}}} transient{{#var:transientnumber}}" data-id="{{#var:transient id|}}"> | ||
<div class="header"> | <div class="header"> | ||
<table> | <table> |
Revision as of 22:29, 14 April 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.