Template:GetColorImage
This template is designed to get images for icons that have multiple color variants. The template is kind of dumb so it only works with B-Tadpole, Stone, Wood, Wonder Fungus, and Wormhole Shards. If other families of color variants get added this Template will have to be updated.
This template can also be used to call the generic, not colored version of these families and any other image that doesn't have color variants.
Color - Color must match the image name that you are trying to match. Capitalization and spelling matter. Suggestions are: Green, Blue, Orange, Red, and NoColor. Default value is NoColor
Size - Default value is 50
If you specify a size, you must specify a color.
Examples
Description | Image |
---|---|
B-Tadpole Green Frameless 75x75 File Test Case | ![]() |
GetColorImage B-Tadpole Green Size 75 | ![]() |
GetColorImage Stone Blue Size 75 | ![]() |
GetColorImage Wood Purple Size 75 | File:Wood Purple.png |
GetColorImage Wonder Fungus Orange Size 75 | ![]() |
GetColorImage Wormhole Shard Green Size 75 | ![]() |
GetColorImage Wood No Color Size 75 | ![]() |
GetColorImage Frost Drake [Doesn't have a color version] |
![]() |
GetColorImage Multiple on the same line | ![]() ![]() ![]() |
GetColorImage Multiple on different lines | ![]() ![]() ![]() |
Examples with Defaults
Description | Image |
---|---|
GetColorImage B-Tadpole Green with Default Size | ![]() |
GetColorImage Wood with Default Color and Size | ![]() |
GetColorImage Frost Drake with Default Color and Size [Doesn't have a color version] |
![]() |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 ImageName | no description | Unknown | required |
2 | 2 Color | no description
| Unknown | suggested |
3 | 3 Size | no description
| Unknown | optional |