Шаблон:Clickable button
Usage[править | править код | hide | hide all]
Unnamed parameters:
{{Clickable button | TEXT }}
{{Clickable button | TEXT | COLOR }}
Named parameters:
{{Clickable button | 1= TEXT }}
{{Clickable button | 1= TEXT | color= COLOR }}
Button with wikilink:
[[ WIKILINK | {{Clickable button | TEXT }} ]]
[[ WIKILINK | {{Clickable button | TEXT | color= COLOR }} ]]
Examples[править | править код | hide]
Parameter: 1 (1)[править | править код | hide]
Parameter: color=[править | править код | hide]
You can select three colors: white (default), blue (progressive) and red (destructive):
Red (Destructive) example: {{Clickable button|Button text|color=red}}
- Result:
Button text
Blue (Progressive) example: {{Clickable button|Button text|color=blue}}
- Result:
Button text
White (Default) example: {{Clickable button|Button text|color=white}}
- Result:
Button text
Big button in Red (Destructive) example: {{Clickable button|Button text|color=big-red}}
- Result:
Button text
Big button in Blue (Progressive) example: {{Clickable button|Button text|color=big-blue}}
- Result:
Button text
Big button in White example: {{Clickable button|Button text|color=big-white}}
- Result:
Button text
Note: After the changes outlined in Phabricator task Шаблон:Phab were implemented, {{Clickable button|color=green}}
produces the same output as {{Clickable button|color=blue}}
.