Template:Infobox item/doc: Difference between revisions

Examples: updated
No edit summary
 
(4 intermediate revisions by 3 users not shown)
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]].


Line 14: Line 17:
| 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_main1       = +40% Minions Fire Rate (Conditional)
| passive1_stat2      = 20m Radius
| passive1_alt1        = 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_main1       = +2m/s Move Speed (Conditional)
| active1_stat2       = +25% Fire Rate (Conditional)
| active1_main2       = +25% Fire Rate (Conditional)
| active1_stat3        = 30m Active Radius
| active1_alt1        = 30m Active Radius
| active1_stat4        = 6s Duration
| active1_alt2        = 6s Duration
}}
}}
</pre>
</pre>
Line 31: Line 34:
| 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_main1       = +40% Minions Fire Rate (Conditional)
| passive1_stat2      = 20m Radius
| passive1_alt1        = 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_main1       = +2m/s Move Speed (Conditional)
| active1_stat2       = +25% Fire Rate (Conditional)
| active1_main2       = +25% Fire Rate (Conditional)
| active1_stat3        = 30m Active Radius
| active1_alt1        = 30m Active Radius
| active1_stat4        = 6s Duration
| active1_alt2        = 6s Duration
| no_category          = true
| nocat                = true
}}
}}
|-
|-
Line 49: Line 52:
| 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_main1       = 75 Damage
| active1_stat2       = 40% Movement Slow (Conditional)
| active1_main2       = 40% Movement Slow (Conditional)
| active1_stat3      = 14m End Radius
| active1_alt1        = 14m End Radius
| active1_stat4      = 3s Duration
| active1_alt2        = 3s Duration
}}
}}
</pre>
</pre>
Line 61: Line 64:
| 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_main1       = 75 Damage
| active1_stat2       = 40% Movement Slow (Conditional)
| active1_main2       = 40% Movement Slow (Conditional)
| active1_stat3      = 14m End Radius
| active1_alt1        = 14m End Radius
| active1_stat4      = 3s Duration
| active1_alt2        = 3s Duration
| no_category        = true
| nocat              = true
}}
|-
|
<pre>
{{Infobox item
| item_name            = Restorative Locket
| 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
| 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
}}
}}
|}
|}
Line 256: Line 231:
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"no_category": {
"nocat": {
"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 368: Line 343:
"sound2",
"sound2",
"sound3",
"sound3",
"no_category"
"nocat"
],
],
"description": "Infobox for Deadlock items. Meant to be used with Infobox item/auto",
"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>