Template:Clickable button 3: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
{{#switch:{{{class|}}} | {{#switch:{{{class|}}} | ||
| ui-button-blue | mw-ui-progressive = background-color: #2962CB; | | ui-button-blue | mw-ui-progressive = background-color: #2962CB; | ||
| ui-button-green | mw-ui-constructive = background-color: # | | ui-button-green | mw-ui-constructive = background-color: #07C08C; | ||
| ui-button-red | mw-ui-destructive = background-color: #A6170F; | | ui-button-red | mw-ui-destructive = background-color: #A6170F; | ||
| #default = background-color: #CCC; color: #666; | | #default = background-color: #CCC; color: #666; | ||
| Line 13: | Line 13: | ||
|{{{url}}} | |{{{url}}} | ||
}}</span>|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>] | }}</span>|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>] | ||
}}]</span>{{#switch:{{lc:{{{class}}}}}|ui-button-green|ui-button-blue|ui-button-red=[[Категория:Википедия]]|#default=}}</includeonly | }}]</span>{{#switch:{{lc:{{{class}}}}}|ui-button-green|ui-button-blue|ui-button-red=[[Категория:Википедия]]|#default=}}</includeonly> | ||