Template:DQM3Enemy: Difference between revisions

fully reworked
Shy-Guy2002 (talk | contribs)
m Decreased the template maximum width because some of the pages that use this template get stretched too far because of the in-game-description sections, which covers more of the page and compresses the synthesis section.
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display: flex; justify-content: flex-start; align-items: stretch; gap: 2px">
<div style="display: flex; justify-content: flex-start; align-items: stretch; gap: 2px">
{| style="background-color: #ffecc1; padding: 3px; border: 1px solid orange; border-collapse: collapse; min-width:50%; width:full; max-width: 100%;"
{| style="background-color: #ffecc1; padding: 3px; border: 1px solid orange; border-collapse: collapse; min-width:50%; width:full; max-width: 75%;"
| <div style="display: flex; justify-content: space-between; align-items: center;"><div style="margin-left:10px; font-size:110%;">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | (<span lang="ja">{{{kanji}}}<span class="t_nihongo_comma">, ''</span>{{{romaji| {{{romanji|}}} }}}</span>)}}'' {{#if: {{{bestiary|}}} |<span style="font-size:90%;"><br>Bestiary number: {{{bestiary|}}}</span>}}</div><div style="margin-right:10px">[[File:DQM3 Logo.png|140x80px|link=Dragon Quest Monsters: The Dark Prince|alt=Dragon Quest Monsters: The Dark Prince]]</div>
| <div style="display: flex; justify-content: space-between; align-items: center;"><div style="margin-left:10px; font-size:110%;">{{#if: {{{name|}}} | '''{{{name}}}''' }} {{#if: {{{kanji|}}} | (<span lang="ja">{{{kanji}}}<span class="t_nihongo_comma">, ''</span>{{{romaji| {{{romanji|}}} }}}</span>)}}'' {{#if: {{{bestiary|}}} |<span style="font-size:90%;"><br>Bestiary number: {{{bestiary|}}}</span>}}</div><div style="margin-right:10px">[[File:DQM3 Logo.png|140x80px|link=Dragon Quest Monsters: The Dark Prince|alt=Dragon Quest Monsters: The Dark Prince]]</div>
|-
|-