Template:Reflist: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>== | <includeonly><templatestyles src="Reflist/styles.css" /><div class ="{{#if: {{{1}}} | reflist ref{{{1|}}} | reflist}}" style="list-style-type:{{#switch: {{{1|}}} | ||
{{#if: {{{ | | act1 | ||
{{#tag:references}} | | act2 | ||
| act3 = lower-alpha | |||
| #default = decimal}};"> {{#if: {{{1|}}} | {{#tag:references|{{{refs|}}}|group="{{{1|}}}"}} | {{#tag:references}}}}</div></includeonly><noinclude>{{documentation|content=Add advanced references to a page. For use with [[Template:Ref]] and [[Template:Cite web]]. The first parameter optionally defines a group. | |||
The groups act1, act2, act3, url, text and note will also be automatically formatted. | |||
==Example== | ==Example== | ||
When used with [[Template:Ref]]: | |||
<pre>Example this.{{ref|example}} | |||
Example that.{{ref|act 2 reference|act2}} | |||
Example those.{{ref|act 1 reference|act1}} | |||
Example this. | {{reflist}} | ||
Example that. | {{reflist|act1|2}} | ||
Example | {{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}} | ||
</noinclude> | {{reflist|act2}} | ||
[[Category:Templates]] | |||
[[Category:Citation templates]] | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Group", | |||
"description": "A group for use with Cite.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"act1", | |||
"act2", | |||
"act3", | |||
"text", | |||
"url", | |||
"note" | |||
] | |||
}, | |||
"refs": { | |||
"label": "Refs", | |||
"description": "Add a list of references.", | |||
"deprecated": "Not supported currently, usage is not advised." | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"refs" | |||
] | |||
} | |||
</templatedata>}}</noinclude> |
Latest revision as of 19:09, 1 February 2024
Template documentation
Add advanced references to a page. For use with Template:Ref and Template:Cite web. The first parameter optionally defines a group.
The groups act1, act2, act3, url, text and note will also be automatically formatted.
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|2}} {{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.
| String | optional |
Refs | refs | Add a list of references. | Unknown | deprecated |