Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Key/Documentation: Difference between revisions

(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}}}}")
 
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