Template:Reflist: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{1}}} | <div class ="ref{{{1|}}}"> {{#tag:references|{{{2|}}}|group="{{{1|}}}"}} </div> | {{#tag:references}}}}</includeonly><noinclude>Add advanced references to a page. For use with [[Template:Ref]] and [[Template:Cite web]]. The first parameter optionally defines a group.
<includeonly>{{#if: {{{1}}} | <div class ="ref{{{1|}}}"> {{#tag:references|{{{2|}}}|group="{{{1|}}}"}} </div> | {{#tag:references}}}}</includeonly><noinclude>Add advanced references to a page. For use with [[Template:Ref]] and [[Template:Cite web]]. The first parameter optionally defines a group. If the groups act1, act2, act3 or url are used, it will automatically format those references too.


==Example==
==Example==
When used with [[Template:Ref]] and [[Template:Cite web]].
When used with [[Template:Ref]]:
<pre> Example this.{{ref|example}}
<pre>Example this.{{ref|example}}
Example that.{{cite web
Example that.{{ref|act 2 reference|act2}}
|work = Official website
|author = Perry
|date = 1961-07-94
|url = https://bg3.wiki
|title = Perry's Homepage
|publisher = Perry and friends
|accessdate = 2023-03-03
|archiveurl = https://archive.org/
|archivedate = 2023-04-04
}}
Example those.{{ref|act 1 reference|act1}}
Example those.{{ref|act 1 reference|act1}}


{{reflist}}
{{reflist}}
{{reflist|act1}}
{{reflist|act1}}
{{reflist|url}}</pre>
{{reflist|act2}}</pre>
Example this.{{ref|example}}
Example this.{{ref|example}}
Example that.{{cite web
Example that.{{ref|act 2 reference|act2}}
|work = Official website
|author = Perry
|date = 1961-07-94
|url = https://bg3.wiki
|title = Perry's Homepage
|publisher = Perry and friends
|accessdate = 2023-03-03
|archiveurl = https://archive.org/
|archivedate = 2023-04-04
}}
Example those.{{ref|act 1 reference|act1}}
Example those.{{ref|act 1 reference|act1}}


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


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

Revision as of 03:17, 29 October 2023

Add advanced references to a page. For use with Template:Ref and Template:Cite web. The first parameter optionally defines a group. If the groups act1, act2, act3 or url are used, it will automatically format those references too.

Example

When used with Template:Ref:

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
Group1

A group for use with Cite.

Unknownoptional