Template:KeyLarge: Difference between revisions

m
updated doc template calls for new name
(docs: clarified that this is (currently) only designed for two-symbol keys; linked to new small key template)
m (updated doc template calls for new name)
 
(One intermediate revision by the same user not shown)
Line 29: Line 29:


==Sample usage==
==Sample usage==
<tt><nowiki>{{KeyboardButton|top_char=§|bot_char=½}}</nowiki></tt><br>
<tt><nowiki>{{KeyLarge|top_char=§|bot_char=½}}</nowiki></tt><br>
yields:<br>
yields:<br>
{{KeyboardButton|top_char=§|bot_char=½}}
{{KeyLarge|top_char=§|bot_char=½}}




<tt><nowiki>{{KeyboardButton|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}</nowiki></tt><br>
<tt><nowiki>{{KeyLarge|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}</nowiki></tt><br>
yields:<br>
yields:<br>
{{KeyboardButton|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}
{{KeyLarge|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}
vs. how it would look without the special scaling for each character:<br>
vs. how it would look without the special scaling for each character:<br>
{{KeyboardButton|top_char=~|bot_char=`}}
{{KeyLarge|top_char=~|bot_char=`}}




The same button at 50% scale:<br>
The same button at 50% scale:<br>
<tt><nowiki>{{KeyboardButton|scale=50|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}</nowiki></tt><br>
<tt><nowiki>{{KeyLarge|scale=50|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}</nowiki></tt><br>
yields:<br>
yields:<br>
{{KeyboardButton|scale=50|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}
{{KeyLarge|scale=50|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}


[[Category:Basic formatting templates]]</noinclude>
[[Category:Basic formatting templates]]</noinclude>