Difference between revisions of "Template:Item infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 8: Line 8:
| Has description = {{Localize|{{{description|}}}}}
| Has description = {{Localize|{{{description|}}}}}
| Has ID = {{{id|}}}
| Has ID = {{{id|}}}
| Has rarity = {{{rarity|}}}
| Has energy = {{{energy|}}}
| Has level = {{{level|}}}
| Has weapon type = {{{weapon|}}}
| Has base probability = {{{prob|}}}
| Has item type = {{{type|}}}
}}[[Category:Item]]
}}[[Category:Item]]
}}<!-- end subobj creation --><!---->{{#css:
}}<!-- end subobj creation --><!---->{{#css:
Line 68: Line 74:
   <td>{{Localize|{{{description|}}}}}</td>
   <td>{{Localize|{{{description|}}}}}</td>
</tr>
</tr>
{{#if:{{{rarity|}}}|
<tr>
  <th colspan="2">Rarity</th>
  <td>{{{rarity|}}}</td>
</tr>
}}
</table>
</table>
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 20:29, 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.