Template:LootList
From Istaria Lexica
Revision as of 15:10, 13 October 2022 by Elteria Shadowhand (talk | contribs)
LootList's loot: |
---|
Template documentation (for the template shown above, sometimes hidden or invisible)
Description[edit]
Enlists provided loot in a fancy box.
- Try out this template in your sandbox
- Find pages using this template
- Note: If you want to use Template:InfoboxMultiproperty you are not allowed to nest it with each other. This results in a messed up SMW property list.
- Duplicate list entries will be removed automatically.
Syntax[edit]
{{LootList|headline=|items=item1, item2, ...}}
Parameters[edit]
{{LootList |headline = optional headline text for the box |items = Items to be shown. Must be encapsulated with preceding ', ', which signals the template to create a new entry into the list. }}
Example[edit]
- 1st entry of items: A simple article name
- 2nd entry of items: Preceding new list entry, triggered with ', ' (A comma followed by a coded white space)
- 3rd entry of items: Add an SMW property (Item) to the article link
- 4th entry if items: use Template:InfoboxMultiproperty for multiple SMW entries
{{LootList |headline = Test Example |items = [[Elemental Residue]] , [[Spider Silk]] , [[Item::Bag of Tulip Bulbs]] , {{InfoboxMultiproperty|property=Item|Bag of Sunflower Seeds|Algedian Silver Bar|Amulet of the Tribunal }} }}
Visit Template:LootList/doc to edit this text. (How to: document correctly)