Template:Key: Difference between revisions
Languorrises (talk | contribs) (Changing <span> to the semantic tag <kbd>.) |
Languorrises (talk | contribs) (Removing optional parameters for subscript and superscript. See Template talk:Key#Color variations (Edit: plus other oddities and suggestions for change)) |
||
Line 1: | Line 1: | ||
<onlyinclude><kbd style="position:relative; background-color:#272727;color:white;padding:1px 4px;border:2px solid #aaadb4;border-radius:5px;font-size:12px;">{{#switch:{{{1}}}|Up=[[File:Uparrow.png|x12px|link=]]|Down=[[File:Downarrow.png|x12px|link=]]|{{{1|E}}} |
<onlyinclude><kbd style="position:relative; background-color:#272727;color:white;padding:1px 4px;border:2px solid #aaadb4;border-radius:5px;font-size:12px;">{{#switch:{{{1}}}|Up=[[File:Uparrow.png|x12px|link=]]|Down=[[File:Downarrow.png|x12px|link=]]|{{{1|E}}}}}</kbd></onlyinclude> |
||
[[Category:Key Template]] |
[[Category:Key Template]] |
Revision as of 04:46, 13 January 2019
E
{{Key}}
prints as E and {{Key|W}}
prints as W. The template allows any letter as a parameter.
{{Key|Up}}
and {{Key|Down}}
prints as and
respectively.
{{Key|E|200%|2X}}
prints as E. The superscript and subscript refers to the damage dealt and the amount of hits respectively.
PS4 X O ☐ △ buttons can be found here:
- {{Key/PS4}}
Xbox A B X Y buttons can be found here:
- {{Key/Xbox}}
Switch A B X Y buttons can be found here:
- {{Key/Switch}}