Difference between revisions of "Template:Item"

84 bytes added ,  20:14, 7 December 2018
no edit summary
Line 2: Line 2:
  {{#ask:
  {{#ask:
   [[Has game context::Item]]
   [[Has game context::Item]]
   [[Has lowercase English name::{{lc:{{{1|}}}}}]]
   [[Has lowercase English name::{{lc:{{{1|none}}}}}]]
   |link=none
   |link=none
   |limit=1
   |limit=1
Line 11: Line 11:
  {{#ask:
  {{#ask:
   [[Has game context::Item]]
   [[Has game context::Item]]
   [[Has Japanese name::{{{1|}}}]]
   [[Has Japanese name::{{{1|none}}}]]
   |link=none
   |link=none
   |limit=1
   |limit=1
Line 17: Line 17:
   |searchlabel=
   |searchlabel=
  }}
  }}
}}}}{{#if:{{#var:item subobj|}}|{{#masterdata:Item|{{#show:{{#var:item subobj}}|?Has ID}}}}|{{#vardefine:item|{{#switch:{{lc:{{{1|}}}}}
}}}}{{#if:{{#var:item subobj|}}|<!--{{#masterdata:Item|{{#show:{{#var:item subobj}}|?Has ID}}}}-->{{#vardefine:item|{{#show:{{#var:item subobj}}|?Has Japanese name}}}}|{{#vardefine:item|{{#switch:{{lc:{{{1|}}}}}
|small | s | 小 = 小
|small | s | 小 = 小
|medium | m | 中 = 中
|medium | m | 中 = 中