Difference between revisions of "Template:MOB Location"

From Project: Gorgon Wiki
Jump to: navigation, search
(More Testing.)
m (Updated with Mitigation parameter.)
 
(49 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| table style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9;" cellpadding="5"
+
{| table class="block1"style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9; width:300px;" cellpadding="2"
 
|- valign="top"
 
|- valign="top"
 
|-
 
|-
{{ #if:{{{location1|}}} |
+
{{ #if:{{{area|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} {{{location1|}}}
+
! class="block2" style="background:#1e1615ff;width:500px;padding-left:.5em;border-radius:5px;" colspan="2" align="left" {{pipe}} [[{{{area|}}}]]
{{pipe}} {{{location1}}}
+
}}
 
|-
 
|-
{{ #if:{{{description1|}}} |
+
{{ #if:{{{altheader|}}} |
 
{{pipe}}-
 
{{pipe}}-
! style="background:#f4e6d4; width:100px;" align="center" {{pipe}} {{{description1|}}}
+
! class="block2" style="background:#1e1615ff;width:500px;padding-left:.5em;color:#e5b964ff; border-radius:5px;" colspan="2" align="left" {{pipe}} {{{altheader|}}}
{{pipe}} {{{description1}}}
 
 
}}
 
}}
 
|-
 
|-
{{ #if:{{{armor1|}}} |
+
{{ #if:{{{variant|}}} |{{pipe}}- valign="top"
{{pipe}}-
+
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Variant:
[[Image:Armor-icon-30px.gif|Armor]]<span style="padding:0 1em 0 .5em">{{{armor1}}}</span>
+
{{pipe}}'''{{{variant}}}'''
{{pipe}} {{{armor1}}}
+
}}
 +
|-
 +
{{ #if:{{{health|}}} |{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Vitals:
 +
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage}}}
 +
}}
 +
|-
 +
{{ #if:{{{location|}}}|{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Location:
 +
{{pipe}}{{{location}}}
 +
}}
 +
|-
 +
{{ #if:{{{lootlevel|}}}|{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Loot Level:
 +
{{pipe}}{{{lootlevel}}}
 +
}}
 +
|-
 +
{{ #if:{{{mitigation|}}}|{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Mitigation:
 +
{{pipe}}{{{mitigation}}}
 +
}}
 +
|-
 +
{{ #if:{{{time|}}} |{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Time Conditions:
 +
{{pipe}}{{{time}}}
 
}}
 
}}
 +
|-
 +
{{ #if:{{{weather|}}} |{{pipe}}- valign="top"
 +
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;"  align="right" {{pipe}} Weather Conditions:
 +
{{pipe}}{{{weather}}}
 
}}
 
}}
|}
+
|} <!--
  
==Location==
+
--> {{ #if:{{{area|}}} | ; [[Category:{{{area}}} Creatures]] }} <!--
{{ #if:{{{location1|}}} | ; [[{{{location1}}}]] {{ #if:{{{desc1|}}}|: {{{desc1}}} }}{{ #if:{{{armor1|}}}|: {{{armor1}}} }} [[Category:{{{location1}}} Creatures]] }}
+
--><noinclude>
{{ #if:{{{location2|}}} | ; [[{{{location2}}}]] {{ #if:{{{desc2|}}}|: {{{desc2}}} }} [[Category:{{{location2}}} Creatures]] }}
 
{{ #if:{{{location3|}}} | ; [[{{{location3}}}]] {{ #if:{{{desc3|}}}|: {{{desc3}}} }} [[Category:{{{location3}}} Creatures]] }}
 
{{ #if:{{{location4|}}} | ; [[{{{location4}}}]] {{ #if:{{{desc4|}}}|: {{{desc4}}} }} [[Category:{{{location4}}} Creatures]] }}
 
{{ #if:{{{location5|}}} | ; [[{{{location5}}}]] {{ #if:{{{desc5|}}}|: {{{desc5}}} }} [[Category:{{{location5}}} Creatures]] }}
 
{{ #if:{{{location6|}}} | ; [[{{{location6}}}]] {{ #if:{{{desc6|}}}|: {{{desc6}}} }} [[Category:{{{location6}}} Creatures]] }}
 
{{ #if:{{{location7|}}} | ; [[{{{location7}}}]] {{ #if:{{{desc7|}}}|: {{{desc7}}} }} [[Category:{{{location7}}} Creatures]] }}
 
{{ #if:{{{location8|}}} | ; [[{{{location8}}}]] {{ #if:{{{desc8|}}}|: {{{desc8}}} }} [[Category:{{{location8}}} Creatures]] }}
 
{{ #if:{{{location9|}}} | ; [[{{{location9}}}]] {{ #if:{{{desc9|}}}|: {{{desc9}}} }} [[Category:{{{location9}}} Creatures]] }}<noinclude>
 
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
 
{{MOB Location
 
{{MOB Location
| location1 =  
+
| area=  
| desc1 =
+
| location=
| armor1=  
+
| health =
| location2 =
+
| armor =
| desc2 =  
+
| rage =
| location3 =
+
}}
| desc3 =
 
| location4 =
 
| desc4 =
 
| location5 =
 
| desc5 =
 
| location6 =
 
| desc6 =
 
| location7 =
 
| desc7 =
 
| location8 =
 
| desc8 =
 
| location9 =
 
| desc9 =
 
 
</pre>
 
</pre>
 +
 
==Parameters==
 
==Parameters==
; location1
+
; area
: The first place this mob is found.
+
: List a region or map where the mob can be found.
; desc1
+
; altheader
: A short description of where or how to find it in location1.
+
: 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.
; armor1
+
; variant
: The amount of armor the mob has in location1.
+
: 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.
; health1
+
; health
: The amount of health the mob has in location1.
+
: Semi-Optional. If no Health is listed, Armor and Rage will not display. The amount of health the mob has in a location.
; rage1
+
; armor
: The amount of rage the mob has in location1.
+
: The amount of armor the mob has.
; location2
+
; rage
: The second place this mob is found.
+
: The amount of rage the mob has.
; desc2
+
; location
: A short description of where or how to find it in location2.
+
: A short description of where or how to find the mob.
; armor2
+
;lootlevel
: The amount of armor the mob has in location2.
+
: OPTIONAL. If a monster lists a Loot Level, include this line
; health2
+
;mitigation
: The amount of health the mob has in location2.
+
: OPTIONAL. The value Mitigation at Max Armor. Include the % symbol.  
; rage2
+
; time
: The amount of rage the mob has in location2.
+
: OPTIONAL. If a monster only spawns during a particular time of day, or during an event (Druid/Halloween), write that here!
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.
+
; weather
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.
+
: OPTIONAL. Used if a monster only spawns during a particular type of weather event (Not in-game yet).
  
 
==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.
+
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>
 
</noinclude>

Latest revision as of 13: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