Difference between revisions of "Template:Item"

Jump to navigation Jump to search
357 bytes added ,  20:03, 7 December 2018
no edit summary
Line 1: Line 1:
{{#vardefine:item|{{#switch:{{lc:{{{1|}}}}}
{{#vardefine:item subobj|
{{#ask:
  [[Has game context::Item]]
  [[Has ID]]
  {{#if:{{{en name|}}}|[[Has English name::~{{{en name}}}]]}}
  {{#if:{{{jp name|}}}|[[Has Japanese name::{{{jp name}}}]]}}
  |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 | 中 = 中
Line 63: Line 74:


|#default = {{{1|}}}
|#default = {{{1|}}}
}}}}{{#vardefine:item description|{{#switch:{{#var:item}}
}}}}}}{{#vardefine:item description|{{#switch:{{#var:item}}
| 救命うきわ = <!--海難救助に欠かせないO型の浮き具。--> An O-type flotation device, essential for salvages and rescues.
| 救命うきわ = <!--海難救助に欠かせないO型の浮き具。--> An O-type flotation device, essential for salvages and rescues.
| 海の幸 = <!--鮮度の良い魚介類たち。--> Good, fresh seafood.
| 海の幸 = <!--鮮度の良い魚介類たち。--> Good, fresh seafood.

Navigation menu