Template:dNetHack artifact weapon

From NetHackWiki
Jump to navigation Jump to search
{{{{{color}}}|{{{glyph}}}}}   DNetHack artifact weapon   (No tile)
Base item [[{{{base}}}]]
Appearance (same as base item)
Affiliation {{{affiliation}}}
Generation must be gifted
Wishable? no
Damage vs. small {{{smalldmg}}}
Damage vs. large {{{largedmg}}}
Damage type (none)
To-hit bonus +0
Bonus versus (any)
Weapon skill DNetHack artifact weapon
Primary attribute strength
Properties (see below)
When carried (none)
When wielded

(none)

When used (none)
When invoked (none)
Base size (base item standard)
Base price {{{cost}}} zm
Weight {{{weight}}}
Base material [[{{{material}}}]]

This template is designed for use with articles that cover artifacts in dNetHack, notdNetHack and notnotdNetHack, and should be called as follows:

 
  {{dNetHack artifact
    |color=red
    |glyph=_
    |tile=[[Image:Worm tooth.png]]
    |name=The Rotten Molar of Lolth
    |base=droven greatsword
    |appearance=yellowed black-spiked<br/>blade of enamel
    |affiliation=<ul><li>[[chaotic]]</li><li>[[Drow (starting race)#dNetHack|drow]]</li><li>([[Healer (dNetHack)|Healer]])</li><li>[[intelligent artifacts|intelligent]]</li></ul>
    |generated=<ul><li>[[Seduction|seduce]] [[Shuushar the Enlightened]]</li><li>[[tame]] [[Sir Aljanor]]</li><li>kill [[Sister T'eirastra]]</li></ul>
    |smalldmg=1d8 '''+8d8''' '''x2'''
    |largedmg=1d8 '''+8d8''' '''x2'''
    |dmgtype=slashing
    |tohit=+2+1d8
    |versus=<ul><li>[[lilitu]] and monsters that inflict [[doubt]]</li></ul>
    |skill=two-handed sword
    |skill2=axe
    |skill3=scimitar
    |attr=dexterity
    |used=thrown
    |properties=<ul><li>perma-converts [[hero]] to chaotic upon generation</li></ul>
    |whencarried=<ul><li>[[poison resistance]]</li><li>[[immunity to sickness]]</li><li>emits [[poison clouds]]</li></ul>
    |whenwielded=<ul><li>[[bloodthirsty]]</li></ul>
    |whenused=<ul><li>creates 5x5 filth [[explosion]] on hit</li></ul>
    |wheninvoked=<ul><li>summon several [[pudding or ooze]] monsters</li></ul>
    |size=gigantic
    |cost=6,000,000
    |weight=200
    |material=shadowsteel
}}

This template is intended to be for artifact weapons, although many artifacts in these variants have applicable weapon attributes despite not having a weapon as their base item type—this mostly applies to helms, rings, gloves, and boots, and such artifacts should ideally use {{dNetHack artifact}} unless circumstances dictate otherwise. Additionally, some artifacts are capable of having their base items changed, either through their own innate abilities or by a hero performing a specific action, e.g. naming an artifact or reshaping it at a forge.

The fields used in the template are described as follows:

Field Description Required?
color name of the color template to use for the glyph required
glyph character representing this item (check the base item) required
tile tile representing this item defaults to [[Image:{{{base}}}.png]]; shows (No tile) if the filename is not valid
name name of the artifact defaults to {{PAGENAME}}
base the base item for this artifact required
appearance any special unidentified appearance the artifact has defaults to (same as base item)
affiliation the alignment, role, race, and whether it is intelligent required
generation the means by which the artifact can be found defaults to "must be gifted"
wishable can the artifact be wished for defaults to "no"
Damage vs. small damage against small monsters required
Damage vs. large damage against large monsters required
Damage type form of damage dealt required
To-hit bonus added bonus to hit chances defaults to +0
Primary skill skill utilized by artifact required
Secondary skill secondary skill that can be utilized by artifact not displayed if unused
Tertiary skill tertiary skill that can be utilized by artifact not displayed if unused
Primary attribute attribute that provides damage bonuses defaults to strength
Second attribute second attribute that can provide damage bonuses not displayed if unused
Tertiary attribute third attribute that can provide damage bonuses not displayed if unused
properties traits of the artifact that don't fit into
any of the below sections
defaults to (see below)
whencarried effect when carried defaults to (none)
whenwielded effect while wielded defaults to (none)
used displayed instead of "used" in When used defaults to "used"
whenused effect when applied/worn/whatever defaults to (none)
wheninvoked effect when invoked defaults to (none)
size artifact's size, which affects how many hands
a hero or monster of a given size must wield it with
defaults to (base item standard)
cost base cost of this artifact required
weight weight of this artifact; to remove the "(+10/positive enchant)" note
(e.g. for stones), add a noenchant=yes parameter
required
material the material of the artifact required