Template:MonsterBox: Difference between revisions
Jump to navigation
Jump to search
>Illviljan (add metadata_id cargo store) |
(Removed the paragraph break that was being inserted at the end of the template.) |
||
| Line 56: | Line 56: | ||
{{!}} 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}}} | ||
{{!}}- }} | {{!}}- }} | ||
|} {{#if: {{{metadata_id|}}} | {{#cargo_store: _table=main_pages| id={{{metadata_id}}} }} |}} [[Category:{{{rarity}}} monsters]]</includeonly> | |} {{#if: {{{metadata_id|}}} | {{#cargo_store: _table=main_pages| id={{{metadata_id}}} }} |}} [[Category:{{{rarity}}} monsters]]</includeonly><noinclude> | ||
<noinclude>{{Documentation}}</noinclude> | {{Documentation}} | ||
</noinclude> | |||
Revision as of 14:23, 19 July 2023
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.