Template:Equipment

From Darkan
Jump to navigation Jump to search

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Equipment/doc.

The Equipment template mimics the in-game display of equipped items.

Usage

{{Equipment
  | align      = left/right
  | caption    = A message to display at the bottom.
  | auraimg    = aura image
  | auralink   = aura page
  | helmimg    = headgear image
  | helmlink   = headgear 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
}}

All parameters are options. Do not include 'File:' or 'Image:' on any of the img parameters.

Example

{{Equipment
  | caption    = Caption does NOT wrap.
  | auraimg    = Reverence.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    = 1k
  | 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:

 1k
Caption does NOT wrap.