Editing Template:Infobox item/doc

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{TS}}
== Usage ==
== Usage ==
'''Note: This template is not intended for direct use.''' Use {{tl|Infobox item/auto}}.
This template creates an infobox for items. It automatically categorizes the pages it is transcluded onto in [[:Category:Items]].
This template creates an infobox for items. It automatically categorizes the pages it is transcluded onto in [[:Category:Items]].


== Examples ==
== Examples ==
{| class="wikitable"
{| class=wikitable
! Code !! Output
! Code !! Output
|-
|-
Line 12: Line 9:
<pre>
<pre>
{{Infobox item
{{Infobox item
| item_name           = Heroic Aura
|item_imagefilepath=Heroic Aura
| item_stat1           = +18% Bullet Lifesteal
|item_name=Heroic Aura
| item_stat2           = +150 Bonus Health
|item_type=Weapon
| item_stat3           = +1m/s Move Speed
|item_tier=3
| passive1_description = Provides Fire Rate to nearby player minions.
|has_components=true
| passive1_main1      = +40% Minions Fire Rate (Conditional)
|component1_name=Basic Magazine
| passive1_alt1        = 20m Radius
|has_passive1=true
| active1_cooldown     = 20s
|has_active1=true
| active1_description = Provides bonus Move Speed and Fire Rate to you and nearby allies.
|has_iscomponentof=true
| active1_main1        = +2m/s Move Speed (Conditional)
|iscomponentof1_name=Headhunter
| active1_main2        = +25% Fire Rate (Conditional)
|item_stat1=+20% [[Bullet Lifesteal]]
| active1_alt1        = 30m Active Radius
|item_stat2=+150 Bonus [[Health]]
| active1_alt2        = 6s Duration
|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
}}
</pre>
|
{{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
}}
|-
|
<pre>
{{Infobox item
|item_imagefilepath=Heroic Aura
|item_name=Soul Shredder Bullets
|item_type=Spirit
|item_tier=3
|souls = 2,555
|has_components=true
|component1_name=Basic Magazine
|item_description=Increases the range and effect radius of your abilities and items.
| item_stat1 = +15% [[Ability Range]]
| item_stat2 = +7% [[Bullet Resist]]
|has_passive1=true
|has_active1=true
|has_iscomponentof=true
|iscomponentof1_name=Refresher
}}
}}
</pre>
</pre>
|
|
{{Infobox item
{{Infobox item
| item_name            = Heroic Aura
|item_imagefilepath=Heroic Aura
| item_stat1          = +18% Bullet Lifesteal
|item_name=Soul Shredder Bullets
| item_stat2          = +150 Bonus Health
|item_type=Spirit
| item_stat3          = +1m/s Move Speed
|item_tier=3
| passive1_description = Provides Fire Rate to nearby player minions.
|souls = 2,555
| passive1_main1      = +40% Minions Fire Rate (Conditional)
|has_components=true
| passive1_alt1        = 20m Radius
|component1_name=Basic Magazine
| active1_cooldown    = 20s
|item_description=Increases the range and effect radius of your abilities and items.
| active1_description  = Provides bonus Move Speed and Fire Rate to you and nearby allies.
| item_stat1 = +15% [[Ability Range]]
| active1_main1        = +2m/s Move Speed (Conditional)
| item_stat2 = +7% [[Bullet Resist]]
| active1_main2        = +25% Fire Rate (Conditional)
|has_passive1=true
| active1_alt1        = 30m Active Radius
|has_active1=true
| active1_alt2        = 6s Duration
|has_iscomponentof=true
| nocat                = true
|iscomponentof1_name=Refresher
}}
}}
|-
|-
Line 48: Line 109:
<pre>
<pre>
{{Infobox item
{{Infobox item
| item_name           = Cold Front
|item_imagefilepath=Restorative Locket
| item_stat1         = +10% Spirit Resist
|item_name=Restorative Locket
| active1_cooldown    = 28s
|item_type=Vitality
| active1_description = Release an expanding ice blast that deals '''Spirit Damage''' and '''Slows''' targets it hits. Deals 2x Damage to non-Heroes.
|item_tier=2
| active1_main1      = 75 Damage
|has_components=false
| active1_main2      = 40% Movement Slow (Conditional)
|has_passive1=true
| active1_alt1        = 14m End Radius
|has_passive2=false|has_active1=true
| active1_alt2        = 3s Duration
|has_iscomponentof=false
|item_stat1=+10% [[Spirit Resist]]
|item_stat2=+5 [[Spirit Power]]
|item_stat3=+1m/s [[Sprint Speed]]
|souls=1,250
|passive1_description=When an enemy uses an ability within 50m range from you, store one Restoration Stack.
|passive1_cooldown=
|active1_description=Consume all stacks to heal target ally and replenish a stamina point. Can be self-cast.
|active1_cooldown=30s
|active1_stat1=+35 Heal per Stack
|active1_stat2=15 Max Stacks
}}
}}
</pre>
</pre>
|
|
{{Infobox item
{{Infobox item
| item_name           = Cold Front
|item_imagefilepath=Restorative Locket
| item_stat1         = +10% Spirit Resist
|item_name=Restorative Locket
| active1_cooldown    = 28s
|item_type=Vitality
| active1_description = Release an expanding ice blast that deals '''Spirit Damage''' and '''Slows''' targets it hits. Deals 2x Damage to non-Heroes.
|item_tier=2
| active1_main1      = 75 Damage
|has_components=false
| active1_main2      = 40% Movement Slow (Conditional)
|has_passive1=true
| active1_alt1        = 14m End Radius
|has_passive2=false|has_active1=true
| active1_alt2        = 3s Duration
|has_iscomponentof=false
| nocat              = true
|item_stat1=+10% [[Spirit Resist]]
|item_stat2=+5 [[Spirit Power]]
|item_stat3=+1m/s [[Sprint Speed]]
|souls=1,250
|passive1_description=When an enemy uses an ability within 50m range from you, store one Restoration Stack.
|passive1_cooldown=
|active1_description=Consume all stacks to heal target ally and replenish a stamina point. Can be self-cast.
|active1_cooldown=30s
|active1_stat1=+35 Heal per Stack
|active1_stat2=15 Max Stacks
}}
}}
|}
|}
<templatedata>
<templatedata>
{
{
"description": " ",
"params": {
"params": {
"souls": {
"souls": {
"type": "number",
"type": "number",
"default": "500",
"required": true,
"description": "Souls cost."
"default": "3,000"
},
},
"item_name": {
"item_name": {
"description": "Item name in english, used to autofill table",
"type": "wiki-page-name",
"required": true
},
"has_passive1": {
"type": "string",
"default": "false",
"autovalue": "false",
"required": true,
"required": true,
"type": "string"
"suggestedvalues": [
"true",
"false"
]
},
},
"item_name_loc": {
"has_active1": {
"description": "Localized item name",
"type": "string",
"type": "string"
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"true",
"false"
]
},
},
"street_brawl": {
"has_iscomponentof": {
"type": "boolean",
"type": "string",
"default": "false",
"default": "false",
"autovalue": "false",
"required": true,
"suggestedvalues": [
"suggestedvalues": [
"true",
"true",
"false"
"false"
],
]
"description": "If it's a street brawl item, hide cost and tier"
},
},
"passive1_description": {
"passive1_description": {
Line 103: Line 198:
"active1_description": {
"active1_description": {
"type": "string"
"type": "string"
},
"has_components": {
"type": "boolean",
"default": "false",
"autovalue": "false",
"suggestedvalues": [
"true",
"false"
]
},
},
"component1_name": {
"component1_name": {
"type": "string",
"type": "string",
"default": "Basic Magazine",
"default": "Basic Magazine"
"description": "Name of the component item it builds from."
},
"component2_name": {
"type": "string",
"default": "Basic Magazine",
"description": "Name of the other component item it builds from."
},
},
"iscomponentof1_name": {
"iscomponentof1_name": {
"type": "string",
"type": "wiki-page-name"
"description": "Name of the item it builds to."
},
"iscomponentof2_name": {
"type": "string",
"description": "Name of the 2nd item it builds to."
},
"iscomponentof3_name": {
"type": "string",
"description": "Name of the 3rd item it builds to."
},
},
"item_description": {
"item_description": {
"type": "string",
"type": "string"
"suggested": true,
"description": "Item description."
},
},
"item_stat3": {
"item_stat3": {
Line 142: Line 229:
"passive1_cooldown": {
"passive1_cooldown": {
"type": "number"
"type": "number"
},
"passive1_chargeup": {
"type": "number",
"description": "If the passive has a charge-up stat."
},
},
"active1_stat1": {
"active1_stat1": {
Line 196: Line 279:
},
},
"item_stat1": {
"item_stat1": {
"type": "string"
"type": "string",
"suggested": true
},
},
"item_stat2": {
"item_stat2": {
Line 214: Line 298:
"Spirit"
"Spirit"
],
],
"description": "Item type."
"required": true
},
},
"item_tier": {
"item_tier": {
"type": "number",
"type": "number",
"default": "1",
"default": "1",
"autovalue": "1",
"suggested": true,
"suggestedvalues": [
"suggestedvalues": [
"1",
"1",
Line 224: Line 310:
"3",
"3",
"4"
"4"
],
]
"description": "Item tier."
},
},
"item_icon": {
"has_passive2": {
"description": "Custom file.",
"type": "string",
"type": "wiki-file-name"
"default": "false",
},
"autovalue": "false",
"nocat": {
"required": true,
"description": "Sets whether this should categorize [[:Category:Items]] onto the transcluded page.",
"type": "boolean",
"suggestedvalues": [
"suggestedvalues": [
"true"
"true",
"false"
]
]
},
},
"passive1_stat6": {
"item_icon": {},
"type": "string"
"no_category": {
},
"description": "Sets whether this should categorize [[:Category:Items]] onto the transcluded page.",
"sound1": {
"type": "boolean"
"type": "wiki-file-name",
"description": "Sound file name."
},
"sound2": {
"type": "wiki-file-name",
"description": "Sound file name."
},
},
"sound3": {
"passive1_stat6": {},
"type": "wiki-file-name",
"sound1": {},
"description": "Sound file name."
"sound2": {},
},
"item_stat6": {},
"item_stat6": {
"item_stat7": {},
"type": "string"
"active1_stat6": {},
},
"active2_description": {},
"item_stat7": {
"active2_stat1": {},
"type": "string"
"active2_stat2": {},
},
"active2_stat3": {},
"active1_stat6": {
"active2_stat4": {},
"type": "string"
"active2_stat5": {}
},
"active2_description": {
"type": "string"
},
"active2_stat1": {
"type": "string"
},
"active2_stat2": {
"type": "string"
},
"active2_stat3": {
"type": "string"
},
"active2_stat4": {
"type": "string"
},
"active2_stat5": {
"type": "string"
},
"active1_stat7": {
"type": "string"
},
"active1_stat8": {
"type": "string"
}
},
},
"paramOrder": [
"paramOrder": [
"item_icon",
"item_name",
"item_name",
"item_name_loc",
"item_icon",
"street_brawl",
"item_type",
"item_type",
"item_tier",
"item_tier",
"souls",
"souls",
"has_passive1",
"has_passive2",
"has_active1",
"has_components",
"has_iscomponentof",
"component1_name",
"component1_name",
"component2_name",
"item_description",
"item_description",
"item_stat1",
"item_stat1",
Line 306: Line 361:
"item_stat7",
"item_stat7",
"passive1_cooldown",
"passive1_cooldown",
"passive1_chargeup",
"passive1_description",
"passive1_description",
"passive1_stat1",
"passive1_stat1",
Line 329: Line 383:
"active1_stat5",
"active1_stat5",
"active1_stat6",
"active1_stat6",
"active1_stat7",
"active1_stat8",
"active2_description",
"active2_description",
"active2_stat1",
"active2_stat1",
Line 338: Line 390:
"active2_stat5",
"active2_stat5",
"iscomponentof1_name",
"iscomponentof1_name",
"iscomponentof2_name",
"iscomponentof3_name",
"sound1",
"sound1",
"sound2",
"sound2",
"sound3",
"no_category"
"nocat"
],
],
"description": "Infobox for Deadlock items. Meant to be used with Infobox item/auto",
"description": " ",
"format": "block"
"format": "block"
}
}
</templatedata><includeonly>[[Category:Infobox templates]]</includeonly>
</templatedata><includeonly>[[Category:Infobox templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template