Difference between revisions of "Template:Item infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 9: Line 9:
| Has ID = {{{id|}}}
| Has ID = {{{id|}}}
| Has rarity = {{{rarity|}}}
| Has rarity = {{{rarity|}}}
| Has energy = {{Energy|{{{energy|}}}}}
| Has energy = {{#if:{{{energy|}}}|{{Energy|{{{energy|}}}}}}}
| Has level = {{{level|}}}
| Has level = {{{level|}}}
| Has weapon type = {{Weapon type|{{{weapon|}}}}}
| Has weapon type = {{#if:{{{weapon|}}}|{{Weapon type|{{{weapon|}}}}}}}
| Has base probability = {{{prob|}}}
| Has base probability = {{{prob|}}}
| Has item type = {{{type|}}}
| Has item type = {{{type|}}}
Line 69: Line 69:
}}<table id="item{{#var:itemnumber}}" class="item-preview-infobox">
}}<table id="item{{#var:itemnumber}}" class="item-preview-infobox">
<tr>
<tr>
   <th colspan="3">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{filename|}}}}}.png}}}}[[{{#var:item subobj|}}|{{{en name|{{Localize|{{{name|}}}}}}}}]]</th>
   <th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_item/icon_item_{{lc:{{{filename|}}}}}.png}}}}[[{{#var:item subobj|}}|{{{en name|{{Localize|{{{name|}}}}}}}}]]</th>
</tr>
</tr>
<tr>
<tr>

Revision as of 20:35, 7 December 2018

Description

This templates creates an infobox for a item, as well as a item subobject using the following properties:

Usage

{{Item infobox
| id = 
| name = 
| filename = 
| description = 
}}

Parameters

name
Name of the item
filename
Filename the item icon uses
id
internal ID used
description
Description of item

Examples

{{Item infobox
| id = 1
| name = 転光石
| filename = stone
| description = 召喚の力が宿った石
}}
Transient Stone
A stone imbued with the power of summoning.