Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

Difference between revisions of "Template:Key"

From AuroraWiki
Jump to navigation Jump to search
(checking if server has issues with parser functions or some charsets)
(css change)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<kbd class="keyboard-key nowrap" style="border: .1em solid #CCC; border-bottom: .2em solid #BBB; background: #CCC; background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE)); background: -webkit-linear-gradient(top, #FFF, #EEE); background: -moz-linear-gradient(top, #FFF, #EEE); background: -ms-linear-gradient(top, #FFF, #EEE); background: -o-linear-gradient(top, #FFF, #EEE); -webkit-border-radius: .5em; -moz-border-radius: .5em; border-radius: .5em; -webkit-box-shadow: rgba(0,0,0,0.65) 0 .2em .2em; -moz-box-shadow: rgba(0,0,0,0.65) 0 .2em .2em; box-shadow: rgba(0,0,0,0.65) 0 .2em .2em; text-shadow: rgba(255,255,255,0.35) 0 1px 0; color: #111; font: normal .85em/1 'Varela Round','Lucida Grande', Lucida, Arial, sans-serif; padding: .2em .5em; text-align: center; text-decoration: none; min-width: 1em;">{{#switch:{{lc:{{{1}}}}}
+
<kbd class="keyboard-key nowrap" style="border: .1em solid #CCC; border-bottom: .2em solid #BBB; background: #CCC; background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE)); background: -webkit-linear-gradient(top, #FFF, #EEE); background: -moz-linear-gradient(top, #FFF, #EEE); background: -ms-linear-gradient(top, #FFF, #EEE); background: -o-linear-gradient(top, #FFF, #EEE); -webkit-border-radius: .2em; -moz-border-radius: .2em; border-radius: .2em; -webkit-box-shadow: rgba(0,0,0,0.65) 0 .2em .2em; -moz-box-shadow: rgba(0,0,0,0.65) 0 .2em .2em; box-shadow: rgba(0,0,0,0.65) 0 .2em .2em; text-shadow: rgba(255,255,255,0.35) 0 1px 0; color: #111; font: normal .8em/1 'Varela Round','Lucida Grande', Lucida, Arial, sans-serif; padding: .2em .5em; text-align: center; text-decoration: none; min-width: 1em;">{{#switch:{{lc:{{{1}}}}}
<!--Special chars -->
 
<!-- default -->
 
 
| #default            = {{{1}}}
 
| #default            = {{{1}}}
}}</kbd>
+
}}</kbd><noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 09:37, 24 December 2015

{{{1}}}

[edit] [purge] Template-info.svg Template documentation
De's'cription
This template creates a button via CSS to represent a key press on a keyboard.
Syntax
Type {{key|<< key to press>>}} somewhere.
Example
Type {{key|<F1>}} results in F1