Template:Ref/doc
From Wikipedia, the free encyclopedia
This documentation is for the {{ref}}, {{note}}, {{ref label}} and {{note label}} templates. The note templates place notes into an article, and the ref templates place labeled references to the notes, with the labels normally hyperlinks for navigating from a ref to a corresponding note and back from the note to the ref. The label pair of templates are similar to the pair without the label name, but with more features.
This is a documentation subpage for Template:Ref. It may contain usage information, categories and other content that is not part of the original template page. |
This is no longer the recommended method of citing sources. If a note list separate from the list of references is desired, {{refn}} and {{efn}} may be used. For information on how to place and format citations, see Wikipedia:Citing sources. An explanation on how to create 'numbered footnotes' is at Help:Footnotes. |
This template uses TemplateStyles: |
The links and backlinks are identified internally by combining the specified parameters. The templates accepts a number of unnamed parameters identified by their position. It also accepts a named parameter (named noid) which is deprecated since its introduction.
The first parameter of {{ref}} is a label that has to be used for the parameter of the corresponding {{note}}. The label is used to form the fragment identifier for the footnote link and back link. The second parameter of {{ref}} is the footnote reference marker, shown as a superscript. The easiest choice is to make these two the same, but this is not a requirement. If the second parameter is not supplied, the marker is a superscripted external link of the form [n].