| 44行: | 44行: | ||
|- | |- | ||
{{#if:{{{1|}}} | {{#if:{{{1|}}} | ||
| - | | {{!}}{{アイテム{{!}}{{{1|}}}x{{{2| | + | | {{!}}{{アイテム{{!}}{{{1|}}}}}x{{{2|}}} {{!}}style="text-align:right"{{!}}{{{3|}}} }} |
|- | |- | ||
{{#if:{{{4|}}} | {{#if:{{{4|}}} | ||
| - | | {{!}} {{アイテム{{!}}{{{4|}}}x{{{5 | + | | {{!}} {{アイテム{{!}}{{{4|}}}}}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
}}
| ||||||||