Difference between revisions of "Template:MOB Location"
From Project: Gorgon Wiki
Extractum11 (talk | contribs) (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: | ||
− | + | {| 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" |
− | {{ #if:{{{ | + | |- |
− | + | {{ #if:{{{area|}}} | | |
− | : {{ | + | {{pipe}}- |
− | [[ | + | ! class="block2" style="background:#1e1615ff;width:500px;padding-left:.5em;border-radius:5px;" colspan="2" align="left" {{pipe}} [[{{{area|}}}]] |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | + | {{ #if:{{{altheader|}}} | | |
− | : {{ | + | {{pipe}}- |
− | + | ! class="block2" style="background:#1e1615ff;width:500px;padding-left:.5em;color:#e5b964ff; border-radius:5px;" colspan="2" align="left" {{pipe}} {{{altheader|}}} | |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | ; {{ | + | {{ #if:{{{variant|}}} |{{pipe}}- valign="top" |
− | + | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;" align="right" {{pipe}} Variant: | |
− | + | {{pipe}}'''{{{variant}}}''' | |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | ; {{{ | + | {{ #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:{{{ | + | |- |
− | ; {{ | + | {{ #if:{{{location|}}}|{{pipe}}- valign="top" |
− | + | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;" align="right" {{pipe}} Location: | |
− | + | {{pipe}}{{{location}}} | |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | ; {{ | + | {{ #if:{{{lootlevel|}}}|{{pipe}}- valign="top" |
− | + | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;" align="right" {{pipe}} Loot Level: | |
− | + | {{pipe}}{{{lootlevel}}} | |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | ; {{ | + | {{ #if:{{{mitigation|}}}|{{pipe}}- valign="top" |
− | + | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;" align="right" {{pipe}} Mitigation: | |
− | + | {{pipe}}{{{mitigation}}} | |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | ; {{ | + | {{ #if:{{{time|}}} |{{pipe}}- valign="top" |
− | + | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;" align="right" {{pipe}} Time Conditions: | |
− | + | {{pipe}}{{{time}}} | |
}} | }} | ||
− | {{ #if:{{{ | + | |- |
− | ; {{ | + | {{ #if:{{{weather|}}} |{{pipe}}- valign="top" |
− | + | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:140px;" align="right" {{pipe}} Weather Conditions: | |
− | + | {{pipe}}{{{weather}}} | |
}} | }} | ||
− | </ | + | |} <!-- |
+ | |||
+ | --> {{ #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 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: | 90000 85 999999 |
Location: | Description of whereabouts. |
Loot Level: | 37 |
Mitigation: | 20% |
Time Conditions: | Appears during Halloween 2016. |
Weather Conditions: | Appears during heavy rain. |
Eltibule | |
---|---|
Vitals: | X X X |
Location: | Description of whereabouts. |
Dark Chapel | |
---|---|
Variant: | Maronesa Enhanced |
Vitals: | 4110 446 730 |
Location: | Scion's cavern. |
Time Conditions: | Summoned by the Scion of Discord |
World Boss: Ciervos The Shadow | |
---|---|
Vitals: | 1011229 26653 51449 |
Location: | Hills east of Eltibule Keep. |
Time Conditions: | Spawns during Invasion of the World Bosses |