Difference between revisions of "Template:MOB Location"

From Project: Gorgon Wiki
Jump to: navigation, search
(Fixed location links.)
Line 19: Line 19:
 
{{ #if:{{{location2|}}} |
 
{{ #if:{{{location2|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location2|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location2|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 33: Line 33:
 
{{ #if:{{{location3|}}} |
 
{{ #if:{{{location3|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location3|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location3|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 47: Line 47:
 
{{ #if:{{{location4|}}} |
 
{{ #if:{{{location4|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location4|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location4|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 61: Line 61:
 
{{ #if:{{{location5|}}} |
 
{{ #if:{{{location5|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location5|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location5|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 75: Line 75:
 
{{ #if:{{{location6|}}} |
 
{{ #if:{{{location6|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location6|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location6|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 89: Line 89:
 
{{ #if:{{{location7|}}} |
 
{{ #if:{{{location7|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location7|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location7|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 103: Line 103:
 
{{ #if:{{{location8|}}} |
 
{{ #if:{{{location8|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location8|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location8|}}}]]
 
}}
 
}}
 
|-
 
|-
Line 117: Line 117:
 
{{ #if:{{{location9|}}} |
 
{{ #if:{{{location9|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} {{{location9|}}}
+
! style="background:#e0d7d7; width:100px;"  align="left" {{pipe}} [[{{{location9|}}}]]
 
}}
 
}}
 
|-
 
|-

Revision as of 15:35, 30 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. At the moment, do not enter locations surrounded by double brackets.