From Brotato Wiki

(Created page with "<onlyinclude><includeonly><!-- -->{{Itembox | name = {{{name|}}} | type = {{{class|}}} | image = {{{image|}}} | rarity = {{{rarity|1}}} | stat1 = {{#if:{{{damage|}}}| {{Color|cream|Damage:}} {{{damage}}} }} | stat2 = {{#if:{{{critical|}}}| {{Color|cream|Critical:}} {{{critical}}} }} | stat3 = {{#if:{{{cooldown|}}}| {{Color|cream|Cooldown:}} {{{cooldown}}} }} | stat4 = {{#if:{{{knockback|}}}| {{Color|cream|Knockback:}} {{{knockback}}} }} | stat5 = {{#if:{{{range...")
 
(add link to Template:StatsCardWeaponTabs)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
-->{{Itembox
-->{{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:{{{pierce|}}}| {{Color|cream|Pierce:}} {{{pierce}}} }}
| stat8  = {{#if:{{{piercing|}}}| {{Color|cream|Piercing:}} {{{piercing}}} }}
| stat9  = {{#if:{{{special|}}}| {{Color|cream|Special:}} {{{special}}} }}
| stat9  = {{#if:{{{special1|}}}| {{{special1}}} }}
| stat10 = {{{misc|}}}
| 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:Itembox]], with the weapon stat names already filled (eg Damage, Attack Speed, etc).
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
|-
|-
| {{ItemboxWeapon
| {{StatsCardWeapon
| name      = Mom's Knife
| name      = Mom's Knife
| class    = Precise, Demonic
| class    = Precise, Demonic
Line 36: Line 50:
| damage    = 30 (60%{{StatIcon|Melee Damage}})
| damage    = 30 (60%{{StatIcon|Melee Damage}})
| critical  = x1.5 (30% chance)
| critical  = x1.5 (30% chance)
| cooldown  = 1.3s
| cooldown  = 1.86s
| knockback = 2
| knockback = 2
| range    = 350 (Melee)
| range    = 350 (Melee)
| lifesteal =
| lifesteal =
| bounce    =
| bounce    =
| pierce    =
| piercing  =
| special  =
| special1  =
| special2  =
}}
}}
| <pre>
| <pre>
{{ItemboxWeapon
{{StatsCardWeapon
| name      = Mom's Knife
| name      = Mom's Knife
| class    = Precise, Demonic
| class    = Precise, Demonic
Line 58: Line 73:
| bounce    =
| bounce    =
| pierce    =
| pierce    =
| special  =
| 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

Caption text
Preview Code Empty

Mod-Isaac-moms knife icon.png

Mom's Knife
Precise, Demonic
  • Damage: 30 (60%Melee Damage.png)
  • Critical: x1.5 (30% chance)
  • Cooldown: 1.86s
  • Knockback: 2
  • Range: 350 (Melee)
{{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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Classclass

no description

Example
Primitive, Heavy
Stringsuggested
Imageimage

no description

Example
My_Image.png
Stringrequired
Rarityrarity

no description

Example
1/2/3/4
Auto value
1
Numberrequired
Damagedamage

no description

Stringsuggested
Criticalcritical

no description

Stringsuggested
Cooldowncooldown

no description

Stringsuggested
Knockbackknockback

no description

Stringsuggested
Rangerange

no description

Stringsuggested
Lifesteallifesteal

no description

Stringsuggested
Bouncebounce

no description

Stringsuggested
Piercepierce

no description

Stringsuggested
Special 1special1

no description

Stringsuggested
Special 2special2

no description

Stringsuggested
Special 3special3

no description

Stringsuggested
Special 4special4

no description

Stringsuggested
Special 5special5

no description

Stringsuggested
Special 6special6

no description

Stringsuggested
Special 7special7

no description

Stringsuggested
Special 8special8

no description

Stringsuggested
Special 9special9

no description

Stringsuggested
Special 10special10

no description

Stringsuggested
Special 11special11

no description

Stringsuggested
Special 12special12

no description

Stringsuggested