User:Paxed/Template:montilelink

From NetHackWiki
< User:Paxed
Revision as of 14:48, 4 March 2008 by Paxed (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ]]