Template:DQBEnemy: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
m hopefully fixed a line-spacing bug
added location parameter
Line 21: Line 21:
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{chapter-1-defense|}}}|{{{chapter-1-defense}}}|?}}</td>
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{chapter-1-defense|}}}|{{{chapter-1-defense}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-1-items|}}}|{{{chapter-1-items}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-1-items|}}}|{{{chapter-1-items}}}|?}}</td>
      </tr>
      <tr>
        <td colspan="4" style="background-color: #f4ce81; padding: 2px; border-top: 1px solid orange; text-align: center;">'''Location(s)'''</td>
      </tr>
      <tr>
        <td colspan="4" style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-1-locations|}}}|{{{chapter-1-locations}}}|?}}</td>
       </tr>
       </tr>
     </table>
     </table>
Line 38: Line 44:
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{chapter-2-defense|}}}|{{{chapter-2-defense}}}|?}}</td>
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{chapter-2-defense|}}}|{{{chapter-2-defense}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-2-items|}}}|{{{chapter-2-items}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-2-items|}}}|{{{chapter-2-items}}}|?}}</td>
      </tr>
      <tr>
        <td colspan="4" style="background-color: #f4ce81; padding: 2px; border-top: 1px solid orange; text-align: center;">'''Location(s)'''</td>
      </tr>
      <tr>
        <td colspan="4" style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-2-locations|}}}|{{{chapter-2-locations}}}|?}}</td>
       </tr>
       </tr>
     </table>
     </table>
Line 55: Line 67:
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{chapter-3-defense|}}}|{{{chapter-3-defense}}}|?}}</td>
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{chapter-3-defense|}}}|{{{chapter-3-defense}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-3-items|}}}|{{{chapter-3-items}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-3-items|}}}|{{{chapter-3-items}}}|?}}</td>
      </tr>
      <tr>
        <td colspan="4" style="background-color: #f4ce81; padding: 2px; border-top: 1px solid orange; text-align: center;">'''Location(s)'''</td>
      </tr>
      <tr>
        <td colspan="4" style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{chapter-3-locations|}}}|{{{chapter-3-locations}}}|?}}</td>
       </tr>
       </tr>
     </table>
     </table>
Line 72: Line 90:
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{final-chapter-defense|}}}|{{{final-chapter-defense}}}|?}}</td>
         <td style="padding: 2px; width: 100px; height: 24px; text-align: center; border-right: 1px solid orange">{{#if:{{{final-chapter-defense|}}}|{{{final-chapter-defense}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{final-chapter-items|}}}|{{{final-chapter-items}}}|?}}</td>
         <td style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{final-chapter-items|}}}|{{{final-chapter-items}}}|?}}</td>
      </tr>
      <tr>
        <td colspan="4" style="background-color: #f4ce81; padding: 2px; border-top: 1px solid orange; text-align: center;">'''Location(s)'''</td>
      </tr>
      <tr>
        <td colspan="4" style="padding: 2px;  height: 24px; text-align: center;">{{#if:{{{final-chapter-locations|}}}|{{{final-chapter-locations}}}|?}}</td>
       </tr>
       </tr>
     </table>
     </table>
Line 115: Line 139:
|kanji=
|kanji=
|romanji=
|romanji=
|sprite=
|chapter-1-hp=
|chapter-1-hp=
|chapter-1-attack=
|chapter-1-attack=
|chapter-1-defense=
|chapter-1-defense=
|chapter-1-items=
|chapter-1-items=
|chapter-1-locations=
|chapter-2-hp=
|chapter-2-hp=
|chapter-2-attack=
|chapter-2-attack=
|chapter-2-defense=
|chapter-2-defense=
|chapter-2-items=
|chapter-2-items=
|chapter-2-locations=
|chapter-3-hp=
|chapter-3-hp=
|chapter-3-attack=
|chapter-3-attack=
|chapter-3-defense=
|chapter-3-defense=
|chapter-3-items=
|chapter-3-items=
|chapter-3-locations=
|final-chapter-hp=
|final-chapter-hp=
|final-chapter-attack=
|final-chapter-attack=
|final-chapter-defense=
|final-chapter-defense=
|final-chapter-items=
|final-chapter-items=
|final-chapter-locations=
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 18:59, 14 February 2018


This is a template for enemies as they appear in Dragon Quest Builders. For appearances in other games, please use the corresponding enemy template.

Example

Slime (スライム suraimu)
Chapter 1
HP Attack Defense Item(s) Dropped
7 4 0 Blue goo (★★★), Milkblossom bud (★☆☆)
Location(s)
?
Chapter 2
HP Attack Defense Item(s) Dropped
12 6 0 Blue goo (★★★), Milkblossom bud (★☆☆)
Location(s)
?
Chapter 3
HP Attack Defense Item(s) Dropped
14 8 3 Blue goo (★★★), Milkblossom bud (★☆☆)
Location(s)
?
Final Chapter
HP Attack Defense Item(s) Dropped
9 8 0 Blue goo (★★★), Milkblossom bud (★☆☆)
Location(s)
?
Sprite


Usage

{{DQBEnemy
|name=
|kanji=
|romanji=
|sprite=
|chapter-1-hp=
|chapter-1-attack=
|chapter-1-defense=
|chapter-1-items=
|chapter-1-locations=
|chapter-2-hp=
|chapter-2-attack=
|chapter-2-defense=
|chapter-2-items=
|chapter-2-locations=
|chapter-3-hp=
|chapter-3-attack=
|chapter-3-defense=
|chapter-3-items=
|chapter-3-locations=
|final-chapter-hp=
|final-chapter-attack=
|final-chapter-defense=
|final-chapter-items=
|final-chapter-locations=
}}