From Brotato Wiki

Revision as of 21:14, 30 November 2022 by Darkly77 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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