Template:Pseudoheading/doc

Pseudoheading
Pseudoheading generates a classed div with an ID, as an alternative to HTML heading elements (which MediaWiki will often override the styles of); the ID can be used for anchor links. It explicitly has no support for direct CSS formatting, and applies no styles except for highlighting the text when a link to the anchor is followed. It is designed for use with classes and index-specific CSS.

Parameters

 * : The content of the header.
 * : Optional CSS classes (use this if you have multiple heading styles in a single work). The div always has the class  as well as additional classes.
 * : Optional ID (used as an anchor). If not given, the contents of the header is used. This parameter should also be used to add a suitable simple ID, if markup or complex formatting is used in the header (such as a footnote directly associated with the heading). To omit the ID, set.
 * : Additional attributes.
 * For example, pseudoheading/leveled uses this to set.

Examples
{{doc example| A div with classes  and   and id  : {{pseudoheading|Chapter One |id=Chapter 1|class=chapter_heading}}

Small-caps for subtitles
Also consider  if you want Proper Nouns to appear in "all small caps", including the first letters: e.g..

Pseudoheading/inline
Pseudoheading/inline has the same behavior as pseudoheading, except that it generates a span rather than a div and adds the additional class.

Pseudoheading/main and Pseudoheading/subheading
Pseudoheading/main and pseudoheading/subheading call pseudoheading with the additional classes  and   respectively, and produce centered text, which pseudoheading/main also makes font size 120%.

Parameters

 * The content of the header.
 * Optional CSS classes.
 * Optional ID.

Pseudoheading/leveled
Pseudoheading/leveled calls pseudoheading with the additional classes  and.

Parameters

 * The content of the header.
 * Optional CSS classes. The div always has the classes,   and   as well as additional classes.
 * Optional ID (used as an anchor).
 * Heading level. Typically an integer between 1 and 6, defaults to 2.