Template:DQM3Enemy: Difference between revisions

74 bytes removed ,  14:03, 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: #ff1a1a ; float: left; padding: 3px 3px 3px 3px; border-radius: 7px; width: 80%;" >
<div style="background-color: #ff1a1a; padding: 3px; border-radius: 7px; max-width: 63em;">
<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}}}'' }})}}
    <div>[[File:DQM3 Logo.png|100px|link=Dragon Quest Monsters: The Dark Prince|alt=Dragon Quest Monsters: The Dark Prince]]</div>
</td><td style="text-align:right">[[File:DQM3 Logo.png|100px|link=Dragon Quest Monsters: The Dark Prince|alt=Dragon Quest Monsters: The Dark Prince]]</td>
</div>
</tr></table></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 black; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
     <table style="border: 1px solid black; border-radius: 3px; width: 100%;" cellspacing="0" cellpadding="0">
Line 148: Line 147:
</div>
</div>
</div>
</div>
</div>{{clear}}</includeonly><noinclude>
</div></includeonly><noinclude>


The following is the template used for monsters appearing in {{DQM3}}.  
The following is the template used for monsters appearing in {{DQM3}}.  
1,492

edits