Jump to content
This Wiki is currently under construction and is a Work In Progress.

Template:Button: Difference between revisions

From Aetheria Cobblemon
m 1 revision imported
mNo edit summary
Line 1: Line 1:
<span class="nowrap" 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}}}; background-image: linear-gradient(to bottom, #FCFCFC, #E0E0E0); {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</span>
<noinclude>
<noinclude>
<languages />
</noinclude><!--
--><span class="nowrap" title="<translate nowrap><!--T:1--> This is not a clickable button; it illustrates the button one should find.</translate>" style="padding:{{{padTB|.2em}}} {{{padLR|.6em}}}; border:1px solid; border-color:#AAA #555 #555 #AAA; border-radius: 3px; background-color: {{{bgcolor|#F2F2F2}}}; background-image: linear-gradient(to bottom, #FCFCFC, #E0E0E0); {{#ifeq:{{{format|}}}|bold|font-weight: bold;}} {{{style|}}}">{{{text|{{{1|Hello, World!}}}}}}</span><!--
--><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 07:04, 23 December 2024

Hello, World!

Template documentation


This template provides a "clickable button" formatting style for text. This button is not clickable, and care should be taken when using it to avoid readers thinking the result may be. (It has an explanatory tooltip for users hovering over it, but that may not always be displayed, or only displayed after too long a delay, so that it may not show up to people trying to click it.)

If you need a clickable button, use {{Clickable button }}.

Usage

  • {{Button|text=button text}} produces button text
  • {{Button|text=button text|format=bold}} produces button text
  • {{Button|text=button text|bgcolor=#EEF|bgcolor2=#BBE}} produces button text

Alternatively, {{Button|button text}} also produces button text


See also

  • {{Key press}} – used to illustrate keystrokes, including key combinations (e.g. Ctrl+x)
  • {{Kbd}} – to indicate user input (of any kind) without making it look like keys or buttons