Template:MonsterBox/sandbox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Lextra2
m (formatting)
(only link image if it exists)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Base parameters==
<includeonly>{| class="wikitable" style="float: right; width: 320px; background-color: rgb(51, 47, 36);"
 
{| class="wikitable sortable"
! Parameter
! Description
|-
|-
| <code>name</code>
| align="center" colspan="4" style="border-color: rgb(26, 24, 18); {{#switch: {{{rarity}}} | Normal = color: rgb(200, 200, 200); | Magic = color: rgb(136, 136, 255); | Rare = color: rgb(255, 255, 119); | Unique = color: rgb(175, 96, 37); | Boss = color: rgb(175, 96, 37); | color: rgb(255, 0, 0); }} font-size: 22px; font-weight: bold;" | {{{name|}}}
| The name of the monster.
|-
|-
| <code>rarity</code>
{{ #if: {{{image|}}} | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{image}}}|full|center|{{{name}}}|296x500px]]
| One of the following:
{{!}}- | {{ #ifexist: File:{{{name}}}.png | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{name}}}.png|full|center|{{{name}}}|296x500px]]
* Normal
{{!}}- |}} }}
* Magic
* Rare
* Unique
|-
|-
| <code>image</code>
{{ #if: {{{level|}}} |
| Image name.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Level(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{level}}}
{{!}}- }}
|-
|-
| <code>level</code>
{{ #if: {{{location|}}} |
| The level of the monster.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Location(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{location}}}
{{!}}- }}
|-
|-
| <code>location</code>
{{ #if: {{{quest|}}} |
| The location of the monster.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Quest(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{quest}}}
{{!}}- }}
|-
|-
| <code>quest</code>
{{ #if: {{{health|}}} |
| If the monster is related to a quest.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Health
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{health}}}
{{!}}- }}
|-
|-
| <code>health</code>
{{ #if: {{{damage|}}} |
| The base health of the monster.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Damage
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{damage}}}
{{!}}- }}
|-
|-
| <code>damage</code>
{{ #if: {{{aps|}}} |
| The base physical damage of the monster.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} ApS
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aps}}}
{{!}}- }}
|-
|-
| <code>aps</code>
{{ #if: {{{resistance|}}} |
| The base Attacks per Second of the monster.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Resistance(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{resistance}}}
{{!}}- }}
|-
|-
| <code>resistance</code>
{{ #if: {{{modifier|}}} |
| The base resistances of the monster.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Modifier(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{modifier}}}
{{!}}- }}
|-
|-
| <code>modifiers</code>
{{ #if: {{{skill|}}} |
| The modifiers (Mods) the monster has.
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Skill(s)
|}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{skill}}}
{{!}}- }}
|-
{{ #if: {{{aura|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Aura(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aura}}}
{{!}}- }}
|} {{#if: {{{metadata_id|}}} | {{#cargo_store: _table=main_pages| id={{{metadata_id}}} }} |}} [[Category:{{{rarity}}} monsters]]</includeonly><noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 12:20, 3 September 2023

This is the template sandbox page for Template:MonsterBox (diff).

Template documentation[view] [edit] [history] [purge]

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 =
}}