Template:Clickable button: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
< | <div class="mw-ui-button" style="position: relative; display: inline-block; padding: 100px; font-size: 1.5em;"> | ||
<!-- Image --> | <!-- Image --> | ||
<img src="/path/to/images/{{{image|NoImagePlaceholder.png}}}" alt="{{{alt|}}}" class="my-button-image" style="width: {{{image_size|100px}}};" /> | |||
<!-- Button Text --> | <!-- Button Text --> | ||
< | <div style="position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #facc91;"> | ||
{{{text|{{{1|Button text}}}}}} | {{{text|{{{1|Button text}}}}}} | ||
</ | </div> | ||
</ | </div> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |