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

From NetHackWiki
Jump to navigation Jump to search
(Try a different way to do monsym)
 
m (.)
Line 1: Line 1:
 
<onlyinclude><includeonly>{{#switch: {{{2|}}}
 
<onlyinclude><includeonly>{{#switch: {{{2|}}}
|after=[[{{monarticle|{{{1}}}}}|{{{1}}}]]&nbsp;{{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}}
+
|after
|only=[[{{monarticle|{{{1}}}}}|{{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}}]]
+
|only=
 
|before
 
|before
|#default={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}}&nbsp;[[{{monarticle|{{{1}}}}}|{{{1}}}]]
+
|#default={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}}
 +
}}[[{{monarticle|{{{1}}}}}|{{#switch: {{{2|}}}
 +
|only={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}}
 +
|after
 +
|before
 +
|#default={{{1}}}
 +
}}]]{{#switch: {{{2|}}}
 +
|after={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}}
 +
|only
 +
|before
 +
|#default=
 
}}</includeonly></onlyinclude>
 
}}</includeonly></onlyinclude>
  

Revision as of 10:20, 20 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, or only. Uses before as the default type if the second parameter is missing. For example: