From Brotato Wiki
(Created page with "<onlyinclude><includeonly><!-- -->{{Itembox | name = {{{name|}}} | type = {{{class|}}} | image = {{{image|}}} | rarity = {{{rarity|1}}} | stat1 = {{#if:{{{damage|}}}| {{Color|cream|Damage:}} {{{damage}}} }} | stat2 = {{#if:{{{critical|}}}| {{Color|cream|Critical:}} {{{critical}}} }} | stat3 = {{#if:{{{cooldown|}}}| {{Color|cream|Cooldown:}} {{{cooldown}}} }} | stat4 = {{#if:{{{knockback|}}}| {{Color|cream|Knockback:}} {{{knockback}}} }} | stat5 = {{#if:{{{range...") |
m (fix cooldown for moms knife demo) |
||
| Line 36: | Line 36: | ||
| damage = 30 (60%{{StatIcon|Melee Damage}}) | | damage = 30 (60%{{StatIcon|Melee Damage}}) | ||
| critical = x1.5 (30% chance) | | critical = x1.5 (30% chance) | ||
| cooldown = 1. | | cooldown = 1.86s | ||
| knockback = 2 | | knockback = 2 | ||
| range = 350 (Melee) | | range = 350 (Melee) | ||
Revision as of 21:40, 30 November 2022
Create an item card for a weapon. Wrapper for Template:Itembox, with the weapon stat names already filled (eg Damage, Attack Speed, etc).
Intended for use on mod pages.
Examples
| Preview | Code |
|---|---|
{{ItemboxWeapon
| name = Mom's Knife
| class = Precise, Demonic
| image = Mod-Isaac-moms_knife_icon.png
| rarity = 2
| damage = 30 (60%{{StatIcon|Melee Damage}})
| critical = x1.5 (30% chance)
| cooldown = 1.3s
| knockback = 2
| range = 350 (Melee)
| lifesteal =
| bounce =
| pierce =
| special =
}}
|
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | required |
| Class | class | no description
| String | suggested |
| Image | image | no description
| String | required |
| Rarity | rarity | no description
| Number | required |