साचा:Clickable button

विकिपीडिया, मुक्‍त ज्ञानकोशातून
Jump to navigation Jump to search

Parameter text is empty

Documentation icon साचा दस्तावेजीकरण[बघा] [संपादन] [इतिहास] [पर्ज करा]

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:

{{Clickable button|This is a button}}

produces Parameter text is empty

{{Clickable button|[[Talk:Main page|Main page talk page]]}}

produces [[Main page talk page|Parameter text is empty]]

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

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

Examples:

  • white (default):

Parameter text is empty


Parameter text is empty


  • red:

Parameter text is empty


Notes[संपादन]

  1. ^ After the changes outlined in Phabricator task साचा:Phab were implemented, {{Clickable button|color=green}} produces the same output as {{Clickable button|color=blue}}.