Template:Button: Difference between revisions

From EHWiki
Jump to navigationJump to search
Edfrbnnen (talk | contribs)
Edfrbnnen (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
<noinclude>[[Category:Template]]</noinclude><span class="nowrap" title="{{{title|{{{1|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}}}; {{Linear-gradient|top|#FCFCFC, #E0E0E0}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span><noinclude>
<noinclude>[[Category:Template]]</noinclude><span class="nowrap" title="{{{title|{{{1|This is not a clickable button; it illustrates the button one should find.}}}}}}" style="padding:{{{padTB|.1em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; {{Border-radius|3px}} background-color: {{{bgcolor|#F2F2F2}}}; {{Linear-gradient|top|#FCFCFC, #E0E0E0}} {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|the button}}}}}}</span><noinclude>


==Usage==
==Usage==
*<nowiki>{{Button|button text}}</nowiki> → {{Button|button text}}<br><br>
*<nowiki>{{Button|button text}}</nowiki> → {{Button|button text}}
*<nowiki>{{Button|title=abcde|text=button&nbsp;text}}</nowiki> → {{Button|title=abcde|text=button text}}<br><br>
*<nowiki>{{Button|title=abcde|text=button&nbsp;text}}</nowiki> → {{Button|title=abcde|text=button text}}
*<nowiki>{{Button|text=button&nbsp;text|format=bold}}</nowiki> → {{Button|text=button text|format=bold}}
*<nowiki>{{Button|text=button&nbsp;text|format=bold}}</nowiki> → {{Button|text=button text|format=bold}}
</noinclude>
</noinclude>

Latest revision as of 22:50, 12 January 2014

the button

Usage

  • {{Button|button text}} → button text
  • {{Button|title=abcde|text=button text}} → button text
  • {{Button|text=button text|format=bold}} → button text