Template:Crossreference/doc

The Crossreference template formats text into a standardized style for an (not block-level)"(See also ...)"-type parenthetical Wikipedia crossreference to other Wikipedia material. When on the different pages, these are unprintworthy Wikipedia self-references. When crossreferencing material on the same page, they are not. For block-level crossreferences, see the Hatnote meta-template and its many progeny (See also, etc.). The output is ultimately produced by Module:Hatnote-inline.

See Category:Crossreference templates for other templates derived from or similar to this template.

Usage

 * Basic crossreference to another page:


 * Basic crossreference on same page:


 * All parameters:

The meta-template does not automatically create links of any kind. Links and other desired formatting (round brackets, terminal punctuation) must be explicitly added, using normal Wikipedia markup.

Usage for links in the same article is discouraged, in favor of the more specific templates See above and See below.

Parameters
This template accepts the following parameters:
 * – the cross-reference text. (required)
 * or  – any extra CSS classes to be added. For example, the see also template adds the classes boilerplate seealso.
 * – if set to "no", "n", "false", or "0", removes the default CSS class "selfref", used to denote self-references to Wikipedia. See Template:Selfref for more information. This option should not be used on cross-article links, only links within the same article.