Template:CenteredButton: Difference between revisions

From KDE Community Wiki
(Use description, include to Templates category)
(Undo revision 98689 by Ashark (talk) Reason: this broke links in Get Involved development, let's revert temporarily so links aren't broken)
Tag: Undo
 
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 17: Line 6:
</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>

Latest revision as of 21:48, 17 October 2023