Template:MonsterBox: Difference between revisions
Jump to navigation
Jump to search
>Illviljan mNo edit summary |
>Illviljan mNo edit summary |
||
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]] | {{!}}- | {{!}} colspan="4" style="width: 100%; height: auto; background-color: rgb(51, 47, 36);" {{!}} [[File:{{{name}}}.png|full|center|{{{name}}}|296x500px]] | ||
{{!}}- }} | {{!}}- }} |
Revision as of 17:05, 18 March 2018
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.