Editing Template:Infobox item/docGive feedback
Jump to navigation
Jump to search
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: | ||
== Usage == | == Usage == | ||
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]]. | ||
| Line 13: | Line 10: | ||
{{Infobox item | {{Infobox item | ||
| item_name = Heroic Aura | | item_name = Heroic Aura | ||
| has_passive1 = true | |||
| has_passive2 = false | |||
| has_active1 = true | |||
| has_components = false | |||
| has_iscomponentof = false | |||
| item_stat1 = +18% Bullet Lifesteal | | item_stat1 = +18% Bullet Lifesteal | ||
| item_stat2 = +150 Bonus Health | | item_stat2 = +150 Bonus Health | ||
| item_stat3 = +1m/s Move Speed | | item_stat3 = +1m/s Move Speed | ||
| passive1_description = Provides Fire Rate to nearby player minions. | | passive1_description = Provides Fire Rate to nearby player minions. | ||
| | | passive1_stat1 = +40% Minions Fire Rate (Conditional) | ||
| | | passive1_stat2 = 20m Radius | ||
| active1_cooldown = 20s | | active1_cooldown = 20s | ||
| active1_description = Provides bonus Move Speed and Fire Rate to you and nearby allies. | | active1_description = Provides bonus Move Speed and Fire Rate to you and nearby allies. | ||
| | | active1_stat1 = +2m/s Move Speed (Conditional) | ||
| | | active1_stat2 = +25% Fire Rate (Conditional) | ||
| | | active1_stat3 = 30m Active Radius | ||
| | | active1_stat4 = 6s Duration | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 30: | Line 32: | ||
{{Infobox item | {{Infobox item | ||
| item_name = Heroic Aura | | item_name = Heroic Aura | ||
| has_passive1 = true | |||
| has_passive2 = false | |||
| has_active1 = true | |||
| has_components = false | |||
| has_iscomponentof = false | |||
| item_stat1 = +18% Bullet Lifesteal | | item_stat1 = +18% Bullet Lifesteal | ||
| item_stat2 = +150 Bonus Health | | item_stat2 = +150 Bonus Health | ||
| item_stat3 = +1m/s Move Speed | | item_stat3 = +1m/s Move Speed | ||
| passive1_description = Provides Fire Rate to nearby player minions. | | passive1_description = Provides Fire Rate to nearby player minions. | ||
| | | passive1_stat1 = +40% Minions Fire Rate (Conditional) | ||
| | | passive1_stat2 = 20m Radius | ||
| active1_cooldown = 20s | | active1_cooldown = 20s | ||
| active1_description = Provides bonus Move Speed and Fire Rate to you and nearby allies. | | active1_description = Provides bonus Move Speed and Fire Rate to you and nearby allies. | ||
| | | active1_stat1 = +2m/s Move Speed (Conditional) | ||
| | | active1_stat2 = +25% Fire Rate (Conditional) | ||
| | | active1_stat3 = 30m Active Radius | ||
| | | active1_stat4 = 6s Duration | ||
| | | no_category = true | ||
}} | }} | ||
|- | |- | ||
| Line 49: | Line 56: | ||
{{Infobox item | {{Infobox item | ||
| item_name = Cold Front | | item_name = Cold Front | ||
| has_passive1 = false | |||
| has_passive2 = false | |||
| has_active1 = true | |||
| has_components = false | |||
| has_iscomponentof = false | |||
| item_stat1 = +10% Spirit Resist | | item_stat1 = +10% Spirit Resist | ||
| active1_cooldown = 28s | | active1_cooldown = 28s | ||
| active1_description = Release an expanding ice blast that deals '''Spirit Damage''' and '''Slows''' targets it hits. Deals 2x Damage to non-Heroes. | | active1_description = Release an expanding ice blast that deals '''Spirit Damage''' and '''Slows''' targets it hits. Deals 2x Damage to non-Heroes. | ||
| | | active1_stat1 = 75 Damage | ||
| | | active1_stat2 = 40% Movement Slow (Conditional) | ||
| | | active1_stat3 = 14m End Radius | ||
| | | active1_stat4 = 3s Duration | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 61: | Line 73: | ||
{{Infobox item | {{Infobox item | ||
| item_name = Cold Front | | item_name = Cold Front | ||
| has_passive1 = false | |||
| has_passive2 = false | |||
| has_active1 = true | |||
| has_components = false | |||
| has_iscomponentof = false | |||
| item_stat1 = +10% Spirit Resist | | item_stat1 = +10% Spirit Resist | ||
| active1_cooldown = 28s | | active1_cooldown = 28s | ||
| active1_description = Release an expanding ice blast that deals '''Spirit Damage''' and '''Slows''' targets it hits. Deals 2x Damage to non-Heroes. | | active1_description = Release an expanding ice blast that deals '''Spirit Damage''' and '''Slows''' targets it hits. Deals 2x Damage to non-Heroes. | ||
| | | active1_stat1 = 75 Damage | ||
| | | active1_stat2 = 40% Movement Slow (Conditional) | ||
| | | active1_stat3 = 14m End Radius | ||
| | | active1_stat4 = 3s Duration | ||
| | | no_category = true | ||
}} | |||
|- | |||
| | |||
<pre> | |||
{{Infobox item | |||
| item_name = Restorative Locket | |||
| has_passive1 = true | |||
| has_passive2 = false | |||
| has_active1 = true | |||
| has_components = false | |||
| has_iscomponentof = false | |||
| item_stat1 = +10% Spirit Resist | |||
| item_stat2 = +25% Melee Resist | |||
| item_stat3 = +1m/s Sprint Speed | |||
| passive1_description = When an enemy uses an ability within 50m range from you, store one '''Restoration Stack'''. | |||
| active1_cooldown = 25s | |||
| active1_description = Consume all stacks to '''heal target ally''' and replenish a '''stamina point'''. Can be self-cast. | |||
| active1_stat1 = 32 Heal per Stack | |||
| active1_stat2 = 15 Max Stacks | |||
}} | |||
</pre> | |||
| | |||
{{Infobox item | |||
| item_name = Restorative Locket | |||
| has_passive1 = true | |||
| has_passive2 = false | |||
| has_active1 = true | |||
| has_components = false | |||
| has_iscomponentof = false | |||
| item_stat1 = +10% Spirit Resist | |||
| item_stat2 = +25% Melee Resist | |||
| item_stat3 = +1m/s Sprint Speed | |||
| passive1_description = When an enemy uses an ability within 50m range from you, store one '''Restoration Stack'''. | |||
| active1_cooldown = 25s | |||
| active1_description = Consume all stacks to '''heal target ally''' and replenish a '''stamina point'''. Can be self-cast. | |||
| active1_stat1 = 32 Heal per Stack | |||
| active1_stat2 = 15 Max Stacks | |||
| no_category = true | |||
}} | }} | ||
|} | |} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " ", | "description": "Infobox for heroes.", | ||
"params": { | "params": { | ||
"souls": { | "souls": { | ||
"type": "number", | "type": "number", | ||
"default": " | "default": "3,000", | ||
"description": "Souls cost." | "description": "Souls cost." | ||
}, | }, | ||
| Line 85: | Line 140: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"item_name_loc": { | |||
"description": "Localized item name", | "description": "Localized item name", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "has_passive1": { | ||
"type": "boolean", | |||
"default": "false", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item has a passive section." | |||
}, | |||
"has_active1": { | |||
"type": "boolean", | |||
"default": "false", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item has an active section." | |||
}, | |||
"has_iscomponentof": { | |||
"type": "boolean", | |||
"default": "false", | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item is a component of X." | |||
}, | |||
"has_iscomponentof2": { | |||
"type": "boolean", | |||
"default": "false", | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item is a component of 2 items." | |||
}, | |||
"has_iscomponentof3": { | |||
"type": "boolean", | "type": "boolean", | ||
"default": "false", | "default": "false", | ||
| Line 96: | Line 189: | ||
"false" | "false" | ||
], | ], | ||
"description": "If | "description": "If the item is a component of 3 items." | ||
}, | }, | ||
"passive1_description": { | "passive1_description": { | ||
| Line 103: | Line 196: | ||
"active1_description": { | "active1_description": { | ||
"type": "string" | "type": "string" | ||
}, | |||
"has_components": { | |||
"type": "boolean", | |||
"default": "false", | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item has a component." | |||
}, | }, | ||
"component1_name": { | "component1_name": { | ||
| Line 108: | Line 210: | ||
"default": "Basic Magazine", | "default": "Basic Magazine", | ||
"description": "Name of the component item it builds from." | "description": "Name of the component item it builds from." | ||
}, | |||
"has_components2": { | |||
"type": "boolean", | |||
"default": "false", | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item has two components (Two items it can build from, not a build tree)" | |||
}, | }, | ||
"component2_name": { | "component2_name": { | ||
| Line 118: | Line 229: | ||
"description": "Name of the item it builds to." | "description": "Name of the item it builds to." | ||
}, | }, | ||
"iscomponentof2_name": { | |||
"type": "string", | "type": "string", | ||
"description": "Name of the 2nd item it builds to." | "description": "Name of the 2nd item it builds to." | ||
}, | }, | ||
"iscomponentof3_name": { | |||
"type": "string", | "type": "string", | ||
"description": "Name of the 3rd item it builds to." | "description": "Name of the 3rd item it builds to." | ||
| Line 128: | Line 239: | ||
"item_description": { | "item_description": { | ||
"type": "string", | "type": "string", | ||
"suggested": true, | |||
"description": "Item description." | "description": "Item description." | ||
}, | }, | ||
| Line 143: | Line 254: | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"passive1_chargeup": { | |||
"type": "number", | "type": "number", | ||
"description": "If the passive has a charge-up stat." | |||
}, | }, | ||
"active1_stat1": { | "active1_stat1": { | ||
| Line 226: | Line 337: | ||
], | ], | ||
"description": "Item tier." | "description": "Item tier." | ||
}, | |||
"has_passive2": { | |||
"type": "boolean", | |||
"default": "false", | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"description": "If the item has a second passive section." | |||
}, | }, | ||
"item_icon": { | "item_icon": { | ||
| Line 231: | Line 351: | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
" | "no_category": { | ||
"description": "Sets whether this should categorize [[:Category:Items]] onto the transcluded page.", | "description": "Sets whether this should categorize [[:Category:Items]] onto the transcluded page.", | ||
"type": "boolean", | "type": "boolean", | ||
| Line 246: | Line 366: | ||
}, | }, | ||
"sound2": { | "sound2": { | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"description": "Sound file name." | "description": "Sound file name." | ||
| Line 278: | Line 394: | ||
}, | }, | ||
"active2_stat5": { | "active2_stat5": { | ||
"type": "string" | "type": "string" | ||
} | } | ||
| Line 289: | Line 399: | ||
"paramOrder": [ | "paramOrder": [ | ||
"item_name", | "item_name", | ||
"item_name_loc", | |||
"item_icon", | "item_icon", | ||
"item_type", | "item_type", | ||
"item_tier", | "item_tier", | ||
"souls", | "souls", | ||
"has_passive1", | |||
"has_passive2", | |||
"has_active1", | |||
"has_components", | |||
"has_components2", | |||
"has_iscomponentof", | |||
"has_iscomponentof2", | |||
"has_iscomponentof3", | |||
"component1_name", | "component1_name", | ||
"component2_name", | |||
"item_description", | "item_description", | ||
"item_stat1", | "item_stat1", | ||
| Line 306: | Line 423: | ||
"item_stat7", | "item_stat7", | ||
"passive1_cooldown", | "passive1_cooldown", | ||
"passive1_chargeup", | |||
"passive1_description", | "passive1_description", | ||
"passive1_stat1", | "passive1_stat1", | ||
| Line 329: | Line 446: | ||
"active1_stat5", | "active1_stat5", | ||
"active1_stat6", | "active1_stat6", | ||
"active2_description", | "active2_description", | ||
"active2_stat1", | "active2_stat1", | ||
| Line 338: | Line 453: | ||
"active2_stat5", | "active2_stat5", | ||
"iscomponentof1_name", | "iscomponentof1_name", | ||
"iscomponentof2_name", | |||
"iscomponentof3_name", | |||
"sound1", | "sound1", | ||
"sound2", | "sound2", | ||
" | "no_category" | ||
], | ], | ||
"description": " | "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> | ||