Template:SlotIcon/doc

From Melvor Idle
< Template:SlotIcon
Revision as of 15:29, 1 June 2024 by Ricewind (talk | contribs) (Created page with "A template for quickly displaying placeholders for items. For example, {{T|SlotIcon|head}} becomes {{SlotIcon|head}}. Adding a second argument allows you to display some text. For example, {{T|SlotIcon|Head|No, it isn't a typo}} gives {{SlotIcon|head|No, it isn't a typo}}. For a complete list of options, please refer to Template:Icon. '''TODO''': Icon names for slots are of the form <code>Slot_head</code>. Ideally we should be able to {{T|SlotIcon|Helmet}}, instea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template for quickly displaying placeholders for items. For example, {{SlotIcon|head}} becomes .

Adding a second argument allows you to display some text. For example, {{SlotIcon|Head|No, it isn't a typo}} gives No, it isn't a typo.

For a complete list of options, please refer to Template:Icon.

TODO: Icon names for slots are of the form Slot_head. Ideally we should be able to {{SlotIcon|Helmet}}, instead, which would make both the link and text look nice, but name mangling is not trivial.

Check Module:Equipment/Recommended for a full dictionary of the slots.