Difference between revisions of "Template:MOB Location"

From Project: Gorgon Wiki
Jump to: navigation, search
(This could be useful to automatically update creature location categories, just like the infobox adds the type category)
 
m (Updated with Mitigation parameter.)
 
(70 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>
+
{| table class="block1"style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9; width:300px;" cellpadding="2"
==Location==
+
|- valign="top"
{{ #if:{{{location1|}}} |
+
|-
; {{{location1}}}
+
{{ #if:{{{area|}}} |
: {{{desc1}}}
+
{{pipe}}-
[[Category:{{{location1}}} Creatures]]
+
! class="block2" style="background:#1e1615ff;width:500px;padding-left:.5em;border-radius:5px;" colspan="2" align="left" {{pipe}} [[{{{area|}}}]]
 
}}
 
}}
{{ #if:{{{location2|}}} |
+
|-
; {{{location2}}}
+
{{ #if:{{{altheader|}}} |
: {{{desc2}}}
+
{{pipe}}-
[[Category:{{{location2}}} Creatures]]
+
! class="block2" style="background:#1e1615ff;width:500px;padding-left:.5em;color:#e5b964ff; border-radius:5px;" colspan="2" align="left" {{pipe}} {{{altheader|}}}
 
}}
 
}}
{{ #if:{{{location3|}}} |
+
|-
; {{{location3}}}
+
{{ #if:{{{variant|}}} |{{pipe}}- valign="top"
: {{{desc3}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Variant:
[[Category:{{{location3}}} Creatures]]
+
{{pipe}}'''{{{variant}}}'''
 
}}
 
}}
{{ #if:{{{location4|}}} |
+
|-
; {{{location4}}}
+
{{ #if:{{{health|}}} |{{pipe}}- valign="top"
: {{{desc4}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Vitals:
[[Category:{{{location4}}} Creatures]]
+
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage}}}
 
}}
 
}}
{{ #if:{{{location5|}}} |
+
|-
; {{{location5}}}
+
{{ #if:{{{location|}}}|{{pipe}}- valign="top"
: {{{desc5}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Location:
[[Category:{{{location5}}} Creatures]]
+
{{pipe}}{{{location}}}
 
}}
 
}}
{{ #if:{{{location6|}}} |
+
|-
; {{{location6}}}
+
{{ #if:{{{lootlevel|}}}|{{pipe}}- valign="top"
: {{{desc6}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Loot Level:
[[Category:{{{location6}}} Creatures]]
+
{{pipe}}{{{lootlevel}}}
 
}}
 
}}
{{ #if:{{{location7|}}} |
+
|-
; {{{location7}}}
+
{{ #if:{{{mitigation|}}}|{{pipe}}- valign="top"
: {{{desc7}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Mitigation:
[[Category:{{{location7}}} Creatures]]
+
{{pipe}}{{{mitigation}}}
 
}}
 
}}
{{ #if:{{{location8|}}} |
+
|-
; {{{location8}}}
+
{{ #if:{{{time|}}} |{{pipe}}- valign="top"
: {{{desc8}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Time Conditions:
[[Category:{{{location8}}} Creatures]]
+
{{pipe}}{{{time}}}
 
}}
 
}}
{{ #if:{{{location9|}}} |
+
|-
; {{{location9}}}
+
{{ #if:{{{weather|}}} |{{pipe}}- valign="top"
: {{{desc9}}}
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Weather Conditions:
[[Category:{{{location9}}} Creatures]]
+
{{pipe}}{{{weather}}}
 
}}
 
}}
</includeonly>
+
|} <!--
 +
 
 +
--> {{ #if:{{{area|}}} | ; [[Category:{{{area}}} Creatures]] }} <!--
 +
--><noinclude>
 +
==Syntax==
 +
<pre>
 +
{{MOB Location
 +
| area=
 +
| location=
 +
| health =
 +
| armor =
 +
| rage =
 +
}}
 +
</pre>
 +
 
 +
==Parameters==
 +
; area
 +
: List a region or map where the mob can be found.
 +
; altheader
 +
: OPTIONAL. Used for situations where the MOB Location template is needed, but using the '''area''' parameter should not create a category. World Bosses and creatures that are admin-spawned but have no specific location can use this parameter! This version does not automatically create links in the header.
 +
; variant
 +
: OPTIONAL. Used for alternative forms of a mob. Limit to gender (in-game options for creatures are ♀ and ♂), stronger versions, summoned clones, dev spawned bosses, and other minor changes. Do not use when Effective/Ineffective information differs, such as the [[Red Drakeworm]] and [[Blue Drakeworm]], even though both are simply called '''Drakeworm''' in-game.
 +
; health
 +
: Semi-Optional. If no Health is listed, Armor and Rage will not display. The amount of health the mob has in a location.
 +
; armor
 +
: The amount of armor the mob has.
 +
; rage
 +
: The amount of rage the mob has.
 +
; location
 +
: A short description of where or how to find the mob.
 +
;lootlevel
 +
: OPTIONAL. If a monster lists a Loot Level, include this line
 +
;mitigation
 +
: OPTIONAL. The value Mitigation at Max Armor. Include the % symbol.
 +
; time
 +
: OPTIONAL. If a monster only spawns during a particular time of day, or during an event (Druid/Halloween), write that here!
 +
; weather
 +
: OPTIONAL. Used if a monster only spawns during a particular type of weather event (Not in-game yet).
 +
 
 +
==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.
 +
<pre>
 +
{{MOB Location
 +
| area = Serbule
 +
| health = 90000
 +
| armor = 85
 +
| rage = 999999
 +
| location = Description of whereabouts.
 +
| lootlevel = 37
 +
| mitigation = 20%
 +
| time = Appears during [[Halloween 2016]].
 +
| weather = Appears during heavy rain.
 +
}}
 +
{{MOB Location
 +
| area = Eltibule
 +
| health = X
 +
| armor = X
 +
| rage = X
 +
| location = Description of whereabouts.
 +
}}
 +
{{MOB Location
 +
| area = Dark Chapel
 +
| variant = Maronesa Enhanced
 +
| location = Scion's cavern.
 +
| time = Summoned by the [[Scion of Discord]]
 +
| health = 4110
 +
| armor = 446
 +
| rage = 730
 +
}}
 +
{{MOB Location
 +
| altheader= World Boss: [[Ciervos The Shadow]]
 +
| location = Hills east of [[Eltibule]] Keep.
 +
| health = 1011229
 +
| armor = 26653
 +
| rage = 51449
 +
| time = Spawns during [[Invasion of the World Bosses]]
 +
}}
 +
</pre>
 +
{{MOB Location
 +
| area = Serbule
 +
| health = 90000
 +
| armor = 85
 +
| rage = 999999
 +
| location = Description of whereabouts.
 +
| lootlevel = 37
 +
| mitigation =20%
 +
| time = Appears during [[Halloween 2016]].
 +
| weather = Appears during heavy rain.
 +
}}
 +
{{MOB Location
 +
| area = Eltibule
 +
| health = X
 +
| armor = X
 +
| rage = X
 +
| location = Description of whereabouts.
 +
}}
 +
{{MOB Location
 +
| area = Dark Chapel
 +
| variant = Maronesa Enhanced
 +
| location = Scion's cavern.
 +
| time = Summoned by the [[Scion of Discord]]
 +
| health = 4110
 +
| armor = 446
 +
| rage = 730
 +
}}
 +
{{MOB Location
 +
| altheader= World Boss: [[Ciervos The Shadow]]
 +
| location = Hills east of [[Eltibule]] Keep.
 +
| health = 1011229
 +
| armor = 26653
 +
| rage = 51449
 +
| time = Spawns during [[Invasion of the World Bosses]]
 +
}}
 +
[[Category:Formatting templates]]
 +
</noinclude>

Latest revision as of 14:32, 7 March 2023

Syntax

{{MOB Location
| area= 
| location=
| health =
| armor =
| rage =
}}

Parameters

area
List a region or map where the mob can be found.
altheader
OPTIONAL. Used for situations where the MOB Location template is needed, but using the area parameter should not create a category. World Bosses and creatures that are admin-spawned but have no specific location can use this parameter! This version does not automatically create links in the header.
variant
OPTIONAL. Used for alternative forms of a mob. Limit to gender (in-game options for creatures are ♀ and ♂), stronger versions, summoned clones, dev spawned bosses, and other minor changes. Do not use when Effective/Ineffective information differs, such as the Red Drakeworm and Blue Drakeworm, even though both are simply called Drakeworm in-game.
health
Semi-Optional. If no Health is listed, Armor and Rage will not display. The amount of health the mob has in a location.
armor
The amount of armor the mob has.
rage
The amount of rage the mob has.
location
A short description of where or how to find the mob.
lootlevel
OPTIONAL. If a monster lists a Loot Level, include this line
mitigation
OPTIONAL. The value Mitigation at Max Armor. Include the % symbol.
time
OPTIONAL. If a monster only spawns during a particular time of day, or during an event (Druid/Halloween), write that here!
weather
OPTIONAL. Used if a monster only spawns during a particular type of weather event (Not in-game yet).

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.

{{MOB Location
| area = Serbule
| health = 90000
| armor = 85
| rage = 999999
| location = Description of whereabouts.
| lootlevel = 37
| mitigation = 20%
| time = Appears during [[Halloween 2016]].
| weather = Appears during heavy rain.
}}
{{MOB Location
| area = Eltibule
| health = X
| armor = X
| rage = X
| location = Description of whereabouts.
}}
{{MOB Location
| area = Dark Chapel
| variant = Maronesa Enhanced
| location = Scion's cavern.
| time = Summoned by the [[Scion of Discord]]
| health = 4110
| armor = 446
| rage = 730
}}
{{MOB Location
| altheader= World Boss: [[Ciervos The Shadow]]
| location = Hills east of [[Eltibule]] Keep.
| health = 1011229
| armor = 26653
| rage = 51449
| time = Spawns during [[Invasion of the World Bosses]]
}}
Serbule
Vitals: Health 90000 Armor 85 Rage 999999
Location: Description of whereabouts.
Loot Level: 37
Mitigation: 20%
Time Conditions: Appears during Halloween 2016.
Weather Conditions: Appears during heavy rain.
Eltibule
Vitals: Health X Armor X Rage X
Location: Description of whereabouts.
Dark Chapel
Variant: Maronesa Enhanced
Vitals: Health 4110 Armor 446 Rage 730
Location: Scion's cavern.
Time Conditions: Summoned by the Scion of Discord
World Boss: Ciervos The Shadow
Vitals: Health 1011229 Armor 26653 Rage 51449
Location: Hills east of Eltibule Keep.
Time Conditions: Spawns during Invasion of the World Bosses