From Brotato Wiki

(link to ItemboxWeapon)
(add a ton more misc stats)
Line 22: Line 22:
{{#if:{{{stat9|}}}|<li>{{{stat9}}}</li>}}
{{#if:{{{stat9|}}}|<li>{{{stat9}}}</li>}}
{{#if:{{{stat10|}}}|<li>{{{stat10}}}</li>}}
{{#if:{{{stat10|}}}|<li>{{{stat10}}}</li>}}
{{#if:{{{stat11|}}}|<li>{{{stat11}}}</li>}}
{{#if:{{{stat12|}}}|<li>{{{stat12}}}</li>}}
{{#if:{{{stat13|}}}|<li>{{{stat13}}}</li>}}
{{#if:{{{stat14|}}}|<li>{{{stat14}}}</li>}}
{{#if:{{{stat15|}}}|<li>{{{stat15}}}</li>}}
{{#if:{{{stat16|}}}|<li>{{{stat16}}}</li>}}
{{#if:{{{stat17|}}}|<li>{{{stat17}}}</li>}}
{{#if:{{{stat18|}}}|<li>{{{stat18}}}</li>}}
{{#if:{{{stat19|}}}|<li>{{{stat19}}}</li>}}
{{#if:{{{stat20|}}}|<li>{{{stat20}}}</li>}}
</ul>
</ul>
</div>
</div>
Line 256: Line 266:
"stat10": {
"stat10": {
"label": "Stat 10",
"label": "Stat 10",
"type": "string",
"required": true,
"suggested": true
},
"stat11": {
"label": "Stat 11",
"type": "string",
"required": true,
"suggested": true
},
"stat12": {
"label": "Stat 12",
"type": "string",
"required": true,
"suggested": true
},
"stat13": {
"label": "Stat 13",
"type": "string",
"required": true,
"suggested": true
},
"stat14": {
"label": "Stat 14",
"type": "string",
"required": true,
"suggested": true
},
"stat15": {
"label": "Stat 15",
"type": "string",
"required": true,
"suggested": true
},
"stat16": {
"label": "Stat 16",
"type": "string",
"required": true,
"suggested": true
},
"stat17": {
"label": "Stat 17",
"type": "string",
"required": true,
"suggested": true
},
"stat18": {
"label": "Stat 18",
"type": "string",
"required": true,
"suggested": true
},
"stat19": {
"label": "Stat 19",
"type": "string",
"required": true,
"suggested": true
},
"stat20": {
"label": "Stat 20",
"type": "string",
"type": "string",
"required": true,
"required": true,
Line 275: Line 345:
"stat8",
"stat8",
"stat9",
"stat9",
"stat10"
"stat10",
"stat11",
"stat12",
"stat13",
"stat14",
"stat15",
"stat16",
"stat17",
"stat18",
"stat19",
"stat20"
],
],
"format": "block"
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 22:11, 30 November 2022

Create an item card, like in the game. Intended for use on mod pages. Can be used with items, weapons or characters.

For weapons, you can also use Template:ItemboxWeapon, which is the same but has all the weapon stats already prepared.

Examples

Caption text
Preview Code Notes

Mod-Isaac-isaac icon.png

Isaac
Character
  • +20% Attack Speed
  • -30% Damage
  • Start with 1 D6
  • Start with 6 Bomb
{{Itembox
| name   = Isaac
| type   = Character
| image  = Mod-Isaac-isaac_icon.png
| rarity = 0
| stat1  = {{Color|green|+20%}} Attack Speed
| stat2  = {{Color|red|-30%}} Damage
| stat3  = Start with {{Color|cream|1 D6}}
| stat4  = Start with {{Color|cream|6 Bomb}}
}}
Character

Mod-Isaac-isaacs tears icon.png

Isaac's Tears
Tears
  • Damage: 7 (Ranged Damage.png)
  • Critical: x2 (3% chance)
  • Cooldown: 0.7s
  • Knockback: 10
  • Range: 700 (Ranged)
{{Itembox
| name   = Isaac's Tears
| type   = Tears
| image  = Mod-Isaac-isaacs_tears_icon.png
| rarity = 1
| stat1  = {{Color|cream|Damage:}} 7 ({{StatIcon|Ranged Damage}})
| stat2  = {{Color|cream|Critical:}} x2 (3% chance)
| stat3  = {{Color|cream|Cooldown:}} 0.7s
| stat4  = {{Color|cream|Knockback:}} 10
| stat5  = {{Color|cream|Range:}} 700 (Ranged)
}}
Weapon

Mod-Isaac-bomb icon.png

Bomb
Limited (10)
  • A landmine spawns every -1 seconds dealing 50 (200% Engineering Stat.png) damage in an area
{{Itembox
| name   = Bomb
| type   = Limited (10)
| image  = Mod-Isaac-bomb_icon.png
| rarity = 1
| stat1  = A landmine spawns every {{Color|green|-1}} seconds dealing {{Color|green|50}} (200% {{StatIcon|Engineering}}) damage in an area
}}
Item

Mod-Isaac-lucky foot icon.png

Lucky Foot
Limited (5)
  • +1% chance to get +1 Luck when picking up a material
  • -5% Speed
{{Itembox
| name   = Lucky Foot
| type   = Limited (5)
| image  = Mod-Isaac-lucky_foot_icon.png
| rarity = 2
| stat1  = {{Color|green|+1%}} chance to get {{Color|green|+1}} Luck when picking up a material
| stat2  = {{Color|red|-5%}} Speed
}}
Item

Mod-Isaac-dice6 icon.png

D6
Unique
  • +2 free reroll in the shop
  • -5 Luck
  • +5% Items Price
{{Itembox
| name   = D6
| type   = Unique
| image  = Mod-Isaac-dice6_icon.png
| rarity = 3
| stat1  = {{Color|green|+2}} free reroll in the shop
| stat2  = {{Color|red|-5}} Luck
| stat3  = {{Color|red|+5%}} Items Price
}}
Item

Mod-Isaac-nuh uh icon.png

Nuh Uh!
Unique
  • +50% Materials
  • -250% XP Gain
{{Itembox
| name   = Nuh Uh!
| type   = Unique
| image  = Mod-Isaac-nuh_uh_icon.png
| rarity = 4
| stat1  = {{Color|green|+50%}} Materials
| stat2  = {{Color|red|-250%}} XP Gain
}}
Item

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Typetype

no description

Example
"Character", "Unique (8)", "Primitive"
Stringsuggested
Imageimage

no description

Example
My_Image.png
Stringrequired
Rarityrarity

no description

Example
0/1/2/3/4
Auto value
1
Numberrequired
Stat 1stat1

no description

Stringrequired
Stat 2stat2

no description

Stringrequired
Stat 3stat3

no description

Stringrequired
Stat 4stat4

no description

Stringrequired
Stat 5stat5

no description

Stringrequired
Stat 6stat6

no description

Stringrequired
Stat 7stat7

no description

Stringrequired
Stat 8stat8

no description

Stringrequired
Stat 9stat9

no description

Stringrequired
Stat 10stat10

no description

Stringrequired
Stat 11stat11

no description

Stringrequired
Stat 12stat12

no description

Stringrequired
Stat 13stat13

no description

Stringrequired
Stat 14stat14

no description

Stringrequired
Stat 15stat15

no description

Stringrequired
Stat 16stat16

no description

Stringrequired
Stat 17stat17

no description

Stringrequired
Stat 18stat18

no description

Stringrequired
Stat 19stat19

no description

Stringrequired
Stat 20stat20

no description

Stringrequired