Template:Simpsonsfont/doc

This template produces text in The Simpsons font.

Function
This template is used to easily format text using The Simpsons font. It places an HTML  block around the text entered as its first (unnamed) argument, which provides standardized formatting; users can also add CSS classes or inline styles for additional formatting, e.g. changing the text color.

Usage
&#123;{Simpsonsfont|text}}
 * Basic usage:

&#123;{t|Simpsonsfont|text|textclass=extra classes|textstyle=styles}}
 * All parameters:

Parameters
This template accepts the following parameters:
 * - the text (required)
 * - any extra CSS classes to be added.
 * - any CSS inline styles to be added.

Example
&rarr;

Errors
If no hatnote text is supplied, the template will output the following message:

If you see this error message, it is for one of four reasons:
 * 1) No parameters were specified (the template code was  ). Please use   instead.
 * 2) Some parameters were specified, but the text wasn't included. For example, the template text   will produce this error. Please use (for example)   instead.
 * 3) The text was specified, but that text contains an equals sign ("="). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code   will produce this error. To work around this, you can specify the parameter name explicitly by using   before the text, like this:.

If you see this error message and are unsure of what to do, please post a message on Template talk:Simpsonsfont, and someone should be able to help you.

Technical details
The HTML code produced by this template looks like this: