Template:Button: Difference between revisions

From Vigyanwiki
Template>RexxS
(gradients can have a background colour as well)
Template>DannyS712
(allow custom tooltip using {{{tooltip}}}, defaults to current)
Line 1: Line 1:
<kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#F2F2F2}}}; color: {{{fgcolor|#000}}}; {{linear-gradient|top|{{{bgcolor1|#FCFCFC}}}, {{{bgcolor2|#E0E0E0}}}}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} font-family:sans-serif; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</kbd><noinclude>
<kbd class="nowrap button" title="{{{tooltip|This is not a clickable button; it illustrates the button one should find.}}}" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{border-radius|3px}} background-color: {{{bgcolor|#F2F2F2}}}; color: {{{fgcolor|#000}}}; {{linear-gradient|top|{{{bgcolor1|#FCFCFC}}}, {{{bgcolor2|#E0E0E0}}}}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} font-family:sans-serif; {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</kbd><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 09:00, 20 July 2019

Hello, World!

Template documentation