Difference between revisions of "Help:References"
From Healthcarepedia
(Created page with "==Use== Two HTML-style tags are used to define and show footnotes. ;{{tag|ref|open}} Single use footnotes are defined by enclosing content within {{tag|ref}}: :{{tag|ref|cont...") |
m |
||
Line 1: | Line 1: | ||
− | + | Two HTML-style tags are used to define and show footnotes: <nowiki><ref> and <reference /></nowiki> | |
− | Two HTML-style tags are used to define and show footnotes | ||
− | + | ==<nowiki><ref></nowiki>== | |
− | Single use footnotes are defined by enclosing content within | + | *Single use footnotes are defined by enclosing content within <nowiki><ref>...</ref></nowiki> |
− | : | + | **A footnote used multiple times may be defined with a name: <nowiki><ref name="foo">content</ref> </nowiki> |
− | + | *To invoke a named footnote: | |
− | + | **<nowiki><ref name="foo" /></nowiki> | |
− | |||
− | To invoke a named footnote: | ||
− | |||
Footnotes may be defined in groups: | Footnotes may be defined in groups: | ||
Line 17: | Line 13: | ||
Names and groups may not be a numeric integer. The quotes are optional unless the name includes a space, punctuation or other mark. It is recommended that names be kept simple and restricted to the ASCII character set. | Names and groups may not be a numeric integer. The quotes are optional unless the name includes a space, punctuation or other mark. It is recommended that names be kept simple and restricted to the ASCII character set. | ||
− | |||
− | |||
− | |||
− | To display footnotes defined in a group. include: | + | ==<nowiki><reference /></nowiki>== |
− | + | ||
+ | *To display the reference list, after all of the {{tag|ref}} tags, include: | ||
+ | **<nowiki><reference /></nowiki> | ||
+ | |||
+ | *To display footnotes defined in a group. include: | ||
+ | **<nowiki><references group="foo" /></nowiki> | ||
+ | |||
+ | |||
+ | For a more detailed guide, see https://www.mediawiki.org/wiki/Help:Cite |
Revision as of 01:51, 2 November 2016
Two HTML-style tags are used to define and show footnotes: <ref> and <reference />
<ref>
- Single use footnotes are defined by enclosing content within <ref>...</ref>
- A footnote used multiple times may be defined with a name: <ref name="foo">content</ref>
- To invoke a named footnote:
- <ref name="foo" />
Footnotes may be defined in groups:
- Template:TagcontentTemplate:Tag
Names and groups may not be a numeric integer. The quotes are optional unless the name includes a space, punctuation or other mark. It is recommended that names be kept simple and restricted to the ASCII character set.
<reference />
- To display the reference list, after all of the Template:Tag tags, include:
- <reference />
- To display footnotes defined in a group. include:
- <references group="foo" />
For a more detailed guide, see https://www.mediawiki.org/wiki/Help:Cite