Template:DQHEnemy: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
m image alt text
m rewrote head as flex instead of table layout, allow more width on mobile
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color: #F5CC60; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 80%;" >
<div style="background-color: #F5CC60; padding: 3px; border-radius: 7px; max-width: 63em;">
<div style="padding-left: 5px; padding-right: 5px; height: 32px;"><table style="width: 100%"><tr>
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center;">
<td valign="top">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</td><td style="text-align:right">[[File:DQH_Logo.png|50px|link=Dragon Quest Heroes: The World Tree's Woe and the Blight Below|alt=Dragon Quest Heroes: The World Tree's Woe and the Blight Below]]</td>
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</div>
</tr></table></div>
    <div>[[File:DQH_Logo.png|50px|link=Dragon Quest Heroes: The World Tree's Woe and the Blight Below|alt=Dragon Quest Heroes: The World Tree's Woe and the Blight Below]]</div>
</div>
<div style="background-color: #ffffff; border-radius: 5px; padding: 3px;">
<div style="background-color: #ffffff; border-radius: 5px; padding: 3px;">
     <table style="border: 1px solid #dcc382; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
     <table style="border: 1px solid #dcc382; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
Line 41: Line 42:
</div>
</div>
</div>
</div>
</div>{{clear}}</includeonly><noinclude>
</div></includeonly><noinclude>
This is a template for enemies as they appear in {{DQH}}. For appearances in other games, please use the corresponding enemy template.  
This is a template for enemies as they appear in {{DQH}}. For appearances in other games, please use the corresponding enemy template.  



Revision as of 09:46, 20 April 2025

This is a template for enemies as they appear in Dragon Quest Heroes: The World Tree's Woe and the Blight Below. For appearances in other games, please use the corresponding enemy template.

Example

Slime
Dragon Quest Heroes: The World Tree's Woe and the Blight Below
Model Experience Gold
1 1
List No. 001
Field Notes It's a slime
Yep. It's a slime, alright.
Location(s) Greena Pastures
Item(s) Dropped Slimedrop (common), Salt of the earth (rare)


Usage

{{DQHEnemy
|name=
|kanji= 
|romanji=
|listNumber=
|fieldNotes=
|image=
|exp=
|gold=
|items=
|locations=
}}