Template:Rare/doc

This template re-creates the Rarity field from Template:Item infobox, producing a colored Rarity label, but allows it to be placed independently. This template can also add pages to the rarity categories.

Usage
Enter the rarity number as a parameter. Use the same number as you would for the infobox (see rarity). When used in a sortable table's "rarity" column, add  to each rare template. This will automatically add a sort key that will correct the rarity column's sort order.

If you want to add pages to the rarity categories, add  to each rare template, or add   as unname parameter 2.

Produces:
 * Example 1:

Produces:
 * Example 2:
 * or


 * With category:
 * or

Color list
See Rarity for details


 * -1 = [[File:Rarity color negative.png]]
 * 0 = [[File:Rarity color 0.png]]
 * 1 = [[File:Rarity color 1.png]]
 * 2 = [[File:Rarity color 2.png]]
 * 3 = [[File:Rarity color 3.png]]
 * 4 = [[File:Rarity color 4.png]]
 * 5 = [[File:Rarity color 5.png]]
 * 6 = [[File:Rarity color 6.png]]
 * 7 = [[File:Rarity color 7.png]]
 * 8 = [[File:Rarity color 8.png]]
 * 9 = [[File:Rarity color 9.png]]
 * 10 = [[File:Rarity color 10.png]]
 * 11 = [[File:Rarity color 11.png]]
 * rainbow = [[File:Rarity color rainbow.gif]]
 * q/quest = [[File:Rarity color quest.png]]

{	"params": { "1": {			"description": "Numerical (textual for special) rarity level", "example": "4 / -1 / rainbow / quest", "type": "line", "required": true, "label": "Rarity level" },		"sort": { "description": "Add meta-information that ensures correct sorting in tables", "example": "y", "type": "line", "label": "Sorting" },		"cat": { "aliases": [ "cate", "category" ],			"description": "Categorize the page in the \"Items of rarity x\" category", "example": "y", "type": "line", "label": "Categorization" }	},	"description": "Prints a styled, linked rarity tag.", "format": "inline" } fr:Modèle:Rare de:Vorlage:Selten