Template:Key combo/doc
Jump to navigation
Jump to search
Debug data:
Key combo is an easy to use template for whenever a key combination needs to be specified in an article. Like {{key press}}, it makes it easier to see that keyboard is involved. The difference is that this template should be used whenever there needs to be more than one key pressed at the same time. Several display styles are available, but the default should be used in most cases for consistency throughout the wiki. This way, changing the default in the template will change the style everywhere.
Examples
Desired result | What you type in your article |
---|---|
Ctrl + Alt + Delete | {{Key combo|Ctrl|Alt|Delete}}
|
Ctrl - Alt - Delete | {{Key combo|Ctrl|Alt|Delete|style=dashloose}}
|
Ctrl+Alt+Delete | {{Key combo|Ctrl|Alt|Delete|style=tight}}
|
Ctrl-Alt-Delete | {{Key combo|Ctrl|Alt|Delete|style=dash}}
|
Ctrl Alt Delete | {{Key combo|Ctrl|Alt|Delete|style=}}
|
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.117.107.201
Start request GET /mediawiki/Template:Key_combo/doc
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
X-ORIGINAL-URL: /mediawiki/Template:Key_combo/doc
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.117.107.201",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "3tu1f1jbf1342cfobvp2mgt3hrjess5q" is unsaved, marking dirty in constructor
[session] SessionBackend "3tu1f1jbf1342cfobvp2mgt3hrjess5q" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1712215018", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1712215018", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1712215018", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1712215018", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Template:Key combo/doc]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
[caches] parser: SqlBagOStuff
Article::view using parser cache: yes
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Article::view: doing uncached parse
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:1900825be54847624439dbe5484dc4fa:0)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:2ac9a2b1118227380c6caa87069cac95:1)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:1900825be54847624439dbe5484dc4fa:0)
Saved in parser cache with key wikidb229-mw_:pcache:idhash:1666-0!canonical and timestamp 20250404071658 and revision id 9165
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Template:Key combo/doc]] are {edit,move}