Difference between revisions of "Template:Item"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#vardefine:item subobj|{{#ask:
<includeonly><onlyinclude>{{#vardefine:item subobj|{{#ask:
   [[Has game context::Item]]
   [[Has game context::Item]]
   [[Has lowercase English name::{{lc:{{{1|none}}}}}]]
   {{#if:{{{id|}}}| [[Has ID::{{{id|}}}]]
  | [[Has lowercase English name::{{lc:{{{1|none}}}}}]]
  }}
   |link=none
   |link=none
   |limit=1
   |limit=1
Line 92: Line 94:
| #default = {{#ifexist:Template:Item:{{#var:item}}|{{Item:{{#var:item}}}}|{{Items|{{#var:item}}}}}}
| #default = {{#ifexist:Template:Item:{{#var:item}}|{{Item:{{#var:item}}}}|{{Items|{{#var:item}}}}}}
}}|{{Item icon|subobject={{#var:item subobj}}}}}}</includeonly></onlyinclude>
}}|{{Item icon|subobject={{#var:item subobj}}}}}}</includeonly></onlyinclude>
 
<noinclude>{{Documentation}}</noinclude>
== Example ==
 
This is a {{Item|stamina drink}} (Stamina Drink).
 
This is a {{Item|transient stone}} (Transient Stone).
 
This is a {{Item|stamina drink|legacy=true}} (Stamina Drink).
 
This is a {{Item|transient stone|legacy=true}} (Transient Stone).

Latest revision as of 06:45, 6 March 2020

Template documentation[view] [edit] [history] [purge]

Description

This template is used to display a given item in a proper fancy format.

Arguments include either an item's English name, Japanese name or ID. A complete list of items along with their IDs can be found here (use the property browser to find an item's jp name and id).

Usage

{{Item|Transient Stone}}

Transient Stone

{{Item|全の中成長}}

M All-round Boost

{{Item|id=69}}

Nether Shard