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>== References ==
<includeonly>{{#if: {{{1|}}} | <h4>{{#switch: {{{1|}}}
{{#if: {{{url|}}} {{{other|}}} | ==== Baldur's Gate 3 ====}}
| act1
{{#tag:references}}{{#if: {{{act|}}} | act}}{{#if: {{{text|}}} | text}}
| act 1 = Act 1
{{#if: {{{url|}}} | ==== External links ====
| act2
{{#tag:references|External links|group="url"}}}}
| act 2 = Act 2
 
| act3
{{#if: {{{other|}}} | ==== Other sources ====
| act 3 = Act 3
{{#tag:references|Other sources|group=other}}}}</includeonly><noinclude>Add advanced references to a page.
| book
| letter
| text = Books and letters
| link
| URL
| url = External links
| #default =  
}}</h4>}}{{#switch: {{{1|}}}
| act1
| act 1 = {{#tag:references|Act 1 |group="act1"}}
| act2
| act 2 = {{#tag:references|Act 2 |group="act2"}}
| act3
| act 3 = {{#tag:references|Act 3 |group="act3"}}
| book
| letter
| text = {{#tag:references|Books and letters |group="text"}}
| link
| URL
| url = {{#tag:references|External links|group="url"}}
| #default = {{#tag:references}}
}}</includeonly><noinclude>Add advanced references to a page.
==Example==
==Example==
Example this.<ref> example </ref>
Example this.<ref> example </ref>
Example that.{{cite web
Example that.{{cite web
Line 21: Line 41:
|archivedate = 2023-04-04
|archivedate = 2023-04-04
}}
}}
Example those.<ref group=other> other </ref>
Example those.<ref group=act1> other </ref>
 
<pre>{{reflist}}
<pre>{{reflist|url = 1|other = 1}}</pre>
{{reflist|act1}}
{{reflist|url = 1|other = 1}}
{{reflist|url}}</pre>
{{reflist}}
{{reflist|act1}}
{{reflist|url}}
</noinclude>
</noinclude>

Revision as of 18:35, 26 October 2023

Add advanced references to a page.

Example

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

{{reflist}}
{{reflist|act1}}
{{reflist|url}}
  1. example

Act 1

  1. other

External links

  1. Official website: Perry (1961-07-94). Perry's Homepage. Perry and friends. Retrieved 2023-03-03. Archived from the original on 2023-04-04.