साँचा:Clickable button/विव

विकिपुस्तक से

Example: {{Clickable button|मुखपृष्ठ}} ⇒ मुखपृष्ठ

See w:en:Template:click for documentation and updates

This template styles a link like a button, using the mediawiki.ui.button module. This expands the clickable area and tap target for the link. It can be used in the following ways,

  • Code: {{Clickable button|मुखपृष्ठ}} or {{click|मुखपृष्ठ}}
  • Code: {{Clickable button|मुखपृष्ठ|Cover page}}
  • Code: {{Clickable button|मुखपृष्ठ|url=https://hi.wikivoyage.org}}
  • Code: {{Clickable button|मुखपृष्ठ|class=mw-ui-destructive}}
  • Code: {{Clickable button|मुखपृष्ठ|class=mw-ui-progressive}}


Template data[सम्पादन]

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

साँचे के पैरामीटर्स[साँचा डेटा सम्पादित करें]

इस साँचे के लिए पैरामीटरों के इनलाइन प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
Link/Label1

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

उदाहरण
Foobar
पृष्ठ का नामआवश्यक
Label2

Defines the text that appears on the button

अज्ञातसुझावित
URLurl

Defines a web address for the button to link to

उदाहरण
https://www.example.com
URLवैकल्पिक
classclass

Defines the visual type of the button

उदाहरण
mw-ui-progressive, mw-ui-destructive
स्ट्रिंगवैकल्पिक
stylestyle

कोई विवरण नहीं

स्ट्रिंगवैकल्पिक
categorycategory

कोई विवरण नहीं

बूलियनवैकल्पिक