Template:Monsym

From Wikihack

Jump to: navigation, search


This template shows the monster symbol and should be used instead of directly using the color templates when showing monster glyphs; that way if a monster color or symbol changes in a future NetHack version, we only need to change it once, in here.

For example {{monsym|dingo}} shows d. The monster names ignore case and use underscores instead of spaces: {{monsym|fire_ant}} shows a.

This Template can also be used with preceding or following text without breaking the flow of the text as there are no carriage returns before or after the template.

Warning: This template is rather memory intensive, so using it several times in a single page fails after a certain point. On an otherwise empty page, the limit is approximately 200 calls to this Template. After that, additional use will instead print a link to the template, not the appropriate coloured symbol.

Personal tools
.