User:Rogerb-on-NAO/monsymlink

From NetHackWiki
Jump to navigation Jump to search

This template shows the monster symbol and puts a link to that monster's page after it. Takes one or two parameters, the monster name, and an optional link type, which can be either before, after or only. Uses before as the default type if the second parameter is missing. For example:

  • {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor}} produces @ Wizard of Yendor
  • {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|before}} produces @ Wizard of Yendor
  • {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|after}} produces Wizard of Yendor @
  • {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|only}} produces @