Template:Fancy2

From Recidemia
Revision as of 06:54, 24 July 2010 by Adrignola (talk) (use relative links for linking)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{{{1}}} {{{2}}}



Uses, Limitations, and Options

Uses


Fancy2 provides a colourful heading, which is not listed in the TOC. Use Template:Fancyh2 for a TOC listing. The underline does not extend across the page but only as far as the end of the text.


This template is called for use with:

{{fancy2|This is the First Bit | ; this is the second bit...}}


It does this:


This is the First Bit  ; this is the second bit...


Limitations


There are limited formats in this version.

Use template Fancy3 for a smaller font.


Options


ff
font family, (default, Lucida Handwriting)
fw
font weight, (default, bold)
fc
font color, (default, maroon)
hfs
heading font size, the first part of the heading, (default, 22pt)
tfs
tails font size, the second part of the heading, (default, 50% of that above)
bgc
text background color, (default, transparent)
ta
text alignment, (default, left)
bb
bottom border, the underline, (default, 10px solid lightsalmon)
p
padding, (default, 5px 5px 0 5px, for top, right, bottom, and left respectively)