साँचा:Fancyh2
{{{1}}}{{{2}}}
Uses, Limitations, and Options
[सम्पादन]Uses
[सम्पादन]FancyH2 is Intended to replace the H2 heading with a more colourful alternative.
This can be used instead of the standard ==Heading==.
Because it still uses that tag, it will be correctly displayed in the automatically generated Table of Contents, (TOC).
Note: To remove the TOC for the page just make the entry __NOTOC__.
This template is called for use with:
{{fancyh2|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.
Do not attempt to use this template for an H3 tag by simply reducing the font size since it will still display in the TOC as an H2.
Use template FancyH3 for that instead.
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)