Template:Fancy2

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



Uses, Limitations, and Options[edit]

Uses[edit]


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[edit]


There are limited formats in this version.

Use template Fancy3 for a smaller font.


Options[edit]


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)