Difference between revisions of "Template:K"

From Hackerspace ACKspace
Jump to: navigation, search
(updated key button style)
(updated key 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;width: 0.7em;height: 1em;margin: 2px;padding: 5px 0 0 7px;font-size: 18px;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="key {{{1}}}">{{{1}}}</span></includeonly><noinclude>
+
<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: 18px;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="key {{{1}}}">{{{1}}}</span></includeonly><noinclude>
 
This is the "keyboard key" template. It shows text as a keyboard button.
 
This is the "keyboard key" template. It shows text as a keyboard button.
 
It also adds a tooltip text
 
It also adds a tooltip text

Revision as of 16:18, 30 August 2015

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

{{k|key}}

For example, the key Esc looks like this: Esc

Edit the page to see the template text.