Template:Loot Item/doc
Description[edit]
Prints a capitalized page link with its image as a small icon on the left and icons of the DLCs it belongs to on the right, if any.
This template is meant to be used to format loot items, especially in a query list. It prevents text wrapping between the link and the images to make the text easier to read in long lists.
It takes one parameter: the name of the page concerned
Syntax[edit]
{{Loot Item|<pagename>}}
Usage[edit]
Basic use[edit]
{{Loot Item|medicine}} produces:
Medicine
{{Loot Item|Medicine}} produces:
Medicine
{{Loot Item|Tome}} produces:
Tome
{{Loot Item|Vacskin gland}} produces:
Vacskin gland ![]()
Use as a formatting template in a query[edit]
{{#ask:[[ThingSetMakerTags::RewardStandardMidFreq]]
| format = plainlist
| template = Loot Item
| link = none
| sep = ,
| sort = From DLC, Name
| default = None.
}}
produces:
Bionic arm,
Bionic eye,
Bionic leg,
Novel,
Resurrector mech serum,
Schematic,
Skilltrainer,
Textbook,
Tome
,
Genepack
,
Map
,
Vacskin gland ![]()
,
Vacsuit
,
Vacsuit helmet
,
Armorskin gland
,
Eltex helmet
,
Eltex robe
,
Eltex skullcap
,
Eltex staff
,
Eltex vest
,
Monosword
,
Plasmasword
,
Stoneskin gland
,
Toughskin gland
,
Zeushammer
Note that if you resize the window the text wraps at the separator, keeping the icons glued to the text.