Difference between revisions of "Template:B"

From Hackerspace ACKspace
Jump to: navigation, search
(created button template)
 
(updated button style)
 
Line 1: Line 1:
<includeonly><span style="display:inline-block;border-color: #ece8e4 #dedad6 #c9c4c4;border-width: 3px 7px 10px;border-style: solid;border-radius: 4px;height: 1em;margin: 2px;padding: 4px;font-size:130%;background: #f5f3f1;background: linear-gradient(to right, #e5e2e1, #f5f3f1, #e5e2e1);box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);border-radius: 4px;" title="button {{{1}}}">{{{1}}}</span></includeonly><noinclude>
+
<includeonly><span style="display:inline-block;text-align: center;min-width: 4em;font: bold 11px Arial;text-decoration: none;background-color: #EEE;color: #333;padding: 0.3em 1.4em;border:1px solid;border-color:#CCC #333 #333 #CCC;" title="button {{{1}}}">{{{1}}}</span></includeonly><noinclude>
 
This is the "button" template. It shows text as an interface button.
 
This is the "button" template. It shows text as an interface button.
 
It also adds a tooltip text
 
It also adds a tooltip text

Latest revision as of 17:37, 30 August 2015

This is the "button" template. It shows text as an interface button. It also adds a tooltip text It should be called in the following format:

{{b|Text}}

For example, the OK button looks like this: OK

Edit the page to see the template text.