Difference between revisions of "Template:Item"

115 bytes added ,  20:08, 7 December 2018
no edit summary
Line 3: Line 3:
   [[Has game context::Item]]
   [[Has game context::Item]]
   [[Has ID]]
   [[Has ID]]
   {{#if:{{{en name|}}}|[[Has lowercase English name::~{{lc:{{{en name}}}}}]]}}
   [[Has lowercase English name::~{{lc:{{{1|}}}}}]]
  {{#if:{{{jp name|}}}|[[Has Japanese name::{{{jp name}}}]]}}
   |link=none
   |link=none
   |limit=1
   |limit=1
Line 10: Line 9:
   |searchlabel=
   |searchlabel=
  }}
  }}
}}{{#if:{{#var:item subobj}}|{{#masterdata:Item||{{#show:{{#var:item subobj}}|?Has ID}}}}|{{#vardefine:item|{{#switch:{{lc:{{{1|}}}}}
}}{{#if:{{#var:item subobj}}||{{#vardefine:item subobj|
{{#ask:
  [[Has game context::Item]]
  [[Has ID]]
  [[Has Japanese name::{{{1|}}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
}}
}}}}{{#if:{{#var:item subobj}}|{{#masterdata:Item||{{#show:{{#var:item subobj}}|?Has ID}}}}|{{#vardefine:item|{{#switch:{{lc:{{{1|}}}}}
|small | s | 小 = 小
|small | s | 小 = 小
|medium | m | 中 = 中
|medium | m | 中 = 中