Template:CenteredButton: Difference between revisions
Appearance
Thiagosueto (talk | contribs) m Version with built-in link argument |
Use description, include to Templates category |
||
Line 1: | Line 1: | ||
<noinclude>{{Template}} | |||
This template creates a blue button with the wiki link. | |||
== Usage == | |||
<nowiki>{{CenteredButton|text=Text of the button|link=Main_Page}}</nowiki> | |||
== Example == | |||
{{CenteredButton|text=Text of the button|link=Main_Page}} | |||
[[{{{link|{{{2|hyperlink}}}}}}| | [[{{{link|{{{2|hyperlink}}}}}}| | ||
<div class="container" style="display:flex;justify-content:center;" > | <div class="container" style="display:flex;justify-content:center;" > | ||
Line 6: | Line 17: | ||
</div> | </div> | ||
]] | ]] | ||
<noinclude><includeonly>[[{{{link|{{{2|hyperlink}}}}}}| | |||
<div class="container" style="display:flex;justify-content:center;" > | |||
<div class="mw-ui-button mw-ui-progressive" role="button" aria-disabled="false" style="border-radius:20px"> | |||
{{{text|{{{1|Button text}}}}}} | |||
</div> | |||
</div> | |||
]]</includeonly> |
Revision as of 14:48, 17 October 2023
This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it. For more details on how to use templates see "A Quick Guide to Templates"
This template creates a blue button with the wiki link.
Usage
{{CenteredButton|text=Text of the button|link=Main_Page}}
Example