Difference between revisions of "Template:MOB Location"
From Project: Gorgon Wiki
m |
m |
||
Line 1: | Line 1: | ||
{| table style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9;" cellpadding="5" | {| table style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9;" cellpadding="5" | ||
|- valign="top" | |- valign="top" | ||
− | |||
{{ #if:{{{location1|}}} | | {{ #if:{{{location1|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} {{{location1|}}} | ! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} {{{location1|}}} | ||
+ | }} | ||
|- | |- | ||
{{ #if:{{{description1|}}} | | {{ #if:{{{description1|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} {{{description1|}}} | ! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} {{{description1|}}} | ||
− | |||
}} | }} | ||
|- | |- | ||
Line 19: | Line 18: | ||
}} | }} | ||
|} | |} | ||
+ | |||
==Location== | ==Location== |
Revision as of 18:59, 29 April 2017
Contents
Location
Syntax
{{MOB Location | location1 = | desc1 = | armor1= | location2 = | desc2 = | location3 = | desc3 = | location4 = | desc4 = | location5 = | desc5 = | location6 = | desc6 = | location7 = | desc7 = | location8 = | desc8 = | location9 = | desc9 =
Parameters
- location1
- The first place this mob is found.
- desc1
- A short description of where or how to find it in location1.
- armor1
- The amount of armor the mob has in location1.
- health1
- The amount of health the mob has in location1.
- rage1
- The amount of rage the mob has in location1.
- location2
- The second place this mob is found.
- desc2
- A short description of where or how to find it in location2.
- armor2
- The amount of armor the mob has in location2.
- health2
- The amount of health the mob has in location2.
- rage2
- The amount of rage the mob has 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, [[Category:Serbule Creatures]] would be added for you.