Template:Fancy3

From Wikibooks, open books for an open world
Jump to navigation Jump to search
{{{1}}} {{{2}}}



Uses, Limitations, and Options[edit source]

Uses[edit source]


Fancy3 provides a colourful heading and is not listed in the TOC, (Table of Contents). For a TOC listing use fancyh3 instead. The underline here applies only to the text area, unlike the h3 version which spans the page.


This template is called for use with:

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


It does this:


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



Limitations[edit source]


There are limited formats in this version.

Use template Fancy2 for a bigger font.


Options[edit source]


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)