Template:Potion/doc
Jump to navigation
Jump to search
This template is used to create inline colored potion images. It uses a direct image call on a potion bottle, and CSS mask images for a potion mask and optional glow mask. All of these image types can be found in Category:Potion icons.
Usage
Parameters
Used to create potion bottles with colored mixtures.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Mixture Color | color | The color of the mixture. Uses any valid CSS color format.
| String | required |
Bottle Type | type | The type of bottle to use
| String | suggested |
Glow Color | glowColor | The color of the glow around the bottle. Uses any valid CSS color format. If left blank, there will be no glow. | String | optional |
Bottle Size | size | Determines the size of the bottle image. Uses standard MediaWiki image size format.
| String | optional |
Link | link | A page for the potion to link to. There will be no link if left blank. | Page name | optional |
Examples
{{Potion|#325AFF}} {{Potion|red|robust|glowColor=blue}} {{Potion|#FF69B4|fancy}} {{Potion|#FF4B4B|elegant|48px}} {{Potion|color=#CD853F|type=quality|size=72px}}
produces