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]]. | ||
== Examples == | == Examples == | ||
{| class= | {| class=wikitable | ||
! Code !! Output | ! Code !! Output | ||
|- | |- | ||
| Line 12: | Line 9: | ||
<pre> | <pre> | ||
{{Infobox item | {{Infobox item | ||
| item_name | |item_imagefilepath=Heroic Aura | ||
| item_stat1 | |item_name=Heroic Aura | ||
| item_stat2 | |item_type=Weapon | ||
| item_stat3 | |item_tier=3 | ||
| passive1_description = Provides Fire Rate to nearby player | |has_components=true | ||
| | |component1_name=Basic Magazine | ||
| | |has_passive1=true | ||
|has_active1=true | |||
| active1_description | |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> | </pre> | ||
| | | | ||
{{Infobox item | {{Infobox item | ||
| item_name | |item_imagefilepath=Heroic Aura | ||
| item_stat1 | |item_name=Heroic Aura | ||
| item_stat2 | |item_type=Weapon | ||
| item_stat3 | |item_tier=3 | ||
| passive1_description = Provides Fire Rate to nearby player | |has_components=true | ||
| | |component1_name=Basic Magazine | ||
| | |has_passive1=true | ||
|has_active1=true | |||
| active1_description | |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 | |||
}} | }} | ||
|- | |- | ||
| Line 48: | Line 72: | ||
<pre> | <pre> | ||
{{Infobox item | {{Infobox item | ||
| item_name | |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 | |item_imagefilepath=Heroic Aura | ||
| item_stat1 | |item_name=Soul Shredder Bullets | ||
| | |item_type=Spirit | ||
| active1_description = | |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> | |||
{{Infobox item | |||
|item_imagefilepath=Restorative Locket | |||
|item_name=Restorative Locket | |||
|item_type=Vitality | |||
|item_tier=2 | |||
|has_components=false | |||
|has_passive1=true | |||
|has_passive2=false|has_active1=true | |||
|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> | |||
| | |||
{{Infobox item | |||
|item_imagefilepath=Restorative Locket | |||
|item_name=Restorative Locket | |||
|item_type=Vitality | |||
|item_tier=2 | |||
|has_components=false | |||
|has_passive1=true | |||
|has_passive2=false|has_active1=true | |||
|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 | |||
}} | }} | ||
|} | |} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"souls": { | "souls": { | ||
"type": "number", | "type": "number", | ||
" | "required": true, | ||
" | "default": "3,000" | ||
}, | }, | ||
"item_name": { | "item_name": { | ||
" | "type": "wiki-page-name", | ||
"required": true | |||
}, | |||
"has_passive1": { | |||
"type": "string", | |||
"default": "false", | |||
"autovalue": "false", | |||
"required": true, | "required": true, | ||
" | "suggestedvalues": [ | ||
"true", | |||
"false" | |||
] | |||
}, | }, | ||
" | "has_active1": { | ||
" | "type": "string", | ||
" | "default": "false", | ||
"autovalue": "false", | |||
"required": true, | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
] | |||
}, | }, | ||
" | "has_iscomponentof": { | ||
"type": " | "type": "string", | ||
"default": "false", | "default": "false", | ||
"autovalue": "false", | |||
"required": true, | |||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"true", | "true", | ||
"false" | "false" | ||
] | ] | ||
}, | }, | ||
"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" | ||
}, | }, | ||
"iscomponentof1_name": { | "iscomponentof1_name": { | ||
"type": " | "type": "wiki-page-name" | ||
}, | }, | ||
"item_description": { | "item_description": { | ||
"type": "string | "type": "string" | ||
}, | }, | ||
"item_stat3": { | "item_stat3": { | ||
| Line 142: | Line 229: | ||
"passive1_cooldown": { | "passive1_cooldown": { | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"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" | ||
], | ], | ||
" | "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" | ||
] | ] | ||
}, | }, | ||
" | "has_passive2": { | ||
" | "type": "string", | ||
" | "default": "false", | ||
"autovalue": "false", | |||
"required": true, | |||
" | |||
" | |||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"true" | "true", | ||
"false" | |||
] | ] | ||
}, | }, | ||
" | "item_icon": {}, | ||
"no_category": { | |||
"description": "Sets whether this should categorize [[:Category:Items]] onto the transcluded page.", | |||
"type": "boolean" | |||
" | |||
"description": " | |||
"type": " | |||
}, | }, | ||
" | "passive1_stat6": {}, | ||
"sound1": {}, | |||
"sound2": {} | |||
" | |||
" | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"item_icon", | |||
"item_name", | "item_name", | ||
"item_type", | "item_type", | ||
"item_tier", | "item_tier", | ||
"souls", | "souls", | ||
"has_components", | |||
"component1_name", | "component1_name", | ||
" | "has_passive1", | ||
"has_passive2", | |||
"has_active1", | |||
"has_iscomponentof", | |||
"item_description", | "item_description", | ||
"item_stat1", | "item_stat1", | ||
| Line 303: | Line 349: | ||
"item_stat4", | "item_stat4", | ||
"item_stat5", | "item_stat5", | ||
" | "passive1_description", | ||
"passive1_cooldown", | "passive1_cooldown", | ||
"passive1_stat1", | "passive1_stat1", | ||
"passive1_stat2", | "passive1_stat2", | ||
| Line 314: | Line 357: | ||
"passive1_stat5", | "passive1_stat5", | ||
"passive1_stat6", | "passive1_stat6", | ||
"passive2_description", | |||
"passive2_cooldown", | "passive2_cooldown", | ||
"passive2_stat1", | "passive2_stat1", | ||
"passive2_stat2", | "passive2_stat2", | ||
| Line 321: | Line 364: | ||
"passive2_stat4", | "passive2_stat4", | ||
"passive2_stat5", | "passive2_stat5", | ||
"active1_description", | |||
"active1_cooldown", | "active1_cooldown", | ||
"active1_stat1", | "active1_stat1", | ||
"active1_stat2", | "active1_stat2", | ||
| Line 328: | Line 371: | ||
"active1_stat4", | "active1_stat4", | ||
"active1_stat5", | "active1_stat5", | ||
"iscomponentof1_name", | "iscomponentof1_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> | ||