Template:Key press: Difference between revisions

Jump to navigation Jump to search
Use Template:Key press/core for improved rendering, extend to 10 keys
m (typo)
(Use Template:Key press/core for improved rendering, extend to 10 keys)
Line 1: Line 1:
<span style="white-space: nowrap;"><!--
{{key press/core|{{{1|}}}}}<!--
--><span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em; text-transform: none;">{{{1|Key}}}</span><!--
-->{{#if:{{{2|}}}|{{{chain first|{{{chain|+}}}}}}{{key press/core|{{{2}}}}}}}<!--
-->{{#if: {{{2|}}}
-->{{#if:{{{3|}}}|{{{chain second|{{{chain|+}}}}}}{{key press/core|{{{3}}}}}}}<!--
| +<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em; text-transform: none;">{{{2}}}</span>
-->{{#if:{{{4|}}}|{{{chain third|{{{chain|+}}}}}}{{key press/core|{{{4}}}}}}}<!--
|
-->{{#if:{{{5|}}}|{{{chain fourth|{{{chain|+}}}}}}{{key press/core|{{{5}}}}}}}<!--
}}{{#if: {{{3|}}}
-->{{#if:{{{6|}}}|{{{chain fifth|{{{chain|+}}}}}}{{key press/core|{{{6}}}}}}}<!--
| +<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em; text-transform: none;">{{{3}}}</span>
-->{{#if:{{{7|}}}|{{{chain sixth|{{{chain|+}}}}}}{{key press/core|{{{7}}}}}}}<!--
|
-->{{#if:{{{8|}}}|{{{chain seventh|{{{chain|+}}}}}}{{key press/core|{{{8}}}}}}}<!--
}}{{#if: {{{4|}}}  
-->{{#if:{{{9|}}}|{{{chain eighth|{{{chain|+}}}}}}{{key press/core|{{{9}}}}}}}<!--
| +<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em; text-transform: none;">{{{4}}}</span>
-->{{#if:{{{10|}}}|{{{chain ninth|{{{chain|+}}}}}}{{key press/core|{{{10}}}}}}}<noinclude>
|
}}<!--
--></span><noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
== Goal ==
== Goal ==
This template is used to illustrate key presses. Optionally, a combination of up to four keys can be used.
This template is used to illustrate key presses. Optionally, a combination of up to ten keys can be used.


== Usage ==
== Usage ==

Navigation menu