Mr. Johnson (talk | contribs) (Created page with "<includeonly><!--Template Subcategories--></includeonly> {{Template|Key}} is used to create stylized keyboard input hints via the HTML {{Code|<nowiki><kbd /></nowiki>}} element and CSS. ==Usage== It accepts one {{Parameter|mandatory|string}}. Typically this will be a label found on a keyboard. ==Returns== {{Code|<nowiki>{{Key|R}}</nowiki>}} returns: {{Return|{{Key|R}}}} {{Code|<nowiki>{{Key|Exterminatus}}</nowiki>}} returns: {{Return|{{Key|Exterminatus}}}}") |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{Template|Key}} is used to create stylized keyboard input hints via the HTML {{Code|<nowiki><kbd /></nowiki>}} element and CSS. | {{Template|Key}} is used to create stylized keyboard input hints via the HTML {{Code|<nowiki><kbd /></nowiki>}} element and CSS. | ||
==Usage== | ==Usage== | ||
It accepts one {{Parameter|mandatory|string}}. Typically this will be a label found on a keyboard. | It accepts one {{Parameter|mandatory|string}}. Typically this will be a label found on a keyboard. For consistency's sake, it is always rendered as capital letters. | ||
==Returns== | ==Returns== | ||
{{Code|<nowiki>{{Key|R}}</nowiki>}} returns: {{Return|{{Key|R}}}} | {{Code|<nowiki>{{Key|R}}</nowiki>}} returns: {{Return|{{Key|R}}}} | ||
{{Code|<nowiki>{{Key|Exterminatus}}</nowiki>}} returns: {{Return|{{Key|Exterminatus}}}} | {{Code|<nowiki>{{Key|Exterminatus}}</nowiki>}} returns: {{Return|{{Key|Exterminatus}}}} |
Latest revision as of 21:48, 14 December 2023
Template:Key
is used to create stylized keyboard input hints via the HTML <kbd />
element and CSS.
Usage
It accepts one mandatory string parameter. Typically this will be a label found on a keyboard. For consistency's sake, it is always rendered as capital letters.
Returns
{{Key|R}}
returns:
R
{{Key|Exterminatus}}
returns:
EXTERMINATUS