Difference between revisions of "Template:Item"

2 bytes added ,  20:11, 7 December 2018
no edit summary
Line 8: Line 8:
   |searchlabel=
   |searchlabel=
  }}
  }}
}}{{#if:{{#var:item subobj}}||{{#vardefine:item subobj|
}}{{#if:{{#var:item subobj|}}||{{#vardefine:item subobj|
  {{#ask:
  {{#ask:
   [[Has game context::Item]]
   [[Has game context::Item]]
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|{{#switch:{{lc:{{{1|}}}}}
|small | s | 小 = 小
|small | s | 小 = 小
|medium | m | 中 = 中
|medium | m | 中 = 中