From Dark and Darker Wiki
(changed display of image container to flex for better picture adjustment) |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
<div style="display:flex"class="itemboxheader"> | <div style="display:flex"class="itemboxheader"> | ||
<div style="float:left"> | <div style="float:left"> | ||
{{Iconbox|{{{name}}}|caption=no|size= | {{Iconbox|{{{name}}}|caption=no|size=150x150px|nolink=1}} | ||
</div> | </div> | ||
<div style="width:60%;max-width:280px;margin-left:15px;height: | <div style="width:60%;max-width:280px;margin-left:15px;height:150px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;"> | ||
<div class="bold" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div> | <div class="bold" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div> | ||
<div style="width:100%;justify-content:space-between!important;display:flex;flex-direction: row!important;font-size:17px;bottom:0px;"> | <div style="width:100%;justify-content:space-between!important;display:flex;flex-direction: row!important;font-size:17px;bottom:0px;"> | ||
Line 16: | Line 16: | ||
<div class="stats-container"> | <div class="stats-container"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Damage</div> | <div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Damage</div> | ||
<div style="float: right;width: | <div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{damage}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
Line 25: | Line 25: | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{movementspeed|}}}| | ||
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | <div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div> | <div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div> | ||
Line 43: | Line 43: | ||
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | <div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Adventure Points</div> | <div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Adventure Points</div> | ||
<div style="float: right;width: | <div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{points}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
Line 59: | Line 59: | ||
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages. | This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages. | ||
<pre>{{Infobox Enemy | <pre>{{Infobox Enemy | ||
|name | |name = Skeleton Mage | ||
|type = Enemy | |type = Enemy | ||
|damage = ???/???/??? | |damage = ???/???/??? | ||
|health | |health = ???/???/??? | ||
|movementspeed | |movementspeed = ???/???/??? | ||
|location | |location = [[Dungeon#Crypt|Crypt]], [[Dungeon#Inferno|Inferno]] | ||
|experience | |experience = 5 | ||
|points | |points = 5 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 72: | Line 72: | ||
{{Infobox Enemy | {{Infobox Enemy | ||
|name | |name = Skeleton Mage | ||
|type = Enemy | |type = Enemy | ||
|damage = ???/???/??? | |damage = ???/???/??? | ||
|health | |health = ???/???/??? | ||
|movementspeed | |movementspeed = ???/???/??? | ||
|location | |location = [[Dungeon#Crypt|Crypt]], [[Dungeon#Inferno|Inferno]] | ||
|experience | |experience = 5 | ||
|points | |points = 5 | ||
}} | }} |
Latest revision as of 23:09, 2 February 2023
Usage
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
{{Infobox Enemy |name = Skeleton Mage |type = Enemy |damage = ???/???/??? |health = ???/???/??? |movementspeed = ???/???/??? |location = [[Dungeon#Crypt|Crypt]], [[Dungeon#Inferno|Inferno]] |experience = 5 |points = 5 }}
Results in:
Skeleton Mage
Enemy
Damage
???/???/???
Health
???/???/???
Movement Speed
???/???/???
Experience
5
Adventure Points
5