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}}} }} | ||
}}<!-- | }}<!-- | ||
--></includeonly></onlyinclude><noinclude> | --></includeonly></onlyinclude><noinclude> | ||
| Line 154: | Line 144: | ||
"special2": { | "special2": { | ||
"label": "Special 2", | "label": "Special 2", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| Line 222: | Line 162: | ||
"pierce", | "pierce", | ||
"special1", | "special1", | ||
"special2 | "special2" | ||
], | ], | ||
"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
| 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 |