Template:Tle/doc

Explanation
It is necessary to distinguish between a template and its parameter names and parameter values, and this meta-template with its meta-parameter-names and meta-parameter-values.

Wikimedia Commons has lots of other template templates, but none is really able to describe complicated parametrizing easily.

In general, each parameter is described with a meta-pair, an optional meta-parameter p1...p16 for the name and an optional unnamed meta-parameter for the value. For unnamed parameters this name can be the number; if even that is not needed, some or all meta-parameter-names may dismiss.

How to use
After specifying the template name, its parameter values are specified with the unnamed meta-parameters; its parameter names can be specified with the meta-parameters p1 to p.

To describe the parameters of template Tle, the following can be used:

A template with only unnamed parameters may look like e.g.

or without the numbers

Values can as well be empty - even if it is not a very useful template description to say nothing about a value.

Restriction
While the values can be specified without names, it makes no sense to specify a name without his value; at least an empty value is necessary. Superfluous names without values will be ignored:
 *    will give
 *    will give

Examples
The has two unnamed parameters (1=color, 2=text) and three named parameters (bg, title and css). With this description is made:

will just display

Without any meta-parameter, Tle just shows the template name: or. With neither  nor   the default template name will be Tle.