Template:Ref/doc
Appearance
This is a documentation subpage for Template:Ref. It contains usage information, categories and other content that is not part of the original template page. |
{{Ref}} and {{note}} are used for customizable inline references to footnotes.
Usage
[edit]Default
[edit]Example
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.
Example
Text{{ref|identifier|visible ref text!}}. {{note|identifier|visible note text!}} Footnote text.
Textvisible ref text!.
visible note text! Footnote text.
Customized IDs
[edit]Example
Example
Formatting
[edit]By default, notes are bold and italic. Setting |bold=no
and/or |italics=no
will disable bold and italic formatting respectively.
Example
{{note|identifier|not bold text!|bold=no}} Footnote text. {{note|identifier|not italic text!|italics=no}} Footnote text. {{note|identifier|not bold or italic text!|bold=no|italics=no}} Footnote text.
not bold text! Footnote text.
not italic text! Footnote text.
not bold or italic text! Footnote text.
See also
[edit]- {{Authority reference}}
- {{mbox}}: for templates that produce notice / message boxes