Шаблон:WDSButton: различия между версиями

м (1 версия импортирована)
 
м (Замена текста — «{{doc}}» на «{{documentation}}»)
 
Строка 1: Строка 1:
[[{{{link}}}|<span class="wds-button wds-is-{{{type}}}" style="border-radius:{{{border-radius}}}; background-color:{{{background-color}}}; color:{{{color}}}; border-color:{{{border-color}}}; font-size:{{{font-size}}}px; font-family:{{{font-family}}}; border-width:{{{border-width}}}px; border-style:{{{border-style}}}; font-style:{{{font-style}}}; font-weight:{{{font-weight}}}; cursor:{{{cursor}}}; title:{{{title}}};">{{{text}}}</span>]]
[[{{{link}}}|<span class="wds-button wds-is-{{{type}}}" style="border-radius:{{{border-radius}}}; background-color:{{{background-color}}}; color:{{{color}}}; border-color:{{{border-color}}}; font-size:{{{font-size}}}px; font-family:{{{font-family}}}; border-width:{{{border-width}}}px; border-style:{{{border-style}}}; font-style:{{{font-style}}}; font-weight:{{{font-weight}}}; cursor:{{{cursor}}}; title:{{{title}}};">{{{text}}}</span>]]
<noinclude>{{doc}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Текущая версия от 14:25, 18 марта 2023

[[{{{link}}}|{{{text}}}]]

Description
This template produces a fully customizable WDS button. The default WDS button looks like this: button
{{WDSButton
|link = w:Help:Contents
|type = secondary
|radius = 4px
|bckgrnd clr = silver
|txt clr = gold
|brdr clr = blue
|brdr width = 3
|font size = 12
|font = Calibri
|font weight = normal
|font style = italic
|cursor = pointer
|title = It's kinda weird that your mouse is hovering on this. Not really, but you can ignore this message, if you like.
|text = This is a custom button
}}

gives... This is a custom button