Template:FontSize: Difference between revisions
(Created page with "<includeonly><span style="font-size:{{{1|100}}}%;">{{{2}}}</span></includeonly><noinclude>A shortcut for creating a span of text with a custom size, which otherwise would require typing:<br> <code><nowiki><span style="font-size:90%;"></nowiki>''something''<nowiki></span></nowiki></code> To use this template, pass the percentage size of the text as parameter 1 (with no '%') and the text to use as parameter 2, like so: <code><nowiki>{{FontSize|75|Here's some small text.}...") |
(No difference)
|
Latest revision as of 04:43, 18 April 2025
A shortcut for creating a span of text with a custom size, which otherwise would require typing:
<span style="font-size:90%;">something</span>
To use this template, pass the percentage size of the text as parameter 1 (with no '%') and the text to use as parameter 2, like so:
{{FontSize|75|Here's some small text.}}
…which yields:
Here's some small text.