Template:DQ1Enemy: Difference between revisions

No edit summary
m rewrote head as flex instead of table layout
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color: #0066ff; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="background-color: #0066ff; padding: 3px 3px 3px 3px; border-radius: 7px; width: 739px;" >
<div style="padding-left: 5px; padding-right: 5px; height: 32px;">
<div style="display: flex; padding: 0.5em; height: 1.35em; justify-content: space-between; align-items: center;">
<table style="width: 100%">
    <div>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</div>
<tr>
    <div></div>
<td>{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | ({{{kanji}}}{{#if: {{{romanji|}}} | &nbsp;''{{{romanji}}}'' }})}}</td>
</tr>
</table>
</div>
</div>
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;">
<div style="background-color: #ffecc1; border-radius: 5px; padding: 3px;">