Template:NestTextColors/doc
From FORwiki

Usage
- This template displays an error message when not given sufficient parameters
- (It needs three arguments min. two colors followed by text), and the error message is suppressed whilst this page is viewed directly.
- Purpose
- This template is a template work around for incompatible behaviors in Fs, nested in conjunction with TextColors (A wikitable delimited form, used to develop this 'div style' version).
- where parameter "|border=various"
- ... allows a variety of add on style effects, such as padding and borders —-- normal legal HTML inside 'div style' blocks.
- wherein arguments #'s
- (1) and (2) — Set foreground and background colors of the given block of text respectfully. They can be specified by name or in the format #dddddd (RGB hex triplet).
- (3) — is the text to be displayed inside a colorized block, omission of which leaves the 'bright' error message shown above. In general, most other templates will work within this field. However, some may not parse properly due to template nesting arcana.
- (4) — is the optional div block width perameter. (default is full width, or 100%)
- (5) — is an optional Font Size perameter. (default is very small, or Font Size 1)
Examples
ex-1) Using default width and <br/>: {{NestTextColors|#000000|#ffffff|From [[Wikipedia]], the free [[encyclopedia]]. (black on white, 100% width, medium font size,<br/>[Note the missing fourth perameter,defaults to 100% width --->] --->)||3}} gives:From Wikipedia, the free encyclopedia. (black on white, 100% width, medium font size,
[Note the missing fourth perameter]))
ex-2) {{NestTextColors|#aa0000|#009999|From [[Wikipedia]], the free [[encyclopedia]]. (A red hue on 50%, small font)|50}} gives: [Note the missing fourth perameter]))
From Wikipedia, the free encyclopedia. (A red hue on 50%, small font)
ex-3) {{NestTextColors|Green|cyan|From [[Wikipedia]], the free [[encyclopedia]]. (Green on Cyan, 75% width, medium small font size) |75|2}} gives: From Wikipedia, the free encyclopedia. (Green on Cyan, 75% width, 'medium-small' font size)
ex-4) <div style="float:right">{{NestTextColors|yellow|grey|From [[Wikipedia]], the free [[encyclopedia]]. (Yellow on Grey, 75%, Medium-large font size) |75|4}}</div> gives: From Wikipedia, the free encyclopedia. (Yellow on Grey, 75%, Medium-large font size)
From Wikipedia, the free encyclopedia.
ex-6) <center>{{NestTextColors|grey|yellow|From [[Wikipedia]], the free [[encyclopedia]].|50|3}}</center> gives: From Wikipedia, the free encyclopedia.
From Wikipedia, the free encyclopedia.