Difference between revisions of "Template:Item"

From CrawlWiki
Jump to: navigation, search
m (1 revision: importing templates from old_crawl wiki)
(Remove weight - it's obsolete since 0.15)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
| {{{name| {{{name}}}}}}
 
| {{{name| {{{name}}}}}}
 
|-
 
|-
! align="left" | Weight
+
! align="left" | Icon
| {{{weight}}} aum
+
| [[File:{{lc:{{PAGENAME}}.png}}|32px]]
 
|}
 
|}
 
</div><includeonly>[[Category:{{{itemtype}}}]]</includeonly><noinclude>
 
</div><includeonly>[[Category:{{{itemtype}}}]]</includeonly><noinclude>
Line 31: 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 02: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
}}