Difference between revisions of "Template:Tool"

From NetHackWiki
Jump to navigation Jump to search
m (Text replace - "Cost" to "Base price")
(Adding material.)
Line 14: Line 14:
 
!Weight
 
!Weight
 
|[[weight|{{{weight}}}]]
 
|[[weight|{{{weight}}}]]
 +
|-
 +
!Material
 +
|[[{{{material}}}]]
 
|}
 
|}
 
</div><noinclude>
 
</div><noinclude>
Line 24: Line 27:
 
   |weight=''WEIGHT''
 
   |weight=''WEIGHT''
 
   |color=''COLOR''
 
   |color=''COLOR''
 +
  |material=''MATERIAL''
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  

Revision as of 14:37, 29 July 2015

(
Name Tool
Appearance Tool
Base price {{{cost}}} zm
Weight {{{weight}}}
Material [[{{{material}}}]]

Put this template at the top of every tool page. Call it like this:

{{tool
 |name=NAME
 |tile=TILE
 |appearance=APPEARANCE
 |cost=COST
 |weight=WEIGHT
 |color=COLOR
 |material=MATERIAL
}}

Name, appearance and color are optional parameters that default to the page name, name of the item and to cyan. See the talk page for further usage notes.