Difference between revisions of "Template:Key press/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Johnuniq
(version of Template:Key press at 12:28, 25 December 2011 to test old template)
imported>Plastikspork
m (Plastikspork moved page Template:Key press/Sandbox to Template:Key press/sandbox without leaving a redirect)
Line 1: Line 1:
{{key press/core|{{{1}}}}}<!--
+
<kbd class="keyboard-key" style="border: 0.2em solid; border-color: #ddd #bbb #bbb #ddd; background: #EEEEEE; padding: 0 0.4em; font-size: 0.85em; white-space: nowrap; font-family: inherit;">{{{1}}}</kbd>
-->{{#if:{{{2|}}}|+{{key press/core|{{{2}}}}}}}<!--
 
-->{{#if:{{{3|}}}|+{{key press/core|{{{3}}}}}}}<!--
 
-->{{#if:{{{4|}}}|+{{key press/core|{{{4}}}}}}}<!--
 
-->{{#if:{{{5|}}}|+{{key press/core|{{{5}}}}}}}<!--
 
-->{{#if:{{{6|}}}|[[Category:Wikipedia keypress template parameter needs fixing]]}}<noinclude>
 
  
{{documentation}}
+
A newer style (but man, does it look clunky in feed. Working in Mediawiki):
<!-- ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE -->
+
<kbd style="-moz-border-radius:3px; -moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; -webkit-border-radius:3px; -webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; background-color:#f7f7f7; border:1px solid #ccc; border-radius:3px; box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset; color:#333; display:inline-block; line-height:1.4; margin:0 .1em; padding:.1em .6em; text-shadow:0 1px 0 #fff;">Shift</kbd>
</noinclude>
+
 
 +
The original:
 +
 
 +
<span class="keyboard-key" style="border: 0.2em solid; border-color: #ddd #bbb #bbb #ddd; background: #EEEEEE; padding: 0 0.4em; font-size: 0.85em; white-space: nowrap;">{{{1}}}</span>

Revision as of 18:59, 25 October 2017

{{{1}}}

A newer style (but man, does it look clunky in feed. Working in Mediawiki): Shift

The original:

{{{1}}}