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.3s
| 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

Caption text
Preview Code

Mod-Isaac-moms knife icon.png

Mom's Knife
{{{cat}}}
  • Damage: 30 (60%Melee Damage.png)
  • Critical: x1.5 (30% chance)
  • Cooldown: 1.86s
  • Knockback: 2
  • Range: 350 (Melee)
{{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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Classclass

no description

Example
Primitive, Heavy
Stringsuggested
Imageimage

no description

Example
My_Image.png
Stringrequired
Rarityrarity

no description

Example
1/2/3/4
Auto value
1
Numberrequired