Template:Infobox item: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
DMrD (talk | contribs)
mNo edit summary
Tag: Manual revert
mNo edit summary
Tag: Manual revert
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{{item_name}}} is a {{{item_type}}} item purchasable at the [[shop]].
<onlyinclude>
 
<div style="float:right; display:inline-block; width:512px; position:right; vertical-align:top;">
<span style="float:left; margin-right:2em;">
{|- 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: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 8:
  | background-color: #C97A03;}}"
  | background-color: #C97A03;}}"
|-
|-
! {{{item_name}}}
| colspan="2"|<span style="margin-left:8px; margin-top:8px; font-weight:bold;">{{{item_name|Heroic Aura}}}</span>
| style="vertical-align:bottom;"|<div style="margin:0 8px -2px 8px; font-size:80%; text-align:center; {{
#switch: {{{item_type}}}|
| Weapon = background-color: #A36202;
| Vitality = background-color: #507A11;
| Spirit = background-color: #704491;
| background-color: #A36202;}}"">{{
#switch: {{{item_type}}}/{{{item_tier}}}|
| Weapon/1 = +6% [[File:Weapon Icon.png|20px]]
| Weapon/2 = +10% [[File:Weapon Icon.png|20px]]
| Weapon/3 = +14% [[File:Weapon Icon.png|20px]]
| Weapon/4 = +18% [[File:Weapon Icon.png|20px]]
| Vitality/1 = +11% [[File:Vitality Icon.png|20px]]
| Vitality/2 = +14% [[File:Vitality Icon.png|20px]]
| Vitality/3 = +17% [[File:Vitality Icon.png|20px]]
| Vitality/4 = +20% [[File:Vitality Icon.png|20px]]
| Spirit/1 = +4 [[File:Spirit icon.png|20px]]
| Spirit/2 = +8 [[File:Spirit icon.png|20px]]
| Spirit/3 = +12 [[File:Spirit icon.png|20px]]
| Spirit/4 = +16 [[File:Spirit icon.png|20px]]
| +0
}}</div>
| rowspan ="2" style="text-align:right;"|<span style="margin-right:12px;>[[File:{{{item_name|Heroic Aura}}}.png|64px]]</span>
|-
|-
! {{ Souls|{{{souls}}} }}
| 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; {{
#switch: {{{item_type}}}|
| Weapon = background-color: #885101;
| Vitality = background-color: #41650C;
| Spirit = background-color: #5C3778;
| background-color: #885101;}}"">{{
#switch: {{{item_type}}}|
| Weapon = Weapon Damage
| Vitality = Base Health
| Spirit = Spirit Power
| Weapon<br>Damage
}}</div>
|}
|}
 
<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 57:
  "
  "
  {{!}}-  
  {{!}}-  
  ! 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;"}}
|}
</div>
{|- style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; color: #FFEFD7; {{
#switch: {{{item_type}}}
| Weapon = background-color: #80550F;
| Vitality = background-color: #4D7214;
| Spirit = background-color: #623585;
| background-color: #80550F;}} {{
#if: {{{item_description|}}}
|
"
{{!}}-
! {{{item_description}}}
| 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 63: Line 84:
  "
  "
  {{!}}-  
  {{!}}-  
  ! {{{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 109: Line 128:


</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 120: Line 139:
  "
  "
  {{!}}-
  {{!}}-
  ! {{{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 160: Line 179:
</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 175: Line 194:
|}
|}
</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 186: Line 205:
  "
  "
  {{!}}-  
  {{!}}-  
  ! {{{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 225: Line 244:
|}
|}
</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 241: Line 259:
|}
|}
</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 252: Line 270:
  "
  "
  {{!}}-  
  {{!}}-  
  ! {{{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 291: Line 308:
|}
|}
</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 302: Line 319:
  "
  "
  {{!}}-  
  {{!}}-  
  {{!}} 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>
</span>
</div>
 
</div>[[Category:Items]]</onlyinclude><noinclude>{{Documentation}}</noinclude>
<noinclude>
== Template Data ==
<templatedata>
{
"params": {
"souls": {
"type": "number",
"required": true
},
"item_name": {
"type": "wiki-page-name",
"required": true
},
"has_passive1": {
"type": "string",
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"true",
"false"
]
},
"has_active1": {
"type": "string",
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"true",
"false"
]
},
"has_iscomponentof": {
"type": "string",
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"true",
"false"
]
},
"passive1_description": {
"type": "string"
},
"active1_description": {
"type": "string"
},
"has_components": {
"type": "string",
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"true",
"false"
]
},
"component1_name": {
"type": "wiki-page-name"
},
"iscomponentof1_name": {
"type": "wiki-page-name"
},
"item_stat3": {
"type": "string"
},
"item_stat4": {
"type": "string"
},
"item_stat5": {
"type": "string"
},
"passive1_cooldown": {
"type": "number"
},
"active1_stat1": {
"type": "string"
},
"active1_stat2": {
"type": "string"
},
"active1_stat3": {
"type": "string"
},
"active1_stat4": {
"type": "string"
},
"active1_stat5": {
"type": "string"
},
"active1_cooldown": {
"type": "number"
},
"passive1_stat1": {
"type": "string"
},
"passive1_stat2": {
"type": "string"
},
"passive1_stat3": {
"type": "string"
},
"passive2_description": {
"type": "string"
},
"passive2_cooldown": {
"type": "number"
},
"passive2_stat1": {
"type": "string"
},
"passive2_stat2": {
"type": "string"
},
"passive2_stat3": {
"type": "string"
},
"passive2_stat4": {
"type": "string"
},
"passive2_stat5": {
"type": "string"
},
"item_stat1": {
"type": "string",
"suggested": true
},
"item_stat2": {
"type": "string"
},
"passive1_stat4": {
"type": "string"
},
"passive1_stat5": {
"type": "string"
},
"item_type": {
"type": "string",
"suggestedvalues": [
"Weapon",
"Vitality",
"Spirit"
],
"required": true
},
"item_imagefilepath": {
"type": "string",
"required": true
},
"has_passive2": {
"type": "string",
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"true",
"false"
]
}
},
"paramOrder": [
"item_imagefilepath",
"item_name",
"item_type",
"has_components",
"has_passive1",
"has_passive2",
"has_active1",
"has_iscomponentof",
"item_stat1",
"item_stat2",
"item_stat3",
"item_stat4",
"item_stat5",
"souls",
"component1_name",
"passive1_description",
"passive1_cooldown",
"passive1_stat1",
"passive1_stat2",
"passive1_stat3",
"passive1_stat4",
"passive1_stat5",
"passive2_description",
"passive2_cooldown",
"passive2_stat1",
"passive2_stat2",
"passive2_stat3",
"passive2_stat4",
"passive2_stat5",
"active1_description",
"active1_cooldown",
"active1_stat1",
"active1_stat2",
"active1_stat3",
"active1_stat4",
"active1_stat5",
"iscomponentof1_name"
]
}
</templatedata>
</noinclude>

Latest revision as of 16:55, 18 September 2024

Heroic Aura
+0
Souls 3000
Weapon
Damage
Template documentation [view] [edit] [purge]

Template for item info boxes

Template Data[edit source]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
item_imagefilepathitem_imagefilepath

no description

Stringrequired
item_nameitem_name

no description

Page namerequired
item_typeitem_type

no description

Suggested values
Weapon Vitality Spirit
Stringrequired
item_tieritem_tier

no description

Suggested values
1 2 3 4
Default
1
Auto value
1
Numbersuggested
has_componentshas_components

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_passive1has_passive1

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_passive2has_passive2

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_active1has_active1

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
has_iscomponentofhas_iscomponentof

no description

Suggested values
true false
Default
false
Auto value
false
Stringrequired
item_descriptionitem_description

no description

Stringoptional
item_stat1item_stat1

no description

Stringsuggested
item_stat2item_stat2

no description

Stringoptional
item_stat3item_stat3

no description

Stringoptional
item_stat4item_stat4

no description

Stringoptional
item_stat5item_stat5

no description

Stringoptional
soulssouls

no description

Numberrequired
component1_namecomponent1_name

no description

Page nameoptional
passive1_descriptionpassive1_description

no description

Stringoptional
passive1_cooldownpassive1_cooldown

no description

Numberoptional
passive1_stat1passive1_stat1

no description

Stringoptional
passive1_stat2passive1_stat2

no description

Stringoptional
passive1_stat3passive1_stat3

no description

Stringoptional
passive1_stat4passive1_stat4

no description

Stringoptional
passive1_stat5passive1_stat5

no description

Stringoptional
passive2_descriptionpassive2_description

no description

Stringoptional
passive2_cooldownpassive2_cooldown

no description

Numberoptional
passive2_stat1passive2_stat1

no description

Stringoptional
passive2_stat2passive2_stat2

no description

Stringoptional
passive2_stat3passive2_stat3

no description

Stringoptional
passive2_stat4passive2_stat4

no description

Stringoptional
passive2_stat5passive2_stat5

no description

Stringoptional
active1_descriptionactive1_description

no description

Stringoptional
active1_cooldownactive1_cooldown

no description

Numberoptional
active1_stat1active1_stat1

no description

Stringoptional
active1_stat2active1_stat2

no description

Stringoptional
active1_stat3active1_stat3

no description

Stringoptional
active1_stat4active1_stat4

no description

Stringoptional
active1_stat5active1_stat5

no description

Stringoptional
iscomponentof1_nameiscomponentof1_name

no description

Page nameoptional

Example[edit source]

Heroic Aura
+14%
Souls 3,000
Weapon Damage
Components:
Basic Magazine
+20% Bullet Lifesteal
+150 Bonus Health
+1m/s Move Speed


Passive
Provides Fire Rate to nearby player minions.
+40% Minions Fire Rate

(Conditional)

20m Radius


Active 30s
Provides bonus Movement Speed and Fire Rate to you and nearby allies.
+3m/s Movement Speed

(Conditional)

+25% Fire Rate

(Conditional)

30m Active Radius
6s Duration
IS COMPONENT OF:
Headhunter
{{Infobox item
|item_imagefilepath=Heroic Aura
|item_name=Heroic Aura
|item_type=Weapon
|item_tier=3
|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
}}