Template:Chest: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m (images in examples)
Line 10: Line 10:


  <nowiki>{{Chest</nowiki>
  <nowiki>{{Chest</nowiki>
  <nowiki>|icon=Gilded Chest A Icon.png</nowiki>
  <nowiki>|icon=Jeweled Chest A Faded.webp</nowiki>
  <nowiki>|link=Gilded Chest</nowiki>
  <nowiki>|link=Gilded Chest</nowiki>
  <nowiki>|DC=25</nowiki>
  <nowiki>|DC=25</nowiki>
Line 22: Line 22:
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>


Result: {{Chest|icon=Gilded Chest A Icon.png|link=Gilded Chest|DC=25
Result: {{Chest|icon=Jeweled Chest A Faded.webp|link=Gilded Chest|DC=25
|contents=* {{RarityItem|Acquisitions Record}}
|contents=* {{RarityItem|Acquisitions Record}}
* {{RarityItem|Torch of Revocation}}
* {{RarityItem|Torch of Revocation}}

Revision as of 03:44, 9 December 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=Jeweled Chest A Faded.webp
|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:

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:

There is also a Template:Trader. Usage:

{{Trader
|title_override=This shop shop
|contents=
* {{GoldIcon|592}} 592 [[Gold]]
}}

Trade Icon.png This shop contains the following items:

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