44行: | 44行: | ||
|- | |- | ||
{{#if:{{{1|}}} | {{#if:{{{1|}}} | ||
- | | {{!}}[[File:{{{image|{{{1}}}.png}}}|32x32px|middle|frameless|link={{{link|{{{1}}}}}}]]x{{{2|}}} {{!}}style="text-align:right"{{!}}{{{3|}}} }} | + | | {{!}}<div style="margin:2px; display:inline-block;"><div style="text-align:center; width:32px; display:inline-block;">[[File:{{{image|{{{1}}}.png}}}|32x32px|middle|frameless|link={{{link|{{{1}}}}}}]]</div> [[{{{link|{{{1}}}}}}|{{{name|{{{1}}}}}}]]</div>x{{{2|}}} {{!}}style="text-align:right"{{!}}{{{3|}}} }} |
|- | |- | ||
{{#if:{{{4|}}} | {{#if:{{{4|}}} | ||
- | | {{!}} {{ | + | | {{!}} <div style="margin:2px; display:inline-block;"><div style="text-align:center; width:32px; display:inline-block;">[[File:{{{image|{{{4}}}.png}}}|32x32px|middle|frameless|link={{{link|{{{1}}}}}}]]</div> [[{{{link|{{{4}}}}}}|{{{name|{{{4}}}}}}]]</div>x{{{5}}} {{!}}style="text-align:right"{{!}}{{{6|}}} }} |
+ | |} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
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 }}
|