(ページの作成:「{{{hline|----}}} {| cellpadding="0" style="background:{{{fcolor|#FDFDFD}}}; min-width:180px; margin:0.5em; padding:0.05em; border:1px solid #A8A8A8; -moz-border-radius: .7...」) |
|||
1行: | 1行: | ||
- | + | <includeonly> | |
{| cellpadding="0" style="background:{{{fcolor|#FDFDFD}}}; min-width:180px; margin:0.5em; padding:0.05em; border:1px solid #A8A8A8; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em;" align="right" | {| cellpadding="0" style="background:{{{fcolor|#FDFDFD}}}; min-width:180px; margin:0.5em; padding:0.05em; border:1px solid #A8A8A8; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em;" align="right" | ||
| | | | ||
9行: | 9行: | ||
|- | |- | ||
| style="width:35%" | | | style="width:35%" | | ||
- | |||
| style="width:25%" | | | style="width:25%" | | ||
|- | |- | ||
- | {{#if: {{{type|}}} | + | {{#if: {{{type|}}} |
- | {{!}} '''Type''' | + | | {{!}} '''Type''' {{!}} {{{type|}}} |
- | {{!}} {{{type}}} }} | + | }} |
|- | |- | ||
- | {{#if: {{{environment|}}} | + | {{#if: {{{environment|}}} |
- | {{!}} '''[[環境]]''' | + | | {{!}} '''[[環境]]''' {{!}} [[{{{environment|}}}]] |
- | {{!}} [[{{{environment}}}]] }} | + | }} |
|- | |- | ||
- | {{#if: {{{ai|}}} | + | {{#if: {{{ai|}}} |
- | {{!}} '''AI タイプ''' | + | | {{!}}'''AI タイプ''' {{!}} {{{ai|}}} |
- | {{!}} {{{ai|}}} }} | + | }} |
|- | |- | ||
- | {{#if: {{{life|}}} | + | {{#if: {{{life|}}} |
- | {{!}} '''ライフ''' | + | | {{!}} '''ライフ''' {{!}} {{{life|}}} |
- | {{!}} {{{life|}}} }} | + | }} |
|- | |- | ||
- | {{#if: {{{damage|}}} | + | {{#if: {{{damage|}}} |
- | {{!}} '''ダメージ''' | + | | {{!}} '''ダメージ''' {{!}} {{{damage|}}} |
- | {{!}} {{{damage|}}} }} | + | }} |
|- | |- | ||
- | {{#if: {{{defense|}}} | + | {{#if: {{{defense|}}} |
- | {{!}} '''しゅび力''' | + | | {{!}} '''しゅび力''' {{!}} {{{defense|}}} |
- | {{!}} {{{defense|}}} }} | + | }} |
|- | |- | ||
- | {{#if:{{{money|}}} | + | {{#if: {{{money|}}} |
- | ! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" {{!}} | + | |! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" {{!}} ドロップ |
+ | }} | ||
|- | |- | ||
- | {{#if:{{{money|}}} | + | {{#if: {{{money|}}} |
- | {{!}}''' | + | | {{!}}'''Coins''' {{!}}style="text-align:right" {{!}} {{{money|0 {{cc}}}}} |
- | {{!}}style="text-align:right" {{!}} {{{money|0 {{cc}}}}}}} | + | }} |
|- | |- | ||
- | {{#if:{{{1|}}} | + | {{#if:{{{1|}}} |
- | {{!}} {{ | + | | {{!}}{{アイテム|{{{1|}}}x{{{2|}}}}} {{!}}style="text-align:right"{{!}}{{{3|}}} }} |
- | {{!}}style="text-align:right"{{!}}{{{3|}}}}} | + | |
|- | |- | ||
- | {{#if:{{{4|}}} | + | {{#if:{{{4|}}} |
- | {{!}} {{ | + | | {{!}} {{アイテム|{{{4|}}}x{{{5}}}}} {{!}}style="text-align:right"{{!}}{{{6|}}} }} |
- | {{!}}style="text-align:right"{{!}}{{{6|}}}}} | + | |}</includeonly><noinclude> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
==Usage== | ==Usage== | ||
135行: | 71行: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Template]] | ||
{| | {| | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
{{NPC情報 | {{NPC情報 | ||
- | |type | + | |type = Town |
- | | | + | |ai = Passive |
- | | | + | |life = 250 |
- | | | + | |defense = 15 |
- | | | + | |money = 15 |
- | | | + | |ジェル|3|100% |
- | | | + | |
}} | }} | ||
|} | |} | ||
- | + | </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 }}
|