Difference between revisions of "Template:MOB Location"
From Project: Gorgon Wiki
(Update to new in-game order.) |
(Modified style.) |
||
Line 1: | Line 1: | ||
== Location == | == Location == | ||
− | {| table style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9; width:500px;" cellpadding="2" | + | {| table class="block1"style="margin:0 0 0.5em 1em; border:1px solid #ccc; text-align:left; background:#f9f9f9; width:500px;" cellpadding="2" |
|- valign="top" | |- valign="top" | ||
|- | |- | ||
{{ #if:{{{location1|}}} | | {{ #if:{{{location1|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location1|}}}]] |
}} | }} | ||
|- | |- | ||
Line 13: | Line 13: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health1|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health1}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor1}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage1}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health1}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor1}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage1}}} | ||
Line 19: | Line 19: | ||
{{ #if:{{{location2|}}} | | {{ #if:{{{location2|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location2|}}}]] |
}} | }} | ||
|- | |- | ||
Line 27: | Line 27: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health2|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health2}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor2}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage2}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health2}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor2}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage2}}} | ||
Line 33: | Line 33: | ||
{{ #if:{{{location3|}}} | | {{ #if:{{{location3|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location3|}}}]] |
}} | }} | ||
|- | |- | ||
Line 41: | Line 41: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health3|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health3}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage3}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health3}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage3}}} | ||
Line 47: | Line 47: | ||
{{ #if:{{{location4|}}} | | {{ #if:{{{location4|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location4|}}}]] |
}} | }} | ||
|- | |- | ||
Line 55: | Line 55: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health4|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health4}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor4}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage4}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health4}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor4}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage4}}} | ||
Line 61: | Line 61: | ||
{{ #if:{{{location5|}}} | | {{ #if:{{{location5|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location5|}}}]] |
}} | }} | ||
|- | |- | ||
Line 69: | Line 69: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health5|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health5}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor5}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage5}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health5}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor5}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage5}}} | ||
Line 75: | Line 75: | ||
{{ #if:{{{location6|}}} | | {{ #if:{{{location6|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location6|}}}]] |
}} | }} | ||
|- | |- | ||
Line 83: | Line 83: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health6|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health6}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor6}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage6}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health6}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor6}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage6}}} | ||
Line 89: | Line 89: | ||
{{ #if:{{{location7|}}} | | {{ #if:{{{location7|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location7|}}}]] |
}} | }} | ||
|- | |- | ||
Line 97: | Line 97: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health7|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health7}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor7}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage7}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health7}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor7}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage7}}} | ||
Line 103: | Line 103: | ||
{{ #if:{{{location8|}}} | | {{ #if:{{{location8|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location8|}}}]] |
}} | }} | ||
|- | |- | ||
Line 111: | Line 111: | ||
}} | }} | ||
|- | |- | ||
− | {{ #if:{{{ | + | {{ #if:{{{health8|}}} | |
{{pipe}}- | {{pipe}}- | ||
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health8}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor8}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage8}}} | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health8}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor8}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage8}}} | ||
Line 117: | Line 117: | ||
{{ #if:{{{location9|}}} | | {{ #if:{{{location9|}}} | | ||
{{pipe}}- | {{pipe}}- | ||
− | ! style="background:# | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location9|}}}]] |
}} | }} | ||
|- | |- | ||
Line 217: | Line 217: | ||
==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. At the moment, do not enter locations surrounded by double brackets. | 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 | ||
+ | | location1 = Serbule | ||
+ | | desc1 = Description of whereabouts. | ||
+ | | armor1 = X | ||
+ | | health1 = X | ||
+ | | rage1 = X | ||
+ | | location2 = Eltibule | ||
+ | | desc2 = Description of whereabouts. | ||
+ | | armor2 = X | ||
+ | | health2 = X | ||
+ | | rage2 = X | ||
+ | | location3 = Winter Nexus | ||
+ | | desc3 = Description of whereabouts. | ||
+ | | armor3 = X | ||
+ | | health3 = X | ||
+ | | rage3 = X | ||
+ | }} | ||
+ | </pre> | ||
+ | {{MOB Location | ||
+ | | location1 = Serbule | ||
+ | | desc1 = Description of whereabouts. | ||
+ | | armor1 = 100 | ||
+ | | health1 = 200 | ||
+ | | rage1 = 300 | ||
+ | | location2 = Eltibule | ||
+ | | desc2 = Description of whereabouts. | ||
+ | | armor2 = 50 | ||
+ | | health2 = 50 | ||
+ | | rage2 = 869 | ||
+ | | location3 = Winter Nexus | ||
+ | | desc3 = Description of whereabouts. | ||
+ | | armor3 = 45945 | ||
+ | | health3 = 12578 | ||
+ | | rage3 = 9999 | ||
+ | }} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:28, 24 February 2018
Contents
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.
{{MOB Location | location1 = Serbule | desc1 = Description of whereabouts. | armor1 = X | health1 = X | rage1 = X | location2 = Eltibule | desc2 = Description of whereabouts. | armor2 = X | health2 = X | rage2 = X | location3 = Winter Nexus | desc3 = Description of whereabouts. | armor3 = X | health3 = X | rage3 = X }}