Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ref

Template page
Revision as of 12:15, 2 December 2023 by Willowisp (talk | contribs)

Add a reference with a group. For use with Template:Reflist.

The groups act1, act2, act3, url and note will also be automatically formatted.

Examples

When used with Reflist:

Example this.{{ref|example}}
Example that.{{ref|act 2 reference|act2}}
Example those.{{ref|act 1 reference|act1}}
Named example.{{ref|name=named|named reference|act1}}{{ref|name=namedtwo|second named reference}}
Named again.{{ref|name=named||act1}}{{ref|name=namedtwo}}

{{reflist}}
{{reflist|act1}}
{{reflist|act2}}

Example this.[1] Example that.[act2 a] Example those.[act1 a] Named example.[2][3] Named again.[2][3]

  1. example
  2. 2.0 2.1 named reference
  3. 3.0 3.1 second named reference
  1. act 1 reference
  1. act 2 reference

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Reference1

The reference or source itself.

Unknownrequired
Group2

A group for use with Reflist.

Unknownsuggested
Namename

An optional name for the reference.

Unknownoptional