Template:DQH2Enemy: 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: #02C0E4; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 80%;" >
<div style="background-color: #02C0E4; 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: {{{romaji|}}} | &nbsp;''{{{romaji}}}'' }})}}</td><td style="text-align:right">[[File:DQHII_Logo.png|50px|link=Dragon Quest Heroes II: Twin Kings and the Prophecy's End|alt=Dragon Quest Heroes II: Twin Kings and the Prophecy's End]]</td>
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romaji|}}} | &nbsp;''{{{romaji}}}'' }})}}</div>
</tr></table></div>
    <div>[[File:DQHII_Logo.png|50px|link=Dragon Quest Heroes II: Twin Kings and the Prophecy's End|alt=Dragon Quest Heroes II: Twin Kings and the Prophecy's End]]</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 #2ab0cb; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
     <table style="border: 1px solid #2ab0cb; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
Line 43: Line 44:
</div>
</div>
</div>
</div>
</div>{{clear}}</includeonly><noinclude>
</div></includeonly><noinclude>
This is a template for enemies as they appear in {{DQH2}}. For appearances in other games, please use the corresponding enemy template.  
This is a template for enemies as they appear in {{DQH2}}. For appearances in other games, please use the corresponding enemy template.  



Latest revision as of 13:45, 20 April 2025

This is a template for enemies as they appear in Dragon Quest Heroes II: Twin Kings and the Prophecy's End. For appearances in other games, please use the corresponding enemy template.

Example[edit]

Slime (スライム Suraimu)
Dragon Quest Heroes II: Twin Kings and the Prophecy's End
Model Experience Gold Marked Version?
1 1 Yes
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[edit]

{{DQH2Enemy
|name=
|kanji= 
|romaji=
|listNumber=
|fieldNotes=
|image=
|exp=
|gold=
|markedVersion=
|item=
|locations=
}}