Difference between revisions of "Template:WFont"

From Second Life Wiki
Jump to navigation Jump to search
m (changed table border spec)
(added 'text' field to description)
Line 14: Line 14:
|back_color=
|back_color=
|back_rgb=
|back_rgb=
|text=
|}}</nowiki></pre></code></div>
|}}</nowiki></pre></code></div>


Line 36: Line 37:
  |-
  |-
  | <code>back_rgb</code> || CSS 2.1 [http://www.w3.org/TR/CSS21/colors.html#background-properties background color]
  | <code>back_rgb</code> || CSS 2.1 [http://www.w3.org/TR/CSS21/colors.html#background-properties background color]
|-
| <code>text</code> || any text
|}
|}



Revision as of 05:11, 29 April 2008


Usage

Minimum Requirements

{{wFont|
|id=
|family=
|size=
|weight=
|decorate=
|color=
|rgb=
|back_color=
|back_rgb=
|text=
|}}
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
text any text


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.