Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(shino fix)
(oh boy)
Line 215: Line 215:
  }}
  }}
-->
-->
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 1 subobj|}}|{{#show: {{#var:base skill 1 subobj}} |?Has ID}}|{{#masterdata:Skill|{{{base skill 1}}}|id:name}}}}|link-radius-image=true}}
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 1 subobj|}}|{{formatnum:{{#show: {{#var:base skill 1 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 1}}}|id:name}}}}|link-radius-image=true}}
}}
}}


Line 265: Line 265:
  }}
  }}
-->
-->
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 2 subobj|}}|{{#show: {{#var:base skill 2 subobj}} |?Has ID}}|{{#masterdata:Skill|{{{base skill 2}}}|id:name}}}}|link-radius-image=true}}
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 2 subobj|}}|{{formatnum:{{#show: {{#var:base skill 2 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 2}}}|id:name}}}}|link-radius-image=true}}
}}
}}
<!--
<!--
Line 313: Line 313:
  }}
  }}
-->
-->
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 3 subobj|}}|{{#show: {{#var:base skill 3 subobj}} |?Has ID}}|{{#masterdata:Skill|{{{base skill 3}}}|id:name}}}}|link-radius-image=true}}
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 3 subobj|}}|{{formatnum:{{#show: {{#var:base skill 3 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 3}}}|id:name}}}}|link-radius-image=true}}
}}
}}
<!--
<!--
Line 360: Line 360:
  }}
  }}
-->
-->
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 4 subobj|}}|{{#show: {{#var:base skill 4 subobj}} |?Has ID}}|{{#masterdata:Skill|{{{base skill 4}}}|id:name}}}}|link-radius-image=true}}
{{#masterdata:SkillDescription| {{#if: {{#var:base skill 4 subobj|}}|{{formatnum:{{#show: {{#var:base skill 4 subobj}} |?Has ID}}|R}}|{{#masterdata:Skill|{{{base skill 4}}}|id:name}}}}|link-radius-image=true}}
}}
}}
<!--
<!--
Line 959: Line 959:
     |<tr>
     |<tr>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <td>{{#masterdata:SkillDescription|{{#show: @@@@ |?Has ID}}}}</td>
       <td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 965: Line 965:
     |<tr>
     |<tr>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <td>{{#masterdata:SkillDescription|{{#show: @@@@ |?Has ID}}}}</td>
       <td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 971: Line 971:
     |<tr>
     |<tr>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <td>{{#masterdata:SkillDescription|{{#show: @@@@ |?Has ID}}}}</td>
       <td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 977: Line 977:
     |<tr>
     |<tr>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <th>[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name|link=none}}|{{#show:@@@@|?Has Japanese name|link=none}}}}]]</th>
       <td>{{#masterdata:SkillDescription|{{#show: @@@@ |?Has ID}}}}</td>
       <td>{{#masterdata:SkillDescription|{{formatnum:{{#show: @@@@ |?Has ID}}|R}}}}</td>
     </tr>
     </tr>
     }}
     }}

Revision as of 09:24, 26 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.