Difference between revisions of "Template:Item infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 76: Line 76:
{{#if:{{{rarity|}}}|
{{#if:{{{rarity|}}}|
<tr>
<tr>
   <th colspan="2">Rarity</th>
   <th colspan="1">Rarity</th>
   <td colspan="2">{{{rarity|}}}</td>
   <td colspan="2">{{{rarity|}}}</td>
</tr>
</tr>
Line 82: Line 82:
{{#if:{{{energy|}}}|
{{#if:{{{energy|}}}|
<tr>
<tr>
   <th colspan="2">Energy</th>
   <th colspan="1">Energy</th>
   <td colspan="2">{{Attribute|{{{energy|}}}}}</td>
   <td colspan="2">{{Attribute|{{{energy|}}}}}</td>
</tr>
</tr>
Line 88: Line 88:
{{#if:{{{level|}}}|
{{#if:{{{level|}}}|
<tr>
<tr>
   <th colspan="2">Level</th>
   <th colspan="1">Level</th>
   <td colspan="2">{{{level|}}}</td>
   <td colspan="2">{{{level|}}}</td>
</tr>
</tr>
Line 94: Line 94:
{{#if:{{{weapon|}}}|
{{#if:{{{weapon|}}}|
<tr>
<tr>
   <th colspan="2">Weapon</th>
   <th colspan="1">Weapon</th>
   <td colspan="2">{{Weapon|{{{weapon|}}}}}</td>
   <td colspan="2">{{Weapon|{{{weapon|}}}}}</td>
</tr>
</tr>
Line 100: Line 100:
{{#if:{{{prob|}}}|
{{#if:{{{prob|}}}|
<tr>
<tr>
   <th colspan="2">Skill increase</th>
   <th colspan="1">Skill increase</th>
   <td colspan="2">{{{prob|}}}</td>
   <td colspan="2">{{{prob|}}}</td>
</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.