Difference between revisions of "Container data"
Jump to navigation
Jump to search
(Add Test Page.) |
m |
||
Line 21: | Line 21: | ||
If a parameter is empty, for example: '''Hero Sarcophagus does not drop any Consumables.'''<br> | If a parameter is empty, for example: '''Hero Sarcophagus does not drop any Consumables.'''<br> | ||
{{c|+|It can be left empty or omitted completely}}.<br> | '''{{c|+|It can be left empty or omitted completely}}'''.<br>Here are two examples of Container data syntax. These two would produce the same result, you would just no call them with the template: | ||
Here are two examples of Container data syntax. These two would produce the same result: | |||
<nowiki> | <nowiki> |
Revision as of 06:10, 19 February 2025
![]() |
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, you would just no call them with the template:
|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}}