Difference between revisions of "Template:Item infobox"

14 bytes removed ,  19:27, 7 December 2018
no edit summary
Line 2: Line 2:
{{#subobject:item{{#vardefineecho:itemnumber|{{#expr:{{#var:itemnumber|-1}}+1}}}}
{{#subobject:item{{#vardefineecho:itemnumber|{{#expr:{{#var:itemnumber|-1}}+1}}}}
| Has game context = Item
| Has game context = Item
| Has Japanese name = {{{ jp name| {{Localize|jp={{{name|}}} }} }}}
| Has Japanese name = {{{jp name|{{Localize|jp={{{name|}}}}}}}}
| Has English name = {{{ en name| {{Localize|en={{{name|}}} }} }}}
| Has English name = {{{en name|{{Localize|en={{{name|}}}}}}}}
| Has filename = {{{filename|}}}
| Has filename = {{{filename|}}}
| Has description = {{Localize|{{{description|}}}}}
| Has description = {{Localize|{{{description|}}}}}
Line 62: Line 62:
}}<table id="item{{#itemnumber}}" class="item-preview-infobox">
}}<table id="item{{#itemnumber}}" class="item-preview-infobox">
<tr>
<tr>
   <th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{{filename|}}}.png}}}}<abbr title="{{Localize| {{{description|}}} }}">{{{ en name| {{Localize|en={{{name|}}} }} }}}</abbr></th>
   <th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{{filename|}}}.png}}}}<abbr title="{{Localize|{{{description|}}}}}">{{{en name|{{Localize|en={{{name|}}}}}}}}</abbr></th>
</tr>
</tr>
</table>
</table>