From Brotato Wiki
(more docs for "special" option) |
(add link to Template:StatsCardWeaponTabs) |
||
| (11 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:{{{special1|}}}| {{{special1}}} }} | | stat9 = {{#if:{{{special1|}}}| {{{special1}}} }} | ||
| stat10 = {{#if:{{{special2|}}}| {{{special2}}} }} | | stat10 = {{#if:{{{special2|}}}| {{{special2}}} }} | ||
| Line 27: | Line 28: | ||
}}<!-- | }}<!-- | ||
--></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 38: | Line 41: | ||
! Preview | ! Preview | ||
! Code | ! Code | ||
! Empty | |||
|- | |- | ||
| {{ | | {{StatsCardWeapon | ||
| name = Mom's Knife | | name = Mom's Knife | ||
| class = Precise, Demonic | | class = Precise, Demonic | ||
| Line 51: | Line 55: | ||
| lifesteal = | | lifesteal = | ||
| bounce = | | bounce = | ||
| | | piercing = | ||
| special1 = | | special1 = | ||
| special2 = | | special2 = | ||
}} | }} | ||
| <pre> | | <pre> | ||
{{ | {{StatsCardWeapon | ||
| name = Mom's Knife | | name = Mom's Knife | ||
| class = Precise, Demonic | | class = Precise, Demonic | ||
| Line 72: | Line 75: | ||
| special1 = | | special1 = | ||
| special2 = | | special2 = | ||
| | }} | ||
</pre> | |||
| <pre> | |||
{{StatsCardWeapon | |||
| name = | |||
| class = | |||
| image = | |||
| rarity = | |||
| damage = | |||
| critical = | |||
| cooldown = | |||
| knockback = | |||
| range = | |||
| lifesteal = | |||
| bounce = | |||
| pierce = | |||
| special1 = | |||
| special2 = | |||
}} | }} | ||
</pre> | </pre> | ||
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 |