Difference between revisions 11094707 and 11094745 on srwiki

{{документациона подстрана}}
<!-- Категорије и међувики везе иду на дно странице. -->

== Употреба ==
{{template shortcut|CLBПречица|CLB}}
{{Пречица|clickb}}
This template creates a clickable button.  There are two editable parameters.  The first one, an unnamed one, is used to create the text of the button.  It can support wikilinks.

Examples:

:<code><nowiki>{{Clickable button 3|This is a button}}</nowiki></code>
produces {{Clickable button 3|This is a button}}<br/>

:<code><nowiki>{{Clickable button 3|[[Talk:Main page|Main page talk page]]}}</nowiki></code>
produces {{Clickable button 3|[[Talk:Main page|Main page talk page]]}}<br/>

The other one, named "color", allows you to change the color of the button. You can select between four colors: white (default), green, blue and red.

To change the color of a button, you have to add the color parameter followed by the color name, like this: <code><nowiki>{{clickable button 3|Text|color=blue}}</nowiki></code>.

Examples:

*white (default):

{{Clickable button 3|color=white}}

*blue:

{{Clickable button 3|color=blue}}

*green:

{{Clickable button 3|color=green}}

*red:

{{Clickable button 3|color=red}}

{{Button templates}}

== Види још ==

<includeonly>
<!-- Категорије и међувики везе иду овде: -->
[[Category:Wikipedia formatting and function templates]]
[[Category:Wikipedia button templatesКатегорија:Документација шаблона]]
</includeonly>