Template:Kbd: Difference between revisions
No edit summary |
data |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<kbd {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="background:#EEEEEE; {{#if:{{{spacing|}}}| padding-left:0.4em; padding-right:0.4em;| letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;}}{{#if:{{{style|}}}|{{{style}}}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}" xml:lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</kbd> | <kbd {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="background:#EEEEEE; {{#if:{{{spacing|}}}| padding-left:0.4em; padding-right:0.4em;| letter-spacing:0.1em; padding-left:0.5em; padding-right:0.4em;}}{{#if:{{{style|}}}|{{{style}}}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}" xml:lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</kbd><nowiki/><noinclude> | ||
<noinclude> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Key", | |||
"description": "The key to display", | |||
"example": "Space", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"class": {}, | |||
"id": {}, | |||
"spacing": {}, | |||
"style": {}, | |||
"lang": {}, | |||
"title": {} | |||
}, | |||
"description": "Show a keyboard key.", | |||
"paramOrder": [ | |||
"1", | |||
"class", | |||
"id", | |||
"spacing", | |||
"style", | |||
"lang", | |||
"title" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 09:09, 11 February 2023
{{{1}}}
Show a keyboard key.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Key | 1 | The key to display
| String | required |
class | class | no description | Unknown | optional |
id | id | no description | Unknown | optional |
spacing | spacing | no description | Unknown | optional |
style | style | no description | Unknown | optional |
lang | lang | no description | Unknown | optional |
title | title | no description | Unknown | optional |