Difference between revisions of "Template:Key"

From OCE Space Simulation
Jump to: navigation, search
Line 1: Line 1:
 
<span class="keyboard-key" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0 0.4em 0.1em 0.3em; font-size: 0.8em; white-space: nowrap;">{{{1}}}</span>
 
<span class="keyboard-key" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0 0.4em 0.1em 0.3em; font-size: 0.8em; white-space: nowrap;">{{{1}}}</span>
 
 
----
 
  
  
 
<noinclude>
 
<noinclude>
 +
----
 
[[Category:Templates]]
 
[[Category:Templates]]
  

Revision as of 12:36, 6 April 2010

{{{1}}}



We're going to need to update our version of MediaWiki and install the Parser Functions Extension before we can use the awesomeness.

Copied from Wikipedia {{#switch:{{{1}}} | shift =

Shift

| enter =

Enter 

| cmd =

Cmd

| opt =

Opt

| tab = Tab


| backspace = ← Backspace | win | up = ↑ | down = ↓ | left = ← | right = → | #default = {{{1}}} }}

</br>

{{#if:| +{{#switch:{{{2}}} | shift =

Shift

| enter =

Enter 

| cmd =

Cmd

| opt =

Opt

| tab = Tab


| backspace = ← Backspace | win | up = ↑ | down = ↓ | left = ← | right = → | #default = {{{2}}} }}

</br>

}}{{#if:| +{{#switch:{{{3}}}

| shift =

Shift

| enter =

Enter 

| cmd =

Cmd

| opt =

Opt

| tab = Tab


| backspace = ← Backspace | win | up = ↑ | down = ↓ | left = ← | right = → | #default = {{{3}}} }}

</br>

}}{{#if:| +{{#switch:{{{4}}}

| shift =

Shift

| enter =

Enter 

| cmd =

Cmd

| opt =

Opt

| tab = Tab


| backspace = ← Backspace | win | up = ↑ | down = ↓ | left = ← | right = → | #default = {{{4}}} }}

</br>

}}{{#if:| +{{#switch:{{{5}}}

| shift =

Shift

| enter =

Enter 

| cmd =

Cmd

| opt =

Opt

| tab = Tab


| backspace = ← Backspace | win | up = ↑ | down = ↓ | left = ← | right = → | #default = {{{5}}} }}

</br>

}}{{#if:| }}

The guts of this template are transcluded from Template:keypress/core.