Template:Equipment slot: Difference between revisions
Jump to navigation
Jump to search
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...") |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 9: | Line 9: | ||
| Headgear = {{#lvardef: icon | Headgear Icon.png}} | | Headgear = {{#lvardef: icon | Headgear Icon.png}} | ||
| Light Source = {{#lvardef: icon | Light Source Icon.png}} | | Light Source = {{#lvardef: icon | Light Source Icon.png}} | ||
| Main Hand Melee | | Main Hand Melee = {{#lvardef: icon | Main Hand Melee Weapon Icon.png}} | ||
| Main Hand Ranged | | Main Hand Ranged = {{#lvardef: icon | Main Hand Ranged Weapon Icon.png}} | ||
| Musical Instruments | Musical Instrument = {{#lvardef: icon | Musical Instrument Icon.png}} | | Musical Instruments | Musical Instrument = {{#lvardef: icon | Musical Instrument Icon.png}} | ||
| Off-Hand Melee | | Off-Hand Melee = {{#lvardef: icon | Off-Hand Melee Weapon Icon.png}} | ||
| Ring = {{#lvardef: icon | Rings Icon.png}} | | Ring = {{#lvardef: icon | Rings Icon.png}} | ||
| Undergarments | Underwear = {{#lvardef: icon | Underwear Icon.png}} | | Undergarments | Underwear = {{#lvardef: icon | Underwear Icon.png}} | ||
Line 50: | Line 50: | ||
* {{Equipment slot|Headgear}} | * {{Equipment slot|Headgear}} | ||
* {{Equipment slot|Light Source}} | * {{Equipment slot|Light Source}} | ||
* {{Equipment slot|Main Hand Melee | * {{Equipment slot|Main Hand Melee}} | ||
* {{Equipment slot|Main Hand Ranged | * {{Equipment slot|Main Hand Ranged}} | ||
* {{Equipment slot|Musical Instrument}} | * {{Equipment slot|Musical Instrument}} | ||
* {{Equipment slot|Off-Hand Melee | * {{Equipment slot|Off-Hand Melee}} | ||
* {{Equipment slot|Ring}} | * {{Equipment slot|Ring}} | ||
* {{Equipment slot|Underwear}} | * {{Equipment slot|Underwear}} | ||
Line 85: | Line 85: | ||
"Headgear", | "Headgear", | ||
"Light Source", | "Light Source", | ||
"Main Hand Melee | "Main Hand Melee", | ||
"Main Hand Ranged | "Main Hand Ranged", | ||
"Musical Instrument", | "Musical Instrument", | ||
"Off-Hand Melee | "Off-Hand Melee", | ||
"Ring", | "Ring", | ||
"Undergarments", | "Undergarments", |
Latest revision as of 09:05, 8 November 2024
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}} | |
Adjusted icon size | {{Equipment slot|Ring|w=40}} | |
Link alias | {{Equipment slot|Underwear|Undergarments}} | |
Alias and adjusted size | {{Equipment slot|Headgear|Helmet|w=20}} | |
Unknown slot | {{Equipment slot|Socks}} | Socks |
Exhaustive list
For sanity check:
See also
- {{Ability}} - An equivalent template for ability scores
- {{Background}} - An equivalent template for backgrounds
- {{Class}} - An equivalent template for classes
- {{Deity}} - An equivalent template for deities
- {{Race}} - An equivalent template for races
- {{Skill}} - An equivalent template for skills
Template data
Insert a pre-formatted link and icon to an equipment slot.
Parameter | Description | Type | Status | |
---|---|---|---|---|
equipment slot | 1 | The equipment slot you want to link to. Subclasses will automatically insert the parent class name for you.
| String | required |
Alias | 2 | A user-defined alias to be shown instead of the slot. | String | optional |
icon size | w | (Optional) The size of the icon to display. Default is 25 (pixels).
| Number | optional |