From Brotato Wiki
m (Darkly77 moved page Template:ItemboxWeapon to Template:StatsCardWeapon: Same as "Itembox" (now "StatsCard"): Giving this a more semantic name, and to better differentiate it from the existing IconBox templates) |
(apply rename) |
||
| Line 1: | Line 1: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
-->{{ | -->{{StatsCard | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| type = {{{class|}}} | | type = {{{class|}}} | ||
| Line 27: | Line 27: | ||
}}<!-- | }}<!-- | ||
--></includeonly></onlyinclude><noinclude> | --></includeonly></onlyinclude><noinclude> | ||
Create an item card for a weapon. Wrapper for [[Template: | Create an item card for a weapon. Wrapper for [[Template:StatsCard]], with the weapon stat names already filled (eg Damage, Attack Speed, etc). | ||
Intended for use on [[Modding#Mod_List|mod pages]]. | Intended for use on [[Modding#Mod_List|mod pages]]. | ||
| Line 39: | Line 39: | ||
! Code | ! Code | ||
|- | |- | ||
| {{ | | {{StatsCardWeapon | ||
| name = Mom's Knife | | name = Mom's Knife | ||
| class = Precise, Demonic | | class = Precise, Demonic | ||
| Line 57: | Line 57: | ||
}} | }} | ||
| <pre> | | <pre> | ||
{{ | {{StatsCardWeapon | ||
| name = Mom's Knife | | name = Mom's Knife | ||
| class = Precise, Demonic | | class = Precise, Demonic | ||
Revision as of 01:01, 6 December 2022
Create an item card for a weapon. Wrapper for Template:StatsCard, with the weapon stat names already filled (eg Damage, Attack Speed, etc).
Intended for use on mod pages.
Examples
| Preview | Code |
|---|---|
{{StatsCardWeapon
| 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 =
| special1 =
| special2 =
| special3 =
}}
|
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | required |
| Class | class | no description
| String | suggested |
| Image | image | no description
| String | required |
| Rarity | rarity | no description
| Number | required |
| Damage | damage | no description | String | suggested |
| Critical | critical | no description | String | suggested |
| Cooldown | cooldown | no description | String | suggested |
| Knockback | knockback | no description | String | suggested |
| Range | range | no description | String | suggested |
| Lifesteal | lifesteal | no description | String | suggested |
| Bounce | bounce | no description | String | suggested |
| Pierce | pierce | no description | String | suggested |
| Special 1 | special1 | no description | String | suggested |
| Special 2 | special2 | no description | String | suggested |
| Special 3 | special3 | no description | String | suggested |
| Special 4 | special4 | no description | String | suggested |
| Special 5 | special5 | no description | String | suggested |
| Special 6 | special6 | no description | String | suggested |
| Special 7 | special7 | no description | String | suggested |
| Special 8 | special8 | no description | String | suggested |
| Special 9 | special9 | no description | String | suggested |
| Special 10 | special10 | no description | String | suggested |
| Special 11 | special11 | no description | String | suggested |
| Special 12 | special12 | no description | String | suggested |