Template:Ref

From The Reed and Rite
Revision as of 22:43, 27 May 2025 by TheRoman (talk | contribs) (Removed background color to allow dynamic color shift in dark mode.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template should be used to make a basic text footnote. It also has the ability, when used with other Reference Templates, to create a reference group.

Usage

Note: If you need to add a reference that is not strictly text or a specialized reference using one of the other reference templates, 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.
Basic Usage
To add a basic reference footnote, pass the template's name with a text= parameter. (e.g., {{ref|text=INPUT}}, replacing INPUT with the text you would like to appear in the footnote.)
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.
Named Reference Group
Using on of the other Reference Templates, you can add a name= parameter to it to give that reference a "nickname", then use the {{ref}} template with the same name= parameter to reuse the same nicknamed reference.
You Type You Get
Queen Eleanor studies papers of state in the garden.{{book ref|qg|1|name=qg1}}

She is approached by a stranger.{{ref|name=qg1}}

== Notes ==
<references />

Queen Eleanor studies papers of state in the garden.[1]

She is approached by a stranger.[1]

Notes

Articles using Template