Difference between revisions of "Template:K"

From Hackerspace ACKspace
Jump to: navigation, search
(created key template)
 
(updated border color)
Line 1: Line 1:
<includeonly><span style="border-width: 3px 7px 10px;border-style: solid;border-radius: 4px;float: left;width: 33px;height: 40px;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="border-color: #ece8e4 #dedad6 #c9c4c4;border-width: 3px 7px 10px;border-style: solid;border-radius: 4px;float: left;width: 33px;height: 40px;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>
 
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 17:09, 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.