Difference between revisions of "Template:MOB Location"

From Project: Gorgon Wiki
Jump to: navigation, search
(Location)
(Update to new in-game order.)
Line 15: Line 15:
 
{{ #if:{{{armor1|}}} |
 
{{ #if:{{{armor1|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor1}}} [[Image:Health-icon-30px.gif|Health]] {{{health1}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage1}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health1}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor1}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage1}}}
 
}}
 
}}
 
{{ #if:{{{location2|}}} |
 
{{ #if:{{{location2|}}} |
Line 29: Line 29:
 
{{ #if:{{{armor2|}}} |
 
{{ #if:{{{armor2|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor2}}} [[Image:Health-icon-30px.gif|Health]] {{{health2}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage2}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health2}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor2}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage2}}}
 
}}
 
}}
 
{{ #if:{{{location3|}}} |
 
{{ #if:{{{location3|}}} |
Line 43: Line 43:
 
{{ #if:{{{armor3|}}} |
 
{{ #if:{{{armor3|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Health-icon-30px.gif|Health]] {{{health3}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage3}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health3}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage3}}}
 
}}
 
}}
 
{{ #if:{{{location4|}}} |
 
{{ #if:{{{location4|}}} |
Line 57: Line 57:
 
{{ #if:{{{armor4|}}} |
 
{{ #if:{{{armor4|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor4}}} [[Image:Health-icon-30px.gif|Health]] {{{health4}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage4}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health4}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor4}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage4}}}
 
}}
 
}}
 
{{ #if:{{{location5|}}} |
 
{{ #if:{{{location5|}}} |
Line 71: Line 71:
 
{{ #if:{{{armor5|}}} |
 
{{ #if:{{{armor5|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor5}}} [[Image:Health-icon-30px.gif|Health]] {{{health5}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage5}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health5}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor5}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage5}}}
 
}}
 
}}
 
{{ #if:{{{location6|}}} |
 
{{ #if:{{{location6|}}} |
Line 85: Line 85:
 
{{ #if:{{{armor6|}}} |
 
{{ #if:{{{armor6|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor6}}} [[Image:Health-icon-30px.gif|Health]] {{{health6}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage6}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health6}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor6}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage6}}}
 
}}
 
}}
 
{{ #if:{{{location7|}}} |
 
{{ #if:{{{location7|}}} |
Line 99: Line 99:
 
{{ #if:{{{armor7|}}} |
 
{{ #if:{{{armor7|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Health-icon-30px.gif|Health]] {{{health7}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage7}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health7}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor7}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage7}}}
 
}}
 
}}
 
{{ #if:{{{location8|}}} |
 
{{ #if:{{{location8|}}} |
Line 113: Line 113:
 
{{ #if:{{{armor8|}}} |
 
{{ #if:{{{armor8|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor8}}} [[Image:Health-icon-30px.gif|Health]] {{{health8}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage8}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health8}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor8}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage8}}}
 
}}
 
}}
 
{{ #if:{{{location9|}}} |
 
{{ #if:{{{location9|}}} |
Line 127: Line 127:
 
{{ #if:{{{armor9|}}} |
 
{{ #if:{{{armor9|}}} |
 
{{pipe}}-
 
{{pipe}}-
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor9}}} [[Image:Health-icon-30px.gif|Healt9]] {{{health9}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage9}}}
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health9}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor9}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage9}}}
 
}}
 
}}
 
|} <!--
 
|} <!--
Line 217: Line 217:
 
==Description==
 
==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. At the moment, do not enter locations surrounded by double brackets.
 
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. At the moment, do not enter locations surrounded by double brackets.
 
+
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:12, 24 February 2018

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.