Template:ItemBox: Difference between revisions

Jump to navigation Jump to search
QuinnBinn (talk | contribs)
m Added a display name param for specific items with clashing names
Shatangmi (talk | contribs)
darkened background of soul cost for readability, increased vertical spacing for icons
Line 2: Line 2:
<div style="display:inline-block">
<div style="display:inline-block">
{|- style="text-align:center; border-collapse:collapse; border-radius: 7px; width:100px; max-width:200px; height:2px; font-size: 12px;{{
{|- style="text-align:center; border-collapse:collapse; border-radius: 7px; width:100px; max-width:200px; height:2px; font-size: 12px;{{
#switch: {{{item_type}}}
#switch: {{{item_type}}}|
  | Weapon = background-color: #FCAC4D; color: #3A2B08;
  | Weapon = background-color: #C97A03;
  | Vitality = background-color: #86C921; color: #233A00;
  | Vitality = background-color: #659818;
  | Spirit = background-color: #DE9CFF; color: #3C254E;
  | Spirit = background-color: #8B56B4;
  | background-color: #FCAC4D; color: #3A2B08;}}"
  | background-color: #C97A03;}}"
! {{souls|{{{item_price}}}}}
! {{souls|{{{item_price}}}}}
|- style="text-align:center; width:100px; max-width:200px;{{
|- style="text-align:center; width:100px; max-width:200px; height:60px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #FCAC4D; color: #3A2B08;
  | Weapon = background-color: #FCAC4D; color: #3A2B08;
Line 14: Line 14:
  | Spirit = background-color: #DE9CFF; color: #3C254E;
  | Spirit = background-color: #DE9CFF; color: #3C254E;
  | background-color: #FCAC4D; color: #3A2B08;}}"
  | background-color: #FCAC4D; color: #3A2B08;}}"
| <span style="filter: brightness(0) saturate(100%); transition: 0.1s transform ease-in-out;"{{
| <span style="filter: brightness(0) saturate(100%); transition: 0.1s transform ease-in-out; "{{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = color: #3A2B08;
  | Weapon = color: #3A2B08;