Difference between revisions of "Template:Item"

From CrawlWiki
Jump to: navigation, search
(Remove weight - it's obsolete since 0.15)
 
Line 10: Line 10:
 
! align="left" | Icon
 
! align="left" | Icon
 
| [[File:{{lc:{{PAGENAME}}.png}}|32px]]
 
| [[File:{{lc:{{PAGENAME}}.png}}|32px]]
|-
 
! align="left" | Weight
 
| {{{weight}}} aum
 
 
|}
 
|}
 
</div><includeonly>[[Category:{{{itemtype}}}]]</includeonly><noinclude>
 
</div><includeonly>[[Category:{{{itemtype}}}]]</includeonly><noinclude>
Line 34: Line 31:
 
   |itemtype=''ITEMTYPE''
 
   |itemtype=''ITEMTYPE''
 
   |name=''NAME''
 
   |name=''NAME''
  |weight=''WEIGHT''
 
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:46, 27 March 2015

Type {{{itemtype}}}
Name {{{name}}}
Icon 32px

Use this template for pages about specific items; put it at the top of every such page. ITEMTYPE should correspond to the groupings on the inventory screen, and be one of:

  • Weapon
  • Missile
  • Armour
  • Wand
  • Comestible
  • Scroll
  • Jewellery
  • Potion
  • Book
  • Staff
  • Rod
  • Orb (Orb of Zot only)
  • Miscellaneous item

Call the template like this:

{{item
 |itemtype=ITEMTYPE
 |name=NAME
}}