Fandom

Wikihack

Function templates

Category page

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

These templates are designed to help color NetHack symbols consistently. They use the standard CGA colour palette that NetHack uses, plus a black background for ease of viewing.

ExamplesEdit

To display the symbol for a yellow light, type {{yellow|y}}. Result: y.

Or you could use the Template:Monsym instead: {{monsym|floating_eye}}

Colour tableEdit

From Wikipedia:IBM Color Graphics Adapter:

'''Full CGA 16-color palette'''
0 — black
#000000
8 — (dark) gray
#555555
1 — blue
#0000AA
9 — bright blue
#5555FF
2 — green
#00AA00
10 — bright green
#55FF55
3 — cyan
#00AAAA
11 — bright cyan
#55FFFF
4 — red
#AA0000
12 — bright red
#FF5555
5 — magenta
#AA00AA
13 — bright magenta
#FF55FF
6 — brown
#AA5500
14 — yellow
#FFFF55
7 — white (light gray)
#AAAAAA
15 — bright white
#FFFFFF

Subcategories

This category has only the following subcategory.

L

Also on Fandom

Random Wiki