Template:Ref: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|{{{1|}}} | |{{{1|}}} | ||
|name={{{name|{{{n|}}}}}} | |name={{{name|{{{n|}}}}}} | ||
}}|{{#if:{{{extends|{{{e|}}}}}}|{{#tag:ref | |||
|{{{1|}}} | |||
|extends={{{extends|{{{e|}}}}}} | |||
}}|{{#tag:ref | }}|{{#tag:ref | ||
|{{{1|}}} | |{{{1|}}} | ||
}}}}</includeonly><noinclude>{{documentation}}</noinclude> | }}}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 19:18, 3 July 2025
{{ref}} is a simple template that allows placing references within other references. To use it, you'd type {{ref|the text of the note}}, replacing "the text of the reference" with whatever you want. "the text of the references" can then included further <ref> tags. For named references, use |name= or |n=. To extend an existing reference, use |extends= or |e=.
Template Data
Allows for the placing of references inside of other references.
Parameter | Description | Type | Status | |
---|---|---|---|---|
reference text | 1 | The text of the reference. | Content | suggested |
name | name n | An optional name for the reference, allowing it to be reused, or the name of a previously named reference that is being reused. | Line | suggested |
extends | extends e | The name of an existing reference to extend. | Line | suggested |
This text was transcluded from Template:Ref/doc. Visit that page to edit this text (details).