Difference between revisions of "User:Rogerb-on-NAO/monsymlink"
Jump to navigation
Jump to search
(Something simpler) |
m (Fix) |
||
Line 1: | Line 1: | ||
− | <onlyinclude><includeonly> | + | <onlyinclude><includeonly>[[{{monarticle|{{{1}}}}}|{{{1}}}]] |
− | + | </includeonly></onlyinclude> | |
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. | 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. |
Revision as of 10:57, 19 June 2008
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 before, after, only, or none. Uses before as the default type if the second parameter is missing.
For example:
- {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor}} produces Wizard of Yendor
- {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|before}} produces Wizard of Yendor
- {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|after}} produces Wizard of Yendor
- {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|only}} produces Wizard of Yendor
- {{User:Rogerb-on-NAO/monsymlink|Wizard of Yendor|none}} produces Wizard of Yendor