From Brotato Wiki
(Created page with "<onlyinclude><includeonly><!-- --><div class="ibox rarity{{{rarity|0}}} rarity{{{rarity|0}}}dark rounded"> <div class="ibox__top"> <div class="ibox__icon rounded"> [[File:{{{image|}}}|60x60px]] </div> <div class="ibox__top-right"> <div class="ibox__name colorrarity{{{rarity|0}}}">{{{name}}}</div> <div class="ibox__type">{{Color|cream|{{{type}}}}}</div> </div> </div> <div class="ibox__stats"> <ul> {{#if:{{{stat1|}}}|<li>{{{stat1}}}</li>}} {{#if...") |
(link to ItemboxWeapon) |
||
Line 27: | Line 27: | ||
--></includeonly></onlyinclude><noinclude> | --></includeonly></onlyinclude><noinclude> | ||
Create an item card, like in the game. Intended for use on [[Modding#Mod_List|mod pages]]. Can be used with items, weapons or characters. | Create an item card, like in the game. Intended for use on [[Modding#Mod_List|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 == | == Examples == |
Revision as of 21:16, 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
Preview | Code | Notes |
---|---|---|
{{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 | |
{{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 | |
{{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 | |
{{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 | |
{{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 | |
{{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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description | String | required |
Type | type | no description
| String | suggested |
Image | image | no description
| String | required |
Rarity | rarity | no description
| Number | required |
Stat 1 | stat1 | no description | String | required |
Stat 2 | stat2 | no description | String | required |
Stat 3 | stat3 | no description | String | required |
Stat 4 | stat4 | no description | String | required |
Stat 5 | stat5 | no description | String | required |
Stat 6 | stat6 | no description | String | required |
Stat 7 | stat7 | no description | String | required |
Stat 8 | stat8 | no description | String | required |
Stat 9 | stat9 | no description | String | required |
Stat 10 | stat10 | no description | String | required |