Template:MonsterBox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Lextra2
(added aps and health parameters)
No edit summary
 
(38 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float: right; width: 300px; background-color: #1a1812; font-size:100%; padding: 0px; border-collapse: separate; border-spacing: 2px; border: none; margin: 0px 0px 5px 5px;"
<includeonly>{| class="wikitable" style="float: right; width: 320px; background-color: rgb(51, 47, 36);"
| align="center" colspan="4" style="border-color: #1a1812; {{#switch: {{{rarity}}} | Rare = color:rgb(234, 209, 49) | Boss = color:rgb(234,132, 50); | Unique = color:rgb(234,132, 50); | color: #fff; }} text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000; font-size: 22px; font-weight: bold;" | {{{name|}}}
|-
|-
{{ #if: {{{image|}}} | {{!}} colspan="4" style="width: 100%; height: auto; border-color: #1a1812; background-color: #1a1812;" {{!}} [[File:{{{image}}}|full|center|{{ #if: {{{imagealt|}}} |{{{imagealt}}}|{{{name}}}}}|296x500px]]
| 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|}}}
{{!}}- | {{!}} colspan="4" style="width: 100%; height: auto; border-color: #1a1812; background-color: #1a1812;" {{!}} [[File:{{{name}}}.png|full|center|{{ #if: {{{imagealt|}}} |{{{imagealt}}}|{{{name}}}}}|296x500px]]
|-
{{ #if: {{{image|}}} | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{image}}}|full|center|{{{name}}}|296x500px]]
{{!}}- | {{ #ifexist: File:{{{name}}}.png | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{name}}}.png|full|center|{{{name}}}|296x500px]]
{{!}}- |}} }}
|-
{{ #if: {{{level|}}} |
{{!}} 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}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{diff1|}}} |
{{!}} width="100px" style="color: #bfbfbf; background-color: #332f24; margin: 0px 2px 2px 2px; border-color: #332f24;" {{!}} Level
{{!}} style="background-color: #26231b; border: none; color: #fff;" {{!}} {{{diff1}}}
{{!}}- }}
 
{{ #if: {{{location|}}} |
{{ #if: {{{location|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Location(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Location(s)
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{location}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{location}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{quest|}}} |
{{ #if: {{{quest|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Required for
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Quest(s)
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{quest}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{quest}}}
{{!}}- }}
|-
{{ #if: {{{category|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Monster Category
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{category}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{resistance|}}} |
{{ #if: {{{health|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Resistance(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Health
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{resistance}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{health}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{resistance_group|}}} |
{{ #if: {{{damage|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Resistance <br> group
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Damage
{{!}} align="left" colspan="3" style="background-color: #26231b; border: none; color: #fff;" {{!}} [[Monster resistances|{{{resistance_group}}}]] <hr> [[Normal|N.]] {{#ask: [[Monster resistances#{{{resistance_group}}}]]|?Has lightning resistance in normal difficulty|?Has cold resistance in normal difficulty|?Has fire resistance in normal difficulty|?Has chaos resistance in normal difficulty|format=template|template=SMW resistance row|mainlabel=-}}  
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{damage}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{weakness|}}} |
{{ #if: {{{aps|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Weakness(es)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} ApS
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{weakness}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aps}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{damage|}}} |
{{ #if: {{{resistance|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Damage
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Resistance(s)
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{damage}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{resistance}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{modifier|}}} |
{{ #if: {{{modifier|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Modifier(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Modifier(s)
{{!}} valign="top" colspan="3" style="background-color: #26231b; border-color: #26231b;" {{!}} {{{modifier}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{modifier}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{skill|}}} |
{{ #if: {{{skill|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Skill(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Skill(s)
{{!}} valign="top" colspan="3" style=" background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{skill}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{skill}}}
{{!}}- }}
{{!}}- }}
 
|-
{{ #if: {{{aura|}}} |
{{ #if: {{{aura|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Aura(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Aura(s)
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{aura}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aura}}}
{{!}}- }}
 
{{ #if: {{{aps|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Attacks per Second
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{damage}}}
{{!}}- }}
 
{{ #if: {{{health|}}} |
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Health
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{damage}}}
{{!}}- }}
{{!}}- }}
 
|} {{#if: {{{metadata_id|}}} | {{#cargo_store: _table=main_pages| id={{{metadata_id}}} }} |}} [[Category:{{{rarity}}} monsters]]</includeonly><noinclude>
 
{{Documentation}}
|}</includeonly>
</noinclude>
<noinclude>{{Documentation}} [[Category:Templates]]</noinclude>

Latest revision as of 17:15, 6 April 2024

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