Template:Clickable button 2/doc: Difference between revisions
Jump to navigation
Jump to search
en>Edokter mNo edit summary |
en>Edokter update |
||
Line 1: | Line 1: | ||
{{template shortcut|CLB2}} | {{template shortcut|CLB2}} | ||
This template generates a clickable button. It can be used in the following ways, | This template generates a clickable button that is styled using the mediawiki-ui-button module. It can be used in the following ways, | ||
*'''Code: '''<code><nowiki>{{Clickable button 2|Main Page | |||
**'''Result: '''{{Clickable button 2|Main Page | *'''Code: '''<code><nowiki>{{Clickable button 2/sandbox|Main Page}}</nowiki></code> | ||
*'''Code: '''<code><nowiki>{{Clickable button 2|Main Page}}</nowiki></code> | **'''Result: '''{{Clickable button 2/sandbox|Main Page}} | ||
**'''Result: '''{{Clickable button 2|Main Page}} | *'''Code: '''<code><nowiki>{{Clickable button 2/sandbox|Main Page|Cover page}}</nowiki></code> | ||
*'''Code: '''<code><nowiki>{{Clickable button 2|url=http://en.wikipedia.org | **'''Result: '''{{Clickable button 2/sandbox|Main Page|Cover page}} | ||
**'''Result: '''{{Clickable button 2|url=http://en.wikipedia.org | *'''Code: '''<code><nowiki>{{Clickable button 2/sandbox|Home|url=http://en.wikipedia.org}}</nowiki></code> | ||
*'''Code: '''<code><nowiki>{{Clickable button 2| | **'''Result: '''{{Clickable button 2/sandbox|Main Page|url=http://en.wikipedia.org}} | ||
**'''Result: '''{{Clickable button 2| | *'''Code: '''<code><nowiki>{{Clickable button 2/sandbox|Main Page|class=mw-ui-constructive}}</nowiki></code> | ||
*'''Code: '''<code><nowiki>{{Clickable button 2|Main Page | **'''Result: '''{{Clickable button 2/sandbox|Main Page|class=mw-ui-constructive}} | ||
**'''Result: '''{{Clickable button 2|Main Page | *'''Code: '''<code><nowiki>{{Clickable button 2/sandbox|Main Page|class=mw-ui-destructive}}</nowiki></code> | ||
**'''Result: '''{{Clickable button 2/sandbox|Main Page|class=mw-ui-destructive}} | |||
*'''Code: '''<code><nowiki>{{Clickable button 2/sandbox|Main Page|class=mw-ui-progressive}}</nowiki></code> | |||
**'''Result: '''{{Clickable button 2/sandbox|Main Page|class=mw-ui-progressive}} | |||
=== See also === | === See also === |
Revision as of 12:55, 13 February 2014
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/sandbox|Main Page}}
- Code:
{{Clickable button 2/sandbox|Main Page|Cover page}}
- Code:
{{Clickable button 2/sandbox|Home|url=http://en.wikipedia.org}}
- Code:
{{Clickable button 2/sandbox|Main Page|class=mw-ui-constructive}}
- Code:
{{Clickable button 2/sandbox|Main Page|class=mw-ui-destructive}}
- Code:
{{Clickable button 2/sandbox|Main Page|class=mw-ui-progressive}}
See also
- commons:Template:Clickable button, corresponding clickable button at Commons.