Difference between revisions of "Template:Monsterlink"

From CrawlWiki
Jump to: navigation, search
(add the 2nd parameter, so you can use a custom link text)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Glyph|{{{1|(monster)}}}}} [[Image:{{{1|(monster)}}}.png]] [[{{{1|monster}}}]]
+
<includeonly>{{Glyph|{{{1|(monster)}}}}} [[Image:{{{1|(monster)}}}.png]] '''[[{{{1|monster}}}|{{{2|{{{1}}}}}}]]'''</includeonly><noinclude>
<noinclude>
 
  
For example: {{monsterlink | Adder}}
+
For example:  
 +
 
 +
    <nowiki>{{monsterlink|Adder}}</nowiki>
 +
 
 +
gives you: {{monsterlink|Adder}}
 +
 
 +
You can specify the link text as the 2nd parameter (optional). For  example:
 +
 
 +
    <nowiki>{{monsterlink|Vampire (monster)|Vampire}}</nowiki>
 +
 
 +
gives you: {{monsterlink|Vampire (monster)|Vampire}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 12:54, 22 October 2024


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