Template:Clickable button 2/doc: Difference between revisions
Jump to navigation
Jump to search
en>Vis M Sorry, I meant to say {{CLB2}} is a shortcut (didn't take my hands off the shift button after typing CLB : |
en>Legoktm +note |
||
Line 9: | Line 9: | ||
*'''Code:'''<code><nowiki>{{Clickable button 2|Home|url=http://en.wikipedia.org}}</nowiki></code> | *'''Code:'''<code><nowiki>{{Clickable button 2|Home|url=http://en.wikipedia.org}}</nowiki></code> | ||
**'''Result:'''{{Clickable button 2|Home|url=http://en.wikipedia.org}} | **'''Result:'''{{Clickable button 2|Home|url=http://en.wikipedia.org}} | ||
*'''Code:'''<code><nowiki>{{Clickable button 2|Main Page|Cover page|class=ui-button-green}}</nowiki></code> | *'''Code:'''<code><nowiki>{{Clickable button 2|Main Page|Cover page|class=ui-button-green}}</nowiki></code> (note this example needs to be viewed in Vector) | ||
**'''Result:'''{{Clickable button 2|Main Page|Cover page|class=ui-button-green}} | **'''Result:'''{{Clickable button 2|Main Page|Cover page|class=ui-button-green}} | ||
=== See also === | === See also === |
Revision as of 04:51, 31 October 2013
This template generates a clickable button. It can be used in the following ways,
- Code:
{{Clickable button 2|Main Page|Cover page}}
- Result:
- Code:
{{Clickable button 2|Main Page}}
- Result:
- Code:
{{Clickable button 2|url=http://en.wikipedia.org|Home}}
- Result:
- Code:
{{Clickable button 2|Home|url=http://en.wikipedia.org}}
- Result:
- Code:
{{Clickable button 2|Main Page|Cover page|class=ui-button-green}}
(note this example needs to be viewed in Vector)- Result:
See also
- {{Clickable button}} - original form.
- {{Button}} – A button which is not clickable. It does not require JavaScript.
- commons:Template:Clickable button, corresponding clickable button at Commons.