Template:MonsterBox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Lextra2
m (css3 updated)
(Undo revision 557825 by Lextra2 (talk) Reverted until we understand why you're removing parameters from the template.)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float: right; width: 360px; background-color: rgb(25, 25, 25);"
<includeonly>{| class="wikitable" style="float: right; width: 320px; background-color: rgb(51, 47, 36);"
|-
|-
| align="center" colspan="4" style="border-top: 5px solid rgb(50, 50, 50); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50); {{#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|}}}
| 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|}}}
|-
|-
{{ #if: {{{image|}}} | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(50, 50, 50);" {{!}} [[File:{{{image}}}|full|center|{{{name}}}|300x600px]]
{{ #if: {{{image|}}} | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{image}}}|full|center|{{{name}}}|296x500px]]
{{!}}- | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} [[File:{{{name}}}.png|full|center|{{{name}}}|300x600px]]
{{!}}- | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{name}}}.png|full|center|{{{name}}}|296x500px]]
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{level|}}} |
{{ #if: {{{level|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Level(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Level(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{level}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{level}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{location|}}} |
{{ #if: {{{location|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Location(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Location(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{location}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{location}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{quest|}}} |
{{ #if: {{{quest|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Quest(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Quest(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{quest}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{quest}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{health|}}} |
{{ #if: {{{health|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Health
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Health
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{health}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{health}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{damage|}}} |
{{ #if: {{{damage|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Damage
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Damage
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{damage}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{damage}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{aps|}}} |
{{ #if: {{{aps|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} ApS
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} ApS
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{aps}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aps}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{resistance|}}} |
{{ #if: {{{resistance|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Resistance(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Resistance(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{resistance}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{resistance}}}
{{!}}- }}
|-
{{ #if: {{{resistance_group|}}} |
{{!}} 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);" {{!}} {{#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=-}}  
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{modifier|}}} |
{{ #if: {{{modifier|}}} |
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(25, 25, 25); border-bottom: 5px solid rgb(50, 50, 50); border-left: 5px solid rgb(50, 50, 50);" {{!}} Modifier(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Modifier(s)
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(35, 35, 35); border-bottom: 5px solid rgb(50, 50, 50); border-right: 5px solid rgb(50, 50, 50);" {{!}} {{{modifier}}}
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{modifier}}}
{{!}}- }}
{{!}}- }}
|-
|-
{{ #if: {{{skill|}}} |
{{!}} 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}}}
{{!}}- }}
|}[[Category:{{{rarity}}} monsters]]</includeonly>
|}[[Category:{{{rarity}}} monsters]]</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 22:02, 15 June 2019

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