Template:Angcol

From Angband Wiki
Jump to navigation Jump to search

{{{2}}}

Formatting for the angcol template:

{{angcol|color|text|game=Angband}}

Color can take any of several values used in Angband-like code; b (used in edit files), Blue (plaintext) and TERM_BLUE (used within the code) will all work in this field, and produce this color.

Text is the text to be so coloured; often this will be a single letter (a monster symbol), but it can be any text as long as it does not interfere with formatting.

Game is an optional parameter that can usually be omitted. If this parameter is set to "Angband", special Vanilla colours are triggered (currently, this only happens for violet, which has a different value in Vanilla).

For example, {{angcol|Red|Gwarl is the man!}} outputs Gwarl is the man!; note that the game parameter was omitted.

Acceptable colors:
Dark
White
Slate
Orange
Red
Green
Blue
Umber
Light Dark
Light Slate
Light Purple
Violet
Violet (special Vanilla color)
Yellow
Light Yellow (identical with yellow)
Light Red
Light Green
Light Blue
Light Umber
Purple
Teal
Mud
Magenta-Pink
Light Teal
Light Violet
Light Pink
Mustard
Blue Slate
Deep Light Blue