Template:DQEnemy: Difference between revisions
From Dragon Quest Wiki
m (fixed bug) |
Antiyonder (talk | contribs) No edit summary |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="background-color: # | <div style="background-color: #0066ff; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" > | ||
<div style="padding-left: 5px;">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | ''{{{romanji}}}'' }})}} </div> | <div style="padding-left: 5px; padding-right: 5px; height: 32px;"> | ||
<table style="width: 100%"> | |||
<tr> | |||
<td>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | ''{{{romanji}}}'' }})}}</td> | |||
</tr> | |||
</table> | |||
</div> | |||
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;"> | <div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;"> | ||
<div style="height: 24px; width: 99%; background-color: # | <div style="height: 24px; width: 99%; background-color: #FFD700; border-radius: 5px; padding: 3px; text-align: center; line-height: 24px;">'''Original ({{NES}})'''</div> | ||
<div style="padding: 3px; "> | <div style="padding: 3px; "> | ||
<table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | <table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Sprite'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{HP}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{MP}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Exp}}erience'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Gold]]'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Attack}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Defense}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center;">'''{{Agility}}'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 30: | Line 36: | ||
<table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid orange; text-align: center; height: 32px;" cellspacing="0" cellpadding="0"> | <table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid orange; text-align: center; height: 32px;" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="width: 100px; height: 24px; background-color: # | <td style="width: 100px; height: 24px; background-color: #FFD700; border-bottom: 1px solid orange; border-right: 1px solid orange">Spell(s)</td> | ||
<td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{nes-spells|}}} | '''{{{nes-spells}}}''' }}</td> | <td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{nes-spells|}}} | '''{{{nes-spells}}}''' }}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="width: 100px; height: 24px; background-color: # | <td style="width: 100px; height: 24px; background-color: #FFD700; border-right: 1px solid orange;">Location(s)</td> | ||
<td style="text-align: center;">{{#if: {{{nes-locations|}}} | '''{{{nes-locations}}}''' }}</td> | <td style="text-align: center;">{{#if: {{{nes-locations|}}} | '''{{{nes-locations}}}''' }}</td> | ||
</tr> | |||
</table> | |||
<table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px;" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Evasion}}'''</td> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Fizzle]] Resistance'''</td> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Snooze]] Resistance'''</td> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center;">'''[[Sizz]] & [[Sizzle]] Resistance'''</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{nes-evasion|}}} | {{{nes-evasion}}}|?}}</td> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-fizzle-resist|}}}|{{{nes-fizzle-resist}}}|?}}</td> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-snooze-resist|}}}|{{{nes-snooze-resist}}}|?}}</td> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center;">{{#if:{{{nes-sizz-resist|}}}|{{{nes-sizz-resist}}}|?}}</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 41: | Line 62: | ||
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px; margin-top: 10px;"> | <div style="background-color: #ffecc1; border-radius: 5px; padding: 3px; margin-top: 10px;"> | ||
<div style="height: 24px; width: 99%; background-color: # | <div style="height: 24px; width: 99%; background-color: #FFD700; border-radius: 5px; padding: 3px; text-align: center; line-height: 24px;">'''Remakes ({{SFC}}, {{GBC}}, [[Cell phone|Mobile]])'''</div> | ||
<div style="padding: 3px; "> | <div style="padding: 3px; "> | ||
<table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | <table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Sprites'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{HP}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{MP}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Exp}}erience'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Gold]]'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Attack}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Defense}}'''</td> | ||
<td style="background-color: # | <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center;">'''{{Agility}}'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 68: | Line 89: | ||
<table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid orange; text-align: center; height: 32px;" cellspacing="0" cellpadding="0"> | <table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px; border-right: 1px solid orange; text-align: center; height: 32px;" cellspacing="0" cellpadding="0"> | ||
<tr> | <tr> | ||
<td style="width: 100px; height: 24px; background-color: # | <td style="width: 100px; height: 24px; background-color: #FFD700; border-bottom: 1px solid orange; border-right: 1px solid orange">Spell(s)</td> | ||
<td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{remake-spells|}}} | '''{{{remake-spells}}}''' }}</td> | <td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{remake-spells|}}} | '''{{{remake-spells}}}''' }}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="width: 100px; height: 24px; background-color: # | <td style="width: 100px; height: 24px; background-color: #FFD700; border-right: 1px solid orange;">Location(s)</td> | ||
<td style="text-align: center;">{{#if: {{{remake-locations|}}} | '''{{{remake-locations}}}''' }}</td> | <td style="text-align: center;">{{#if: {{{remake-locations|}}} | '''{{{remake-locations}}}''' }}</td> | ||
</tr> | |||
</table> | |||
<table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px;" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Evasion}}'''</td> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Fizzle]] Resistance'''</td> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Snooze]] Resistance'''</td> | |||
<td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center;">'''[[Sizz]] & [[Sizzle]] Resistance'''</td> | |||
</tr> | |||
<tr> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{remake-evasion|}}} | {{{remake-evasion}}}|?}}</td> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-fizzle-resist|}}}|{{{remake-fizzle-resist}}}|?}}</td> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-snooze-resist|}}}|{{{remake-snooze-resist}}}|?}}</td> | |||
<td style="padding: 2px; width: 48px; height: 24px; text-align: center;">{{#if:{{{remake-sizz-resist|}}}|{{{remake-sizz-resist}}}|?}}</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 79: | Line 115: | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div></includeonly> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
This is a template for enemies | This is a template for enemies that appear in {{DQ}}. For appearances in other games, see use the corresponding enemy template. | ||
== Example == | == Example == | ||
Line 100: | Line 134: | ||
|nes-spells= | |nes-spells= | ||
|nes-locations= Near [[Tantegel]] | |nes-locations= Near [[Tantegel]] | ||
|nes-evasion={{fraction|1|64}} | |||
|nes-fizzle-resist={{fraction|15|16}} | |||
|nes-snooze-resist={{fraction|0|16}} | |||
|nes-sizz-resist={{fraction|0|16}} | |||
|remake-sprites=[[File:SLIME GBC.gif]] | |remake-sprites=[[File:SLIME GBC.gif]] | ||
|remake-hp=3 | |remake-hp=3 | ||
Line 128: | Line 166: | ||
|nes-spells= | |nes-spells= | ||
|nes-locations= | |nes-locations= | ||
|nes-evasion= | |||
|nes-fizzle-resist= | |||
|nes-snooze-resist= | |||
|nes-sizz-resist= | |||
|remake-sprites= | |remake-sprites= | ||
|remake-hp= | |remake-hp= | ||
Line 138: | Line 180: | ||
|remake-spells= | |remake-spells= | ||
|remake-locations= | |remake-locations= | ||
|remake-evasion= | |||
|remake-fizzle-resist= | |||
|remake-snooze-resist= | |||
|remake-sizz-resist= | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | |||
<noinclude> | |||
[[Category:Enemy templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> |
Latest revision as of 10:25, 10 February 2022
This is a template for enemies that appear in Dragon Quest. For appearances in other games, see use the corresponding enemy template.
Example[edit]
Slime (スライム suraimu) |
Usage[edit]
{{DQEnemy |name= |kanji= |romanji= |nes-sprite= |nes-hp= |nes-mp= |nes-exp= |nes-gold= |nes-attack= |nes-defense= |nes-agility= |nes-spells= |nes-locations= |nes-evasion= |nes-fizzle-resist= |nes-snooze-resist= |nes-sizz-resist= |remake-sprites= |remake-hp= |remake-mp= |remake-exp= |remake-gold= |remake-attack= |remake-defense= |remake-agility= |remake-spells= |remake-locations= |remake-evasion= |remake-fizzle-resist= |remake-snooze-resist= |remake-sizz-resist= }}