Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
|||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:item subobj| | <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 79: | Line 80: | ||
| halloween stamp | ハロウィンスタンプ = ハロウィンスタンプ | | halloween stamp | ハロウィンスタンプ = ハロウィンスタンプ | ||
| 試練の石 = 試練の石 | | 試練の石 = 試練の石 | ||
| christmas candle | クリスマスキャンドル = クリスマスキャンドル | |||
| tree ornament | ツリーオーナメント = ツリーオーナメント | |||
|#default = {{{1|}}} | |#default = {{{1|}}} | ||
Line 86: | Line 90: | ||
| 財宝 = <!--まばゆい光をはなつ黄金財宝。--> A golden treasure, gleaming with gold and dazzle. | | 財宝 = <!--まばゆい光をはなつ黄金財宝。--> A golden treasure, gleaming with gold and dazzle. | ||
|#default = | |#default = | ||
}}}}{{#switch:{{{format|}}} | }}}}{{#vardefine:item format legacy|{{{legacy|{{#if:{{#var:item subobj|}}||true}}}}}}}{{#if:{{#var:item format legacy}}|{{#switch:{{{format|}}} | ||
| full = <abbr title="{{#var:item description}}">{{#ifexist:Template:Item:{{#var:item}}|{{Item:{{#var:item}}}}|{{Items|{{#var:item}}}}}}</abbr> | | full = <abbr title="{{#var:item description}}">{{#ifexist:Template:Item:{{#var:item}}|{{Item:{{#var:item}}}}|{{Items|{{#var:item}}}}}}</abbr> | ||
| #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> | ||
<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 06:45, 6 March 2020
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
The above documentation is transcluded from Template:Item/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |