Container data

From Stoneshard wiki
Revision as of 02:07, 19 February 2025 by Kaleb (talk | contribs) (Add Test Page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article is a stub. You can help Stoneshard wiki by expanding it.

Page for all Stoneshard Containers Loot data. [TEST]

Container data is maintained manually. The idea here, is to centralize the containers items, to apply a template instead of repeating the same code multiple times, that can be found in every container page.
To adapt from the original "template" used in each page, the template {{ContainerTable}}, uses the following categories:

 
|Container = {{#switch: {{{2}}}
|Armor = 
|Weapons = 
|Jewelry = 
|Consumables = 
|Loot = 
|Treatises = 
|Tools&Traps = 
|Junk = 
|#default = TODO}}<!--When items not found.-->


If a parameter is empty, for example: Hero Sarcophagus does not drop any Consumables.
It can be left empty or omitted completely.
Here are two examples of Container data syntax. These two would produce the same result:

 
|Hero Sarcophagus = {{#switch: {{{2}}}
|Armor = Pig-Faced Bascinet;Arcanist Cowl;Ceremonial Cuirass;Town Gloves
|Weapons = Bollock Dagger;Footman Sword;Rondel;Bastard Sword;Battle Axe;War Pick;Knight Warhammer;Fancy Sword;Decorated Dagger;Orient Staff;Militia Spear
|Jewelry = Golden Ring;Pearl Necklace;Golden Fancy Ring;Golden Patterned Ring;Sapphire Pendant
|Consumables = 
|Loot = Emerald;Sapphire;Sea Pearls;Ruby Beads;Exquisite Casket;Golden Earrings;Amethyst;Aquamarine;Topaz;Golden Brooch;Old Agraffe;Silver Buckle;Golden Cup;Diamond;Ruby
|Treatises = 
|#default = TODO}}
 
|Hero Sarcophagus = {{#switch: {{{2}}}
|Armor = Pig-Faced Bascinet;Arcanist Cowl;Ceremonial Cuirass;Town Gloves
|Weapons = Bollock Dagger;Footman Sword;Rondel;Bastard Sword;Battle Axe;War Pick;Knight Warhammer;Fancy Sword;Decorated Dagger;Orient Staff;Militia Spear
|Jewelry = Golden Ring;Pearl Necklace;Golden Fancy Ring;Golden Patterned Ring;Sapphire Pendant
|Loot = Emerald;Sapphire;Sea Pearls;Ruby Beads;Exquisite Casket;Golden Earrings;Amethyst;Aquamarine;Topaz;Golden Brooch;Old Agraffe;Silver Buckle;Golden Cup;Diamond;Ruby
|#default = TODO}}