Template:Font: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(added instructions on how to use the template)
Line 1: Line 1:
<span style="font-size:{{{2}}}pt; font-name:{{{3}}}; font-weight:{{{4}}}; color:{{{5}}};"> {{{1}}} </span>
<span style="font-size:{{{2}}}pt; font-name:{{{3}}}; font-weight:{{{4}}}; color:{{{5}}};"> {{{1}}} </span>
<noinclude>==Usage==
You can use this template to change the font style of any text. This template takes five parameters:
*Parameter 1 = Text
*Parameter 2 = Font size
*Parameter 3 = Font name
*Parameter 4 = Font weight
*Parameter 5 = Font color
<pre>Here's an example: {{Font|The quick brown fox jumped over the lazy dog|12|Verdana|bold|blue}}</pre>
{{Font|The quick brown fox jumped over the lazy dog|20|Verdana|bold|blue}}
[[Category:Templates]]
</noinclude>

Revision as of 11:34, 10 July 2012

{{{1}}}

Usage

You can use this template to change the font style of any text. This template takes five parameters:

  • Parameter 1 = Text
  • Parameter 2 = Font size
  • Parameter 3 = Font name
  • Parameter 4 = Font weight
  • Parameter 5 = Font color
Here's an example: {{Font|The quick brown fox jumped over the lazy dog|12|Verdana|bold|blue}}

The quick brown fox jumped over the lazy dog