Template:Ref: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag:ref| {{{1|}}} | group = {{{2|}}} | name = {{{ | <includeonly>{{#tag:ref| {{{1|}}} | group = {{{2|}}} | name = {{{name|}}}}}</includeonly><noinclude>Add a reference with a group. For use with [[Template:Reflist]]. | ||
== Examples == | == Examples == | ||
When used with Reflist: | When used with Reflist: | ||
Line 5: | Line 5: | ||
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}} | ||
Example these.{{ref|named reference|name=named}} | |||
Example all.{{ref|name=named}} | |||
{{reflist}} | {{reflist}} | ||
Line 12: | Line 15: | ||
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}} | ||
Example these.{{ref|named reference|name=named}} | |||
Example all.{{ref|name=named}} | |||
{{reflist}} | {{reflist}} | ||
Line 31: | Line 36: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "An optional name for the reference." | "description": "An optional name for the reference." |
Revision as of 12:12, 22 November 2023
Add a reference with a group. For use with Template:Reflist.
Examples
When used with Reflist:
Example this.{{ref|example}} Example that.{{ref|act 2 reference|act2}} Example those.{{ref|act 1 reference|act1}} Example these.{{ref|named reference|name=named}} Example all.{{ref|name=named}} {{reflist}} {{reflist|act1}} {{reflist|act2}}
Example this.[1] Example that.[act2 a] Example those.[act1 a] Example these.[2] Example all.[2]
- ↑ act 1 reference
- ↑ act 2 reference
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reference | 1 | The reference or source itself. | Unknown | required |
Group | 2 | A group for use with Reflist. | Unknown | suggested |
Name | name | An optional name for the reference. | Unknown | optional |