Template:MonsterBox: Difference between revisions
Jump to navigation
Jump to search
>@DeletedUser40283032 No edit summary |
>@DeletedUser40283032 (Some "improvements") |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| 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;" | ||
{| 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: #fff; }} font-size:20px; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;">{{{name|}}}</h3> | ||
| align="center" colspan="4" style="border-color: #1a1812" | <h3 style="{{#switch: {{{rarity}}} | | |||
|- | |- | ||
{{ #if: {{{image|}}} | | |||
{{!}} colspan="4" style="width: 100%; height: auto; border-color: #1a1812" {{!}} [[File:{{{ | {{ #if: {{{image|}}} | {{!}} colspan="4" style="width: 100%; height: auto; border-color: #1a1812; background-color: #1a1812;" {{!}} [[File:{{{image}}}|full|center|{{ #if: {{{imagealt|}}} |{{{imagealt}}}|{{{name}}}}}]] | ||
{{!}}- | {{!}} colspan="4" style="width: 100%; height: auto; border-color: #1a1812; background-color: #1a1812;" {{!}} [[File:{{{name}}}.png|full|center|{{ #if: {{{imagealt|}}} |{{{imagealt}}}|{{{name}}}}}]] | |||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{diff1|}}} | | {{ #if: {{{diff1|}}} | | ||
{{!}} style="color: #bfbfbf; background-color: #332f24; | {{!}} width="100px" style="color: #bfbfbf; background-color: #332f24; margin: 0px 2px 2px 2px; border-color: #332f24;" {{!}} Level | ||
{{!}} align="center" width=" | {{!}} align="center" width="66px" style="background-color: #55AA22; border: none; font-weight: bold; color: #fff;" {{!}} {{{diff1}}} | ||
{{!}} align="center" width=" | {{!}} align="center" width="66px" style="background-color: #BBAA22; border: none; font-weight: bold; color: #fff;" {{!}} {{ #if: {{{diff2|}}} | {{{diff2}}} | ? }} | ||
{{!}} align="center" width=" | {{!}} align="center" width="66px" style="background-color: #882222; border: none; font-weight: bold; color: #fff;"{{!}} {{ #if: {{{diff3|}}} | {{{diff3}}} | ? }} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{location|}}} | | {{ #if: {{{location|}}} | | ||
{{!}} | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Location(s) | ||
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} [[{{{location}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{quest|}}} | | {{ #if: {{{quest|}}} | | ||
{{!}} style=" color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Required for | ||
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} [[{{{quest}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{resistance|}}} | | {{ #if: {{{resistance|}}} | | ||
{{!}} style=" color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Resistance(s) | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Resistance(s) | ||
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{resistance}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{weakness|}}} | | {{ #if: {{{weakness|}}} | | ||
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Weakness(es) | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Weakness(es) | ||
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{weakness}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{damage|}}} | | {{ #if: {{{damage|}}} | | ||
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Damage | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Damage | ||
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{damage}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{skill|}}} | | {{ #if: {{{skill|}}} | | ||
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Skill(s) | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Skill(s) | ||
{{!}} valign="top" colspan="3" style=" background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style=" background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{skill}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{ #if: {{{aura|}}} | | {{ #if: {{{aura|}}} | | ||
{{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24" {{!}} Aura(s) | {{!}} style="color: #bfbfbf; background-color: #332f24; border-color: #332f24;" {{!}} Aura(s) | ||
{{!}} valign="top" colspan="3" style="background-color: #26231b; color: # | {{!}} valign="top" colspan="3" style="background-color: #26231b; color: #fff; border-color: #26231b;" {{!}} {{{aura}}} | ||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude>{{Documentation}} [[Category:Templates]]</noinclude> | <noinclude>{{Documentation}} [[Category:Templates]]</noinclude> |
Revision as of 02:58, 7 July 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. |
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 = | 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.