Template:Button: Difference between revisions

Template page
No edit summary
(Added documentation)
Line 5: Line 5:
-->{{#if: {{{4|}}} | +<kbd>{{{4|}}}</kbd> }}<!--
-->{{#if: {{{4|}}} | +<kbd>{{{4|}}}</kbd> }}<!--
-->{{#if: {{{5|}}} | +<kbd>{{{5|}}}</kbd> }}<!--
-->{{#if: {{{5|}}} | +<kbd>{{{5|}}}</kbd> }}<!--
--></includeonly>
--></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>

Revision as of 16:00, 12 June 2021

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 }}