This template was copied from Template:HeadingGradient2 on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
- Description
- This template produces an h2 heading enclosed in a gradient that fades from a specified color to transparent or some other color.
- Dependencies
- Requires browser support for the following CSS:
-moz-linear-gradient(...);
- or
-webkit-gradient(...);
- Syntax
- Type
{{HeadingGradient2|<Header title>|<bkgndcolor=>|<textcolor=>|<fadecolor=>}}
.
- Parameters
1/headertext =
Set header title text (default is Missing heading text)bkgndcolor =
Set background-color to fade from (default is rgba(59,159,59,255): )textcolor =
Set the text color (default is .color1 text color)fadecolor =
Set background-color to fade to (default is transparent)
- Sample output
- {{HeadingGradient2|Header title}} gives...
Header title
- {{HeadingGradient2|Header title2|bkgndcolor=#cedff2|textcolor=#4340bf}} gives...
Header title2
- {{HeadingGradient2|Header title3|bkgndcolor=#660a66|textcolor=#e043ef|fadecolor=#e2c2f2}} gives...
Header title3
- Issues
- Need to test Webkit gradients.
- Need to try to support IE gradients eventually.
- See also
- {{HeadingGradient}}
- {{HeadingRounded}}