Difference between revisions of "Template:WFont"
Jump to navigation
Jump to search
(added 'decorate' field; added table with refs to HTML and CSS specs) |
m (changed table border spec) |
||
Line 16: | Line 16: | ||
|}}</nowiki></pre></code></div> | |}}</nowiki></pre></code></div> | ||
{| | {| border=1 | ||
! field !! comment | ! field !! comment | ||
|- | |- |
Revision as of 15:45, 30 March 2008
Usage
Minimum Requirements
{{wFont|
|id=
|family=
|size=
|weight=
|decorate=
|color=
|rgb=
|back_color=
|back_rgb=
|}}
field | comment |
---|---|
id |
HTML 4.01 element identifier |
family |
CSS 2.1 font family |
size |
CSS 2.1 font size |
weight |
CSS 2.1 font weight |
decorate |
CSS 2.1 text decoration |
color |
CSS 2.1 color |
rgb |
CSS 2.1 color |
back_color |
CSS 2.1 background color |
back_rgb |
CSS 2.1 background color |
Examples
This is {{wFont|size=10px|family=monospace|rgb=255,64,128|text=my line|}} of text.
This is my line of text.
This is yet {{wFont|size=large|family=serif|color=orange|back_color=blue|text=more of my|}} of text.
This is yet more of my of text.