Difference between revisions of "User:Rogerb-on-NAO/monsymlink2"
Jump to navigation
Jump to search
m (.) |
m (Reinstate spaces.) |
||
Line 3: | Line 3: | ||
|only= | |only= | ||
|before | |before | ||
− | |#default={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}} | + | |#default={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}} |
}}[[{{monarticle|{{{1}}}}}|{{#switch: {{{2|}}} | }}[[{{monarticle|{{{1}}}}}|{{#switch: {{{2|}}} | ||
|only={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}} | |only={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}} | ||
Line 10: | Line 10: | ||
|#default={{{1}}} | |#default={{{1}}} | ||
}}]]{{#switch: {{{2|}}} | }}]]{{#switch: {{{2|}}} | ||
− | |after={{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}} | + | |after= {{User:Rogerb-on-NAO/monsym|{{#replace: {{lc: {{{1}}}}}| |_}}}} |
|only | |only | ||
|before | |before | ||
Line 19: | Line 19: | ||
For example: | For example: | ||
− | *<nowiki>{{monsymlink|Wizard of Yendor}}</nowiki> produces {{ | + | *<nowiki>{{monsymlink|Wizard of Yendor}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink2|Wizard of Yendor}} |
− | *<nowiki>{{monsymlink|Wizard of Yendor|before}}</nowiki> produces {{ | + | *<nowiki>{{monsymlink|Wizard of Yendor|before}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink2|Wizard of Yendor|before}} |
− | *<nowiki>{{monsymlink|Wizard of Yendor|after}}</nowiki> produces {{ | + | *<nowiki>{{monsymlink|Wizard of Yendor|after}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink2|Wizard of Yendor|after}} |
− | *<nowiki>{{monsymlink|Wizard of Yendor|only}}</nowiki> produces {{ | + | *<nowiki>{{monsymlink|Wizard of Yendor|only}}</nowiki> produces {{User:Rogerb-on-NAO/monsymlink2|Wizard of Yendor|only}} |
Latest revision as of 10:51, 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:
- {{monsymlink|Wizard of Yendor}} produces User:Rogerb-on-NAO/monsym/wizard of yendor Wizard of Yendor
- {{monsymlink|Wizard of Yendor|before}} produces User:Rogerb-on-NAO/monsym/wizard of yendor Wizard of Yendor
- {{monsymlink|Wizard of Yendor|after}} produces Wizard of Yendor User:Rogerb-on-NAO/monsym/wizard of yendor
- {{monsymlink|Wizard of Yendor|only}} produces [[Wizard of Yendor|User:Rogerb-on-NAO/monsym/wizard of yendor]]