Template:Infobox item: Difference between revisions

No edit summary
Item styling
Tag: Reverted
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div style="float:right; display:inline-block; width:512px; max-width: 100%; position:right; vertical-align:top; font-family: 'Retail Demo';">
<div style="float:right; display:inline-block; width:512px; max-width: 100%; position:right; vertical-align:top; font-family: 'Retail Demo';">
{|- style="text-align:left; border-collapse:collapse; border-radius: 7px 7px 0px 0px; width:512px; max-width:512px; height:30px; color: #FFEFD7; font-size:26px; {{
{|- style="text-align:left; border-radius: 7px 7px 0px 0px; width:512px; max-width:512px; height:30px; color: #FFEFD7; font-size:26px; padding: 8px; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 8: Line 8:
  | background-color: #C97A03;}}"
  | background-color: #C97A03;}}"
|-
|-
| colspan="2"|<span style="margin-left:8px; margin-top:8px; font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name|Heroic Aura}}}</span>
| colspan="2"|<span style="margin-left:8px; font-weight: bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name|Heroic Aura}}}</span>
| style="vertical-align:bottom;"|<div style="margin:0 8px -2px 8px; font-size:80%; text-align:center; font-weight: bold; {{
|<div style="margin: 0 0 -4px 128px; font-size:70%; text-align: center; font-weight: bold; width: 50%; width: 100px; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #A36202;
  | Weapon = background-color: #A36202;
Line 33: Line 33:
|-
|-
| colspan="2"|<span style="margin-left:8px; font-weight:bold;">{{ Souls|{{{souls|3000}}} }}</span>
| colspan="2"|<span style="margin-left:8px; font-weight:bold;">{{ Souls|{{{souls|3000}}} }}</span>
| style="vertical-align:top;"|<div style="margin:-1px 8px 0 8px; font-size:50%; text-align:center; {{
|<div style="margin:-12px 0 0 128px; font-size:50%; text-align:center; width: 50%; padding: 2px 0; width: 100px; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #885101;
  | Weapon = background-color: #885101;
Line 47: Line 47:
|}
|}
<div style="{{#ifeq:{{{has_components|}}}|true|display:inline|display:none}}">
<div style="{{#ifeq:{{{has_components|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; height:28px; {{
{|- style="text-align:left; width:512px; max-width:512px; height:28px; padding: 0 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #9E630C; color: #DCCFC6;
  | Weapon = background-color: #9E630C; color: #DCCFC6;
Line 57: Line 57:
  "
  "
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px; font-weight:bold; font-size:18px;"> Components: <br> <span style="margin-left:8px;">{{Item|{{{component1_name}}}}}</span></span>
  ! <span style="margin-left:8px; font-weight:bold; font-size:16px;"> COMPONENTS: <br> <span style="margin-left:8px;">{{Item|{{{component1_name}}}}}</span></span>
| display: none;"}}
| display: none;"}}
|}
|}
Line 74: Line 74:
| display: none;"}}
| display: none;"}}
|}
|}
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; font-family: 'Retail Demo Regular'; {{
{|- style="text-align:left; width:512px; max-width:512px; color: #FFEFD7; font-family: 'Retail Demo Regular'; padding: 0 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 107: Line 107:
| }}
| }}
|}
|}
<div style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; {{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none}} {{
<div style="text-align:left; width:512px; max-width:512px; {{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none}} {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #FF00B6; color: #C4B49E;
  | Weapon = background-color: #FF00B6; color: #C4B49E;
Line 113: Line 113:
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}">
  | background-color: #583B0E; color: #C4B49E;}}">
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; font-weight:bold; {{
{|- style="text-align:left; width:512px; max-width:512px; font-weight:bold; padding-left: 16px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #583B0E; color: #C4B49E;
  | Weapon = background-color: #583B0E; color: #C4B49E;
Line 123: Line 123:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7" font-weight: bold; {{!}} {{{passive1_cooldown}}}
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7"; font-weight: bold; {{!}} {{{passive1_cooldown}}}
| display: none;"}}
| display: none;"}}
|}
|}
Line 129: Line 129:
</div>
</div>
<div style="{{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none}}">
<div style="{{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7;{{
{|- style="text-align:left; width:512px; max-width:512px; color: #FFEFD7; padding: 0 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 143: Line 143:
</div>
</div>
<div style="margin-left:0.5em; {{#ifeq:{{{has_passive1|}}}|true|display:inline-block|display:none}}">
<div style="margin-left:0.5em; {{#ifeq:{{{has_passive1|}}}|true|display:inline-block|display:none}}">
{|- style="text-align:left; width:500px; max-width:480px; border-radius:8px; color: #FFEFD7; font-family: 'Retail Demo Regular'; {{
{|- style="text-align:left; width:470px; max-width:470px; border-radius:8px; color: #FFEFD7; font-family: 'Retail Demo Regular'; padding: 4px; margin-top: 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 245: Line 245:
</div>
</div>
<div style="{{#ifeq:{{{has_active1|}}}|true|display:inline|display:none}}">
<div style="{{#ifeq:{{{has_active1|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; font-weight: bold; {{
{|- style="text-align:left; width:512px; max-width:512px; color: #FFEFD7; font-weight: bold; padding-left: 16px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #583B0E;
  | Weapon = background-color: #583B0E;
Line 255: Line 255:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} '''Active''' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} <span><span>[[File:Cooldown Icon.png|20px]]</span>{{{active1_cooldown}}}</span>
  {{!}} '''Active''' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7"; {{!}} <span><span>[[File:Cooldown Icon.png|20px]]</span>{{{active1_cooldown}}}</span>
| display: none;"}}
| display: none;"}}
|}
|}
</div>
</div>
<div style="{{#ifeq:{{{has_active1|}}}|true|display:inline|display:none}}">
<div style="{{#ifeq:{{{has_active1|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:512px; {{#ifeq:{{{has_iscomponentof|}}}|false|border-bottom-left-radius:8px; border-bottom-right-radius:8px;|}} max-width:512px; color: #FFEFD7; {{
{|- style="text-align:left; width:512px; {{#ifeq:{{{has_iscomponentof|}}}|false|border-bottom-left-radius:8px; border-bottom-right-radius:8px;|}} max-width:512px; color: #FFEFD7; padding: 0 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 272: Line 272:
  ! <span style="margin-left:8px; font-family: 'Retail Demo Regular';">{{{active1_description}}}</span>
  ! <span style="margin-left:8px; font-family: 'Retail Demo Regular';">{{{active1_description}}}</span>
| display: none;"}}
| display: none;"}}
<div style="margin-left:0.5em; margin-right:0.5em; {{#ifeq:{{{has_active1|}}}|true|display:inline-block|display:none}}">
<div style="margin-left:0.5em; {{#ifeq:{{{has_active1|}}}|true|display:inline-block|display:none}}">
{|- style="text-align:left; width:480px; max-width:480px; border-radius:5px; color: #FFEFD7; font-family: 'Retail Demo Regular'; {{
{|- style="text-align:left; width:470px; max-width:470px; border-radius:5px; color: #FFEFD7; font-family: 'Retail Demo Regular'; padding: 4px; margin-top: 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 309: Line 309:
</div>
</div>
<div style="{{#ifeq:{{{has_iscomponentof|}}}|true|display:inline|display:none}}">
<div style="{{#ifeq:{{{has_iscomponentof|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; {{
{|- style="text-align:left; width:512px; max-width:512px; padding: 0 8px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 319: Line 319:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} <span style="margin-left:8px; font-weight:bold; font-size:18px;"> IS COMPONENT OF: <br> {{Item|{{{iscomponentof1_name}}}}}</span>
  {{!}} <span style="margin-left:8px; font-weight:bold; font-size:16px;"> IS COMPONENT OF: <br> {{Item|{{{iscomponentof1_name}}}}}</span>
| display: none;"}}
| display: none;"}}
|}
|}