Template:Clickable button 2/doc: Difference between revisions
Jump to navigation
Jump to search
en>Mr. Stradivarius add {{lua}} |
false |
||
Line 17: | Line 17: | ||
**'''Result: '''{{Clickable button 2|Main Page|class=mw-ui-progressive}} | **'''Result: '''{{Clickable button 2|Main Page|class=mw-ui-progressive}} | ||
=== See also === | === See also === | ||
* [[commons:Template:Clickable button]], corresponding clickable button at Commons. | * [[commons:Template:Clickable button]], corresponding clickable button at Commons. |
Revision as of 10:07, 12 July 2014
This template uses Lua: |
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 2|Main Page}}
- Result:
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result:
- Code:
{{Clickable button 2|Home|url=http://en.wikipedia.org}}
- Result:
- Code:
{{Clickable button 2|Main Page|class=mw-ui-constructive}}
- Result:
- Code:
{{Clickable button 2|Main Page|class=mw-ui-destructive}}
- Result:
- Code:
{{Clickable button 2|Main Page|class=mw-ui-progressive}}
- Result:
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.