Template:DQTreasuresEnemy: Difference between revisions

Shy-Guy2002 (talk | contribs)
Adjusted the infobox to be more compact due to the large space the Treasures one takes up on the main page. If anything is missing or needs to be adjusted feel free to undo if necessary.
Shy-Guy2002 (talk | contribs)
mNo edit summary
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:75%;"
{| style="background-color: #ffecc1; padding: 3px; border: 1px solid orange; border-collapse: collapse; min-width:50%; width:full; max-width:7=85%;"
| <div style="display: flex; justify-content: space-between; align-items: center;"><div style="margin-left:10px; font-size:110%;">{{#if: {{{name|}}} | '''{{{name}}}''' }}{{#if: {{{bestiaryNumber|}}} |<span style="font-size:90%;"><br>Bestiary number: {{{bestiaryNumber|}}}</span>}}</span></div><div style="margin-right:10px">[[File:Dragon Quest Treasures Logo.png|140x80px|link=Dragon Quest Treasures]]</div>
| <div style="display: flex; justify-content: space-between; align-items: center;"><div style="margin-left:10px; font-size:110%;">{{#if: {{{name|}}} | '''{{{name}}}''' }}{{#if: {{{bestiaryNumber|}}} |<span style="font-size:90%;"><br>Bestiary number: {{{bestiaryNumber|}}}</span>}}</span></div><div style="margin-right:10px">[[File:Dragon Quest Treasures Logo.png|140x80px|link=Dragon Quest Treasures]]</div>
</div>
</div>