No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
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;">
<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 style="position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #facc91;">
  {{#if:{{{file|}}}
    {{{text|{{{1|Button text}}}}}}
    | [[File:{{{file}}}|100px]] <!-- MediaWiki's file handling for images -->
  </span>
    | <!-- No file provided, nothing rendered -->
</span><noinclude>{{Documentation}}</noinclude>
  }}
  <span style="position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#facc91;">
    {{{text|{{{1|Button text}}}}}}
  </span>
</span>
<noinclude>{{Documentation}}</noinclude>

Revision as of 20:08, 19 September 2024

 {{#if:
   | [[File:{{{file}}}|100px]] 
   | 
 }}
 
   Button text
 

Template:Documentation