Difference between revisions of "Template:AR Equipment extended infobox"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | | <includeonly><onlyinclude>{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> | | ||
{{#subobject:equipment{{#vardefineecho:equipmentumber|{{#expr:{{#var:equipmentnumber|-1}}+1}}}} | |||
}} | | Has game context = AR Equipment | ||
| Has Japanese name = {{{name|}}} | |||
| Has English name = {{{en name|}}} | |||
| Has note = {{{note|}}} | |||
| Has rarity = {{{rarity|}}} | |||
| Has ID = {{{id|}}} | |||
| Has filename = {{{filename|}}} | |||
| Has illustrator = {{{illustrator|}}} | |||
}} | |||
}}<!-- end subobject | }}<!-- end subobject | ||
--> | --> | ||
Line 37: | Line 45: | ||
<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}} {{{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}} {{{en name|{{{name|}}}}}} </th> | ||
</tr> | </tr> | ||
{{#if:{{{illustrator|}}}| | |||
<tr> | |||
<th colspan=3>Illustrator</th> | |||
</tr> | |||
{{{illustrator|}}} | |||
}} | |||
{{#if:{{{effects|}}}| | {{#if:{{{effects|}}}| | ||
<tr> | <tr> |
Revision as of 19:07, 28 May 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|}}
Like other extended infobox templates, invocation of this template is to be done through the corresponding {{#masterdata:Equip|ID}}
extension call.