Difference between revisions of "Template:MOB Location"
From Project: Gorgon Wiki
Nickitolas (talk | contribs) (→Location) |
(Testing.) |
||
Line 5: | Line 5: | ||
{{MOB Location | {{MOB Location | ||
| location1 = | | location1 = | ||
− | | desc1 = | + | | desc1 = |
+ | | armor1 =[[Image:Armor-icon-30px.gif|Armor]] | ||
+ | | health1 =[[Image:Health-icon-30px.gif|Health]] | ||
+ | | rage1 = [[Image:Rage-icon-30px.gif|Rage]] | ||
| location2 = | | location2 = | ||
| desc2 = | | desc2 = | ||
+ | | armor2 =[[Image:Armor-icon-30px.gif|Armor]] | ||
+ | | health3 =[[Image:Health-icon-30px.gif|Health]] | ||
+ | | rage3 = [[Image:Rage-icon-30px.gif|Rage]] | ||
| location3 = | | location3 = | ||
| desc3 = | | desc3 = | ||
Line 30: | Line 36: | ||
; desc1 | ; desc1 | ||
: A short description of where or how to find it in location1. | : 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 | ; location2 | ||
: The second place this mob is found. | : The second place this mob is found. | ||
; desc2 | ; desc2 | ||
: A short description of where or how to find it in location2. | : 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. | 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. | 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. |
Revision as of 18:05, 29 April 2017
Contents
Location
Syntax
{{MOB Location | location1 = | desc1 = | armor1 =[[Image:Armor-icon-30px.gif|Armor]] | health1 =[[Image:Health-icon-30px.gif|Health]] | rage1 = [[Image:Rage-icon-30px.gif|Rage]] | location2 = | desc2 = | armor2 =[[Image:Armor-icon-30px.gif|Armor]] | health3 =[[Image:Health-icon-30px.gif|Health]] | rage3 = [[Image:Rage-icon-30px.gif|Rage]] | 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.