Template:Chest: Difference between revisions
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}}}| | [[File:{{{icon|Concentration Icons.png}}}|24px|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> |
Revision as of 18:35, 7 November 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= * {{RarityItem|Acquisitions Record}} * {{RarityItem|Torch of Revocation}} * {{RarityItem|Gold}} 54pcs * {{RarityItem|Topaz}} * {{RarityItem|Arrow of Ilmater}} * {{RarityItem|Arrow of Dragon Slaying}} }}Result:
File:Gilded Chest A Icon.png Gilded Chest with the DC 25 to lockpick contains the following items:
Or even:
Usage:
{{Chest |link=Gilded Chest |contents= * {{RarityItem|Acquisitions Record}} * {{RarityItem|Torch of Revocation}} * {{RarityItem|Gold}} 54pcs * {{RarityItem|Topaz}} * {{RarityItem|Arrow of Ilmater}} * {{RarityItem|Arrow of Dragon Slaying}} }}Result:
Gilded Chest contains the following items:
There is also a Template:Trader. Usage:
{{Trader |title_override=This shop shop |contents= * {{GoldIcon|592}} 592 [[Gold]] }}
This shop contains the following items:
- 592 Gold
And as always, nograd=1 will remove the gradient.