Template:DQEnemy: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
m fixed bug
mNo edit summary
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color: #f4ce81; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="background-color: #0066ff; padding: 3px; border-radius: 7px; max-width: 63em;">
<div style="padding-left: 5px;">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}} </div>
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center; color: white;">
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | (<span lang="ja">{{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }}</span>)}}</div>
    <div><!-- space for logo link --></div>
</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: #ffc456; border-radius: 5px; padding: 3px; text-align: center; line-height: 24px;">'''Original (NES)'''</div>
<div style="height: 24px; margin: 5px; background-color: #FFD700; border-radius: 5px; padding: 3px; text-align: center; line-height: 24px;">'''Original ({{NES}})'''</div>
    <div style="padding: 3px; ">
{{paired list grid
    <table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
| key background color = #FFD700
      <tr>
  | border color = orange
        <td style="background-color#f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Sprite'''</td>
| span 1  = 12<!-- space for bestiary info likely to be added in 2025 HD-2D remake -->
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''HP'''</td>
  | key 1  = Sprite
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''MP'''</td>
  | value 1 = {{{nes-sprite|}}}
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Experience'''</td>
| key 2  = {{Exp}}erience
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Gold'''</td>
| value 2 = {{{nes-exp|?}}}
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Attack'''</td>
| key 3  = [[Gold]]
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Defense'''</td>
| value 3 = {{{nes-gold|?}}}
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center;">'''Agility'''</td>
| key 4  = {{HP}}
      </tr>
| value 4 = {{{nes-hp|?}}}
      <tr>
| key 5  = {{MP}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{nes-sprite|}}} | {{{nes-sprite}}} }}</td>
| value 5 = {{{nes-mp|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-hp|}}}|{{{nes-hp}}}|?}}</td>
| key 6  = {{Attack}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-mp|}}}|{{{nes-mp}}}|?}}</td>
| value 6 = {{{nes-attack|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-exp|}}}|{{{nes-exp}}}|?}}</td>
| key 7  = {{Defence}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-gold|}}}|{{{nes-gold}}}|?}}</td>
| value 7 = {{{nes-defense|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-attack|}}}|{{{nes-attack}}}|?}}</td>
| key 8  = {{Agility}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-defense|}}}|{{{nes-defense}}}|?}}</td>
| value 8 = {{{nes-agility|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center;">{{#if:{{{nes-agility|}}}|{{{nes-agility}}}|?}}</td>
| key 9  = {{Evasion}}
      </tr>
| value 9 = {{{nes-evasion|?}}}
    </table>
}}
 
{{paired list stack
    <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">
| key background color = #FFD700
      <tr>
  | border color = orange
        <td style="width: 100px; height: 24px; background-color:  #f4ce81; border-bottom: 1px solid orange; border-right: 1px solid orange">Spell(s)</td>
| key 1  = Spell(s)
        <td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{nes-spells|}}} | '''{{{nes-spells}}}''' }}</td>
| value 1 = {{{nes-spells|}}}
      </tr>
| key 2  = Location(s)
      <tr>
| value 2 = {{{nes-locations|}}}
        <td style="width: 100px; height: 24px; background-color:  #f4ce81; border-right: 1px solid orange;">Location(s)</td>
}}
        <td style="text-align: center;">{{#if: {{{nes-locations|}}} | '''{{{nes-locations}}}''' }}</td>
{{paired list grid
      </tr>
| label =
    </table>
| label id = dq-nes-enemy-resistances
    </div>
| key background color = #FFD700
 
| border color = orange
    <div style="background-color: #ffecc1; border-radius: 5px; padding: 3px; margin-top: 10px;">
  | span 1 = 4
    <div style="height: 24px; width: 99%; background-color: #ffc456; border-radius: 5px; padding: 3px; text-align: center; line-height: 24px;">'''Remakes (SNES, GBC, Mobile)'''</div>
  | key 1  = [[Fizzle]] resistance
    <div style="padding: 3px; ">
  | value 1 = {{{nes-fizzle-resist|?}}}
    <table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
| span 2  = 4
      <tr>
| key 2  = [[Snooze]] resistance
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Sprites'''</td>
| value 2 = {{{nes-snooze-resist|?}}}
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''HP'''</td>
| span 3 = 4
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''MP'''</td>
  | key 3  = Fire resistance
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Experience'''</td>
  | value 3 = {{{nes-sizz-resist|?}}}
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Gold'''</td>
}}
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Attack'''</td>
        <td style="background-color:  #f4ce81; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Defense'''</td>
        <td style="background-color: #f4ce81; padding: 2px; width: 64px; text-align: center;">'''Agility'''</td>
      </tr>
      <tr>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{remake-sprites|}}} | {{{remake-sprites}}} }}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-hp|}}}|{{{remake-hp}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-mp|}}}|{{{remake-mp}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-exp|}}}|{{{remake-exp}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-gold|}}}|{{{remake-gold}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-attack|}}}|{{{remake-attack}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-defense|}}}|{{{remake-defense}}}|?}}</td>
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center;">{{#if:{{{remake-agility|}}}|{{{remake-agility}}}|?}}</td>
      </tr>
    </table>
 
    <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>
        <td style="width: 100px; height: 24px; background-color: #f4ce81; 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>
      </tr>
      <tr>
        <td style="width: 100px; height: 24px; background-color: #f4ce81; border-right: 1px solid orange;">Location(s)</td>
        <td style="text-align: center;">{{#if: {{{remake-locations|}}} | '''{{{remake-locations}}}''' }}</td>
      </tr>
    </table>
    </div>
</div>
</div>
<div style="background-color: #ffecc1; margin-top: 3px; border-radius: 5px; padding: 3px;">
<div style="height: 24px; margin: 5px; background-color: #FFD700; border-radius: 5px; padding: 3px; text-align: center; line-height: 24px;">'''Remakes ({{SFC}}, {{GBC}}, [[Cell phone|Mobile]])'''</div>
{{paired list grid
| key background color = #FFD700
| border color = orange
| span 1  = 12<!-- space for bestiary info likely to be added in 2025 HD-2D remake -->
| key 1  = Sprites
| value 1 = {{{remake-sprites|}}}
| key 2  = {{Exp}}erience
| value 2 = {{{remake-exp|?}}}
| key 3  = [[Gold]]
| value 3 = {{{remake-gold|?}}}
| key 4  = {{HP}}
| value 4 = {{{remake-hp|?}}}
| key 5  = {{MP}}
| value 5 = {{{remake-mp|?}}}
| key 6  = {{Attack}}
| value 6 = {{{remake-attack|?}}}
| key 7  = {{Defence}}
| value 7 = {{{remake-defense|?}}}
| key 8  = {{Agility}}
| value 8 = {{{remake-agility|?}}}
| key 9  = {{Evasion}}
| value 9 = {{{remake-evasion|?}}}
}}
{{paired list stack
| key background color = #FFD700
| border color = orange
| key 1  = Spell(s)
| value 1 = {{{remake-spells|}}}
| key 2  = Location(s)
| value 2 = {{{remake-locations|}}}
}}
{{paired list grid
| label =
| label id = dq-remake-enemy-resistances
| key background color = #FFD700
| border color = orange
| span 1  = 4
| key 1  = [[Fizzle]] resistance
| value 1 = {{{remake-fizzle-resist|?}}}
| span 2  = 4
| key 2  = [[Snooze]] resistance
| value 2 = {{{remake-snooze-resist|?}}}
| span 3  = 4
| key 3  = Fire resistance
| value 3 = {{{remake-sizz-resist|?}}}
}}
</div>
</div>
</div>
</div>
</includeonly>
</div></includeonly>
 
<noinclude>
<noinclude>
This is a template for enemies as they appear in ''[[Dragon Quest]]''. For appearances in other games, please use the corresponding enemy template.  
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 123:
|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 155:
|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 169:
|remake-spells=
|remake-spells=
|remake-locations=
|remake-locations=
|remake-evasion=
|remake-fizzle-resist=
|remake-snooze-resist=
|remake-sizz-resist=
}}
}}
</pre>
</pre>
[[Category:Enemy templates]]
</noinclude>
</noinclude>

Latest revision as of 02:36, 3 March 2026


This is a template for enemies that appear in Dragon Quest. For appearances in other games, see use the corresponding enemy template.

Example[edit source]

Slime (スライム suraimu)
Original (NES)
Sprite
Gold
1
HP
3
MP
Attack
5
Evasion
164
Spell(s)
Location(s)
Near Tantegel
Fizzle resistance
1516
Snooze resistance
016
Fire resistance
016
Remakes (SFC, GBC, Mobile)
Sprites
Gold
2
HP
3
MP
Attack
5
Spell(s)
Location(s)
Near Tantegel
Fizzle resistance
?
Snooze resistance
?
Fire resistance
?


Usage[edit source]

{{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=
}}