Template:CenteredButtonExt: Difference between revisions
Appearance
Add CenteredButtonExt template |
Place square parentheses in one line, so the link renders correctly |
||
Line 1: | Line 1: | ||
[{{{link|{{{2|https://example.com}}}}}} | <div class="container" style="display:flex;justify-content:center;"> | ||
[{{{link|{{{2|https://example.com}}}}}} <div class="mw-ui-button mw-ui-progressive" role="button" aria-disabled="false" style="border-radius:20px">{{{text|{{{1|Button text}}}}}}</div>] | |||
<div class="mw-ui-button mw-ui-progressive" role="button" aria-disabled="false" style="border-radius:20px"> | |||
{{{text|{{{1|Button text}}}}}} | |||
</div> | </div> | ||