Ad placeholder

Template:Chest: Difference between revisions

Jump to navigation Jump to search
m
Add title_override, for use as shop banner
No edit summary
m (Add title_override, for use as shop banner)
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 [[Difficulty Class|DC {{{DC|}}}]] to lockpick|}} contains the following items:'''
[[File:{{{icon|Concentration Icons.png}}}|32px|link={{{link|}}}]] '''{{#if:{{{title_override|}}}|{{{title_override|}}}|[[{{{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>
Line 52: Line 52:
* {{SmIconLink|Arrow of Ilmater Icon.png|Arrow of Ilmater}}
* {{SmIconLink|Arrow of Ilmater Icon.png|Arrow of Ilmater}}
* {{SmIconLink|Arrow of Slaying Icon.png|Arrow of Dragon Slaying}}}}
* {{SmIconLink|Arrow of Slaying Icon.png|Arrow of Dragon Slaying}}}}
Usage:
<nowiki>{{Chest</nowiki>
<nowiki>|title_override=Auntie Ethel's shop</nowiki>
<nowiki>|contents=</nowiki>
<nowiki>* {{GoldIcon|592}} 592 [[Gold]]</nowiki>
<nowiki>}}</nowiki>
{{Chest|title_override=This shop|contents=* {{GoldIcon|592}} 592 [[Gold]]}}


And as always, {{InfoBlob|nograd}}=1 will remove the gradient.
And as always, {{InfoBlob|nograd}}=1 will remove the gradient.
</noinclude>
</noinclude>

Navigation menu