Difference between revisions of "Template:MOB Location"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Undo revision 22823 by BetaNotus (talk))
Line 9: Line 9:
 
|-
 
|-
 
{{ #if:{{{desc1|}}} |
 
{{ #if:{{{desc1|}}} |
 +
{{pipe}}-
 
{{pipe}}{{{desc1}}}
 
{{pipe}}{{{desc1}}}
 
}}
 
}}
Line 43: Line 44:
 
{{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:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Health-icon-30px.gif|Health]] {{{health3}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage3}}}
 +
}}
 +
{{ #if:{{{location4|}}} |
 +
{{pipe}}-
 +
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location4|}}}
 +
}}
 +
|-
 +
{{ #if:{{{desc4|}}} |
 +
{{pipe}}-
 +
{{pipe}}{{{desc4}}}
 +
}}
 +
|-
 +
{{ #if:{{{armor4|}}} |
 +
{{pipe}}-
 +
{{pipe}}[[Image:Armor-icon-30px.gif|Armor]] {{{armor4}}} [[Image:Health-icon-30px.gif|Health]] {{{health4}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage4}}}
 
}}
 
}}
 
|}
 
|}

Revision as of 19:43, 29 April 2017

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.