From Brotato Wiki

m (fix cooldown for moms knife demo)
(add loads of extra "special" options, for misc text)
Line 13: Line 13:
| stat7  = {{#if:{{{bounce|}}}| {{Color|cream|Bounce:}} {{{bounce}}} }}
| stat7  = {{#if:{{{bounce|}}}| {{Color|cream|Bounce:}} {{{bounce}}} }}
| stat8  = {{#if:{{{pierce|}}}| {{Color|cream|Pierce:}} {{{pierce}}} }}
| stat8  = {{#if:{{{pierce|}}}| {{Color|cream|Pierce:}} {{{pierce}}} }}
| stat9  = {{#if:{{{special|}}}| {{Color|cream|Special:}} {{{special}}} }}
| stat9  = {{#if:{{{special1|}}}| {{{special1}}} }}
| stat10 = {{{misc|}}}
| stat10 = {{#if:{{{special2|}}}| {{{special2}}} }}
| stat11 = {{#if:{{{special3|}}}| {{{special3}}} }}
| stat12 = {{#if:{{{special4|}}}| {{{special4}}} }}
| stat13 = {{#if:{{{special5|}}}| {{{special5}}} }}
| stat14 = {{#if:{{{special6|}}}| {{{special6}}} }}
| stat15 = {{#if:{{{special7|}}}| {{{special7}}} }}
| stat16 = {{#if:{{{special8|}}}| {{{special8}}} }}
| stat17 = {{#if:{{{special9|}}}| {{{special9}}} }}
| stat18 = {{#if:{{{special10|}}}| {{{special10}}} }}
| stat19 = {{#if:{{{special11|}}}| {{{special11}}} }}
| stat20 = {{#if:{{{special12|}}}| {{{special12}}} }}
}}<!--
}}<!--
--></includeonly></onlyinclude><noinclude>
--></includeonly></onlyinclude><noinclude>
Line 91: Line 101:
"autovalue": "1",
"autovalue": "1",
"required": true,
"required": true,
"suggested": true
},
"damage": {
"label": "Damage",
"type": "string",
"suggested": true
},
"critical": {
"label": "Critical",
"type": "string",
"suggested": true
},
"cooldown": {
"label": "Cooldown",
"type": "string",
"suggested": true
},
"knockback": {
"label": "Knockback",
"type": "string",
"suggested": true
},
"range": {
"label": "Range",
"type": "string",
"suggested": true
},
"lifesteal": {
"label": "Lifesteal",
"type": "string",
"suggested": true
},
"bounce": {
"label": "Bounce",
"type": "string",
"suggested": true
},
"pierce": {
"label": "Pierce",
"type": "string",
"suggested": true
},
"special1": {
"label": "Special 1",
"type": "string",
"suggested": true
},
"special2": {
"label": "Special 2",
"type": "string",
"suggested": true
},
"special3": {
"label": "Special 3",
"type": "string",
"suggested": true
},
"special4": {
"label": "Special 4",
"type": "string",
"suggested": true
},
"special5": {
"label": "Special 5",
"type": "string",
"suggested": true
},
"special6": {
"label": "Special 6",
"type": "string",
"suggested": true
},
"special7": {
"label": "Special 7",
"type": "string",
"suggested": true
},
"special8": {
"label": "Special 8",
"type": "string",
"suggested": true
},
"special9": {
"label": "Special 9",
"type": "string",
"suggested": true
},
"special10": {
"label": "Special 10",
"type": "string",
"suggested": true
},
"special11": {
"label": "Special 11",
"type": "string",
"suggested": true
},
"special12": {
"label": "Special 12",
"type": "string",
"suggested": true
"suggested": true
}
}
Line 98: Line 208:
"class",
"class",
"image",
"image",
"rarity"
"rarity",
"damage",
"critical",
"cooldown",
"knockback",
"range",
"lifesteal",
"bounce",
"pierce",
"special1",
"special2",
"special3",
"special4",
"special5",
"special6",
"special7",
"special8",
"special9",
"special10",
"special11",
"special12"
],
],
"format": "block"
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 22:17, 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
Damagedamage

no description

Stringsuggested
Criticalcritical

no description

Stringsuggested
Cooldowncooldown

no description

Stringsuggested
Knockbackknockback

no description

Stringsuggested
Rangerange

no description

Stringsuggested
Lifesteallifesteal

no description

Stringsuggested
Bouncebounce

no description

Stringsuggested
Piercepierce

no description

Stringsuggested
Special 1special1

no description

Stringsuggested
Special 2special2

no description

Stringsuggested
Special 3special3

no description

Stringsuggested
Special 4special4

no description

Stringsuggested
Special 5special5

no description

Stringsuggested
Special 6special6

no description

Stringsuggested
Special 7special7

no description

Stringsuggested
Special 8special8

no description

Stringsuggested
Special 9special9

no description

Stringsuggested
Special 10special10

no description

Stringsuggested
Special 11special11

no description

Stringsuggested
Special 12special12

no description

Stringsuggested