User:Gaz Lloyd/Slayer/equip

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Template documentation
This documentation is transcluded from User:Gaz Lloyd/Slayer/equip/doc. [edit] [purge]

The User:Gaz_Lloyd/Slayer/equip template mimics the in-game display of equipped items.

Usage

Normal usage
{{User:Gaz_Lloyd/Slayer/equip
  | align      = left/right
  | caption    = A message to display at the bottom
  | aura   = aura page
  | helm   = headgear page
  | pocket = pocket page
  | cape   = cape page
  | neck   = necklace page
  | ammo   = ammunition page
  | ammonum= ammunition count
  | weap   = weapon page
  | body   = chest armour page
  | legs   = leg page
  | shield = shield page
  | gloves = gloves page
  | boots  = boots page
  | ring   = ring page
}}

For all equipment slot parameters, the template will attempt to link to the page and use the image - i.e. [[File:<param>.png|link=<param>]]. Since this is not always correct, there is an override for both the image and the link for each parameter, use by appending img or link for the slot.

Omitting a parameter will display the slot image.

Overriding usage

All overriding parameters listed here. If a given slot is using both the img and link overrides, the normal parameter can be omitted.

{{User:Gaz_Lloyd/Slayer/equip
  | align      = left/right
  | caption    = A message to display at the bottom
  | auraimg    = aura image
  | auralink   = aura page
  | helmimg    = headgear image
  | helmlink   = headgear page
  | pocketimg  = pocket image
  | pocketlink = pocket page
  | capeimg    = cape image
  | capelink   = cape page
  | neckimg    = necklace image
  | necklink   = necklace page
  | ammoimg    = ammunition image
  | ammolink   = ammunition page
  | ammonum    = ammunition count
  | weapimg    = weapon image
  | weaplink   = weapon page
  | bodyimg    = chest armour image
  | bodylink   = chest armour page
  | legsimg    = leg armour image
  | legslink   = leg page
  | shieldimg  = shield image
  | shieldlink = shield page
  | glovesimg  = gloves image
  | gloveslink = gloves page
  | bootsimg   = boots image
  | bootslink  = boots page
  | ringimg    = ring image
  | ringlink   = ring page
}}

Do not include 'File:' or 'Image:' on any of the img parameters. These are all here to support legacy usage.

Example

Normal usage
{{User:Gaz_Lloyd/Slayer/equip
  | caption    = Caption does NOT wrap.
  | aura = Penance aura
  | helm   = Green partyhat
  | cape   = Fire cape
  | neck   = Amulet of fury
  | weap   = Abyssal whip
  | body   = Third age platebody
  | legs   = Third age platelegs
  | shield = Toktz-ket-xil
  | gloves = Culinaromancer's gloves 10
  | boots  = Dragon boots
  | ring   = Berserker ring
}}


Penance aura.png
Green partyhat.png
Pocket slot.png
Fire cape.png
Amulet of fury.png
Ammo slot.png
Abyssal whip.png
Third age platebody.png
Toktz-ket-xil.png
Third age platelegs.png
Culinaromancer's gloves 10.png
Dragon boots.png
Berserker ring.png
Caption does NOT wrap.

Overriding/Legacy usage
{{Equipment
  | caption    = Caption does NOT wrap.
  | auraimg    = Reverence aura.png
  | auralink   = Reverence
  | helmimg    = Green partyhat.png
  | helmlink   = Green partyhat
  | capeimg    = Fire cape.png
  | capelink   = Fire cape
  | neckimg    = Amulet of fury.png
  | necklink   = Fury
  | ammoimg    = Broad-tipped bolts 5.png
  | ammolink   = Broad-tipped bolts
  | ammonum    = 1000
  | weapimg    = Abyssal whip.png
  | weaplink   = Abyssal whip
  | bodyimg    = Third age platebody.png
  | bodylink   = Third age platebody
  | legsimg    = Third age platelegs.png
  | legslink   = Third age platelegs
  | shieldimg  = Toktz-ket-xil.png
  | shieldlink = Toktz-ket-xil
  | glovesimg  = Gloves (barrows).png
  | gloveslink = Gloves (barrows)
  | bootsimg   = Dragon boots.png
  | bootslink  = Dragon boots
  | ringimg    = Berserker ring.png
  | ringlink   = Berserker ring
}}

Will result in:

Aura slot.png
Head slot.png
Pocket slot.png
Back slot.png
Neck slot.png
1kAmmo slot.png
Main hand slot.png
Torso slot.png
Off-hand slot.png
Legs slot.png
Gloves slot.png
Feet slot.png
Ring slot.png