Changes

Jump to: navigation, search

Template:MOB Location

5,183 bytes removed, 15:26, 31 March 2018
Well this is going to break most pages, but they'll be fixed soon! It is more intuitive.
== Location ==
{| 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"
|-
{{ #if:{{{location1location|}}} |
{{pipe}}-
! class="block2" style="background:#1e1615ff;width:100px;border-radius:5px;" align="left" {{pipe}} [[{{{location1location|}}}]]
}}
|-
{{ #if:{{{desc1desc|}}} |
{{pipe}}-
{{pipe}}{{{desc1desc}}}
}}
|-
{{ #if:{{{health1health|}}} |
{{pipe}}-
{{pipe}}[[Image:Health-icon-30px.gif|Health]] {{{health1health}}} [[Image:Armor-icon-30px.gif|Armor]] {{{armor1armor}}} [[Image:Rage-icon-30px.gif|Rage]] {{{rage1}}}}}{{ #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]] {{{rage9rage}}}
}}
|} <!--
--> {{ #if:{{{location1location|}}} | ; [[Category:{{{location1location}}} Creatures]] }} <!----> {{ #if:{{{location2|}}} | ; [[Category:{{{location2}}} Creatures]] }} <!----> {{ #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==
<pre>
{{MOB Location
| location1 location = | desc1 desc =| armor1health =| rage1armor =| 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=| health9rage =
}}
</pre>
==Parameters==
; location1location
: The first place this mob is found.
; desc1desc: A short description of where or how to find it in location1location.; armor1: The amount of armor the mob has in location1.; health1health: The amount of health the mob has in location1a location.; 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.; armor2armor: The amount of armor the mob has in location2a location.; health2: The amount of health the mob has in location2.; rage2rage: 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 enoughlocation.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, <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 location = Serbule| desc1 desc = Description of whereabouts.| armor1 health = X| health1 armor = X| rage1 rage = X| location2 = Eltibule}}| desc2 = Description of whereabouts.{{MOB Location| armor2 location = X| health2 = X| rage2 = X| location3 = Winter NexusEltibule| desc3 desc = Description of whereabouts.| armor3 health = X| health3 armor = X| rage3 rage = X
}}
</pre>
{{MOB Location
| location1 location = Serbule| desc1 desc = Description of whereabouts.| armor1 health = 100X| health1 armor = 200X| rage1 rage = 300X| location2 = Eltibule}}| desc2 = Description of whereabouts.{{MOB Location| armor2 location = 50| health2 = 50| rage2 = 869| location3 = Winter NexusEltibule| desc3 desc = Description of whereabouts.| armor3 health = 45945X| health3 armor = 12578X| rage3 rage = 9999X
}}
[[Category:Formatting templates]]
</noinclude>

Navigation menu