Template:Multiclass/doc

Outputs the two classes that a multiclass consists of.

For example:

Results in:

Parameters
 * (required) - The string to test, should be a multiclass name.
 * (optional) - The format to return the output in. This can be anything, but should include the strings  and , which will be substituted with the two output classes.
 * If a format is unspecified, the result will be in the format.
 * If specified, a third format string  will be substituted with the input string.
 * No checks are made to ensure the format contains any of the replacement terms, so if the input parameter is valid then the format string will simply be returned on its own.

Notes
 * The input is not case-sensitive.
 * The non-formatted output class names will always be capitalized and unlinked.
 * If a non-multiclass or invalid string is passed, an empty string is returned.
 * The order of the output is always alphabetical, though you should not rely on the presence of a specific output.
 * This template is not intended to work in the opposite direction, it only converts multiclasses to classes.
 * Can be used to check if a string is a multiclass, with
 * -> yes


 * Can be used to check if a multiclass contains a specific class (assuming the format outputs both classes, and keeping in mind the output case) with
 * --> yes