Template:BadgeBox/fixed: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
No edit summary
(flex instead of fixed layout table for nicer vertical align, max line length for widescreen readability)
Line 1: Line 1:
{| style="background-color: #F4F4FF; border: 1px solid #AAAAFF; margin: 0.5em; width: 100%;"
<div role="figure" aria-labelledby="badgebox-{{anchorencode:{{{badge}}}}}" style="display: flex; margin: 0.5em; border: 1px solid #AAAAFF; padding: 0 1em; gap: 1em; max-width: 70ch; background-color: #F4F4FF; align-items: center;">
| style="vertical-align: top; padding: 0.25em; text-align: center; width: {{{left|100}}}px;" | {{{image}}}
<div style="flex: 0 0 {{{left|100}}}px; text-align: center;">{{{image}}}</div>
| style="padding: 0.25em;" | '''[[{{{badge}}} Badge {{#if:{{{which|}}}|({{{which}}})|}}|{{{badge}}}]]'''<br />
<div>
<div id="badgebox-{{anchorencode:{{{badge}}}}}" style="font-weight: bold; margin: 1em 0;">[[{{{badge}}} Badge {{#if:{{{which|}}}|({{{which}}})|}}|{{{badge}}}]]</div>
 
<blockquote style="margin: 0;">
{{{desc}}}
{{{desc}}}
|}
</blockquote>
</div>
</div>

Revision as of 13:37, 24 March 2022

{{{image}}}
[[{{{badge}}} Badge |{{{badge}}}]]

{{{desc}}}