Template:Infobox item: Difference between revisions

Grelgn (talk | contribs)
mNo edit summary
Tag: Manual revert
Grelgn (talk | contribs)
Styling improvements
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: 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 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"; 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="margin:0 8px -2px 8px; font-size:80%; text-align:center; font-weight: bold; {{
| 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 32: Line 32:
| rowspan ="2" style="text-align:right;"|<span style="margin-right:12px;>[[File:{{{item_name|Heroic Aura}}}.png|64px]]</span>
| rowspan ="2" style="text-align:right;"|<span style="margin-right:12px;>[[File:{{{item_name|Heroic Aura}}}.png|64px]]</span>
|-
|-
| colspan="2"|<span style="margin-left:8px; font-weight:bold;">{{ Souls|{{{souls|3000}}} }}</span>
| colspan="2"|<span style="font-weight:bold;">{{ Souls|{{{souls|3000}}} }}</span>
| style="vertical-align:top;"|<div style="margin:-1px 8px 0 8px; font-size:50%; text-align:center; {{
| style="vertical-align:top;"|<div style="font-size:50%; text-align:center; width: 100px; margin-top: -4px; line-height: 1.4em;{{
#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 12px; {{
#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="font-weight:bold; font-size:16px;"> COMPONENTS: <br> <span>{{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 12px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 84: Line 84:
  "
  "
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px;"> {{{item_stat1}}}</span>
  ! <span style=""> {{{item_stat1}}}</span>
| display: none;"}}
| display: none;"}}
{{#if: {{{item_stat2|}}}
{{#if: {{{item_stat2|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px;">{{{item_stat2}}}</span>
  ! <span style="">{{{item_stat2}}}</span>
| }}
| }}
{{#if: {{{item_stat3|}}}
{{#if: {{{item_stat3|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px;">{{{item_stat3}}}</span>
  ! <span style="">{{{item_stat3}}}</span>
| }}
| }}
{{#if: {{{item_stat4|}}}
{{#if: {{{item_stat4|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px;">{{{item_stat4}}}</span>
  ! <span style="">{{{item_stat4}}}</span>
| }}
| }}
{{#if: {{{item_stat5|}}}
{{#if: {{{item_stat5|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px;">{{{item_stat5}}}</span>
  ! <span style="">{{{item_stat5}}}</span>
| }}
| }}
|}
|}
Line 123: Line 123:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7" font-weight: bold; {{!}} {{{passive1_cooldown}}}
  {{!}} <span style="padding-left: 12px;">''Passive''</span> {{!}}{{!}} 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 12px;{{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 139: Line 139:
  "
  "
  {{!}}-
  {{!}}-
  ! <span style="margin-left:8px; font-family: 'Retail Demo Regular';">{{{passive1_description}}}</span>
  ! <span style="font-family: 'Retail Demo Regular';">{{{passive1_description}}}</span>
| display: none;"}}
| display: none;"}}
</div>
</div>
<div style="margin-left:0.5em; {{#ifeq:{{{has_passive1|}}}|true|display:inline-block|display:none}}">
<div style="{{#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:500px; max-width:480px; border-radius:8px; color: #FFEFD7; font-family: 'Retail Demo Regular'; margin-top: 6px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 190: Line 190:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7" {{!}} {{{passive2_cooldown|}}}
  {{!}} ''Passive'' {{!}}{{!}} style="text-align:center; width:55px; max-width:80px; background-color: #0C1414; color: #FFEFD7;" {{!}} {{{passive2_cooldown|}}}
| display: none;"}}
| display: none;"}}
|}
|}
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>
  {{!}} <span style="padding-left: 12px;">'''Active'''</span> {{!}}{{!}} 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; padding: 0 12px; {{#ifeq:{{{has_iscomponentof|}}}|false|border-bottom-left-radius:8px; border-bottom-right-radius:8px;|}} max-width:512px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 270: Line 270:
  "
  "
  {{!}}-  
  {{!}}-  
  ! <span style="margin-left:8px; font-family: 'Retail Demo Regular';">{{{active1_description}}}</span>
  ! <span style="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-top: 6px; {{#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:480px; max-width:480px; border-radius:5px; color: #FFEFD7; font-family: 'Retail Demo Regular'; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
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 12px; border-radius: 0px 0px 8px 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="font-weight:bold; font-size:16px;"> IS COMPONENT OF: <br> {{Item|{{{iscomponentof1_name}}}}}</span>
| display: none;"}}
| display: none;"}}
|}
|}