Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Font-size: Difference between revisions

Template page
Created page with '<span style="font-size:{{{1}}}">{{{2}}}</span>'
 
doc / cat
Line 1: Line 1:
<span style="font-size:{{{1}}}">{{{2}}}</span>
<span style="font-size:{{{1}}}">{{{2}}}</span><noinclude>
 
 
----
=== {{int:usage}} ===
Use a span tag to set the font size.
 
'''Syntax:''' <nowiki>{{</nowiki>fontsize|''value''|''content''}}
 
=== Examples ===
* <nowiki>{{</nowiki>font-size|120%|This}} → {{font-size|120%|This}}
* <nowiki>{{</nowiki>font-size|smaller|is an}} → {{font-size|smaller|is an}}
* <nowiki>{{</nowiki>font-size|2em|Example.}} → {{font-size|2em|Example.}}
 
=== See also ===
* {{tl|small}}
* {{tl|big}}
* {{t|fs}} - Uses the deprecated &lt;font> tag.
* [http://www.w3schools.com/CSS/pr_font_font-size.asp W3C's CSS font-size property page]
 
[[Category:Text formatting templates|{{PAGENAME}}]]
</noinclude>

Revision as of 13:24, 7 August 2008

{{{2}}}



⧼usage⧽

Use a span tag to set the font size.

Syntax: {{fontsize|value|content}}

Examples

  • {{font-size|120%|This}} → This
  • {{font-size|smaller|is an}} → is an
  • {{font-size|2em|Example.}} → Example.

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.