Template:BadgeBox/core: Difference between revisions
Jump to navigation
Jump to search
m (alt text "Badge") |
(stack two icons vertically instead of side by side, should look better with multiple descriptions) |
||
Line 1: | Line 1: | ||
<div role="figure" aria-labelledby="badgebox-{{anchorencode:{{{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:{{{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 style="flex: 0 0 {{#if:{{{left|}}}|{{{left}}}px|auto}}; margin: 1.25em 0; text-align: center;">[[File:{{{image}}}|link=|alt=Badge]]{{#if:{{{image 2|}}}|[[File:{{{image 2}}}|link=|alt=]]}}</div> | <div style="flex: 0 0 {{#if:{{{left|}}}|{{{left}}}px|auto}}; margin: 1.25em 0; text-align: center;"><div>[[File:{{{image}}}|link=|alt=Badge]]</div>{{#if:{{{image 2|}}}|<div>[[File:{{{image 2}}}|link=|alt=]]</div>}}</div> | ||
<div> | <div> | ||
<div id="badgebox-{{anchorencode:{{{badge}}}}}" style="font-weight: bold; margin: 1em 0;">[[{{{badge}}} Badge {{#if:{{{which|}}}|({{{which}}})|}}|{{{badge}}}]]</div> | <div id="badgebox-{{anchorencode:{{{badge}}}}}" style="font-weight: bold; margin: 1em 0;">[[{{{badge}}} Badge {{#if:{{{which|}}}|({{{which}}})|}}|{{{badge}}}]]</div> |
Revision as of 03:18, 14 May 2022
[[File:{{{image}}}|link=|alt=Badge]]
[[{{{badge}}} Badge |{{{badge}}}]]
{{{desc}}}