Template:Acquired from/doc

From Stoneshard wiki
< Template:Acquired from
Revision as of 15:33, 12 May 2020 by old>Realpsojed (Created page with "{{Doc/start}} This template automatically provides a list of Containers where you can acquire a given item. To function, this template assumes that all pages listed in Conta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template-info.png Documentation

This template automatically provides a list of Containers where you can acquire a given item. To function, this template assumes that all pages listed in Containers have their loot data available in plaintext format and that the amount of loot data doesn't excede 1000 characters. If a container appears in the future with loot data longer than 1000 characters, this template and the switch with loot data can be modified to list data separately (for example based on item types).

Example of loot data from Hero Sarcophagus.

<includeonly>{{#switch: {{{1}}}
|Loot = Pig-Faced Bascinet, Ceremonial Cuirass, Bollock Dagger, Footman Sword, Rondel, Bastard Sword, Battle Axe, War Pick, Knight Warhammer, Fancy Sword, Decorated Dagger, Orient Staff, Golden Ring, Pearl Necklace, Golden Fancy Ring, Golden Patterned Ring, Sapphire Pendant, Emerald, Sapphire, Sea Pearls, Ruby Beads, Exquisite Casket, Golden Earrings, Amethyst, Aquamarine, Topaz, Golden Brooch, Old Agraffe, Silver Buckle, Golden Cup, Diamond, Ruby
|#default = 
}}</includeonly>

Usage: Call this template from any item page, place it where you want to have a list of sources. No parameter is required.

{{Acquired from}}