Difference between revisions of "Template:MOB Location"
From Project: Gorgon Wiki
(Modified style.) |
(Well this is going to break most pages, but they'll be fixed soon! It is more intuitive.) |
||
| Line 1: | Line 1: | ||
| − | |||
{| table class="block1"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:{{{ | + | {{ #if:{{{location|}}} | |
{{pipe}}- | {{pipe}}- | ||
| − | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{ | + | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location|}}}]] |
}} | }} | ||
|- | |- | ||
| − | {{ #if:{{{ | + | {{ #if:{{{desc|}}} | |
{{pipe}}- | {{pipe}}- | ||
| − | {{pipe}}{{{ | + | {{pipe}}{{{desc}}} |
}} | }} | ||
|- | |- | ||
| − | {{ #if:{{{ | + | {{ #if:{{{health|}}} | |
{{pipe}}- | {{pipe}}- | ||
| − | {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{ | + | {{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|}}} | ; [[Category:{{{location}}} Creatures]] }} <!-- |
| − | --> | + | --><noinclude> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
{{MOB Location | {{MOB Location | ||
| − | | | + | | location = |
| − | | | + | | desc = |
| − | | | + | | health = |
| − | | | + | | armor = |
| − | | | + | | rage = |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
==Parameters== | ==Parameters== | ||
| − | ; | + | ; location |
: The first place this mob is found. | : The first place this mob is found. | ||
| − | ; | + | ; desc |
| − | : A short description of where or how to find it in | + | : A short description of where or how to find it in location. |
| − | ; | + | ; health |
| − | + | : The amount of health the mob has in a location. | |
| − | + | ; armor | |
| − | : The amount of health the mob has in | + | : The amount of armor the mob has in a location. |
| − | ; | + | ; rage |
| − | + | : The amount of rage the mob has in a location. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | : The amount of armor the mob has in | ||
| − | ; | ||
| − | |||
| − | |||
| − | : The amount of rage the mob has in | ||
| − | |||
| − | |||
| − | |||
==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> | <pre> | ||
{{MOB Location | {{MOB Location | ||
| − | | | + | | location = Serbule |
| − | | | + | | desc = Description of whereabouts. |
| − | | | + | | health = X |
| − | | | + | | armor = X |
| − | | | + | | rage = X |
| − | + | }} | |
| − | + | {{MOB Location | |
| − | | | + | | location = Eltibule |
| − | + | | desc = Description of whereabouts. | |
| − | + | | health = X | |
| − | + | | armor = X | |
| − | | | + | | rage = X |
| − | | | ||
| − | | | ||
| − | | | ||
}} | }} | ||
</pre> | </pre> | ||
{{MOB Location | {{MOB Location | ||
| − | | | + | | location = Serbule |
| − | | | + | | desc = Description of whereabouts. |
| − | | | + | | health = X |
| − | | | + | | armor = X |
| − | | | + | | rage = X |
| − | + | }} | |
| − | + | {{MOB Location | |
| − | | | + | | location = Eltibule |
| − | + | | desc = Description of whereabouts. | |
| − | + | | health = X | |
| − | + | | armor = X | |
| − | | | + | | rage = X |
| − | | | ||
| − | | | ||
| − | | | ||
}} | }} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 15:26, 31 March 2018
Syntax
{{MOB Location
| location =
| desc =
| health =
| armor =
| rage =
}}
Parameters
- location
- The first place this mob is found.
- desc
- A short description of where or how to find it in location.
- health
- The amount of health the mob has in a location.
- armor
- The amount of armor the mob has in a location.
- rage
- The amount of rage the mob has in a location.
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
| location = Serbule
| desc = Description of whereabouts.
| health = X
| armor = X
| rage = X
}}
{{MOB Location
| location = Eltibule
| desc = Description of whereabouts.
| health = X
| armor = X
| rage = X
}}
| Vitals: | |
|---|---|
| Location: | Serbule |
| Vitals: | |
|---|---|
| Location: | Eltibule |