No edit summary
No edit summary
Line 1: Line 1:
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false" style="font-size: 1.5em; padding: 160px 120px; position: relative; display: inline-block; text-align: center;">
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false" style="font-size: 1.5em; padding: 160px 120px; position: relative; display: inline-block; text-align: center;">
   <img src="{{{image|}}}" alt="" style="max-width: 100px; max-height: 100px; position: relative; margin-bottom: 20px;" />
   <img src="{{{image}}}" alt="" style="max-width: 100px; max-height: 100px; position: relative; margin-bottom: 20px; {{#if: {{{image|}}} | display:block; | display:none; }}" />
   <span style="position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #facc91;">
   <span style="position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #facc91;">
     {{{text|{{{1|Button text}}}}}}
     {{{text|{{{1|Button text}}}}}}

Revision as of 19:38, 19 September 2024

 <img src="{{{image}}}" alt="" style="max-width: 100px; max-height: 100px; position: relative; margin-bottom: 20px; {{#if:  | display:block; | display:none; }}" />
 
   Button text
 

Template:Documentation