Template:MonsterBox: Difference between revisions
Jump to navigation
Jump to search
>Game widow No edit summary |
m (62 revisions imported) |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
| 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|}}} | | 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(51, 47, 36);" {{!}} [[File:{{{image}}}|full|center|{{name}}|296x500px]] | {{ #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(51, 47, 36);" {{!}} [[File:{{{name}}}.png|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|}}} | | {{ #if: {{{level|}}} | | ||
Line 20: | Line 20: | ||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} 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(38, 35, 27);" {{!}} {{{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}}} | |||
{{!}}- }} | {{!}}- }} | ||
|- | |- | ||
Line 40: | Line 45: | ||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(51, 47, 36);" {{!}} 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(38, 35, 27);" {{!}} {{{resistance}}} | {{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{resistance}}} | ||
{{!}}- }} | {{!}}- }} | ||
|- | |- | ||
Line 61: | Line 61: | ||
{{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aura}}} | {{!}} style="color: rgb(220, 206, 153); background-color: rgb(38, 35, 27);" {{!}} {{{aura}}} | ||
{{!}}- }} | {{!}}- }} | ||
|}</includeonly> | |} {{#if: {{{metadata_id|}}} | {{#cargo_store: _table=main_pages| id={{{metadata_id}}} }} |}} [[Category:{{{rarity}}} monsters]]</includeonly><noinclude> | ||
<noinclude>{{Documentation}} | {{Documentation}} | ||
</noinclude> |
Revision as of 14:10, 9 October 2024
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. |
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. |
weakness
|
Any negative 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 = | 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.