From Brotato Wiki
m (fix cooldown for moms knife demo) |
(add link to Template:StatsCardWeaponTabs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
-->{{ | -->{{StatsCard | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| type = {{{class|}}} | | type = weapon | ||
| cat = {{{class|}}} | |||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| rarity = {{{rarity|1}}} | | rarity = {{{rarity|1}}} | ||
Line 12: | Line 13: | ||
| stat6 = {{#if:{{{lifesteal|}}}| {{Color|cream|Lifesteal:}} {{{lifesteal}}} }} | | stat6 = {{#if:{{{lifesteal|}}}| {{Color|cream|Lifesteal:}} {{{lifesteal}}} }} | ||
| stat7 = {{#if:{{{bounce|}}}| {{Color|cream|Bounce:}} {{{bounce}}} }} | | stat7 = {{#if:{{{bounce|}}}| {{Color|cream|Bounce:}} {{{bounce}}} }} | ||
| stat8 = {{#if:{{{ | | stat8 = {{#if:{{{piercing|}}}| {{Color|cream|Piercing:}} {{{piercing}}} }} | ||
| stat9 = {{#if:{{{ | | stat9 = {{#if:{{{special1|}}}| {{{special1}}} }} | ||
| | | 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> | ||
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]]. | ||
See also: [[Template:StatsCardWeaponTabs]], which creates weapon stat cards with tabs for each tier. | |||
== Examples == | == Examples == | ||
Line 28: | Line 41: | ||
! Preview | ! Preview | ||
! Code | ! Code | ||
! Empty | |||
|- | |- | ||
| {{ | | {{StatsCardWeapon | ||
| name = Mom's Knife | | name = Mom's Knife | ||
| class = Precise, Demonic | | class = Precise, Demonic | ||
Line 41: | Line 55: | ||
| lifesteal = | | lifesteal = | ||
| bounce = | | bounce = | ||
| | | piercing = | ||
| | | special1 = | ||
| special2 = | |||
}} | }} | ||
| <pre> | | <pre> | ||
{{ | {{StatsCardWeapon | ||
| name = Mom's Knife | | name = Mom's Knife | ||
| class = Precise, Demonic | | class = Precise, Demonic | ||
Line 58: | Line 73: | ||
| bounce = | | bounce = | ||
| pierce = | | pierce = | ||
| | | special1 = | ||
| special2 = | |||
}} | |||
</pre> | |||
| <pre> | |||
{{StatsCardWeapon | |||
| name = | |||
| class = | |||
| image = | |||
| rarity = | |||
| damage = | |||
| critical = | |||
| cooldown = | |||
| knockback = | |||
| range = | |||
| lifesteal = | |||
| bounce = | |||
| pierce = | |||
| special1 = | |||
| special2 = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 91: | Line 125: | ||
"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 232: | ||
"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> |
Latest revision as of 19:51, 27 October 2024
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.
See also: Template:StatsCardWeaponTabs, which creates weapon stat cards with tabs for each tier.
Examples
Preview | Code | Empty |
---|---|---|
{{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 = }} |
{{StatsCardWeapon | name = | class = | image = | rarity = | damage = | critical = | cooldown = | knockback = | range = | lifesteal = | bounce = | pierce = | special1 = | special2 = }} |
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 |