Template:BadgeBox/core: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(simplify link)
(change requires parameter to note)
Line 2: Line 2:
<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>
<div style="margin: 1em 0;">[[{{{link}}}|<span id="badgebox-{{anchorencode:{{#if:{{{titles|}}}|{{{titles}}}|{{{badge}}}}}}}" style="font-weight: bold;">{{#if:{{{titles|}}}|{{{titles}}}|{{{badge}}}}}</span>]]{{#if:{{{requires|}}}|&#32;(requires {{{requires}}})}}</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;">
<blockquote style="margin: 0;">

Revision as of 07:12, 18 May 2022

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

{{{desc}}}