User:Paxed/Template:montilelink

From NetHackWiki
Jump to navigation Jump to search


This template shows the default 16x16 pixel monster tile 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:

  • {{montilelink|Wizard of Yendor}} produces Wizard of Yendor.png Wizard of Yendor
  • {{montilelink|Wizard of Yendor|before}} produces Wizard of Yendor.png Wizard of Yendor
  • {{montilelink|Wizard of Yendor|after}} produces Wizard of Yendor Wizard of Yendor.png
  • {{montilelink|Wizard of Yendor|only}} produces [[Wizard of Yendor| Wizard of Yendor.png ]]