Template:Ref: Difference between revisions

From The Reed and Rite
mNo edit summary
Line 21: Line 21:


For most situations, however, the other reference templates should be used as they offer more structure. See [[Help:References]] for more details on using references.
For most situations, however, the other reference templates should be used as they offer more structure. See [[Help:References]] for more details on using references.
== Usage ==
:'''Note:''' If you need to add a reference that is not strictly text or a specialized reference using one of the reference templates below, it is recommended you use the standard MediaWiki reference tag: <code><nowiki><ref>FOOTNOTE TEXT</ref></nowiki></code> See [https://www.mediawiki.org/wiki/Help:Cite MediaWiki's Cite Guide] for more information on how to use this tag.
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
! width=50%|'''You Type'''
!'''You Get'''
|-
| width=50%|
<pre>
This is a sentence that needs a reference/footnote.{{ref|text=This is a reference/footnote.}}
== Notes ==
<references />
</pre>
|
This is a sentence that needs a reference/footnote.{{ref|text=This is a reference/footnote.}}
<span style="display: block; font-size: 1.5em; font-family: Georgia; font-weight: normal; margin-top: 0.7em; border-bottom: 1px solid #a2a9b1;">Notes</span>
<references />
|}


== Articles using Template ==
== Articles using Template ==

Revision as of 22:49, 13 May 2025

Description

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:References for more details on using references.

Usage

Note: If you need to add a reference that is not strictly text or a specialized reference using one of the reference templates below, it is recommended you use the standard MediaWiki reference tag: <ref>FOOTNOTE TEXT</ref> See MediaWiki's Cite Guide for more information on how to use this tag.
You Type You Get
This is a sentence that needs a reference/footnote.{{ref|text=This is a reference/footnote.}}

== Notes ==
<references />

This is a sentence that needs a reference/footnote.[1]

Notes

  1. ^ This is a reference/footnote.

Articles using Template