Template:Ref

From Wikisource
Jump to navigation Jump to search

[[#endnote_{{{1}}}|[{{{1}}}]]]

Template documentation[view] [edit] [history] [purge]


{{ref}} and {{note}} are used for customizable inline references to footnotes.

Usage[edit]

Default[edit]

Text{{ref|identifier}}.

{{note|identifier}} Reference text.

Text[identifier].

  Reference text.

Replace "identifier" with a unique number or name, which will be used as the link text and target. This is usually an incremental number (like "1") or letter (like "a").

Customized[edit]

You can customize the appearance to match a particular format using optional parameters.

Text{{ref|identifier|visible ref text!}}.

{{note|identifier|visible note text!}} Footnote text.

Textvisible ref text!.

visible note text!  Footnote text.

See also[edit]