Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
| Has ID = {{{id|}}} | | Has ID = {{{id|}}} | ||
| Has rarity = {{{rarity|}}} | | Has rarity = {{{rarity|}}} | ||
| Has energy = {{# | | Has energy = {{#switch:{{lc:{{{energy|}}}}} | ||
| 1 | 火 | fire = 火 | |||
| 2 | 水 | water = 水 | |||
| 3 | 木 | wood | grass | earth | tree = 木 | |||
| 4 | 天 | heaven | holy | light | divine | aether = 天 | |||
| 5 | 冥 | dark | nether = 冥 | |||
| 6 | 魔 | demon | shadow | infernal = 魔 | |||
| 0 | 全 | all | all-round = 全 | |||
| 7 | 英雄 | hero | valiant = 英雄 | |||
| 8 | 世界 | world = 世界 | |||
| 9 | 無 | none = 無 | |||
|#default = | |||
}} | |||
| Has level = {{{level|}}} | | Has level = {{{level|}}} | ||
| Has weapon type = {{#if:{{{weapon|}}}|{{Weapon type|{{{weapon|}}}}}}} | | Has weapon type = {{#if:{{{weapon|}}}|{{Weapon type|{{{weapon|}}}}}}} | ||
Line 76: | Line 88: | ||
{{#if:{{{rarity|}}}| | {{#if:{{{rarity|}}}| | ||
<tr> | <tr> | ||
<th colspan="1">Rarity</th> | <th <!--colspan="1"-->>Rarity</th> | ||
<td colspan="2">{{{rarity|}}}</td> | <td <!--colspan="2"-->>{{{rarity|}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{energy|}}}| | {{#if:{{{energy|}}}| | ||
<tr> | <tr> | ||
<th colspan="1">Energy</th> | <th <!--colspan="1"-->>Energy</th> | ||
<td colspan="2">{{Attribute|{{{energy|}}}}}</td> | <td <!--colspan="2"-->>{{Attribute|{{{energy|}}}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{level|}}}| | {{#if:{{{level|}}}| | ||
<tr> | <tr> | ||
<th colspan="1">Level</th> | <th <!--colspan="1"-->>Level</th> | ||
<td colspan="2">{{{level|}}}</td> | <td <!--colspan="2"-->>{{{level|}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{weapon|}}}| | {{#if:{{{weapon|}}}| | ||
<tr> | <tr> | ||
<th colspan="1">Weapon</th> | <th <!--colspan="1"-->>Weapon</th> | ||
<td colspan="2">{{Weapon|{{{weapon|}}}}}</td> | <td <!--colspan="2"-->>{{Weapon|{{{weapon|}}}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{prob|}}}| | {{#if:{{{prob|}}}| | ||
<tr> | <tr> | ||
<th colspan="1">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:38, 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. |