Template:Infobox item: Difference between revisions

fixed border-right for seasonal items
changed style of "has components" to match that of "is component of"
Line 263: Line 263:
|-
|-
{{#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',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}}}}}
Line 268: Line 269:
  | Vitality = background-color: #203500; color: #C7C9C6;
  | Vitality = background-color: #203500; color: #C7C9C6;
  | Spirit = background-color: #3a2231; color: #C9C7CB;
  | Spirit = background-color: #3a2231; color: #C9C7CB;
  | background-color: #9E630C; color: #DCCFC6;}}" {{!}} <span style="text-transform: uppercase;">{{#invoke:Lang|get_string|Citadel_ComponentRequired}}</span><br/>{{ItemIcon|{{{component2_name|Basic Magazine}}}}}|}}
  | background-color: #9E630C; color: #DCCFC6;}}" {{!}}{{ItemIcon|{{{component2_name|Basic Magazine}}}}}|}}
|-
|-
{{#ifeq:{{{has_iscomponentof|}}}|true|
{{#ifeq:{{{has_iscomponentof|}}}|true|