Template:Equipment/doc

From Darkan
Revision as of 02:55, 19 April 2012 by imported>RSW image renamer ((Semi-automated) Update references towards 1 image to point to its new name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Equipment.
It contains usage information, categories, and other content that is not part of the original template page.

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.