No edit summary
No edit summary
 
(34 intermediate revisions by 2 users not shown)
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}}"  
  {{#if:{{{image|}}}|<img src="{{{image}}}" alt="" style="max-width:100px;max-height:100px;position:relative;margin-bottom:20px;" />}}
      role="button"  
  <span style="position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#facc91;">
      aria-disabled="false"  
    {{{text|{{{1|Button text}}}}}}
      style="font-size: 1.5em; padding: 10px; position: relative; display: inline-block;  
  </span>
            background-color: #333; border-radius: 12px; border: 1px solid #555; overflow: hidden;">
 
  <!-- Image over the button -->
  <span style="position: absolute; top: 0; left: 50%; transform: translateX(-50%);">
      [[File:Misc.png|100px|link=https://wiki.cosmicsky.net/index.php?title=Miscellaneous|alt=Miscellaneous]]
  </span>
 
  <!-- Button Text -->
  <span style="position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); color: #facc91;">
    {{{text|{{{1|Button text}}}}}}
  </span>
</span>
</span>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:32, 6 December 2024