Template:Key: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{1}}}</span><!-- | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{1}}}</span><!-- | ||
-->{{#if: {{{2|}}} | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{2}}}</span>}}<!-- | --> + {{#if: {{{2|}}} | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{2}}}</span>}}<!-- | ||
-->{{#if: {{{3|}}} | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{3}}}</span>}}<!-- | --> + {{#if: {{{3|}}} | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{3}}}</span>}}<!-- | ||
-->{{#if: {{{4|}}} | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{4}}}</span>}} | --> + {{#if: {{{4|}}} | <span style="border: 1px solid #AAA; background: #DDD; border-radius: 5px; padding: 4px; color: #222;">{{{4}}}</span>}} | ||
<noinclude> | <noinclude> | ||
| Line 9: | Line 9: | ||
=== Example === | === Example === | ||
<nowiki>{{Key| | <nowiki>{{Key|A}}</nowiki> will show as: | ||
{{Key|Ctrl|Alt|Delete}} | {{Key|A}} | ||
While <nowiki>{{Key|1=Ctrl|2=Alt|3=Delete}}</nowiki> will show as: | |||
{{Key|1=Ctrl|2=Alt|3=Delete}} | |||
</noinclude> | </noinclude> | ||
Revision as of 13:49, 21 April 2013
{{{1}}} + + +
Manual Template: Key
Use {{Key|Letter}} for a formatted key.
Example
{{Key|A}} will show as:
A + + +
While {{Key|1=Ctrl|2=Alt|3=Delete}} will show as:
Ctrl + Alt + Delete +