Template:comma list/documentation

This template is used to display a comma-separated or semicolon-separated list of up to 24 terms, while excluding the name of the page in which it is used from the list, if the name appears in the list.

As of 2023 this template is only used within other templates. An illustrative example of its usage can be seen in the source code of.

Parameters
The language code for the language that the terms are in. (See Languages.) This is passed to. Defaults to und.
 * lang

An explanatory message to display in parentheses before the list, formatted using.
 * gloss

The terms to display. If any term is the name of the page in which the template is used, it is omitted from the list. Each term will be followed by a comma unless the parameter following it is empty, in which case it will be followed by a semicolon. This means that  "becomes" a comma, and   "becomes" a semicolon.
 * 1, 2, ... 24