Tempilet:Clickable button
| This template/module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
This template generates a clickable button that is styled using the mediawiki.ui.button module.
Usage
[ramu ko pari]{{Clickable button 3 |1= |2= |url= |class= |style= }}Parameters
[ramu ko pari]This template generates a clickable button that is styled using the mediawiki.ui.button module.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| target | 1 | Link target page. Becomes the title when used with url | Page name | required |
| label | 2 label | Button label
| Unknown | optional |
| url | url | no description | URL | optional |
| class | class | no description | Unknown | optional |
| style | style | no description | Unknown | optional |
Examples
[ramu ko pari]This template generates a clickable button that is styled using the mediawiki.ui.button module. It can be used in the following ways,
- Code:
{{Clickable button|Main Page}} - Code:
{{Clickable button|Main Page|Cover page}} - Code:
{{Clickable button|Main Page|url=https://en.wikipedia.org}} - Code:
{{Clickable button|label=Main Page|url=https://en.wikipedia.org}} - Code:
{{Clickable button|Main Page|color=#222}} - Code:
{{Clickable button|Main Page|color=blue}} - Code:
{{Clickable button|Main Page|color=red}} - Code:
{{Clickable button|Main Page|class=mw-ui-destructive}} - Code:
{{Clickable button|Main Page|class=mw-ui-progressive}} - Code:
{{Clickable button|Tempilet:Clickable button|class=mw-ui-progressive}}(link to current page becomes unclickable)
This template generates a clickable button that is styled using the mediawiki.ui.button module.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| target | 1 | Link target page. Becomes the title when used with url | Page name | required |
| label | 2 label | Button label
| Unknown | optional |
| url | url | no description | URL | optional |
| class | class | no description | Unknown | optional |
| style | style | no description | Unknown | optional |