Difference between revisions of "Template:AR Equipment extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 75: Line 75:
}}}}<table class="equipment-infobox" id="equipment{{#var:equipmentnumber|0}}">
}}}}<table class="equipment-infobox" id="equipment{{#var:equipmentnumber|0}}">
     <tr>
     <tr>
      <th colspan=3>{{Star|{{{rarity|}}}}} {{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_equip/equip_icon_{{{filename|none}}}.png|width=60|height=60}} {{#ifeq:{{{en name|}}}||{{{name|}}}|{{{en name|}}}}} </th>
<!--      <th colspan=3>{{Star|{{{rarity|}}}}} {{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_equip/equip_icon_{{{filename|none}}}.png|width=60|height=60}} {{#ifeq:{{{en name|}}}||{{{name|}}}|{{{en name|}}}}}</th> -->
        <th colspan=3>{{{en name|?}}}<br>{{{name|}}}</th>
     </tr>
     </tr>
{{#if:{{{illustrator|}}}|
{{#if:{{{illustrator|}}}|
     <tr>
     <tr>
       <td rowspan="11">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android//equip/equip_card_{{{filename|none}}}.png|height=320}}</td>
       <td rowspan="100">{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android//equip/equip_card_{{{filename|none}}}.png|height=320}}</td>
       <th colspan=3>Illustrator</th>
       <th colspan=3>Illustrator</th>
     </tr>
     </tr>

Revision as of 22:37, 30 September 2019

Description

Both creates an infobox and defines a subobject for AR Equipment. Additional parameters include:

{{#vardefine:ar equipment acquisition|}}
{{#vardefine:ar equipment en name|}}
{{#vardefine:ar equipment en note|}}
{{#vardefine:ar equipment acquisition|}}

Like other extended infobox templates, invocation of this template is to be done through the corresponding {{#masterdata:Equip|ID}} extension call.