Wikidata:Property proposal/Key press

From Wikidata
Jump to navigation Jump to search

key press

[edit]

Originally proposed at Wikidata:Property proposal/Generic

   Done: key press (P4998) (Talk and documentation)
Descriptionkeyboard shortcut sequence / Key entry sequence
Data typeString
Allowed values^([^()\\\r\n]|\\[,+()\\ ]|\([^()]+\))+$
Example
Item Value (string) Formatted outputQualifier
É (Q9995) Ctrl + ', E Ctrl+' e (platform=Microsoft Word)
© (Q11195) Compose, O, C Compose O C (platform=Linux)
pilcrow (Q331864) Ctrl + K, P, I Ctrl+K P I (platform=VIM)
section sign (Q1136371) & (long press) & (long press) (platform=iOS)
numero sign (Q1894494) Shift + Option + ; ⇧ Shift+⌥ Option+; (platform=MacOS)
trademark symbol (Q1944044) Alt + 0153 Alt+0153 (platform=Windows)
Task Manager (Q873463) Ctrl + Shift + Esc Ctrl+⇧ Shift+Esc (platform=Windows)
Alt + Print screen Alt+Print screen (platform=Windows)
Robot and gadget jobsRequires qualifier platform (P400)
See also{{Key press}}, Unicode code point (P4213), HTML entity (P4575), TeX string (P1993)
Motivation

So while looking at w:Trademark symbol, I noticed it included Windows Alt key codes. I considered standardizing using an Infobox, but Wikidata seems like the Right Way to Do It™. —Dispenser (talk) 00:46, 19 November 2017 (UTC)[reply]

Syntax

, + ( )and \ are special character and need to escaped by \ for literals. Spaces (U+0020) surrounding special characters may be ignored.

Discussion

@Dispenser, Manu1400, ChristianKl, ديفيد عادل وهبة خليل 2, Micru, Jsamwrites: ✓ Done
--- Jura 06:24, 28 March 2018 (UTC)[reply]