Template:BadgeBox/core: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (note parentheses are passed in)
m (margin and break adjustment for column display)
Line 1: Line 1:
<div role="figure" aria-labelledby="badgebox-{{anchorencode:{{#if:{{{titles|}}}|{{{titles}}}|{{{badge}}}}}}}" style="display: flex; margin: 0.5em; border: 1px solid #AAAAFF; padding: 0 1em; max-width: 70ch; gap: 1em; background-color: #F4F4FF; align-items: flex-start;">
<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;">
<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>
<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>
<div>
<div>

Revision as of 14:06, 24 May 2022

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

{{{desc}}}