Template:Chest: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="mw-collapsible mw-collapsed" data-expandtext="Show Contents" data-collapsetext="Hide Contents" style="{{#if:{{{nograd|}}} | background:transparent; | background: linear-gradient(to right, #252f42, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;}}">
<includeonly><div class="mw-collapsible mw-collapsed" data-expandtext="Show Contents" data-collapsetext="Hide Contents" style="{{#if:{{{nograd|}}} | background:transparent; | background: linear-gradient(to right, #252f42, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;}}">


[[File:{{{icon|Concentration Icons.png}}}|32px|link={{{link|}}}]] '''[[{{{link|Items}}}|{{{link|This chest}}}]] {{#if:{{{DC|}}}|with the DC {{{DC|}}} to lockpick|}}''' contains the following items:
[[File:{{{icon|Concentration Icons.png}}}|32px|link={{{link|}}}]] '''[[{{{link|Items}}}|{{{link|This chest}}}]] {{#if:{{{DC|}}}|with the [[Difficulty Class|DC {{{DC|}}}]] to lockpick|}}''' contains the following items:
<div class="mw-collapsible-content noexcerpt" style="{{#if:{{{nograd|}}} | background:transparent; | background:#232323; border-radius:10px; padding: 15px;}}">
<div class="mw-collapsible-content noexcerpt" style="{{#if:{{{nograd|}}} | background:transparent; | background:#232323; border-radius:10px; padding: 15px;}}">
{{{contents|Empty}}}</div>
{{{contents|Empty}}}</div>

Revision as of 15:10, 31 August 2023

Everything is optional. You don't have to set a DC. You don't even have to set an image or a link!

Usage:

{{Chest
|icon=Gilded Chest A Icon.png
|link=Gilded Chest
|DC=25
|contents=
* {{SmIconLink|Book Note M Image.png|Acquisitions Record}}
* {{SmIconLink|Torch of Revocation Icon.png|Torch of Revocation}}
* {{SmIconLink|Gold Pile Single Icon.png|Gold}} 54pcs
* {{SmIconLink|Topaz Icon.png|Topaz}}
* {{SmIconLink|Arrow of Ilmater Icon.png|Arrow of Ilmater}}
* {{SmIconLink|Arrow of Slaying Icon.png|Arrow of Dragon Slaying}}
}}
Result:

Or even:


Usage:

{{Chest
|link=Gilded Chest
|contents=
* {{SmIconLink|Book Note M Image.png|Acquisitions Record}}
* {{SmIconLink|Torch of Revocation Icon.png|Torch of Revocation}}
* {{SmIconLink|Gold Pile Single Icon.png|Gold}} 54pcs
* {{SmIconLink|Topaz Icon.png|Topaz}}
* {{SmIconLink|Arrow of Ilmater Icon.png|Arrow of Ilmater}}
* {{SmIconLink|Arrow of Slaying Icon.png|Arrow of Dragon Slaying}}
}}
Result:

And as always, nograd=1 will remove the gradient.