Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Equipment slot

Template page
Revision as of 08:59, 8 November 2024 by HiddenDragon (talk | contribs) (Created page with "<includeonly>{{#switch:{{{1|}}} | Amulet = {{#lvardef: icon | Amulets Icon.png}} | Cloak = {{#lvardef: icon | Cloaks Icon.png}} | Clothing | Armour = {{#lvardef: icon | Armour Icon.png}} | Gloves = {{#lvardef: icon | Gloves Icon.png}} | Camp Clothing | Overclothes = {{#lvardef: icon | Camp Clothing Icon.png}} | Camp Shoes | Overshoes = {{#lvardef: icon | Camp Shoes Icon.png}} | Footwear | Boots = {{#lvardef: icon | Boots Icon.png}} | Headgear = {{#lvardef: icon | Headgea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

Insert a link to one of the equipment slots, accompanied by the associated icon.

Usage

This is intended mainly for lists, not in-line in body content as per the Style Manual. The slot name is case sensitive and needs to exactly match.

Examples

Example Markup Renders as
Basic usage
{{Equipment slot|Clothing}}
Clothing Clothing
Adjusted icon size
{{Equipment slot|Ring|w=40}}
Ring Ring
Link alias
{{Equipment slot|Underwear|Undergarments}}
Undergarments Undergarments
Alias and adjusted size
{{Equipment slot|Headgear|Helmet|w=20}}
Helmet Helmet
Unknown slot
{{Equipment slot|Socks}}
Socks

Exhaustive list

For sanity check:

See also

Template data

Insert a pre-formatted link and icon to an equipment slot.

Template parameters

ParameterDescriptionTypeStatus
equipment slot1

The equipment slot you want to link to. Subclasses will automatically insert the parent class name for you.

Suggested values
Amulet Cloak Clothing Armour Gloves Camp Clothing Overclothes Camp Shoes Overshoes Footwear Boots Headgear Light Source Main Hand Melee Weapon Main Hand Ranged Weapon Musical Instrument Off-Hand Melee Weapon Ring Undergarments Underwear
Stringrequired
Alias2

A user-defined alias to be shown instead of the slot.

Stringoptional
icon sizew

(Optional) The size of the icon to display. Default is 25 (pixels).

Suggested values
25 35
Numberoptional