Template:Fs: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="font-size:{{{1|1em}}}">{{{2}}}</span></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]] | <includeonly><span style="font-size:{{{1|1em}}}">{{{2}}}</span></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]][https://stepmodifications.org/forum/topic/9769-font-color/ '''Forum Topic'''] | ||
==Purpose & Usage== | ==Purpose & Usage== | ||
Use this template to change text size. | Use this template to change text size. |
Revision as of 16:34, August 2, 2021
Purpose & Usage[edit source]
Use this template to change text size.
{{Fs|size|text}}
- size = font size; This template accepts any valid CSS value for font-size.
- text = displayed text
Examples[edit source]
Code: {{Fs|30px|This is font is 30px.}}
Result: This is font is 30px.
Code: This shows how {{Fs|80%|users can mix {{Fs|25px|font sizes}} for various applications.}}
Result: This shows how users can mix font sizes for various applications.
Code: Here's some {{Fs|large|font that is "Larger"}} to the font around it.
Result: Here's some font that is "Larger" to the font around it.
See Also[edit source]