Difference between revisions of "Template:Wand"

From NetHackWiki
Jump to navigation Jump to search
(adding Abundance and Spell)
(Adding muse (no, not that kind).)
Line 30: Line 30:
 
{{!}}[[spellbook of {{{spell|}}}|{{{spell|}}}]]
 
{{!}}[[spellbook of {{{spell|}}}|{{{spell|}}}]]
 
}}
 
}}
 +
|-
 +
!Monster use
 +
|{{#if: {{{muse|}}} | {{#ifeq: {{{muse}}} | def | <small>''May be used [[defensive item|defensively]] by monsters.''</small> [[Category:Defensive items]] | {{#ifeq: {{{muse}}} | off | <small>''May be used [[offensive item|offensively]] by monsters.''</small> [[Category:Offensive items]] | <small>''Will not be used by monsters.''</small>}}}} | <small>''Will not be used by monsters.''</small>}}
 
|}
 
|}
 
</div><noinclude>
 
</div><noinclude>
Line 40: Line 43:
 
   |abundance=''ABUNDANCE''
 
   |abundance=''ABUNDANCE''
 
   |spell=''SPELL''
 
   |spell=''SPELL''
 +
  |muse=''def'', ''off'' or ''no''
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
'''Abundance''' and '''Spell''' are optional.
+
'''abundance''', '''muse''' and '''spell''' are optional. '''muse''' is for monster use; ''def'' means [[defensive item]], ''off'' means [[offensive item]], and ''no'' means neither, which is the default.
  
 
See this [[template talk:tool|talk page]] for further usage notes.
 
See this [[template talk:tool|talk page]] for further usage notes.

Revision as of 14:59, 2 October 2015

/
Name {{{name}}}
Appearance random
Base price {{{cost}}} zm
Weight 7
Type {{{type}}}
Maximum charges {{{maxcharges}}}
Monster use Will not be used by monsters.

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

{{wand
 |name=NAME
 |cost=COST
 |type=TYPE
 |maxcharges=MAXCHARGES
 |abundance=ABUNDANCE
 |spell=SPELL
 |muse=def, off or no
}}

abundance, muse and spell are optional. muse is for monster use; def means defensive item, off means offensive item, and no means neither, which is the default.

See this talk page for further usage notes.