Template:Reflist: Difference between revisions
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]] | When used with [[Template:Ref]]: | ||
<pre> Example this.{{ref|example}} | <pre>Example this.{{ref|example}} | ||
Example that.{{ | Example that.{{ref|act 2 reference|act2}} | ||
| | |||
| | |||
}} | |||
Example those.{{ref|act 1 reference|act1}} | Example those.{{ref|act 1 reference|act1}} | ||
{{reflist}} | {{reflist}} | ||
{{reflist|act1}} | {{reflist|act1}} | ||
{{reflist| | {{reflist|act2}}</pre> | ||
Example this.{{ref|example}} | Example this.{{ref|example}} | ||
Example that.{{ | Example that.{{ref|act 2 reference|act2}} | ||
| | |||
| | |||
}} | |||
Example those.{{ref|act 1 reference|act1}} | Example those.{{ref|act 1 reference|act1}} | ||
{{reflist}} | {{reflist}} | ||
{{reflist|act1}} | {{reflist|act1}} | ||
{{reflist| | {{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]
- ↑ example
- ↑ act 1 reference
- ↑ act 2 reference
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Group | 1 | A group for use with Cite. | Unknown | optional |