Template:MonsterBox/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>@DeletedUser40283032
(Documentations for the win. Probably not the final version.)
 
>@DeletedUser40283032
(Some "improvements")
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__TOC__
<nowiki>{{MonsterBox}}</nowiki> is used to create a box with informations about the monster.
==Variables==
* name = The name of the monster.


* rarity = This is used to change the color of the name. It defaults to white, but the following settings can be used:
This template is used to create a box with informations about a monster/mob/enemy.
:: boss - Change the color to orange.
:: unique - Change the color to orange.


* image = The name of the file/picture that should be included.
==Parameters==
All parameters except for <code>name</code> are optional. They can be excluded or left blank.


* imagealt = What should appear if you hover over the image or if the file can't be loaded etc.
{| class="wikitable"
 
! Parameter !! Description
* diff1 = The monsters level in normal difficulty (Should be the same level as the area).
|-
 
| <code>name</code> || The name of the monster.
* diff2 = The monsters level in cruel difficulty.
|-
 
| <code>rarity</code> || This is used to change the color of the name. Defaults to the color white.
* diff3 = The monsters level in merciless difficulty.
*Boss - Change the color to orange.
 
*Unique - Change the color to orange.
* location = The location(s) of the monster.
|-
 
| <code>image</code> || The name of the file/picture that should be used. Defaults to <code>name</code>.png.
* quest When the monster is needed for a quest mention the name of the quest here.
|-
 
| <code>imagealt</code> || What should appear if you hover over the image or if the file can't be loaded etc. Defaults to <code>name</code>.
* resistance = The resistances of the monster. Marked with "Resists". Can be seen under the name.
|-
 
| <code>diff1</code> || The monsters level in normal difficulty (Should be around the same level as the area).
* weakness = Weaknesses of the monster. Marked with "Vulnerable to".
|-
 
| <code>diff2</code> || The monsters level in cruel difficulty. Defaults to "?".
* damage = The damage the monster deals. Marked with "Extra Fire Damage" for example.
|-
 
| <code>diff3</code> || The monsters level in merciless difficulty. Defaults to "?".
* skill = The skills the monster is using. Marked with "Casts".  
|-
:: Note: Not all skills may be listed under the name. [[General Gravicius]] for example addtionally casts [[Fire Trap]]s.
| <code>location</code> || The location(s) of the monster.
 
|-
* aura = Active monster auras. "Allies have Energy Shield" for example.
| <code>quest</code> || When the monster's needed for a quest, mention the name of the quest here.
|-
| <code>resistance</code> || The resistances of the monster. Marked with "Resists". Can be seen under the name.
|-
| <code>weakness</code> || Weaknesses of the monster. Marked with "Vulnerable to".
|-
| <code>damage</code> || The damage the monster deals. Marked with "Extra Fire Damage" for example.
|-
| <code>skill</code> || The skills the monster is using. Marked with "Casts".  
*Note: Not all skills may be listed under the name. [[General Gravicius]] for example addtionally casts [[Fire Trap]]s.
|-
|  <code>aura</code> || Active monster auras. "Allies have Energy Shield" for example.
|}


==Copy Paste ready ==
==Copy Paste ready ==
Full version:
===Full version===
<pre>
<pre>
{{MonsterBox
{{MonsterBox
Line 55: Line 63:
</pre>
</pre>


Minimal version:
===Minimal version===
<pre>
<pre>
{{MonsterBox
{{MonsterBox
| name =
| name =
| location =
}}
}}
</pre>
</pre>


== Usage ==
== Example ==
<pre>
<pre>
{{MonsterBox
{{MonsterBox
| name = General Gravicius
| name = General Gravicius
| rarity = boss
| rarity = Boss
| image = GeneralGravicius.png
| image = GeneralGravicius.png
| imagealt = General Gravicius
| imagealt =
| diff1 = 32
| diff1 = 32
| diff2 = 51
| diff2 =
| diff3 = ?
| diff3 =
| location = Barracks
| location = Barracks
| quest = Sever the Right Hand
| quest = Sever the Right Hand
Line 83: Line 90:
</pre>
</pre>


==Example==
{{MonsterBox
{{MonsterBox
| name = General Gravicius
| name = General Gravicius
| rarity = boss
| rarity = Boss
| image = GeneralGravicius.png
| image = GeneralGravicius.png
| imagealt = General Gravicius
| imagealt =
| diff1 = 32
| diff1 = 32
| diff2 = 51
| diff2 =
| diff3 = ?
| diff3 =
| location = Barracks
| location = Barracks
| quest = Sever the Right Hand
| quest = Sever the Right Hand
Line 102: Line 108:
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates]]
</includeonly>
</includeonly>

Revision as of 03:02, 7 July 2013

This subpage provides documentation for Template:MonsterBox.

This template is used to create a box with informations about a monster/mob/enemy.

Parameters

All parameters except for name are optional. They can be excluded or left blank.

Parameter Description
name The name of the monster.
rarity This is used to change the color of the name. Defaults to the color white.
  • Boss - Change the color to orange.
  • Unique - Change the color to orange.
image The name of the file/picture that should be used. Defaults to name.png.
imagealt What should appear if you hover over the image or if the file can't be loaded etc. Defaults to name.
diff1 The monsters level in normal difficulty (Should be around the same level as the area).
diff2 The monsters level in cruel difficulty. Defaults to "?".
diff3 The monsters level in merciless difficulty. Defaults to "?".
location The location(s) of the monster.
quest When the monster's needed for a quest, mention the name of the quest here.
resistance The resistances of the monster. Marked with "Resists". Can be seen under the name.
weakness Weaknesses of the monster. Marked with "Vulnerable to".
damage The damage the monster deals. Marked with "Extra Fire Damage" for example.
skill The skills the monster is using. Marked with "Casts".
aura Active monster auras. "Allies have Energy Shield" for example.

Copy Paste ready

Full version

{{MonsterBox
| name =
| rarity =
| image =
| imagealt =
| diff1 =
| diff2 =
| diff3 = 
| location = 
| quest = 
| resistance = 
| weakness = 
| damage =
| skill = 
| aura = 
}}

Minimal version

{{MonsterBox
| name =
}}

Example

{{MonsterBox
| name = General Gravicius
| rarity = Boss
| image = GeneralGravicius.png
| imagealt =
| diff1 = 32
| diff2 =
| diff3 =
| location = Barracks
| quest = Sever the Right Hand
| resistance = Resists [[Elemental Damage]] <br> Resists [[Chaos]]
| weakness = 
| damage = Extra [[Fire]] Damage 
| skill = Casts [[Firestorm]] <br> Casts [[Molten Shell]] <br> Casts [[Fire Trap]]
| aura = Allies have [[Energy Shield]]
}}
General Gravicius
General Gravicius
General Gravicius
Location(s) Barracks
Quest(s) Sever the Right Hand
Damage Extra Fire Damage
Resistance(s) Resists Elemental Damage
Resists Chaos
Skill(s) Casts Firestorm
Casts Molten Shell
Casts Fire Trap
Aura(s) Allies have Energy Shield