Teamplaid:Key top/documentation
This is a documentation subpage for Teamplaid:Key top. It contains usage information, categories and other content that is not part of the original teamplaid page. |
Ùsaid - Usage
[deasaich]This template renders a Key top as found on typewriters and computer keyboards including a standardized or common symbol if available, e.g. from ISO/IEC 9995-7. Keys for which there is an associated Wikipedia article are rendered with a hyperlink. Unlike {{Key press}}, this template is not intended to be used for combinations of multiple keys, i.e. “keyboard shortcuts”. It shall be used in descriptions of the physical keys and their functions.
The first, mandatory parameter holds the “natural” key name which is used to select a symbol and link. Its contents is usually also output unchanged next to the symbol unless the second parameter is set to an explicit label, which most often will be blank to suppress the label. The third, also optional parameter, is a binary switch that toggles alternate representations of a very limited selection of symbols: ⌃ vs. ⎈ , ↩ vs. ↵ vs. ⏎ , ⌤ vs. ⎀, ■ vs. ◼ and ● vs. 🔴.
Eisimpleirean - Examples
[deasaich]{{Key top|return}}
→ ↩ return{{Key top|Return}}
→ ↩ Return{{Key top|RETURN}}
→ ↩ RETURN{{Key top|Return|}}
→ ↩{{Key top|Enter}}
→ ⌅ Enter{{Key top|Return|Enter}}
→ ↩ Enter{{Key top|Return||}}
→ ↩{{Key top|Return||true}}
→ ↩{{Key top|Return||narrow}}
→ ↵{{Key top|Return||hollow}}
→ ⏎{{Key top|Return||thin}}
→ ↵{{Key top|Return||thick}}
→ ⏎{{Key top|Return|Return|narrow}}
→ ↵ Return
{{Key top|Windows}}
→ ⌘ Windows{{Key top|Command}}
→ ⌘ Command{{Key top|Meta}}
→ ◆ Meta{{Key top|Super}}
→ ❖ Super{{Key top|Windows|3=true}}
→ ⊞ Windows{{Key top|Super|Windows}}
→ ❖ Windows
Teamplaid-dàta - TemplateData
[deasaich]TemplateData for Key top
Display symbolic key tops as seen on computer keyboards, phones and typewriters.
Paramadair | Tuairisgeul | Seòrsa | Staid | |
---|---|---|---|---|
name | 1 | The standard or common name of the key.
| Loidhne | riatanach |
label | 2 | Label for the key if different from the name, leave empty to suppress label.
| Loidhne | roghainneil |
alternate symbol | 3 | Switch for certain alternate symbols (return, control, insert, stop, record)
| Booleach | roghainneil |
Faic cuideachd - Also see
- {{Key press}} – produces a similar visual effect, but includes fewer symbols while directly supporting combinations (e.g. Ctrl+x)
- {{Button}} – produces a similar visual effect but without the semantic markup (e.g. sample text); more for representing interface elements.
- {{Playstation Key press}} – to simulate gamepad buttons (e.g. {{Playstation Key press|s}})
- {{Kbd}} – to indicate user input (of any kind) without making it look like keys or buttons