From Brotato Wiki

(apply rename)
(remove many "special" params, 2 is enough and line breaks can be used to show more)
Tag: Reverted
Line 15: Line 15:
| stat9  = {{#if:{{{special1|}}}| {{{special1}}} }}
| stat9  = {{#if:{{{special1|}}}| {{{special1}}} }}
| stat10 = {{#if:{{{special2|}}}| {{{special2}}} }}
| 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>
Line 154: Line 144:
"special2": {
"special2": {
"label": "Special 2",
"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",
"type": "string",
"suggested": true
"suggested": true
Line 222: Line 162:
"pierce",
"pierce",
"special1",
"special1",
"special2",
"special2"
"special3",
"special4",
"special5",
"special6",
"special7",
"special8",
"special9",
"special10",
"special11",
"special12"
],
],
"format": "block"
"format": "block"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 03:10, 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

Caption text
Preview Code

Mod-Isaac-moms knife icon.png

Mom's Knife
{{{cat}}}
  • 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  =
| special3  =
}}

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