Template:Infobox item: Difference between revisions

V4Pe (talk | contribs)
Undo revision 2889 by V4Pe (talk)
Tag: Undo
QuinnBinn (talk | contribs)
Tried updating formatting to match in game, scaled up and right anchored. Will need some extra adjustments but this should work for now
Line 1: Line 1:
{{{item_name}}} is a {{{item_type}}} item purchasable at the [[shop]].
<div style="float:right; display:inline-block;">
 
{|- 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; {{
<span style="float:left; margin-right:2em;">
{|- style="text-align:center; border-collapse:collapse; border-radius: 7px; width:100px; max-width:200px;{{
#switch: {{{item_type}}}
| Weapon = background-color: #FCAC4D; color: #3A2B08;
| Vitality = background-color: #86C921; color: #233A00;
| Spirit = background-color: #DE9CFF; color: #3C254E;
| background-color: #FCAC4D; color: #3A2B08;}}"
| <span style="filter: brightness(0) saturate(100%); {{
#switch: {{{item_type}}}
| Weapon = color: #3A2B08;
| Vitality = color: #233A00;
| Spirit = color: #3C254E;
| color: #3A2B08;}}">[[File:{{{item_imagefilepath}}}.png|50px]]</span>
 
|- style="text-align: center; height:50px; {{
#switch: {{{item_type}}}
| Weapon = background-color: #FFF0D7; color: #151912;
| Vitality = background-color: #FFFFE7; color: #1C1E18;
| Spirit = background-color: #FFEFD7; color: #131610;
| background-color: #FFF0D7; color: #151912;}}"
! {{{item_name}}}
|}
 
</span>
<br>
<span style="float:left; margin-right:1em;" >
{|- style="text-align:left; border-collapse:collapse; border-radius: 7px 7px 0px 0px; width:300px; max-width:350px; color: #FFEFD7; {{
#switch: {{{item_type}}}|
#switch: {{{item_type}}}|
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 34: Line 7:
  | background-color: #C97A03;}}"
  | background-color: #C97A03;}}"
|-
|-
! {{{item_name}}}
| <span style="margin-left:8px; margin-top:8px; font-weight:bold;">{{{item_name|Heroic Aura}}}</span>
| rowspan ="2" style="text-align:right;"|<span style="margin-right:12px;>[[File:{{{item_name|Heroic Aura}}}.png|64px]]</span>
|-
|-
! {{ Souls|{{{souls}}} }}
| <span style="margin-left:8px; font-weight:bold;">{{ Souls|{{{souls|3000}}} }}</span>
|}
|}
 
<div style="{{#ifeq:{{{has_components|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; height:28px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #9E630C; color: #DCCFC6;
  | Weapon = background-color: #9E630C; color: #DCCFC6;
Line 49: Line 23:
  "
  "
  {{!}}-  
  {{!}}-  
  ! Components: <br> {{Item|{{{component1_name}}}}}
  ! <span style="margin-left:8px; font-weight:bold; font-size:18px;"> Components: <br> <span style="margin-left:8px;">{{Item|{{{component1_name}}}}}</span></span>
| display: none;"}}
| display: none;"}}
|}
|}
 
</div>
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 66: Line 40:
| display: none;"}}
| display: none;"}}
|}
|}
 
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; {{
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 77: Line 50:
  "
  "
  {{!}}-  
  {{!}}-  
  ! {{{item_stat1}}}
  ! <span style="margin-left:8px;"> {{{item_stat1}}}</span>
| display: none;"}}
| display: none;"}}
{{#if: {{{item_stat2|}}}
{{#if: {{{item_stat2|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat2}}}
  ! <span style="margin-left:8px;">{{{item_stat2}}}</span>
| }}
| }}
{{#if: {{{item_stat3|}}}
{{#if: {{{item_stat3|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat3}}}
  ! <span style="margin-left:8px;">{{{item_stat3}}}</span>
| }}
| }}
{{#if: {{{item_stat4|}}}
{{#if: {{{item_stat4|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat4}}}
  ! <span style="margin-left:8px;">{{{item_stat4}}}</span>
| }}
| }}
{{#if: {{{item_stat5|}}}
{{#if: {{{item_stat5|}}}
|
|
  {{!}}-  
  {{!}}-  
  ! {{{item_stat5}}}
  ! <span style="margin-left:8px;">{{{item_stat5}}}</span>
| }}
| }}
|}
|}
 
<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; border-collapse:collapse; width:300px; max-width:350px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #583B0E; color: #C4B49E;
  | Weapon = background-color: #FF00B6; color: #C4B49E;
  | Vitality = background-color: #354F11; color: #BDB59D;
  | Vitality = background-color: #354F11; color: #BDB59D;
  | 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; {{
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #583B0E; color: #C4B49E;
  | Weapon = background-color: #583B0E; color: #C4B49E;
Line 123: Line 94:


</div>
</div>
 
<div style="{{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7;{{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 134: Line 105:
  "
  "
  {{!}}-
  {{!}}-
  ! {{{passive1_description}}}
  ! <span style="margin-left:8px;">{{{passive1_description}}}</span>
| display: none;"}}
| display: none;"}}
 
</div>
<div style="margin-left:0.5em; margin-right:0.5em;">
<div style="margin-left:0.5em; {{#ifeq:{{{has_passive1|}}}|true|display:inline-block|display:none}}">
{|- style="text-align:left; width:180px; max-width:200px; color: #FFEFD7; {{
{|- style="text-align:left; width:500px; max-width:480px; border-radius:8px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 174: Line 145:
</div>
</div>


<div>
<div style="{{#ifeq:{{{has_passive2|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #583B0E; color: #C4B49E;
  | Weapon = background-color: #80550F;
  | Vitality = background-color: #354F11; color: #BDB59D;
  | Vitality = background-color: #4D7214;
  | Spirit = background-color: #43265B; color: #C1B2A8;
  | Spirit = background-color: #623585;
  | background-color: #583B0E; color: #C4B49E;}} {{
  | background-color: #80550F;}} {{
#ifeq: {{{has_passive2|}}}|true
#ifeq: {{{has_passive2|}}}|true
|
|
Line 189: Line 160:
|}
|}
</div>
</div>
 
<div style="{{#ifeq:{{{has_passive2|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 200: Line 171:
  "
  "
  {{!}}-  
  {{!}}-  
  ! {{{passive2_description}}}
  ! <span style="margin-left:8px;">{{{passive2_description}}}</span>
| display: none;"}}
| display: none;"}}
 
</div>
<div style="margin-left:0.5em; margin-right:0.5em;">
<div style="margin-left:0.5em; margin-right:0.5em; {{#ifeq:{{{has_passive2|}}}|true|display:inline-block|display:none}}">
{|- style="text-align:left; width:180px; max-width:200px; color: #FFEFD7; {{
{|- style="text-align:left; width:480px; max-width:480px; border-radius:8px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 239: Line 210:
|}
|}
</div>
</div>
 
<div style="{{#ifeq:{{{has_active1|}}}|true|display:inline|display:none}}">
<div>
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; {{
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #583B0E;
  | Weapon = background-color: #583B0E;
Line 255: Line 225:
|}
|}
</div>
</div>
 
<div style="{{#ifeq:{{{has_active1|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; color: #FFEFD7; {{
{|- 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; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 266: Line 236:
  "
  "
  {{!}}-  
  {{!}}-  
  ! {{{active1_description}}}
  ! <span style="margin-left:8px;">{{{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; margin-right:0.5em;">
{|- style="text-align:left; width:480px; max-width:480px; border-radius:5px; color: #FFEFD7; {{
{|- style="text-align:left; width:180px; max-width:200px; color: #FFEFD7; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 305: Line 274:
|}
|}
</div>
</div>
 
<div style="{{#ifeq:{{{has_iscomponentof|}}}|true|display:inline|display:none}}">
{|- style="text-align:left; border-collapse:collapse; width:300px; max-width:350px; {{
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; {{
#switch: {{{item_type}}}
#switch: {{{item_type}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 316: Line 285:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} IS COMPONENT OF: <br> {{Item|{{{iscomponentof1_name}}}}}
  {{!}} <span style="margin-left:8px; font-weight:bold; font-size:18px;"> IS COMPONENT OF: <br> {{Item|{{{iscomponentof1_name}}}}}</span>
| display: none;"}}
| display: none;"}}
|}
|}
</div>
</div>


</span>
<noinclude>
{{Infobox item
|item_imagefilepath=Heroic Aura
|item_name=Heroic Aura
|item_type=Weapon
|has_components=true
|component1_name=Basic Magazine
|has_passive1=true
|has_active1=true
|has_iscomponentof=true
|iscomponentof1_name=Headhunter
|item_stat1=+20% [[Bullet Lifesteal]]
|item_stat2=+150 Bonus [[Health]]
|item_stat3=+1m/s [[Move Speed]]
|souls=3,000
|passive1_description=Provides [[Fire Rate]] to nearby player [[minion]]s.
|passive1_cooldown=
|passive1_stat1=+40% Minions Fire Rate
(Conditional)
|passive1_stat2=20m Radius
|active1_description=Provides bonus Movement Speed and Fire Rate to you and nearby allies.
|active1_cooldown=30s
|active1_stat1=+3m/s Movement Speed
(Conditional)
|active1_stat2=+25% Fire Rate
(Conditional)
|active1_stat3=30m Active Radius|active1_stat4=6s Duration}}
</noinclude>


<noinclude>
<noinclude>