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. If the groups act1, act2, act3 or url are used, it will automatically format those references too.
<includeonly><div class ="{{#if: {{{1}}} | reflist ref{{{1|}}} | reflist}}" style="list-style-type:{{#switch: {{{1|}}}
| act1
| act2
| act3 = lower-alpha
| #default = decimal}};"> {{#if: {{{1|}}} | {{#tag:references|{{{2|}}}|group="{{{1|}}}"}} | {{#tag:references}}}}</div></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==

Revision as of 14:34, 22 November 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