User:Anomie/Template:Subtitle/doc

This template allows for displaying the second portion of the page title as a subtitle.

Cautions
This template is subject to the same restrictions as the magic word. In particular, the text of the parameters when concatenated must match the page title.

When used with two parameters, a space is automatically inserted between the title and subtitle when constructing the page name. This allows the common case "Title (subtitle)" to work as without requiring the user to remember to explicitly include the space.

When used with four parameters, no space is inserted. This allows for use on a page like "City, Country" as. But do note that the second parameter is comma-space, not just comma.

Examples

 * /example1 (subtitle)
 * /example2 (subtitle)
 * /City, Country

Bugs
This template should not use inline CSS. Instead, the following should be added to MediaWiki:Common.css: