Template:Fs: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 1: Line 1:
<font size={{{1}}}>{{{2}}}</font><noinclude>
<span style="font-size:{{{1}}}">{{{2}}}</span><noinclude>


== Usage ==
== Usage ==
Following the [http://www.w3schools.com/tags/att_font_size.asp HTML Attribute], this template accepts a font size (integer from 1 to 7) and the string to be altered.  For example:
Following [http://www.w3schools.com/css/css_font.asp CSS Font], this template accepts a value in any of the listed formats.  For example:


<pre>
<pre>
{{Fs|5|This is some big text}}
{{Fs|30px|This is some big text}}
</pre>
</pre>
:{{Fs|5|This is some big text}}
:{{Fs|30px|This is some big text}}


<pre>
<pre>
{{Fs|6|Here's some {{Fs|2|mixed}} font sizes}}
{{Fs|6|Here's some {{Fs|2|mixed}} font sizes}}
</pre>
</pre>
:{{Fs|6|Here's some {{Fs|2|mixed}} font sizes}}
:{{Fs|10%|Here's some {{Fs|10px|mixed}} font sizes}}

Revision as of 04:49, November 2, 2012

{{{2}}}

Usage[edit source]

Following CSS Font, this template accepts a value in any of the listed formats. For example:

{{Fs|30px|This is some big text}}
This is some big text
{{Fs|6|Here's some {{Fs|2|mixed}} font sizes}}
Here's some mixed font sizes