Template:MonsterBox/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Lextra2
(updated informations)
 
(24 intermediate revisions by 7 users not shown)
Line 2: Line 2:
__TOC__
__TOC__


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


==Parameters==
==Parameters==
All parameters except for <code>name</code> are optional. They can be excluded or left blank.
All parameters except for <code>name</code> are optional. They can be excluded or left blank.


{| class="wikitable"
{| class="wikitable sortable"
! Parameter !! Description
! Parameter
! Description
|-
|-
| <code>name</code> || The name of the monster.
| <code>name</code>
| The name of the monster.
|-
|-
| <code>rarity</code> || This is used to change the color of the name. Defaults to the color white.
| <code>rarity</code>
*Rare - Change the color to yellow/gold
| The [[rarity]] of the monster. <br> Has to be one of the following:
*Boss - Change the color to orange.
* Normal
*Unique - Change the color to orange.
* Magic
* Rare
* Unique
* Boss
|-
|-
| <code>image</code> || The name of the file/picture that should be used. Defaults to <code>name</code>.png.
| <code>image</code>
| The image name.
|-
|-
| <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>.
| <code>level</code>
| The level(s) of the monster.
|-
|-
| <code>level</code> || The monsters level.
| <code>location</code>
| The location(s) of the monster.
|-
|-
| <code>location</code> || The location(s) of the monster.
| <code>quest</code>
| The quest(s) the monster is related to.
|-
|-
| <code>quest</code> || When the monster's needed for a quest, mention the name of the quest here.
| <code>category</code>
| The [[monster category]] of the monster.
|-
|-
|  <code>health</code> || The Health of a monster. "2 153 853" for example.
|  <code>health</code>
| The base health of the monster.
|-
|-
| <code>damage</code> || The physical damage the monster deals. "3264" for example.
| <code>damage</code>
| The base physical damage of the monster.
|-
|-
|  <code>aps</code> || The Attacks per Second of a monster. "1.75" for example.
|  <code>aps</code>
| The base attacks per second of the monster.
|-
|-
| <code>resistance</code> || The resistances of the monster.
| <code>resistance</code>
| The base resistances of the monster.
|-
|-
| <code>modifier</code> || Modifiers which don't fit into any other category. "Cannot Be [[Freeze|Frozen]]" for example.
| <code>modifier</code>
| The modifier(s) (mods) the monster has.
|-
|-
| <code>resistance_group</code> || [[Monster resistance]] group. Also adds the values in the different difficulties.
| <code>skill</code>
| The skill the monster use. Despite all monster skill are coded separately and different from skill gem, it is fine to link to a skill gem that closely related to the monster skill .
|-
|-
| <code>weakness</code> || Weaknesses of the monster. Marked with "Vulnerable to".
| <code>metadata_id</code>
|-
| The metadata id of the monster. Single value allowed only for now.
| <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 additionally casts [[Fire Trap]]s.
|-
|  <code>aura</code> || Active monster auras. "Allies have Energy Shield" for example.
|}
|}


==Copy Paste ready ==
==Copy Paste==
===Full version===
<pre>
<pre>
{{MonsterBox
{{MonsterBox
| name =
| name = {{PAGENAME}}
| rarity =
| rarity =  
| image =
| image =  
| imagealt =
| level =  
| level =
| location =  
| location =  
| quest =  
| quest =  
| category =
| health =  
| health =  
| damage =
| damage =  
| aps =  
| aps =  
| resistance =  
| resistance =  
| modifier =
| modifier =  
| weakness =  
| skill =
| skill =  
| metadata_id =
| aura =  
}}
}}
</pre>
</pre>


===Minimal version===
{{Documentation categories|
<pre>
<!-- Categories and interwikis go here. -->
{{MonsterBox
[[Category:Templates]]
| name =
}}
}}
</pre>
== Example ==
<pre>
{{MonsterBox
| name = General Gravicius
| rarity = Boss
| image =
| imagealt =
| diff1 = 32
| diff2 =
| diff3 =
| location = Barracks
| quest = Sever the Right Hand
| resistance = Resists [[Elemental Damage]] <br> Resists [[Chaos]]
| weakness =
| damage = Extra [[Fire]] Damage
| modifier =
| skill = Casts [[Firestorm]] <br> Casts [[Molten Shell]] <br> Casts [[Fire Trap]]
| aura = Allies have [[Energy Shield]]
}}
</pre>
{{MonsterBox
| name = General Gravicius
| rarity = Boss
| image =
| imagealt =
| diff1 = 32
| diff2 =
| diff3 =
| location = Barracks
| quest = Sever the Right Hand
| resistance = Resists [[Elemental Damage]] <br> Resists [[Chaos]]
| weakness =
| damage = Extra [[Fire]] Damage
| modifier =
| skill = Casts [[Firestorm]] <br> Casts [[Molten Shell]] <br> Casts [[Fire Trap]]
| aura = Allies have [[Energy Shield]]
}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Templates]]
</includeonly>

Latest revision as of 17:11, 6 April 2024

This subpage provides documentation for Template:MonsterBox.

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

Parameters

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

Parameter Description
name The name of the monster.
rarity The rarity of the monster.
Has to be one of the following:
  • Normal
  • Magic
  • Rare
  • Unique
  • Boss
image The image name.
level The level(s) of the monster.
location The location(s) of the monster.
quest The quest(s) the monster is related to.
category The monster category of the monster.
health The base health of the monster.
damage The base physical damage of the monster.
aps The base attacks per second of the monster.
resistance The base resistances of the monster.
modifier The modifier(s) (mods) the monster has.
skill The skill the monster use. Despite all monster skill are coded separately and different from skill gem, it is fine to link to a skill gem that closely related to the monster skill .
metadata_id The metadata id of the monster. Single value allowed only for now.

Copy Paste

{{MonsterBox
| name = {{PAGENAME}}
| rarity = 
| image = 
| level = 
| location = 
| quest = 
| category =
| health = 
| damage = 
| aps = 
| resistance = 
| modifier = 
| skill =
| metadata_id =
}}