Pumunta sa nilalaman

Padron:mapipindot na boton/doc

Mula Wiksiyonaryo
Iba pang mga panawag:
{{pindot}}
{{clickable button}}
{{click}}

Example: {{mapipindot na boton|WT:Unang Pahina|Unang Pahina}}Unang Pahina

Ang padrong ito ay nagdidisenyo isang link na tulad ng isang boton, gamit ang modyul na mediawiki.ui.button. Pinapalawak nito ang laki maaaring mapindot at tap target para sa link. Magagamit ito sa mga sumusunod na paraan,

  • Code: {{mapipindot na boton|Unang Pahina}} or {{pindot|Main Page}}
  • Code: {{mapipindot na boton|Unang Pahina|Bahay}}
  • Code: {{mapipindot na boton|Unang Pahina|url=http://tl.wikipedia.org}}
  • Code: {{mapipindot na boton|Unang Pahina|class=mw-ui-destructive}}
  • Code: {{mapipindot na boton|Unang Pahina|class=mw-ui-progressive}}

Template data

[baguhin]

Styles a link like a button, using the mediawiki.ui.button module

Mga parametro ng padron

This template prefers inline formatting of parameters.

PangalanPaglalarawanTypeKatayuan
Link/Label1

Defines the page to link to, and uses that page's title as the text for the button

Example
Foobar
Page namerequired
Label2

Defines the text that appears on the button

Unknownsuggested
URLurl

Defines a web address for the button to link to

Example
https://www.example.com
URLoptional
classclass

Defines the visual type of the button

Example
mw-ui-progressive, mw-ui-destructive
Stringoptional
stylestyle

no description

Stringoptional
categorycategory

no description

Booleanoptional