">
Esta plantilla se utiliza para crear notas al pie en Wikipedia , como alternativa y complemento a la . Debido a una limitación técnica, algunos de los elementos de marcado estándar de Wikipedia que se utilizan a menudo en la prosa de los artículos no funcionan dentro de un conjunto de etiquetas, incluidos, entre otros, el truco de la barra vertical , la sustitución de plantillas y otro conjunto de etiquetas "anidadas" . Por ejemplo, lo siguiente no funciona como se esperaba:<ref>
<ref>...</ref>
<ref>...</ref>
<ref>[[Help:Footnotes|]]</ref>
(Genera: [[Help:Footnotes|]] en lugar de un wikilink)<ref>{{SUBST:TODAY}}</ref>
(Genera: {{SUBST:TODAY}} en lugar de la fecha en que se realizó la edición)<ref>Explanatory footnote<ref>Citation</ref></ref>
(Genera: Error de cita: A la etiqueta <ref> le falta el cierre </ref> (ver la página de ayuda ). </ref>)Reemplazar el conjunto más externo con {{Refn}} permite el uso de los elementos de marcado enumerados anteriormente.<ref>...</ref>
{{refn|group=groupname|name=name|Contents of the footnote}}
Los nombres de las notas a pie de página y de los grupos deben seguir estas reglas:
":31337"
(que es puntuación más un número), pero ignorará "31337"
(puramente numérico)."Nguyen 2010"
se prefieren nombres de referencia como ":31337"
.":0"
o "NYT"
.A–Z
, a–z
dígitos 0–9
y símbolos !$%&()*,-.:;<@[]^_`{|}~
. Es decir, todos los caracteres ASCII imprimibles excepto #"'/=<>?\
el espacio.name="John Smith"
. Pero los nombres de referencia entre comillas no pueden incluir un signo menor que ( <
) o un símbolo de comillas dobles rectas ( "
), que sin embargo pueden incluirse mediante el método de escape como <
y "
respectivamente."
); las comillas curvas o de otro tipo se analizarán como parte del nombre de referencia.El primer ejemplo muestra que la sustitución no funciona en una etiqueta regular ( no aparece correctamente). El segundo ejemplo muestra que se sustituye correctamente dentro de {{ refn }} .<ref>...</ref>
|access-date=
|access-date=
Si falta el contenido de la referencia o nota, se mostrará Error de cita: Etiqueta <ref> no válida; las referencias sin nombre deben tener contenido.
Si el contenido de la nota contiene un signo igual ( =
), el signo igual se interpretará como la activación de un parámetro con nombre y provocará un error. Esto se puede solucionar utilizando un parámetro numerado , por ejemplo:
Existen varios grupos predefinidos que pueden tener una lista de referencias diseñada de modo que la etiqueta (un carácter superíndice dentro de corchetes, p. ej., [1] ) de una nota explicativa o cita ( también conocida como nota al pie, referencia) coincida y se vincule con la etiqueta del marcador de nota ubicada en el texto principal y la etiqueta que se encuentra frente al texto de la nota en la lista del grupo correspondiente. Puede haber más de una de las listas de estos grupos en las secciones Notas, Referencias y otras secciones con propósitos similares.
Estos grupos de notas y citas predefinidos tienen plantillas que simplifican el marcado del wikitexto . Estas plantillas también permiten insertar una referencia estándar, de modo que una nota explicativa pueda tener una referencia o se puedan anidar citas.
Nota: Si el texto de la nota tiene un nombre de referencia que se utiliza más de una vez, las etiquetas seguirán coincidiendo, pero los caracteres alfabéticos en los que se puede hacer clic (letras minúsculas en superíndice como abc ) que alternan la visualización de la nota [ vague ] estarán junto a la etiqueta de la nota, con enlaces a las distintas ubicaciones de su marcador en el texto principal. Consulte WP:REFNAME y el primer punto a continuación en § Problemas.
{{efn}}
admite |name=
y |group=
, que funcionan de la misma manera que los parámetros en <ref>
(consulte, por ejemplo, los ejemplos 3 y 4 a continuación). No encierre los valores entre comillas.{{notelist}}
admite los parámetros |colwidth=
, |refs=
, y |group=
, que funcionan de la misma manera que los parámetros en . No encierre los valores entre comillas.{{reflist}}
En estos ejemplos, las etiquetas de las notas al pie coinciden entre el marcador de nota al pie y la lista de referencias:
Nota : con referencias con nombre, solo es necesario agregar los detalles una vez. Para cada uso posterior al primero, solo es necesario volver a utilizar el nombre de la referencia. Hacer esto no hará que el superíndice en línea muestre un nombre personalizado.
Nota : Debido a las limitaciones del software MediaWiki, no utilice notas al pie definidas en listas que contengan referencias.
{{efn}}
|group=
in o no coincide exactamente con uno de los valores predefinidos; no será necesario utilizar la variante as .{{reflist}}
<references />
{{efn}}
|group=
|group=
in o está entre comillas; no será necesario utilizar la variante as .{{reflist}}
<references />
{{efn}}
|group=
{{reflist}}
está sangrado con el :
marcado.<references />
se utiliza en lugar de{{reflist}}
{{navbox}}
bodyclass=hlist
listclass=hlist
Datos de plantilla para Refn
Esta plantilla se utiliza para crear notas a pie de página en Wikipedia, como alternativa y complemento a la etiqueta <ref>.