Template:WikiPuma topicon/doc

This template is not blank, it adds a little icon in the top-right corner. See?

The icon discretely identifies a user as a WikiPuma. It is intended as a complement (or alternative) to the WikiPuma user box →

Template syntax

 * Note: This template is a wrapper for Top icon metatemplate.

Basic
Place anywhere on your user page. That's it.

Custom tooltip
This template accepts one unnamed parameter which changes the tooltip seen when the mouse pointer hovers over the icon. The default is "This user is a WikiPuma" but if you wanted to be more creative, it's done like this:

Advanced
The template is shown below with all available parameters. Both code layouts function identically, choose whichever suits your needs. It is WP:NOCAT-compliant, meaning you can control whether or not it adds your name to the WikiPuma category (in case you place a high premium on being able to successfully stalk your prey).

Block format


TemplateData
{	"params": { "1": {			"aliases": [ "tooltip" ],			"label": "Tooltip", "description": "Set custom text to be displayed when the mouse pointer hovers over the icon. Can be a value for named parameters 'tooltip' or '1', or the sole unnamed parameter.", "type": "string" },		"alt": { "label": "Icon style", "description": "This template offers a color puma face icon as an alternative to the traditional black puma silhouette icon. Set this parameter to yes for the color icon.", "example": "yes", "type": "string" },		"sortkey": { "aliases": [ "icon_nr", "number" ],			"label": "Custom sorting", "description": "This number determines the order topicons appear in if you have more than one. Icons are shown left-to-right alphabetically by default, this value overrides the icon name for sorting. Numbers work best, use 0–9 if you have ten topicons or fewer, 00–99 for more than ten.", "example": "02", "type": "string" },		"width": { "label": "Icon width", "description": "Specify a custom width for the icon in pixels. Numeric values only, do not add 'px' at the end.", "example": "25", "type": "number", "default": "35" },		"height": { "label": "Icon height", "description": "Specify a custom height for the icon in pixels. Numeric values only, do not add 'px' at the end.", "example": "18", "type": "number", "default": "20" },		"nocat": { "aliases": [ "nocategory" ],			"label": "Exclude from category", "description": "This template automatically adds your user page to the Wikipedian WikiPumas category. Giving this parameter the value 'yes' will prevent that.", "example": "yes", "type": "string", "default": "no" }	},	"paramOrder": [ "alt", "1",		"sortkey", "nocat", "width", "height" ],	"format": "\n", "description": "This template identifies a user as a WikiPuma when placed on their user page by adding a puma icon to the top right corner of and adding their name to the Wikipedian WikiPumas category" }