Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,193
edits
(Created page with "{{Template from Wikipedia}} === Examples === * <code><nowiki>{{Key press|A}}</nowiki></code> -> {{Key press|A}} * <code><nowiki>{{Key press|START|SELECT|X}}</nowiki></code> -> {{Key press|START|SELECT|X}} * <code><nowiki>{{Key press|L|Down|SELECT}}</nowiki></code> -> {{Key press|L|Down|SELECT}}") |
(TemplateData) |
||
Line 1: | Line 1: | ||
{{Template from Wikipedia}} | {{Template from Wikipedia}} | ||
{{Lua|Module:Key}}{{Uses TemplateStyles|Template:Key press/styles.css}} | |||
=== Examples === | === Examples === | ||
Line 5: | Line 6: | ||
* <code><nowiki>{{Key press|START|SELECT|X}}</nowiki></code> -> {{Key press|START|SELECT|X}} | * <code><nowiki>{{Key press|START|SELECT|X}}</nowiki></code> -> {{Key press|START|SELECT|X}} | ||
* <code><nowiki>{{Key press|L|Down|SELECT}}</nowiki></code> -> {{Key press|L|Down|SELECT}} | * <code><nowiki>{{Key press|L|Down|SELECT}}</nowiki></code> -> {{Key press|L|Down|SELECT}} | ||
=== TemplateData === | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Key 1", | |||
"example": "Start", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Key 2", | |||
"example": "Select", | |||
"type": "string" | |||
}, | |||
"3": { | |||
"label": "Key 3", | |||
"example": "X", | |||
"type": "string" | |||
}, | |||
"4": { | |||
"label": "Key 4", | |||
"description": "an infinite amount of keys can be added by adding further numbered values", | |||
"example": "Y", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Displays buttons or keys to press", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4" | |||
] | |||
} | |||
</templatedata> |