Difference between revisions of "Template:Item infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 77: Line 77:
<tr>
<tr>
   <th colspan="2">Rarity</th>
   <th colspan="2">Rarity</th>
   <td>{{{rarity|}}}</td>
   <td colspan="2">{{{rarity|}}}</td>
</tr>
}}
{{#if:{{{energy|}}}|
<tr>
  <th colspan="2">Energy</th>
  <td colspan="2">{{Attribute|{{{energy|}}}}}</td>
</tr>
}}
{{#if:{{{level|}}}|
<tr>
  <th colspan="2">Level</th>
  <td colspan="2">{{{level|}}}</td>
</tr>
}}
{{#if:{{{weapon|}}}|
<tr>
  <th colspan="2">Weapon</th>
  <td colspan="2">{{Weapon|{{{weapon|}}}}}</td>
</tr>
}}
{{#if:{{{prob|}}}|
<tr>
  <th colspan="2">Skill increase</th>
  <td colspan="2">{{{prob|}}}</td>
</tr>
</tr>
}}
}}

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