Changes

Jump to: navigation, search

Template:MOB Location

1,246 bytes added, 22:32, 29 November 2015
Added information and updated template
==Location==
{{ #if:{{{location1|}}} |
; [[[[{{{location1}}}]]{{ #if:{{{desc1|}}}| : {{{desc1}}}}}
[[Category:{{{location1}}} Creatures]]
}}
{{ #if:{{{location2|}}} |
; [[{{{location2}}}]]{{ #if:{{{desc1|}}}|: {{{desc2}}}}}
[[Category:{{{location2}}} Creatures]]
}}
{{ #if:{{{location3|}}} |
; [[{{{location3}}}]]{{ #if:{{{desc1|}}}|: {{{desc3}}}}}
[[Category:{{{location3}}} Creatures]]
}}
{{ #if:{{{location4|}}} |
; [[{{{location4}}}]]{{ #if:{{{desc1|}}}|: {{{desc4}}}}}
[[Category:{{{location4}}} Creatures]]
}}
{{ #if:{{{location5|}}} |
; [[{{{location5}}}]]{{ #if:{{{desc1|}}}|: {{{desc5}}}}}
[[Category:{{{location5}}} Creatures]]
}}
{{ #if:{{{location6|}}} |
; [[{{{location6}}}]]{{ #if:{{{desc1|}}}|: {{{desc6}}}}}
[[Category:{{{location6}}} Creatures]]
}}
{{ #if:{{{location7|}}} |
; [[{{{location7}}}]]{{ #if:{{{desc1|}}}|: {{{desc7}}}}}
[[Category:{{{location7}}} Creatures]]
}}
{{ #if:{{{location8|}}} |
; [[{{{location8}}}]]{{ #if:{{{desc1|}}}|: {{{desc8}}}}}
[[Category:{{{location8}}} Creatures]]
}}
{{ #if:{{{location9|}}} |
; [[{{{location9}}}]]{{ #if:{{{desc1|}}}|: {{{desc9}}}}}
[[Category:{{{location9}}} Creatures]]
}}
</includeonly>
 
<noinclude>
==Syntax==
<pre>
{{MOB Location
| location1 =
| desc1 =
| location2 =
| desc2 =
| location3 =
| desc3 =
| location4 =
| desc4 =
| location5 =
| desc5 =
| location6 =
| desc6 =
| location7 =
| desc7 =
| location8 =
| desc8 =
| location9 =
| desc9 =
}}
</pre>
 
==Parameters==
; location1
: The first place this mob is found.
; desc1
: A short description of where or how to find it in location1.
; location2
: The second place this mob is found.
; desc2
: A short description of where or how to find it in location2.
And so on, up to 9 possible locations. Let me know if there's a creature with more than that, we can add more parameters easily enough.
Note that all locations are optional - you can call the template with no parameters if you want, and it'll just display the "Location" header.
 
==Description==
This automatically adds the location category to that page. So if you entered location1 = Serbule, <nowiki>[[Category:Serbule Creatures]]</nowiki> would be added for you.
1,690
edits

Navigation menu