Template:Ref: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
m (Willowisp moved page Template:Cite to Template:Ref over redirect)
No edit summary
Line 2: Line 2:
== Examples ==
== Examples ==
When used with Reflist:
When used with Reflist:
<pre>{{cite|reference example}}</pre>
<pre>Example this.{{ref|example}}
Example text without a group.{{cite|reference example}}
Example that.{{ref|act 2 reference|act2}}
Example those.{{ref|act 1 reference|act1}}


<pre>Example text with a group.{{cite|reference example from act1|act1}} and a second example text{{cite|second example from act1|act1}}</pre>
{{reflist}}
Example text with a group.{{cite|reference example from act1|act1}} and a second example text{{cite|second example from act1|act1}}
{{reflist|act1}}
{{reflist|act2}}</pre>
Example this.{{ref|example}}
Example that.{{ref|act 2 reference|act2}}
Example those.{{ref|act 1 reference|act1}}


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


== Template data ==
== Template data ==

Revision as of 04:17, 29 October 2023

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

Examples

When used with Reflist:

Example this.{{ref|example}}
Example that.{{ref|act 2 reference|act2}}
Example those.{{ref|act 1 reference|act1}}

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

Example this.[1] Example that.[act2 a] Example those.[act1 a]

  1. example
  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
Name3

An optional name for the reference.

Unknownoptional