From Dark and Darker Wiki

(Created page with "<includeonly> <div class="itembox" style="width:90%;max-width:400px;{{#ifeq:{{{nofloat|}}}|1||float:right;}}"> <div class="itemboxheader"> <div style="float:left"> {{Iconbox|{{{name}}}|caption=no|size=96px|nolink=1}} </div> <div style="width:60%;max-width:280px;margin-left:15px;height:100px;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-...")
 
(Changed how it looks)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="itembox" style="width:90%;max-width:400px;{{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div class="itembox" style="width:90%;max-width:400px;{{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div class="itemboxheader">
<div style="display: flex; flex-direction: column; align-items: center;">
<div style="float:left">
{{Iconbox|{{{name}}}|caption=no|size=96px|nolink=1}}
{{Iconbox|{{{name}}}|caption=no|size=96px|nolink=1}}
</div>
<div style="display:flex; flex-direction:column; align-items:center;"class="itemboxheader">
<div style="width:60%;max-width:280px;margin-left:15px;height:100px;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>
</div>
</div>
    </div>
<div class="line"></div>
<div class="line"></div>
{{#if:{{{description|}}}|
    <div class="stats-container" style="display:grid;grid-template-columns: repeat(1, minmax(0, 1fr));"><!--
<div class="stats-container" style="clear: both; padding: 10px 0;">
-->{{#if:{{{description|}}}|
<div class="grid-column: span 1 / span 1;display: grid; grid-template-columns: repeat(2, minmax(0, 1fr))">
<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);>Description</div>
<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);>Description</div>
<div style="float: left; width: 70%;">{{{description}}}</div>
<div style="float: left; width: 70%;">{{{description}}}</div>

Revision as of 00:04, 8 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 Item
|name        = Golden Key
|description = Use the Golden Key to find Legendary items
}}

Results in:

Golden Key.png
Golden Key
Description
Use the Golden Key to find Legendary items