Template:Infobox perk/doc

An infobox template for perks' pages.

Usage


{	"params": { "name": { "type": "string", "required": true, "suggested": true, "description": "In-game name of the perk.", "example": "Stronger Hearts" },		"image": { "type": "wiki-file-name", "suggested": true, "description": "In-game sprite for the perk, scaled up to 80x80px.", "example": "Perk Teleportitis.png", "required": true },		"size": { "type": "string", "description": "The size of the image for the infobox. Default is 80x80px.", "example": "80x80px" },		"description": { "type": "string", "suggested": true, "description": "In-game description for the perk.", "example": "No more fire for you." },		"type": { "type": "string", "suggested": true, "description": "Whether the perk is passive and has a constant or persistent effect, or is purely a one-off perk", "example": "One-Off", "required": true },		"categories": { "description": "A comma-separated list of categories for the perk to be placed in. For each category, perks will be added to a \" Perks\" category.", "example": "Defensive, On-Hit", "type": "string", "suggested": true },		"stat changes": { "type": "content", "suggested": true, "description": "Any changes to basic player stats, damage multipliers, etc.", "example": "+10% movement speed" },		"stackable": { "description": "Whether the perk is stackable or not", "example": "Yes", "type": "string", "suggested": true },		"max stack": { "description": "The maximum amount of times the perk can be picked before it stops spawning.", "example": "7", "type": "number", "suggested": true }	},	"format": "block", "description": "An infobox template for perk pages." }

Example
