Template:MonsterBox: Difference between revisions
Jump to navigation
Jump to search
>Lextra2 mNo edit summary |
No edit summary |
||
(32 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="float: right; width: | <includeonly>{| class="wikitable" style="float: right; width: 320px; background-color: rgb(51, 47, 36);" | ||
|- | |- | ||
{{ # | | colspan="2" style="text-align: center; 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="2" style="text-align: center; width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{image|{{{name}}}.jpg}}}|full|center|{{{name}}}|300x400px]] | |||
|- | |||
{{ #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: {{{ | {{ #if: {{{act|}}} | | ||
{{!}} style="color: rgb( | {{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Act(s) | ||
{{!}} | {{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{act}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{location|}}} | | {{ #if: {{{location|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{quest|}}} | | {{ #if: {{{quest|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | |||
|- | |||
{{ #if: {{{reward|}}} | | |||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Reward(s) | |||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{reward}}} | |||
{{!}}- }} | |||
|- | |||
{{ #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: {{{health|}}} | | {{ #if: {{{health|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{damage|}}} | | {{ #if: {{{damage|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{aps|}}} | | {{ #if: {{{aps|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{resistance|}}} | | {{ #if: {{{resistance|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | |||
|- | |||
{{ #if: {{{weakness|}}} | | |||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} Weakness(s) | |||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{weakness}}} | |||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{modifier|}}} | | {{ #if: {{{modifier|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |||
{{ #if: {{{skill|}}} | | {{ #if: {{{skill|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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|}}} | | {{ #if: {{{aura|}}} | | ||
{{!}} style="color: rgb( | {{!}} 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: {{{ | {{#if: {{{metadata_id|}}} | {{#cargo_store: _table=main_pages| id={{{metadata_id}}} }} |}} [[Category:{{{rarity}}} monsters]][[Category:Monsters]] | ||
{{ | {{#if: {{{act|}}}|{{#ifeq:{{{rarity|}}}|Normal|[[Category:Act {{{act}}} monsters]]|{{#ifeq:{{{rarity|}}}|Rare|[[Category:Act {{{act}}} rare monsters]]|{{#ifeq:{{{rarity|}}}|Unique|[[Category:Act {{{act}}} unique monsters]]|[[Category:Act {{{act}}} other rarity monsters]]}}}}}}}} | ||
{{ | </includeonly><noinclude> | ||
{{Documentation}} | |||
</noinclude> | |||
<noinclude>{{Documentation}} |
Latest revision as of 19:02, 30 September 2025
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:
|
image
|
The image name.
Use an in-game screenshot of the monster. A 300x400px jpg file is recommended. |
level
|
The level(s) of the monster. |
act
|
The campaign act(s) of the monster. ('Number' or 'Epilogue') |
location
|
The location(s) of the monster. |
quest
|
The quest(s) the monster is related to. |
reward
|
The rewards(s) the monster drops. |
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. (Use {{Resistance icon}} )
|
weakness
|
Any negative base resistances of the monster. (Use {{Resistance icon}} )
|
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 = | act = | location = | quest = | reward = | category = | health = | damage = | aps = | resistance = | weakness = | modifier = | skill = | metadata_id = }}
The above documentation is transcluded from Template:MonsterBox/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.