Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
m ((Hopefully) fixed a bug that showed nonsense if the transient had no id)
m (Added hyperlinks)
Line 859: Line 859:
     <tr>
     <tr>
     {{#ifeq: {{{rarity|0}}} | 0 ||
     {{#ifeq: {{{rarity|0}}} | 0 ||
       <th>Rarity</th>
       <th>[[Rarity]]</th>
       <td>{{{rarity}}}</td>
       <td>{{{rarity}}}</td>
     }}
     }}
     {{#ifeq: {{{cost|0}}} | 0 ||
     {{#ifeq: {{{cost|0}}} | 0 ||
       <th>Cost</th>
       <th>[[Cost]]</th>
       <td>{{{cost}}}</td>
       <td>{{{cost}}}</td>
     }}
     }}
     </tr>
     </tr>
     <tr>
     <tr>
       <th>HP</th>
       <th>[[HP]]</th>
       <td>{{{hp|?}}}+{{{hp growth|?}}}*(Lv-1)</td>
       <td>{{{hp|?}}}+{{{hp growth|?}}}*(Lv-1)</td>
       <th>ATK</th>
       <th>[[ATK]]</th>
       <td>{{{atk|?}}}+{{{atk growth|?}}}*(Lv-1)</td>
       <td>{{{atk|?}}}+{{{atk growth|?}}}*(Lv-1)</td>
     </tr>
     </tr>
Line 906: Line 906:
     <table class="data">
     <table class="data">
     <tr>
     <tr>
       <th colspan="3">Skills</th>
       <th colspan="3">[[Skills]]</th>
     </tr>
     </tr>
     <tr>
     <tr>
Line 933: Line 933:
     <table class="data>
     <table class="data>
     <tr>
     <tr>
     <th colspan="3">Skill Evolution(s)</th>
     <th colspan="3">[[Skill Evolution]](s)</th>
     </tr>
     </tr>
     {{#if: {{#var:base skill 1 evo|}} |
     {{#if: {{#var:base skill 1 evo|}} |

Revision as of 05:18, 8 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.