From Brotato Wiki

(add a ton more misc stats)
(TemplateData: remove "rtype", add "cat", and other misc fixes)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
--><div class="ibox rarity{{{rarity|0}}} rarity{{{rarity|0}}}dark rounded">
--><div class="ibox <!--
Set color class. Danger is only used on the "Dangers" page
-->{{#if:{{{danger|}}}|danger{{{danger|0}}} danger{{{danger|0}}}dark|rarity{{{rarity|0}}} rarity{{{rarity|0}}}dark}}<!--
--> rounded {{{tags|}}}" data-ibox-type="{{lc:{{{type|item}}}}}">
<div class="ibox__top">
<div class="ibox__top">
<div class="ibox__icon rounded">
<div class="ibox__icon rounded">
Line 7: Line 10:
<div class="ibox__top-right">
<div class="ibox__top-right">
<div class="ibox__name colorrarity{{{rarity|0}}}">{{{name}}}</div>
<div class="ibox__name colorrarity{{{rarity|0}}}">{{{name}}}</div>
<div class="ibox__type">{{Color|cream|{{{type}}}}}</div>
<div class="ibox__type">{{Color|cream|{{{cat}}}}}</div>
</div>
</div>
</div>
</div>
Line 38: Line 41:
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.
For weapons, you can also use [[Template:StatsCardWeapon]], which is the same but has all the weapon stats already prepared.
 
== Editing Tips ==
 
Templates you can use to display stats and values are:
 
* [[Template:Color]] (eg. {{Color|green|+10%}})
* [[Template:StatIcon]] (eg. {{StatIcon|Ranged Damage}}).
 
In a table, you can match the heights of all StatsCard template items in a row by adding the class <code>itembox-table</code> to the table. See the items on the [[Mod:Isaac_Characters_Mod#Items|Isaac mod|| for an example (eg. how "8 Inch Nails" is taller to match others).
 
A special option called <code>danger</code> is available. It's only used on the [[Dangers]] page, and replaces the "rarity" option for D4 and D5.


== Examples ==
== Examples ==
Line 49: Line 63:
! Notes
! Notes
|-
|-
| {{Itembox
| ''Empty example''
| <pre style="display:inline-block; max-width: 400px;">{{StatsCard
| name  =
| type  =
| cat    =
| image  =
| rarity =
| stat1  =
| stat2  =
| stat3  =
| stat4  =
}}</pre>
| <pre style="display:inline-block; max-width: 600px;">{{StatsCard
| name  = Name
| type  = Type. Either: item|weapon|character|difficulty
| cat    = Category, below the name. Eg. Item, Unique, Limited (10), Primitive
| image  = Image filename + extension. Eg. Mod-MyModName-weapon_icon.png
| rarity = Rarity/tier. Either: 1, 2, 3, 4
| stat1  = Custom stat 1
| stat2  = Custom stat 2
| stat3  = Custom stat 3
| stat4  = Custom stat 4
}}</pre>
|-
| {{StatsCard
| name  = Isaac
| name  = Isaac
| type  = Character
| type  = character
| cat    = Character
| image  = Mod-Isaac-isaac_icon.png
| image  = Mod-Isaac-isaac_icon.png
| rarity = 0
| rarity = 0
Line 59: Line 98:
| stat4  = Start with {{Color|cream|6 Bomb}}
| stat4  = Start with {{Color|cream|6 Bomb}}
}}
}}
| <pre>
| <pre style="display:inline-block; max-width: 400px;">
{{Itembox
{{StatsCard
| name  = Isaac
| name  = Isaac
| type  = Character
| type  = character
| cat    = Character
| image  = Mod-Isaac-isaac_icon.png
| image  = Mod-Isaac-isaac_icon.png
| rarity = 0
| rarity = 0
Line 73: Line 113:
| Character
| Character
|-
|-
| {{Itembox
| {{StatsCard
| name  = Isaac's Tears
| name  = Isaac's Tears
| type  = Tears
| type  = weapon
| cat    = Tears
| image  = Mod-Isaac-isaacs_tears_icon.png
| image  = Mod-Isaac-isaacs_tears_icon.png
| rarity = 1
| rarity = 1
Line 84: Line 125:
| stat5  = {{Color|cream|Range:}} 700 (Ranged)
| stat5  = {{Color|cream|Range:}} 700 (Ranged)
}}
}}
| <pre>
| <pre style="display:inline-block; max-width: 400px;">
{{Itembox
{{StatsCard
| name  = Isaac's Tears
| name  = Isaac's Tears
| type  = Tears
| type  = weapon
| cat    = Tears
| image  = Mod-Isaac-isaacs_tears_icon.png
| image  = Mod-Isaac-isaacs_tears_icon.png
| rarity = 1
| rarity = 1
Line 97: Line 139:
}}
}}
</pre>
</pre>
''Note: It's easier to use [[Template:StatsCardWeapon|StatsCardWeapon]] for weapons''
| Weapon
| Weapon
|-
|-
| {{Itembox
| {{StatsCard
| name  = Bomb
| name  = Bomb
| type  = Limited (10)
| type  = item
| cat    = Limited (10)
| image  = Mod-Isaac-bomb_icon.png
| image  = Mod-Isaac-bomb_icon.png
| rarity = 1
| rarity = 1
| stat1  = A landmine spawns every {{Color|green|-1}} seconds dealing {{Color|green|50}} (200% {{StatIcon|Engineering}}) damage in an area
| stat1  = A landmine spawns, dealing {{Color|green|50}} (200% {{StatIcon|Engineering}}) damage in an area
}}
}}
| <pre>
| <pre style="display:inline-block; max-width: 400px;">
{{Itembox
{{StatsCard
| name  = Bomb
| name  = Bomb
| type  = Limited (10)
| type  = item
| cat    = Limited (10)
| image  = Mod-Isaac-bomb_icon.png
| image  = Mod-Isaac-bomb_icon.png
| rarity = 1
| rarity = 1
| stat1  = A landmine spawns every {{Color|green|-1}} seconds dealing {{Color|green|50}} (200% {{StatIcon|Engineering}}) damage in an area
| stat1  = A landmine spawns, dealing {{Color|green|50}} (200% {{StatIcon|Engineering}}) damage in an area
}}
}}
</pre>
</pre>
| Item
| Item
|-
|-
| {{Itembox
| {{StatsCard
| name  = Lucky Foot
| name  = Lucky Foot
| type  = Limited (5)
| type  = item
| cat    = Limited (5)
| image  = Mod-Isaac-lucky_foot_icon.png
| image  = Mod-Isaac-lucky_foot_icon.png
| rarity = 2
| rarity = 2
Line 125: Line 171:
| stat2  = {{Color|red|-5%}} Speed
| stat2  = {{Color|red|-5%}} Speed
}}
}}
| <pre>
| <pre style="display:inline-block; max-width: 400px;">
{{Itembox
{{StatsCard
| name  = Lucky Foot
| name  = Lucky Foot
| type  = Limited (5)
| type  = item
| cat    = Limited (5)
| image  = Mod-Isaac-lucky_foot_icon.png
| image  = Mod-Isaac-lucky_foot_icon.png
| rarity = 2
| rarity = 2
Line 137: Line 184:
| Item
| Item
|-
|-
| {{Itembox
| {{StatsCard
| name  = D6
| name  = D6
| type  = Unique
| type  = item
| cat    = Unique
| image  = Mod-Isaac-dice6_icon.png
| image  = Mod-Isaac-dice6_icon.png
| rarity = 3
| rarity = 3
Line 146: Line 194:
| stat3  = {{Color|red|+5%}} Items Price
| stat3  = {{Color|red|+5%}} Items Price
}}
}}
| <pre>
| <pre style="display:inline-block; max-width: 400px;">
{{Itembox
{{StatsCard
| name  = D6
| name  = D6
| type  = Unique
| type  = item
| cat    = Unique
| image  = Mod-Isaac-dice6_icon.png
| image  = Mod-Isaac-dice6_icon.png
| rarity = 3
| rarity = 3
Line 159: Line 208:
| Item
| Item
|-
|-
| {{Itembox
| {{StatsCard
| name  = Nuh Uh!
| name  = Nuh Uh!
| type  = Unique
| type  = item
| cat    = Unique
| image  = Mod-Isaac-nuh_uh_icon.png
| image  = Mod-Isaac-nuh_uh_icon.png
| rarity = 4
| rarity = 4
Line 167: Line 217:
| stat2  = {{Color|red|-250%}} XP Gain
| stat2  = {{Color|red|-250%}} XP Gain
}}
}}
| <pre>
| <pre style="display:inline-block; max-width: 400px;">
{{Itembox
{{StatsCard
| name  = Nuh Uh!
| name  = Nuh Uh!
| type  = Unique
| type  = item
| cat    = Unique
| image  = Mod-Isaac-nuh_uh_icon.png
| image  = Mod-Isaac-nuh_uh_icon.png
| rarity = 4
| rarity = 4
Line 178: Line 229:
</pre>
</pre>
| Item
| Item
|-
|{{StatsCard
| name  = Danger 5
| type  = difficulty
| cat    = Difficulty
| image  = 5.png
| danger = 5
| stat1  = New Enemies Appear
| stat2  = Elites and hordes appear
| stat3  = Enemies are stronger
| stat4  = More elites and hordes appear
| stat5  = Two bosses appear at once
}}
| <pre style="display:inline-block; max-width: 400px;">{{StatsCard
| name  = Danger 5
| type  = difficulty
| cat    = Difficulty
| image  = 5.png
| danger = 5
| stat1  = New Enemies Appear
| stat2  = Elites and hordes appear
| stat3  = Enemies are stronger
| stat4  = More elites and hordes appear
| stat5  = Two bosses appear at once
}}</pre>
| Danger
|}
|}


Line 190: Line 267:
},
},
"type": {
"type": {
"label": "Type",
"label": "Text Below Name",
"example": "\"Character\", \"Unique (8)\", \"Primitive\"",
"example": "\"Character\", \"Unique (8)\", \"Primitive\"",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"description": "The text that's shown in-game, below the title"
},
},
"image": {
"image": {
Line 213: Line 291:
"label": "Stat 1",
"label": "Stat 1",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 219: Line 297:
"label": "Stat 2",
"label": "Stat 2",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 225: Line 303:
"label": "Stat 3",
"label": "Stat 3",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 231: Line 309:
"label": "Stat 4",
"label": "Stat 4",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 237: Line 315:
"label": "Stat 5",
"label": "Stat 5",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 243: Line 321:
"label": "Stat 6",
"label": "Stat 6",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 249: Line 327:
"label": "Stat 7",
"label": "Stat 7",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 255: Line 333:
"label": "Stat 8",
"label": "Stat 8",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 261: Line 339:
"label": "Stat 9",
"label": "Stat 9",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 267: Line 345:
"label": "Stat 10",
"label": "Stat 10",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 273: Line 351:
"label": "Stat 11",
"label": "Stat 11",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 279: Line 357:
"label": "Stat 12",
"label": "Stat 12",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 285: Line 363:
"label": "Stat 13",
"label": "Stat 13",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 291: Line 369:
"label": "Stat 14",
"label": "Stat 14",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 297: Line 375:
"label": "Stat 15",
"label": "Stat 15",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 303: Line 381:
"label": "Stat 16",
"label": "Stat 16",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 309: Line 387:
"label": "Stat 17",
"label": "Stat 17",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 315: Line 393:
"label": "Stat 18",
"label": "Stat 18",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
Line 321: Line 399:
"label": "Stat 19",
"label": "Stat 19",
"type": "string",
"type": "string",
"required": true,
"required": false,
"suggested": true
"suggested": true
},
},
"stat20": {
"stat20": {
"label": "Stat 20",
"label": "Stat 20",
"type": "string",
"required": false,
"suggested": true
},
"danger": {
"label": "Danger Level",
"description": "Only used by the items the Danger page",
"type": "number",
"suggested": true
},
"tags": {
"label": "Item Tags",
"description": "List of item tags, separated with a space. Should match the in-game tag ID (eg \"stat_max_hp\")",
"example": "stat_max_hp explosive",
"type": "string",
"suggested": true
},
"cat": {
"label": "Category",
"description": "Either: item, weapon, character, difficulty",
"type": "string",
"type": "string",
"required": true,
"required": true,
Line 333: Line 431:
"paramOrder": [
"paramOrder": [
"name",
"name",
"cat",
"type",
"type",
"image",
"image",
"rarity",
"rarity",
"tags",
"stat1",
"stat1",
"stat2",
"stat2",
Line 355: Line 455:
"stat18",
"stat18",
"stat19",
"stat19",
"stat20"
"stat20",
"danger"
],
],
"format": "block"
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 22:50, 5 January 2023

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:StatsCardWeapon, which is the same but has all the weapon stats already prepared.

Editing Tips

Templates you can use to display stats and values are:

In a table, you can match the heights of all StatsCard template items in a row by adding the class itembox-table to the table. See the items on the [[Mod:Isaac_Characters_Mod#Items|Isaac mod|| for an example (eg. how "8 Inch Nails" is taller to match others).

A special option called danger is available. It's only used on the Dangers page, and replaces the "rarity" option for D4 and D5.

Examples

Caption text
Preview Code Notes
Empty example
{{StatsCard
| name   = 
| type   = 
| cat    = 
| image  = 
| rarity = 
| stat1  = 
| stat2  = 
| stat3  = 
| stat4  = 
}}
{{StatsCard
| name   = Name
| type   = Type. Either: item|weapon|character|difficulty
| cat    = Category, below the name. Eg. Item, Unique, Limited (10), Primitive
| image  = Image filename + extension. Eg. Mod-MyModName-weapon_icon.png
| rarity = Rarity/tier. Either: 1, 2, 3, 4
| stat1  = Custom stat 1
| stat2  = Custom stat 2
| stat3  = Custom stat 3
| stat4  = Custom stat 4
}}

Mod-Isaac-isaac icon.png

Isaac
Character
  • +20% Attack Speed
  • -30% Damage
  • Start with 1 D6
  • Start with 6 Bomb
{{StatsCard
| name   = Isaac
| type   = character
| cat    = 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)
{{StatsCard
| name   = Isaac's Tears
| type   = weapon
| cat    = 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)
}}

Note: It's easier to use StatsCardWeapon for weapons

Weapon

Mod-Isaac-bomb icon.png

Bomb
Limited (10)
  • A landmine spawns, dealing 50 (200% Engineering Stat.png) damage in an area
{{StatsCard
| name   = Bomb
| type   = item
| cat    = Limited (10)
| image  = Mod-Isaac-bomb_icon.png
| rarity = 1
| stat1  = A landmine spawns, 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
{{StatsCard
| name   = Lucky Foot
| type   = item
| cat    = 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
{{StatsCard
| name   = D6
| type   = item
| cat    = 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
{{StatsCard
| name   = Nuh Uh!
| type   = item
| cat    = Unique
| image  = Mod-Isaac-nuh_uh_icon.png
| rarity = 4
| stat1  = {{Color|green|+50%}} Materials
| stat2  = {{Color|red|-250%}} XP Gain
}}
Item

5.png

Danger 5
Difficulty
  • New Enemies Appear
  • Elites and hordes appear
  • Enemies are stronger
  • More elites and hordes appear
  • Two bosses appear at once
{{StatsCard
| name   = Danger 5
| type   = difficulty
| cat    = Difficulty
| image  = 5.png
| danger = 5
| stat1  = New Enemies Appear
| stat2  = Elites and hordes appear
| stat3  = Enemies are stronger
| stat4  = More elites and hordes appear
| stat5  = Two bosses appear at once
}}
Danger

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Categorycat

Either: item, weapon, character, difficulty

Stringrequired
Text Below Nametype

The text that's shown in-game, below the title

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
Item Tagstags

List of item tags, separated with a space. Should match the in-game tag ID (eg "stat_max_hp")

Example
stat_max_hp explosive
Stringsuggested
Stat 1stat1

no description

Stringsuggested
Stat 2stat2

no description

Stringsuggested
Stat 3stat3

no description

Stringsuggested
Stat 4stat4

no description

Stringsuggested
Stat 5stat5

no description

Stringsuggested
Stat 6stat6

no description

Stringsuggested
Stat 7stat7

no description

Stringsuggested
Stat 8stat8

no description

Stringsuggested
Stat 9stat9

no description

Stringsuggested
Stat 10stat10

no description

Stringsuggested
Stat 11stat11

no description

Stringsuggested
Stat 12stat12

no description

Stringsuggested
Stat 13stat13

no description

Stringsuggested
Stat 14stat14

no description

Stringsuggested
Stat 15stat15

no description

Stringsuggested
Stat 16stat16

no description

Stringsuggested
Stat 17stat17

no description

Stringsuggested
Stat 18stat18

no description

Stringsuggested
Stat 19stat19

no description

Stringsuggested
Stat 20stat20

no description

Stringsuggested
Danger Leveldanger

Only used by the items the Danger page

Numbersuggested