Template:Button: Difference between revisions

Template page
No edit summary
m (Protected "Template:Button": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<kbd>{{{1|}}}</kbd>}}{{#if:{{{2|}}}|+<kbd>{{{2|}}}</kbd>}}{{#if:{{{3|}}}|+<kbd>{{{3|}}}</kbd>}}{{#if:{{{4|}}}|+<kbd>{{{4|}}}</kbd>}}{{#if:{{{5|}}}|+<kbd>{{{5|}}}</kbd>}}</includeonly>
<includeonly><!--
-->{{#if: {{{1|}}} | <kbd>{{{1|}}}</kbd> }}<!--
-->{{#if: {{{2|}}} | +<kbd>{{{2|}}}</kbd> }}<!--
-->{{#if: {{{3|}}} | +<kbd>{{{3|}}}</kbd> }}<!--
-->{{#if: {{{4|}}} | +<kbd>{{{4|}}}</kbd> }}<!--
-->{{#if: {{{5|}}} | +<kbd>{{{5|}}}</kbd> }}<!--
--></includeonly><noinclude><!--
-->This is a template to illustrate keys and keystrokes on a computer keyboard. With additional parameters, a single template can be used to illustrate a combination of multiple keystrokes. For now, up to 5 keystrokes can be recorded in a single parameter.
 
== Syntax ==
'''<nowiki>{{button</nowiki>''' | ''key'' | ''key'' | ''key'' | ''key'' | ''key'' '''}}'''
[[Category:Templates]]</noinclude>

Latest revision as of 08:48, 15 January 2022

This is a template to illustrate keys and keystrokes on a computer keyboard. With additional parameters, a single template can be used to illustrate a combination of multiple keystrokes. For now, up to 5 keystrokes can be recorded in a single parameter.

Syntax

{{button | key | key | key | key | key }}