Template:Ref: Difference between revisions

From Warwick Wiki
m 4 revisions imported: Importing some of my own reference templates from Tardis Wiki
No edit summary
Line 4: Line 4:
}}|{{#tag:ref
}}|{{#tag:ref
|{{{1|}}}
|{{{1|}}}
}}}}</includeonly><noinclude>'''{{tlx|ref}}''' is a simple template that allows placing references within other references. To use it, you'd type {{tlx|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 <tt><nowiki><ref></nowiki></tt> tags. For named references, use <tt>|name=</tt> or <tt>|n=</tt>.[[Category:Reference and citation templates]]</noinclude>
}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 18:12, 3 July 2025

Documentation for {{Ref}}    [view] [edit] [history] [purge]

{{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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
reference text1

The text of the reference.

Contentsuggested
namename n

An optional name for the reference, allowing it to be reused, or the name of a previously named reference that is being reused.

Linesuggested
extendsextends e

The name of an existing reference to extend.

Linesuggested

This text was transcluded from Template:Ref/doc. Visit that page to edit this text (details).