Skip to content
American Girl Wiki
Menu

Template:Ref

Revision as of 08:48, 27 May 2013 by MigrationBot (talk | contribs) (Imported latest exported content; source attribution retained.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[1]

Template documentation (for the template shown above, sometimes hidden or invisible)


The ref template allows you to add a citation or footnote to an article. While the <ref> tags might be enough for most cases, this template gives you a bit more control and flexibility, like citing several statements to a single source, and makes footnotes a little more consistent without the need for excessive formatting.

Basic usage:

{{ref|Reference content (e.g. text, footnotes, etc.)}}

Alternate form:

{{ref|cite=Reference content (e.g. text, footnotes, etc.)}}

This is the older form, where the reference content has to be supplied to the template with the cite= parameter

Named reference:

Named parameters are used when you want to refer to the same reference at many places in the same article.

Named references uses a separate template {{refn}}.

{{refn|Reference content (e.g. text, footnotes, etc.)|name=nelliewashere}}

This is the same as normal references but with the extra name= parameter. So the subsequent ref template can be written as:

{{refn|name=nelliewashere}}

Have fun!



Visit Template:Ref/doc to edit this text! (How does this work?)


  1. ↑ {{{cite}}}