Template:MonsterBox: Difference between revisions
Jump to navigation
Jump to search
>@DeletedUser40283032 No edit summary |
>@DeletedUser40283032 No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class=" | {| class="wikitable" style="float:right; width:300px;background-color: #1a1812; font-size:100%; padding:0px; border-collapse:separate; border-spacing:2px; border:none; margin: 0px 0px 5px 5px;" | ||
| align="center" colspan="4" style="border-color: #1a1812" | <h3 style="{{#switch: {{{rarity}}} | boss = color:rgb(234,132,50) | unique = color:rgb(234,132,50) | color:white}}; font-size:20px;">{{{name|}}}</h3> | |||
|- | |- | ||
{{ #if: {{{image|}}} | | {{ #if: {{{image|}}} | | ||
{{!}} | {{!}} colspan="4" style="width: 100%; height: auto; border-color: #1a1812" {{!}} [[File:{{{image}}}|full|center|{{{imagealt}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{diff1|}}} | | {{ #if: {{{diff1|}}} | | ||
{{!}} style=" | {{!}} style="color: #bfbfbf; background-color: #332f24; margin: 0px 2px 2px 2px; border-color: #332f24" {{!}} Level | ||
{{!}} align="center" width="75px" style="background-color:#55AA22; border:none; font-weight:bold; color:white" {{!}} {{{diff1}}} | {{!}} align="center" width="75px" style="background-color:#55AA22; border:none; font-weight:bold; color:white" {{!}} {{{diff1}}} | ||
{{!}} align="center" width="75px" style="background-color:#BBAA22; border:none; font-weight:bold; color:white" {{!}} {{{diff2}}} | {{!}} align="center" width="75px" style="background-color:#BBAA22; border:none;font-weight:bold; color:white" {{!}} {{{diff2}}} | ||
{{!}} align="center" width="75px" style="background-color:#882222; border:none; font-weight:bold; color:white"{{!}} {{{diff3}}} | {{!}} align="center" width="75px" style="background-color:#882222; border:none;font-weight:bold; color:white"{{!}} {{{diff3}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{location|}}} | | {{ #if: {{{location|}}} | | ||
{{!}} width="100px | {{!}} width="100px" style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Location(s) | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} [[{{{location}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{quest|}}} | | {{ #if: {{{quest|}}} | | ||
{{!}} | {{!}} style=" color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Needed for | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} [[{{{quest}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{resistance|}}} | | {{ #if: {{{resistance|}}} | | ||
{{!}} | {{!}} style=" color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Resistance(s) | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} {{{resistance}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{weakness|}}} | | {{ #if: {{{weakness|}}} | | ||
{{!}} | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Weakness(es) | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} {{{weakness}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{damage|}}} | | {{ #if: {{{damage|}}} | | ||
{{!}} | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Damage | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} {{{damage}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{skill|}}} | | {{ #if: {{{skill|}}} | | ||
{{!}} | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Skill(s) | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style=" background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} {{{skill}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{aura|}}} | | {{ #if: {{{aura|}}} | | ||
{{!}} | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Aura(s) | ||
{{!}} valign="top" colspan="3" style="border: | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #ffffff; border-color: #26231b" {{!}} {{{aura}}} | ||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude>{{Documentation}} [[Category:Templates]]</noinclude> | <noinclude>{{Documentation}} [[Category:Templates]]</noinclude> |
Revision as of 15:26, 15 February 2013
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.