Template:FormatAlias

This template takes a comma-separated string of names and looks for aliases that are set off by a forward slash, such as. If found, the names are formatted like so:. Either name (or both) may be wikilinked. If no slash is found, the argument is returned unaltered.

The regular expression  is essentially two identical capture groups separated by a forward slash. The symbols used are as follows: The regex find/replace is performed by the regex parser function: Where
 * - defines a capture group inside the parentheses.
 * - matches any word character, A through Z, 0 through 9, and the underscore, case insensitive.
 * - matches the period punctuation symbol.
 * - matches the space or the tab character.
 * - matches the left square bracket.
 * - matches the right square bracket.
 * - matches one or more of any characters in the bracketed list.
 * - gets replaced with the first capture group.
 * - gets replaced with the second capture group.