Template:BadgeBox/core: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
No edit summary
m (override vector padding on blockquote)
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="margin: 0.5em; background-color: #F4F4FF; border: 1px solid #AAAAFF;"
<div role="figure" aria-labelledby="badgebox-{{anchorencode:{{#if:{{{titles|}}}|{{{titles}}}|{{{badge}}}}}}}" style="display: flex; break-inside: avoid; margin: 0 0.5em 0.5em; border: 1px solid #AAAAFF; padding: 0 1em; max-width: 70ch; gap: 1em; background-color: #F4F4FF; align-items: flex-start;">
| style="vertical-align: top; padding: 0.25em;" | {{{image}}}
<div style="flex: 0 0 {{#if:{{{left|}}}|{{{left}}}px|auto}}; margin: 1.25em 0; text-align: center;"><div>[[{{{image}}}|link=|alt=Badge]]</div>{{#if:{{{image 2|}}}|<div>[[{{{image 2}}}|link=|alt=]]</div>}}</div>
| style="width:100%; padding: 0.25em;" | '''[[{{{badge}}} Badge {{#if:{{{which|}}}|({{{which}}})|}}|{{{badge}}}]]'''<br />
<div>
<div style="margin: 1em 0;">[[{{{link}}}|<span id="badgebox-{{anchorencode:{{#if:{{{titles|}}}|{{{titles}}}|{{{badge}}}}}}}" style="font-weight: bold;">{{#if:{{{titles|}}}|{{{titles}}}|{{{badge}}}}}</span>]]{{#if:{{{note|}}}|&#32;{{{note}}}}}</div>
 
<blockquote style="margin: 0; border-left: none; padding: 0 0 1em 0;">
{{{desc}}}
{{{desc}}}
|}
</blockquote>
</div>
</div>

Latest revision as of 01:38, 8 October 2022

[[{{{image}}}|link=|alt=Badge]]
[[{{{link}}}|{{{badge}}}]]

{{{desc}}}