Difference between revisions of "Template:Item"

194 bytes added ,  20:18, 7 December 2018
no edit summary
Line 1: Line 1:
{{#vardefine:item subobj|
<includeonly><onlyinclude>{{#vardefine:item subobj|
  {{#ask:
  {{#ask:
   [[Has game context::Item]]
   [[Has game context::Item]]
Line 90: Line 90:
| #default = {{#ifexist:Template:Item:{{#var:item}}|{{Item:{{#var:item}}}}|{{Items|{{#var:item}}}}}}
| #default = {{#ifexist:Template:Item:{{#var:item}}|{{Item:{{#var:item}}}}|{{Items|{{#var:item}}}}}}
}}|{{#masterdata:Item|{{#show:{{#var:item subobj}}|?Has ID}}}}}}
}}|{{#masterdata:Item|{{#show:{{#var:item subobj}}|?Has ID}}}}}}
</includeonly></onlyinclude>
== Example ==
{{Item|倉庫拡張(スキル)}}
{{Item|G}}
{{Item|倉庫拡張(スキル)|legacy=true}}
{{Item|G|legacy=true}}