Template talk:CenteredButton: Difference between revisions

From KDE Community Wiki
(Create talk page about CenteredButton)
 
m (Mention each button's pages)
Line 13: Line 13:
[[The page where the button will be linked to|{{CenteredButton|The text that will be shown in the button.}}]]
[[The page where the button will be linked to|{{CenteredButton|The text that will be shown in the button.}}]]


This is based on the [https://www.mediawiki.org/wiki/Template:Clickable_button MediaWiki ClickableButton].
Alternatively, you might be interested in using a [[Template:ClickableButton]], which is left-aligned instead of centered. See the [[Template_talk:ClickableButton]] page to know how to use it.
 
This template is based on the [https://www.mediawiki.org/wiki/Template:Clickable_button MediaWiki ClickableButton].

Revision as of 13:53, 17 August 2023

How to use this template

To create a button you can copy-paste the following and then edit the placeholder text:


[[The page where the button will be linked to|{{CenteredButton|The text that will be shown in the button.}}]]


The link can be a local wiki link or an external link. The result should look like this:

[[The page where the button will be linked to|

]]

Alternatively, you might be interested in using a Template:ClickableButton, which is left-aligned instead of centered. See the Template_talk:ClickableButton page to know how to use it.

This template is based on the MediaWiki ClickableButton.