Difference between revisions of "Template:Monsterlink"

From CrawlWiki
Jump to: navigation, search
(add the 2nd parameter, so you can use a custom link text)
(Use image without (monster) in second usage for simplicity and to synchronize with actual monster pages.)
Line 1: Line 1:
<includeonly>{{Glyph|{{{1|(monster)}}}}} [[Image:{{{1|(monster)}}}.png]] '''[[{{{1|monster}}}|{{{2|{{{1}}}}}}]]'''</includeonly><noinclude>
+
<includeonly>{{Glyph|{{{1|(monster)}}}}} [[Image:{{{2|{{{1}}}|(monster)}}}.png]] '''[[{{{1|monster}}}|{{{2|{{{1}}}}}}]]'''</includeonly><noinclude>
  
 
For example:  
 
For example:  

Revision as of 15:43, 31 May 2026


For example:

   {{monsterlink|Adder}}

gives you: S Adder.png Adder

You can specify the link text as the 2nd parameter (optional). For example:

   {{monsterlink|Vampire (monster)|Vampire}}

gives you: V Vampire (monster).png Vampire