Template:VIC-status-to-color/doc
Usage[edit]
{{VIC-status-to-color|status}}
Expands the text string corresponding to the valued image candidate status into a six character wide web color, which is used to, e.g., color the border in the table for displaying the valued image candidate.
| status | rrggbb | X11 color name | sample |
|---|---|---|---|
| declined | 8B0000 | DarkRed | |
| discussed | FFFF00 | Yellow | |
| nominated | 0000FF | Blue | |
| opposed | FF0000 | Red | |
| promoted | 008000 | Green | |
| supported | 32CD32 | LimeGreen | |
| undecided | ADD8E6 | LightBlue | |
| withdrawn | C0C0C0 | Silver | |
| default | 000000 | Black |