44行: | 44行: | ||
|- | |- | ||
{{#if:{{{1|}}} | {{#if:{{{1|}}} | ||
- | | {{!}}{{ | + | | {{!}}[[File:{{{image|{{{1}}}.png}}}|32x32px|middle|frameless|link={{{link|{{{1}}}}}}]]x{{{2|}}} {{!}}style="text-align:right"{{!}}{{{3|}}} }} |
|- | |- | ||
{{#if:{{{4|}}} | {{#if:{{{4|}}} |
All variables except Type are optional.
{{npc infobox | image = imagename.png | image2 = imagename2.png | image2caption = Caption of the image on the bottom of the infobox | type = Family of NPC | environment = Where can they be found | ai = Which AI do they use | damage = Amount of HP they damage the undefended player upon hit | life = Amount of HP the NPC has | defense = Amount of defense the NPC has | knockback = Knockback resistance (in %) | title = (optional if you want a different title) | money = dropped coins | item1|quantity1|rate1 ... | item15|quantity15|rate15 }}
|