|
|
| Line 1: |
Line 1: |
| == Location ==
| |
| {| 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:{{{location1|}}} | | | {{ #if:{{{location|}}} | |
| {{pipe}}- | | {{pipe}}- |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location1|}}}]] | | ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location|}}}]] |
| }} | | }} |
| |- | | |- |
| {{ #if:{{{desc1|}}} | | | {{ #if:{{{desc|}}} | |
| {{pipe}}- | | {{pipe}}- |
| {{pipe}}{{{desc1}}} | | {{pipe}}{{{desc}}} |
| }} | | }} |
| |- | | |- |
| {{ #if:{{{health1|}}} | | | {{ #if:{{{health|}}} | |
| {{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]] {{{health}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage}}} |
| }}
| |
| {{ #if:{{{location2|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location2|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc2|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc2}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health2|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health2}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor2}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage2}}}
| |
| }}
| |
| {{ #if:{{{location3|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location3|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc3|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc3}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health3|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health3}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor3}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage3}}}
| |
| }}
| |
| {{ #if:{{{location4|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location4|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc4|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc4}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health4|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health4}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor4}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage4}}}
| |
| }}
| |
| {{ #if:{{{location5|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location5|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc5|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc5}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health5|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health5}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor5}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage5}}}
| |
| }}
| |
| {{ #if:{{{location6|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location6|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc6|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc6}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health6|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health6}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor6}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage6}}}
| |
| }}
| |
| {{ #if:{{{location7|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location7|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc7|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc7}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health7|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health7}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor7}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage7}}}
| |
| }}
| |
| {{ #if:{{{location8|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location8|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc8|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc8}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{health8|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health8}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor8}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage8}}}
| |
| }}
| |
| {{ #if:{{{location9|}}} |
| |
| {{pipe}}-
| |
| ! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location9|}}}]]
| |
| }}
| |
| |-
| |
| {{ #if:{{{desc9|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}{{{desc9}}}
| |
| }}
| |
| |-
| |
| {{ #if:{{{armor9|}}} |
| |
| {{pipe}}-
| |
| {{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health9}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor9}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage9}}}
| |
| }} | | }} |
| |} <!-- | | |} <!-- |
|
| |
|
| --> {{ #if:{{{location1|}}} | ; [[Category:{{{location1}}} Creatures]] }} <!-- | | --> {{ #if:{{{location|}}} | ; [[Category:{{{location}}} Creatures]] }} <!-- |
| --> {{ #if:{{{location2|}}} | ; [[Category:{{{location2}}} Creatures]] }} <!-- | | --><noinclude> |
| --> {{ #if:{{{location3|}}} | ; [[Category:{{{location3}}} Creatures]] }} <!--
| |
| --> {{ #if:{{{location4|}}} | ; [[Category:{{{location4}}} Creatures]] }} <!--
| |
| --> {{ #if:{{{location5|}}} | ; [[Category:{{{location5}}} Creatures]] }} <!--
| |
| --> {{ #if:{{{location6|}}} | ; [[Category:{{{location6}}} Creatures]] }} <!--
| |
| --> {{ #if:{{{location7|}}} | ; [[Category:{{{location7}}} Creatures]] }} <!--
| |
| --> {{ #if:{{{location8|}}} | ; [[Category:{{{location8}}} Creatures]] }} <!--
| |
| --> {{ #if:{{{location9|}}} | ; [[Category:{{{location9}}} Creatures]] }} <noinclude>
| |
| ==Syntax== | | ==Syntax== |
| <pre> | | <pre> |
| {{MOB Location | | {{MOB Location |
| | location1 = | | | location = |
| | desc1 = | | | desc = |
| | armor1= | | | health = |
| | rage1= | | | armor = |
| | health1= | | | rage = |
| | 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=
| |
| }} | | }} |
| </pre> | | </pre> |
|
| |
|
| ==Parameters== | | ==Parameters== |
| ; location1 | | ; location |
| : The first place this mob is found. | | : The first place this mob is found. |
| ; desc1 | | ; desc |
| : A short description of where or how to find it in location1. | | : A short description of where or how to find it in location. |
| ; armor1 | | ; health |
| : The amount of armor the mob has in location1.
| | : The amount of health the mob has in a location. |
| ; health1
| | ; armor |
| : The amount of health the mob has in location1. | | : The amount of armor the mob has in a location. |
| ; rage1 | | ; rage |
| : The amount of rage the mob has in location1.
| | : The amount of rage the mob has in a location. |
| ; 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== | | ==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 |
| | location1 = Serbule | | | location = Serbule |
| | desc1 = Description of whereabouts. | | | desc = Description of whereabouts. |
| | armor1 = X | | | health = X |
| | health1 = X | | | armor = X |
| | rage1 = X | | | rage = X |
| | location2 = Eltibule
| | }} |
| | desc2 = Description of whereabouts.
| | {{MOB Location |
| | armor2 = X | | | location = Eltibule |
| | health2 = X
| | | desc = Description of whereabouts. |
| | rage2 = X
| | | health = X |
| | location3 = Winter Nexus
| | | armor = X |
| | desc3 = Description of whereabouts. | | | rage = X |
| | armor3 = X | |
| | health3 = X | |
| | rage3 = X | |
| }} | | }} |
| </pre> | | </pre> |
| {{MOB Location | | {{MOB Location |
| | location1 = Serbule | | | location = Serbule |
| | desc1 = Description of whereabouts. | | | desc = Description of whereabouts. |
| | armor1 = 100 | | | health = X |
| | health1 = 200 | | | armor = X |
| | rage1 = 300 | | | rage = X |
| | location2 = Eltibule
| | }} |
| | desc2 = Description of whereabouts.
| | {{MOB Location |
| | armor2 = 50 | | | location = Eltibule |
| | health2 = 50
| | | desc = Description of whereabouts. |
| | rage2 = 869
| | | health = X |
| | location3 = Winter Nexus
| | | armor = X |
| | desc3 = Description of whereabouts. | | | rage = X |
| | armor3 = 45945 | |
| | health3 = 12578 | |
| | rage3 = 9999 | |
| }} | | }} |
| [[Category:Formatting templates]] | | [[Category:Formatting templates]] |
| </noinclude> | | </noinclude> |
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
}}
| Serbule
|
| Description of whereabouts.
|
X X X
|
| Eltibule
|
| Description of whereabouts.
|
X X X
|