Template:DQHEnemy: Difference between revisions

Jump to navigation Jump to search
52 bytes removed ,  13:46, 20 April 2025
m
rewrote head as flex instead of table layout, allow more width on mobile
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.  


1,492

edits

Navigation menu