Template:Infobox item: Difference between revisions

LVL (talk | contribs)
Added sound3
font fix
Line 3: Line 3:
-->{{#vardefine:item_en|{{#invoke:Lang|get_string|{{{item_name}}}|lang_code_override=en}}}}<!-- en
-->{{#vardefine:item_en|{{#invoke:Lang|get_string|{{{item_name}}}|lang_code_override=en}}}}<!-- en
--><div class="infobox_item" style="float:right; display:inline-block; vertical-align:top;">
--><div class="infobox_item" style="float:right; display:inline-block; vertical-align:top;">
{| class="infobox-table item-infobox" style="text-align:left; border-collapse:collapse; width:312px; max-width:100%; height:30px; color: #FFEFD7; padding:12px; font-family:'Retail Demo Regular',serif; {{
{| class="infobox-table item-infobox" style="text-align:left; border-collapse:collapse; width:312px; max-width:100%; height:30px; color: #FFEFD7; padding:12px; font-family:'Retail Demo',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 9: Line 9:
  | Spirit = background-color: #532b41;
  | Spirit = background-color: #532b41;
  | background-color: #80550F;}}"
  | background-color: #80550F;}}"
! colspan="4"; class="infobox-header" style="width:280px; padding:5px 12px; text-align:center; font-size:24px; font-family:'Retail Demo Bold',serif; {{
! colspan="4"; class="infobox-header" style="width:280px; padding:5px 12px; text-align:center; font-size:24px; font-family:'Retail Demo',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 248: Line 248:
|-
|-
{{#ifeq:{{{has_components|}}}|true|
{{#ifeq:{{{has_components|}}}|true|
! colspan="4" class="components-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold',serif; {{
! colspan="4" class="components-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #67430A; color: #DCCFC6;
  | Weapon = background-color: #67430A; color: #DCCFC6;
Line 256: Line 256:
|-
|-
{{#ifeq:{{{has_components2|}}}|true|
{{#ifeq:{{{has_components2|}}}|true|
! colspan="4" class="components-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold',serif; {{
! colspan="4" class="components-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #67430A; color: #DCCFC6;
  | Weapon = background-color: #67430A; color: #DCCFC6;
Line 264: Line 264:
|-
|-
{{#ifeq:{{{has_iscomponentof|}}}|true|
{{#ifeq:{{{has_iscomponentof|}}}|true|
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo', serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 272: Line 272:
{{#ifeq:{{{has_iscomponentof2|}}}|true|
{{#ifeq:{{{has_iscomponentof2|}}}|true|
{{!}}-
{{!}}-
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo', serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 281: Line 281:
{{#ifeq:{{{has_iscomponentof3|}}}|true|
{{#ifeq:{{{has_iscomponentof3|}}}|true|
{{!}}-
{{!}}-
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo', serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;