Template:Color/doc
This template displays a color-coded item name with an optional skill icon, based on the rarity and associated skill.
Usage
{{Color|skill name|rarity|item name}}
- **skill name**: Name of the skill associated with the item. Displays an icon in the format `File:Skillname icon.png`. - **rarity**: The rarity level of the item (e.g., "common", "uncommon", "rare", "epic"). This determines the text color and will display capitalized. - **item name**: The name of the item, styled with color and optionally with an associated skill icon.
Examples
{{Color|guard|common|Guard's Sword}}
Common Guard's Sword
{{Color|guard|epic|Guard's Bow}}
Epic Guard's Bow
Notes
- Defaults to black if the rarity level is unrecognized. - Skill icon filenames are based on the skill name provided.
Displays an item with color based on rarity and an optional skill icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Skill Name | 1 | Name of the skill associated with the item, used to generate the skill icon filename. | String | optional |
Rarity | 2 | Rarity level of the item; determines the color and displays capitalized.
| String | required |
Item Name | 3 | The name of the item to display. | String | required |