Difference between revisions of "User:Rogerb-on-NAO/monsymlink"

From NetHackWiki
Jump to navigation Jump to search
m (Fix)
m (Finalise)
Line 1: Line 1:
<onlyinclude><includeonly>[[{{monarticle|{{{1}}}}}|{{{1}}}]]
+
<onlyinclude><includeonly>[[{{monarticle|{{{1}}}}}|{{{1}}}]]</includeonly></onlyinclude>
</includeonly></onlyinclude>
+
 
 +
This template creates a link to a monster's page, using [[Template:monarticle]]. It takes one parameter, the monster name.
  
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 <tt>before</tt>, <tt>after</tt>, <tt>only</tt>, or <tt>none</tt>. Uses <tt>before</tt> as the default type if the second parameter is missing.
 
 
For example:
 
For example:
 +
*<nowiki>{{monlink|Wizard of Yendor}}</nowiki> produces {{monlink|Wizard of Yendor}}
  
*<nowiki>{{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor}}
+
This is a separate template to [[Template:Monsymlink]] to conserve resources.
*<nowiki>{{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|before}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|before}}
 
*<nowiki>{{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|after}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|after}}
 
*<nowiki>{{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|only}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|only}}
 
*<nowiki>{{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|none}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|none}}
 

Revision as of 11:43, 19 June 2008


This template creates a link to a monster's page, using Template:monarticle. It takes one parameter, the monster name.

For example:

This is a separate template to Template:Monsymlink to conserve resources.