Template:Ref: Difference between revisions
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
|
Articles using Template
- Agnes (transclusion) (← links | edit)
- Parian (transclusion) (← links | edit)
- Matilde (transclusion) (← links | edit)
- Maxwell (transclusion) (← links | edit)
- Nigel Hawkes (transclusion) (← links | edit)
- Madame Tasset (transclusion) (← links | edit)
- Saffronia March (transclusion) (← links | edit)
- Jack Hollingstell (transclusion) (← links | edit)
- Mr. Penury (transclusion) (← links | edit)
- The Tenant (transclusion) (← links | edit)
- Declan Lion (transclusion) (← links | edit)
- Emma's Mother (transclusion) (← links | edit)
- Template:Book ref (transclusion) (← links | edit)
- Template:Emma ref (transclusion) (← links | edit)
- Template:Ref (transclusion) (← links | edit)
- Template:Quote (transclusion) (← links | edit)
- Help:References (transclusion) (← links | edit)