Template:Infobox item: Difference between revisions

trim unnecessary span
cleanup header styling
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div class="infobox_template infobox_item" style="float:right; display:inline-block; width:512px; max-width: 100%; position:right; vertical-align:top; font-family: 'Retail Demo Bold',serif;">
<div class="infobox_template infobox_item" style="float:right; display:inline-block; width:512px; max-width: 100%; position:right; vertical-align:top; font-family: 'Retail Demo Bold',serif;">
{|- style="text-align:left; border-radius: 8px 8px 0px 0px; width:512px; max-width:512px; height:30px; color: #FFEFD7; font-size:26px; padding: 12px; {{
{| style="text-align:left; border-radius: 8px 8px 0px 0px; width:512px; max-width:512px; height:30px; color: #FFEFD7; font-size:26px; padding: 12px; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 7: Line 7:
  | Spirit = background-color: #8B56B4;
  | Spirit = background-color: #8B56B4;
  | background-color: #C97A03;}}"
  | background-color: #C97A03;}}"
|-
! colspan="2"; style="width: 280px;" |<span style="font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name|Heroic Aura}}}</span>
| colspan="2"; style="width: 280px;"|<span style="font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name|Heroic Aura}}}</span>
! style="vertical-align:bottom;" |<div style="font-size:80%; text-align: center; font-weight: bold; width: 100px; {{
| style="vertical-align:bottom;"|<div style="font-size:80%; text-align: center; font-weight: bold; width: 100px; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #A36202;
  | Weapon = background-color: #A36202;
Line 15: Line 14:
  | Spirit = background-color: #704491;
  | Spirit = background-color: #704491;
  | background-color: #A36202;}}"">{{
  | background-color: #A36202;}}"">{{
  #switch: {{{item_type}}}/{{{item_tier}}}|
  #switch: {{{item_type}}}/{{{item_tier|1}}}|
  | Weapon/1 = +6% [[File:Weapon Icon.png|20px]]
  | Weapon/1 = +6% [[File:Weapon Icon.png|20px]]
  | Weapon/2 = +10% [[File:Weapon Icon.png|20px]]
  | Weapon/2 = +10% [[File:Weapon Icon.png|20px]]