Template:DQBEnemy: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
m image link and alt text
m rewrote head as flex instead of table layout
Line 4: Line 4:
<includeonly>
<includeonly>
<div style="background-color: #f4ce81; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="background-color: #f4ce81; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="padding-left: 5px; padding-right: 5px; height: 36px; line-height: 32px;">
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center;">
<table style="width: 100%"><tr>
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</div>
<td valign="top">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</td><td style="text-align:right">[[File:DQB-LOGO-ICON.png|link=Dragon Quest Builders|alt=Dragon Quest Builders]]</td>
    <div>[[File:DQB-LOGO-ICON.png|link=Dragon Quest Builders|alt=Dragon Quest Builders]]</div>
</tr></table>
</div>
</div>
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;">{{#if: {{{chapter-1-hp|}}}{{{chapter-1-attack|}}}{{{chapter-1-defense|}}}{{{chapter-1-items|}}} |  
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;">{{#if: {{{chapter-1-hp|}}}{{{chapter-1-attack|}}}{{{chapter-1-defense|}}}{{{chapter-1-items|}}} |  

Revision as of 09:03, 20 April 2025



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)
Dragon Quest Builders
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=
}}