This template is about incorrect <ref> formatting. For inaccessible external links, seeTemplate:Dead link.
This template is used in many system messages, and onapproximately 63,000 pages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's/sandbox or/testcases subpages, or in your ownuser subpage. The tested changes can be added to this page in a single edit. Please discuss changes on thetalk page before implementing them.
Cite is the software extension for the footnotes system. Cite.php includes error checking and generates error messages using MediaWiki interface messages. When Cite.php encounters an error, it generates a message pulled from aMediaWiki interface page. The MediaWiki pages are customized to use{{Broken ref}} to control the display of the error message and to add a category.{{Broken ref}} uses namespace detection to choose whether pages are categorized or not and if error messages show or not.
Namespaces
This template causes error messages to show only in certain namespaces. Category sorting is set by a sortkey in the template.
Errors on talk and other pages do not show by default but can be enabled by adding a rule toyour CSS:
.mw-parser-outputspan.brokenref{display:inline;}
Categories
The template causes pages that show and error to be placed in a maintenance category. Pages in these categories are then repaired by editors. Errors on talk and other pages do not add the category. Category management is done through{{broken ref/cat}}.
|nocat= set to 'true' to suppress the category and thebrokenref class; use when transcluding the WikiMedia interface page for documentation purposes
Prefix interface pages use:
|prefix= text that precedes the message
|lang= language using ISO code
Examples
Use the following example when editing MediaWiki error message pages:
{{broken ref|msg=The<code><ref></code> tag has too many names|lang=en|help=Cite error ref too many keys|nocat={{{nocat|}}}}}
By including|nocat={{{nocat}}}, the|nocat= parameter can be passed to{{broken ref}}.
Transcluding error messages
When creating documentation, the error messages can be transcluded so that the messages are automatically updated. Add|nocat=true to suppress the error category and the class that hides the error in some namespaces. The message transclusion always adds a hard line break at the end.
Markup
Renders as
{{int:Cite error ref too many keys|nocat=true}}
Unknown parameter "nocat=true" in<ref> tag; supported parameters are $2 (see thehelp page).
To style the text in red to more closely simulate the message, use the{{red}} template.
Markup
Renders as
{{red|{{int:Cite error ref too many keys|nocat=true}}}}
Unknown parameter "nocat=true" in<ref> tag; supported parameters are $2 (see thehelp page).
To style the text to exactly simulate the message, use the{{error}} template.
Markup
Renders as
{{error|{{int:Cite error ref too many keys|nocat=true}}}}
Unknown parameter "nocat=true" in<ref> tag; supported parameters are $2 (see thehelp page).
edit: Etiqueta<ref> inválida; contiene parámetros no reconocidos. (consulta lapágina de ayuda).
edit: Etiqueta de apertura<ref> sin su correspondiente cierre</ref> (consulta lapágina de ayuda).
edit: Etiqueta<ref> no válida; las referencias sin nombre deben tener contenido. (consulta lapágina de ayuda).
edit: Etiqueta<ref> no válida; las referencias sin contenido deben tener un nombre. (consulta lapágina de ayuda).
edit: Etiqueta<ref> inválida; no se ha definido el contenido de las referencias llamadas$1. (consulta lapágina de ayuda).
edit: Etiqueta<ref> no válida; el nombre no puede ser un número entero. Use un título descriptivo. (consulta lapágina de ayuda).
edit: Existen etiquetas<ref> para un grupo llamado "$1", pero no se encontró una etiqueta<references group="$1"/> (consulta lapágina de ayuda).
edit: Etiqueta<references> no válida; no se admiten parámetros. Use<references /> (consulta lapágina de ayuda).
edit: La etiqueta<ref> definida en<references> con nombre "$1" no tiene contenido. (consulta lapágina de ayuda).
edit: La etiqueta<ref> en<references> presenta el atributo de grupo "$1" en conflicto. (consulta lapágina de ayuda).
edit: La etiqueta<ref> con nombre "$1" definida en<references> no se utiliza en el texto precedente. (consulta lapágina de ayuda).
edit: La etiqueta<ref> definida en<references> no tiene atributo de nombre. (consulta lapágina de ayuda).
edit: Se han acabado las etiquetas personalizadas para vínculos del grupo "$1". Define más en el mensaje [[MediaWiki:$2]]. (consulta lapágina de ayuda).
edit: Balise<ref> incorrecte; noms incorrects, par exemple trop nombreux. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Clôture</ref> manquante pour la balise<ref>. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Balise<ref> incorrecte; les références sans nom doivent avoir un contenu. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Balise<ref> incorrecte; les références sans contenu doivent avoir un nom. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Balise<ref> incorrecte; aucun texte n’a été fourni pour les références nommées$1. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Balise<ref> incorrecte; le nom ne peut être un entier simple. Utilisez un titre descriptif. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Des balises<ref> existent pour un groupe nommé « $1 », mais aucune balise<references group="$1"/> correspondante n’a été trouvée, ou bien une valise fermante</ref> manque. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Balise<references> incorrecte; aucun paramètre n’est permis. Utilisez simplement<references />. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: La balise<ref> défini dans<references> avec le nom « $1 » n’a pas de contenu. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: La balise<ref> dans<references> a l’attribut de groupe « $1 » qui entre en conflit avec celui de<references>. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: La balise<ref> avec le nom « $1 » définie dans<references> n’est pas utilisé dans le texte précédent. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: La balise<ref> définie dans<references> n’a pas d’attribut de nom. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Plus d’étiquettes de liens personnalisées pour le groupe « $1 ». Définissez-en plus dans le message [[MediaWiki:$2]]. (vous pouvez consulterla page d'aide pour plus d'informations).
edit: Marca<ref> inválida; nomes inválidos (por exemplo, muito extenso) (vejaa página de ajuda para mais informações).
edit:</ref> de fechamento ausente para para a marca<ref> (vejaa página de ajuda para mais informações).
edit: Marca<ref> inválida; refs sem nome devem possuir conteúdo (vejaa página de ajuda para mais informações).
edit: Marca<ref> inválida; refs sem conteúdo devem ter um nome (vejaa página de ajuda para mais informações).
edit: Marca<ref> inválida; não foi fornecido texto para as refs chamadas$1 (vejaa página de ajuda para mais informações).
edit: Marca<ref> inválida; o nome não pode ser um número. Utilize um título descritivo (vejaa página de ajuda para mais informações).
edit: existem marcas<ref> para um grupo chamado "$1", mas nenhuma marca<references group="$1"/> correspondente foi encontrada (ou uma marca de fechamento</ref> está faltando) (vejaa página de ajuda para mais informações).
edit: Marca<references> inválida; não são permitidos parâmetros. Utilize<references /> (vejaa página de ajuda para mais informações).
edit: marca<ref>, definida em<references>, com nome "$1", não tem nenhum conteúdo. (vejaa página de ajuda para mais informações).
edit: marca<ref> em<references> está com o atributo de grupo "$1" conflitante. (vejaa página de ajuda para mais informações).
edit: marca<ref> com nome "$1", definida em<references>, não foi utilizada no texto anterior. (vejaa página de ajuda para mais informações).
edit: marca<ref>, definida em<references>, não tem atributo de nome. (vejaa página de ajuda para mais informações).
edit: Etiquetas personalizadas para links, no grupo "$1", esgotadas. Defina mais na mensagem [[MediaWiki:$2]].