Difference between revisions of "Template:MOB Location"
From Project: Gorgon Wiki
(Fixed location links.) |
Extractum11 (talk | contribs) m (Fixing newlines, maybe) |
||
Line 129: | Line 129: | ||
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor9}}} [[Image:Health-icon-30px.gif|Healt9]] {{{health9}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage9}}} | {{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor9}}} [[Image:Health-icon-30px.gif|Healt9]] {{{health9}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage9}}} | ||
}} | }} | ||
− | |} | + | |} <!-- |
− | {{ #if:{{{location1|}}} | ; [[Category:{{{location1}}} Creatures]] }} | + | --> {{ #if:{{{location1|}}} | ; [[Category:{{{location1}}} Creatures]] }} <!-- |
− | {{ #if:{{{location2|}}} | ; [[Category:{{{location2}}} Creatures]] }} | + | --> {{ #if:{{{location2|}}} | ; [[Category:{{{location2}}} Creatures]] }} <!-- |
− | {{ #if:{{{location3|}}} | ; [[Category:{{{location3}}} Creatures]] }} | + | --> {{ #if:{{{location3|}}} | ; [[Category:{{{location3}}} Creatures]] }} <!-- |
− | {{ #if:{{{location4|}}} | ; [[Category:{{{location4}}} Creatures]] }} | + | --> {{ #if:{{{location4|}}} | ; [[Category:{{{location4}}} Creatures]] }} <!-- |
− | {{ #if:{{{location5|}}} | ; [[Category:{{{location5}}} Creatures]] }} | + | --> {{ #if:{{{location5|}}} | ; [[Category:{{{location5}}} Creatures]] }} <!-- |
− | {{ #if:{{{location6|}}} | ; [[Category:{{{location6}}} Creatures]] }} | + | --> {{ #if:{{{location6|}}} | ; [[Category:{{{location6}}} Creatures]] }} <!-- |
− | {{ #if:{{{location7|}}} | ; [[Category:{{{location7}}} Creatures]] }} | + | --> {{ #if:{{{location7|}}} | ; [[Category:{{{location7}}} Creatures]] }} <!-- |
− | {{ #if:{{{location8|}}} | ; [[Category:{{{location8}}} Creatures]] }} | + | --> {{ #if:{{{location8|}}} | ; [[Category:{{{location8}}} Creatures]] }} <!-- |
− | {{ #if:{{{location9|}}} | ; [[Category:{{{location9}}} Creatures]] }} <noinclude> | + | --> {{ #if:{{{location9|}}} | ; [[Category:{{{location9}}} Creatures]] }} <noinclude> |
==Syntax== | ==Syntax== | ||
<pre> | <pre> |
Revision as of 21:27, 1 May 2017
Contents
Location
Syntax
{{MOB Location | location1 = | desc1 = | armor1= | rage1= | health1= | location2 = | desc2 = | armor2 = | health2 = | rage2 = | location3 = | desc3 = | armor3 = | health3 = | rage3 = | location4 = | desc4 = | armor4= | rage4= | health4= | location5 = | desc5 = | armor5= | rage5= | health5= | location6 = | desc6 = | armor6= | rage6= | health6= | location7 = | desc7 = | armor7= | rage7= | health7= | location8 = | desc8 = | armor8= | rage8= | health8= | location9 = | desc9 = | armor9= | rage9= | health9= }}
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. At the moment, do not enter locations surrounded by double brackets.