Template:DQEnemy: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
m contrast
tableless layout, moved some values around
Line 2: Line 2:
<div style="background-color: #0066ff; padding: 3px; border-radius: 7px; max-width: 63em;">
<div style="background-color: #0066ff; padding: 3px; border-radius: 7px; max-width: 63em;">
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center; color: white;">
<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|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</div>
     <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | (<span lang="ja">{{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }}</span>)}}</div>
     <div><!-- space for logo link --></div>
     <div><!-- space for logo link --></div>
</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: #FFD700; 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: #FFD700; 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: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{HP}}'''</td>
| key 1  = Sprite
        <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{MP}}'''</td>
| value 1 = {{{nes-sprite|}}}
        <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Exp}}erience'''</td>
  | key 2  = {{Exp}}erience
        <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Gold]]'''</td>
| value 2 = {{{nes-exp|?}}}
        <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Attack}}'''</td>
  | key 3  = [[Gold]]
        <td style="background-color: #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Defense}}'''</td>
| value 3 = {{{nes-gold|?}}}
        <td style="background-color:  #FFD700; 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: #FFD700; 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:  #FFD700; border-right: 1px solid orange;">Location(s)</td>
}}
        <td style="text-align: center;">{{#if: {{{nes-locations|}}} | '''{{{nes-locations}}}''' }}</td>
<div role="figure" aria-labelledby="dq-nes-enemy-resistances">
      </tr>
<div id="dq-nes-enemy-resistances" style="text-align: center; font-weight: bold;">Resistances</div>
    </table>
{{paired list grid
   
| key background color = #FFD700
    <table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px;" cellspacing="0" cellpadding="0">
| border color = orange
      <tr>
| span 1  = 4
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Evasion}}'''</td>
| key 1  = [[Fizzle]]
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Fizzle]] Resistance'''</td>
| value 1 = {{{nes-fizzle-resist|?}}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Snooze]] Resistance'''</td>
| span 2  = 4
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center;">'''[[Sizz]] & [[Sizzle]] Resistance'''</td>
| key 2  = [[Snooze]]
      </tr>
| value 2 = {{{nes-snooze-resist|?}}}
      <tr>
| span 3  = 4
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{nes-evasion|}}} | {{{nes-evasion}}}|?}}</td>
| key 3  = [[Sizz]] & [[Sizzle]]
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{nes-fizzle-resist|}}}|{{{nes-fizzle-resist}}}|?}}</td>
| value 3 = {{{nes-sizz-resist|?}}}
        <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>
</div>
      </tr>
<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>
    </table>
{{paired list grid
    </div>
| key background color = #FFD700
 
| border color = orange
    <div style="background-color: #ffecc1; border-radius: 5px; padding: 3px; margin-top: 10px;">
| span 1  = 12<!-- space for bestiary info likely to be added in 2025 HD-2D remake -->
    <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>
| key 1  = Sprites
    <div style="padding: 3px; ">
| value 1 = {{{remake-sprites|}}}
    <table style="border: 1px solid orange; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
| key 2  = {{Exp}}erience
      <tr>
| value 2 = {{{remake-exp|?}}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''Sprites'''</td>
| key 3  = [[Gold]]
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{HP}}'''</td>
| value 3 = {{{remake-gold|?}}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{MP}}'''</td>
| key 4  = {{HP}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Exp}}erience'''</td>
| value 4 = {{{remake-hp|?}}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Gold]]'''</td>
| key 5  = {{MP}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Attack}}'''</td>
| value 5 = {{{remake-mp|?}}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Defense}}'''</td>
| key 6  = {{Attack}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center;">'''{{Agility}}'''</td>
| value 6 = {{{remake-attack|?}}}
      </tr>
| key 7  = {{Defence}}
      <tr>
| value 7 = {{{remake-defense|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if: {{{remake-sprites|}}} | {{{remake-sprites}}} }}</td>
| key 8  = {{Agility}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-hp|}}}|{{{remake-hp}}}|?}}</td>
| value 8 = {{{remake-agility|?}}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-mp|}}}|{{{remake-mp}}}|?}}</td>
| key 9  = {{Evasion}}
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-exp|}}}|{{{remake-exp}}}|?}}</td>
| value 9 = {{{remake-evasion|?}}}
        <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>
{{paired list stack
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{remake-defense|}}}|{{{remake-defense}}}|?}}</td>
| key background color = #FFD700
        <td style="padding: 2px; width: 48px; height: 24px; text-align: center;">{{#if:{{{remake-agility|}}}|{{{remake-agility}}}|?}}</td>
  | border color = orange
      </tr>
| key 1  = Spell(s)
    </table>
| value 1 = {{{remake-spells|}}}
 
| key 2  = Location(s)
    <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">
| value 2 = {{{remake-locations|}}}
      <tr>
}}
        <td style="width: 100px; height: 24px; background-color:  #FFD700; border-bottom: 1px solid orange; border-right: 1px solid orange">Spell(s)</td>
<div role="figure" aria-labelledby="dq-remake-enemy-resistances">
        <td style="text-align: center; border-bottom: 1px solid orange;">{{#if: {{{remake-spells|}}} | '''{{{remake-spells}}}''' }}</td>
<div id="dq-remake-enemy-resistances" style="text-align: center; font-weight: bold;">Resistances</div>
      </tr>
{{paired list grid
      <tr>
| key background color = #FFD700
        <td style="width: 100px; height: 24px; background-color:  #FFD700; border-right: 1px solid orange;">Location(s)</td>
| border color = orange
        <td style="text-align: center;">{{#if: {{{remake-locations|}}} | '''{{{remake-locations}}}''' }}</td>
| span 1  = 4
      </tr>
| key 1  = [[Fizzle]]
    </table>
| value 1 = {{{remake-fizzle-resist|?}}}
 
| span 2  = 4
    <table style="border: 1px solid orange; border-radius: 3px; width: 100%; margin-top: 5px;" cellspacing="0" cellpadding="0">
| key 2  = [[Snooze]]
      <tr>
| value 2 = {{{remake-snooze-resist|?}}}
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''{{Evasion}}'''</td>
| span 3  = 4
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Fizzle]] Resistance'''</td>
| key 3  = [[Sizz]] & [[Sizzle]]
        <td style="background-color:  #FFD700; padding: 2px; width: 64px; text-align: center; border-right: 1px solid orange">'''[[Snooze]] Resistance'''</td>
| value 3 = {{{remake-sizz-resist|?}}}
        <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>
    </table>
    </div>
</div>
</div>
</div>
</div>

Revision as of 19:37, 21 April 2025


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

Example

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


Usage

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