Ir al contenido

Plantilla:Crossreference/doc

Desde Chavacano de Zamboanga Wikipedia - El Libre Enciclopedia

The {{crossreference}} (a.k.a. {{crossref}} or {{xref}}) template formats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical to other Wikipedia material. When on 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 various progeny ({{see also}}, etc.). The output is ultimately produced by Module:Hatnote inline.

See Category:Cross-reference templates for other templates derived from or similar to this template.

Basic crossreference to another page:

Markup Renders as
{{Crossreference|(See also [[Radical Whigs]].)}}

Error: no text specified (help).

Basic crossreference on same page:

Markup Renders as
{{Crossreference|selfref=no|(see [[#Parameters]])}}

Error: no text specified (help).

All parameters:

Markup Renders as
{{Crossreference|text|class=class1 class2|selfref=no}}}}

Error: no text specified (help).

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.


This template accepts the following parameters:

  • |1= or |text= or |content= – The cross-reference text (required). While the explicit naming of this parameter with 1=, text=, or content= is not required, it is always safest to use it this way, since any = character in the text will break the template if the parameter is unnamed.
  • |class= or |extraclasses= – Any extra CSS classes to be added. This should not normally be used.
  • |selfref=no – If set to no (or n, false, 0, etc.) removes the default CSS class selfref, used to denote unprintworthy self-references to Wikipedia Error: no text specified (help).. This option should not be used on cross-article links, only links within the same article (and the shorthand templates {{see above}} and {{see below}} can be used for this purpose). The parameter aliases |printworthy=yes (or with any other value, like y, true, 1, etc.) and |unprintworthy=no (or n, false, 0) have the same effect as |selfref=no.

The following alternative names redirect to this template:


formats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical Wikipedia crossreference to other Wikipedia material.

Parámetros de la plantilla

Es preferible escribir los parámetros en una sola línea.

ParámetroDescripciónTipoEstado
texttext 1 content

sin descripción

Desconocidoopcional
CSS classesclass extraclasses

sin descripción

Desconocidoopcional
printworthyprintworthy selfref

sin descripción

Lógicoopcional