Template:Clickable button: Difference between revisions
| No edit summary Tag: Reverted | No edit summary Tag: Reverted | ||
| Line 1: | Line 1: | ||
| < | <!-- Template:Clickable button --> | ||
| <span class="mw-ui-button" role="button" aria-disabled="false" style="font-size: 1.5em; padding: 100px 100px; position: relative; display: inline-block;"> | |||
|   <!-- Image --> | |||
|   [[File:{{{image|}}}|{{{image_size|100px}}}|center|class=my-button-image|alt={{{alt|}}}]] | |||
|    <!-- Button Text --> |    <!-- Button Text --> | ||
|    <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}}}}}} | ||
|    </span> |    </span> | ||
| </span> | </span> | ||
| <noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||