Template:Ref: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
Example that.{{ref|act 2 reference|act2}} | Example that.{{ref|act 2 reference|act2}} | ||
Example those.{{ref|act 1 reference|act1}} | Example those.{{ref|act 1 reference|act1}} | ||
Named example.{{ref|name=named|named reference|act1}} | Named example.{{ref|name=named|named reference|act1}}{{ref|name=namedtwo|second named reference}} | ||
Named again.{{ref|name=named||act1}} | Named again.{{ref|name=named||act1}}{{ref|name=namedtwo}} | ||
{{reflist}} | {{reflist}} | ||
Line 16: | Line 16: | ||
Example that.{{ref|act 2 reference|act2}} | Example that.{{ref|act 2 reference|act2}} | ||
Example those.{{ref|act 1 reference|act1}} | Example those.{{ref|act 1 reference|act1}} | ||
Named example.{{ref|name=named|named reference|act1}} | Named example.{{ref|name=named|named reference|act1}}{{ref|name=namedtwo|second named reference}} | ||
Named again.{{ref|name=named||act1}} | Named again.{{ref|name=named||act1}}{{ref|name=namedtwo}} | ||
{{reflist}} | {{reflist}} | ||
{{reflist|act1}} | {{reflist|act1}} | ||
{{reflist|act2}} | {{reflist|act2}} | ||
[[Category:Templates]] | |||
[[Category:Citation templates]] | |||
== Template data == | == Template data == | ||
<templatedata> | <templatedata> | ||
Line 30: | Line 31: | ||
"label": "Reference", | "label": "Reference", | ||
"description": "The reference or source itself.", | "description": "The reference or source itself.", | ||
" | "suggested": true | ||
}, | }, | ||
"2": { | "2": { | ||
"label": "Group", | "label": "Group", | ||
"description": "A group for use with Reflist." | "description": "A group for use with Reflist." | ||
}, | }, | ||
"name": { | "name": { |
Latest revision as of 13:27, 2 December 2023
Add a reference with a group. For use with Template:Reflist.
The groups act1, act2, act3, url and note will also be automatically formatted.
Examples
When used with Reflist:
Example this.{{ref|example}} Example that.{{ref|act 2 reference|act2}} Example those.{{ref|act 1 reference|act1}} Named example.{{ref|name=named|named reference|act1}}{{ref|name=namedtwo|second named reference}} Named again.{{ref|name=named||act1}}{{ref|name=namedtwo}} {{reflist}} {{reflist|act1}} {{reflist|act2}}
Example this.[1] Example that.[act2 a] Example those.[act1 a] Named example.[act1 b][2] Named again.[act1 b][2]
- ↑ act 2 reference
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reference | 1 | The reference or source itself. | Unknown | suggested |
Group | 2 | A group for use with Reflist. | Unknown | optional |
Name | name | An optional name for the reference. | Unknown | optional |