19,666
edits
m (Iritscen moved page Template:KeyboardButton to Template:KeyLarge without leaving a redirect: consistency with KeySmall) |
m (updated doc template calls for new name) |
||
Line 29: | Line 29: | ||
==Sample usage== | ==Sample usage== | ||
<tt><nowiki>{{ | <tt><nowiki>{{KeyLarge|top_char=§|bot_char=½}}</nowiki></tt><br> | ||
yields:<br> | yields:<br> | ||
{{ | {{KeyLarge|top_char=§|bot_char=½}} | ||
<tt><nowiki>{{ | <tt><nowiki>{{KeyLarge|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}</nowiki></tt><br> | ||
yields:<br> | yields:<br> | ||
{{ | {{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> | ||
{{ | {{KeyLarge|top_char=~|bot_char=`}} | ||
The same button at 50% scale:<br> | The same button at 50% scale:<br> | ||
<tt><nowiki>{{ | <tt><nowiki>{{KeyLarge|scale=50|top_char=~|top_scale=117|bot_char=`|bot_scale=133}}</nowiki></tt><br> | ||
yields:<br> | yields:<br> | ||
{{ | {{KeyLarge|scale=50|top_char=~|top_scale=117|bot_char=`|bot_scale=133}} | ||
[[Category:Basic formatting templates]]</noinclude> | [[Category:Basic formatting templates]]</noinclude> |