Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
m
m (Clarify use, sort in category)
Line 15: Line 15:
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
This template is mainly used to refer to named references as such: {{t|ref|name&#61;blah}} so that one of the other [[:Category: Reference templates|reference templates]] can be referenced shorthand. Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter. For most situations the other reference templates should be used as they offer more structure.
+
This template is mainly used to in definitions of the individual [[:Category: Reference templates|reference templates]], though there are a few cases where it is used directly.
  +
* Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter.
  +
* It is also used when another [[:Category: Reference templates|reference templates]] has been used with <code>name=X</code>, in which case that reference can be cited again with <code><nowiki>{{ref|name=X}}</nowiki></code>.
   
  +
For most situations, however, the other reference templates should be used as they offer more structure. See [[Help:Cite]] for more details on using references.
[[Category: Reference templates]]
 
  +
 
[[Category: Reference templates| ]]

Revision as of 18:52, 19 April 2020

This template is mainly used to in definitions of the individual reference templates, though there are a few cases where it is used directly.

  • Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter.
  • It is also used when another reference templates has been used with name=X, in which case that reference can be cited again with {{ref|name=X}}.

For most situations, however, the other reference templates should be used as they offer more structure. See Help:Cite for more details on using references.