Difference between revisions of "Help:References"

From Healthcarepedia
Jump to: navigation, search
(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 ()
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Use==
+
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.
 
  
;{{tag|ref|open}}
+
==<nowiki><ref></nowiki>==
Single use footnotes are defined by enclosing content within {{tag|ref}}:
+
*Single use footnotes are defined by enclosing content within <nowiki><ref>...</ref></nowiki>
:{{tag|ref|content=''content''}}
+
**Example: <nowiki><ref>Rules of Usage. Strunk, William, Jr. 1918. Elements of Style</ref></nowiki> equals: <ref>Rules of Usage. Strunk, William, Jr. 1918. Elements of Style</ref>
 +
* A footnote used multiple times may be defined with a name
 +
**Example: <nowiki><ref name="CMOS">Chicago Manual of Style, 16th Edition</ref></nowiki> equals: <ref name="CMOS">Chicago Manual of Style, 16th Edition</ref>
 +
* The named footnote may be invoked later
 +
**Exmple: <nowiki><ref name="CMOS" /></nowiki> equals <ref name="CMOS" />
  
A footnote used multiple times may be defined with a name:
+
==<nowiki><references /></nowiki>==
:{{tag|1=ref name="foo"|2=open}}''content''{{tag|ref|close}}
+
*To display the reference list, after all of the <nowiki><ref>...</ref></nowiki> tags, use <nowiki><references /></nowiki>
  
To invoke a named footnote:
 
:{{tag|1=ref name="foo"|2=single}}
 
  
Footnotes may be defined in groups:
+
For a more detailed guide, see https://www.mediawiki.org/wiki/Help:Cite
:{{tag|1=ref group="foo"|2=open}}''content''{{tag|ref|close}}
 
  
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.
 
  
;{{tag|references|single}}
+
<strong>Footnotes used on this page</strong>
To display the reference list, after all of the {{tag|ref}} tags, include:
+
<references />
:{{tag|references|single}}
 
 
 
To display footnotes defined in a group. include:
 
:{{tag|1=references group="foo"|2=single}}
 

Latest revision as of 02:06, 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>
    • Example: <ref>Rules of Usage. Strunk, William, Jr. 1918. Elements of Style</ref> equals: [1]
  • A footnote used multiple times may be defined with a name
    • Example: <ref name="CMOS">Chicago Manual of Style, 16th Edition</ref> equals: [2]
  • The named footnote may be invoked later
    • Exmple: <ref name="CMOS" /> equals [2]

<references />

  • To display the reference list, after all of the <ref>...</ref> tags, use <references />


For a more detailed guide, see https://www.mediawiki.org/wiki/Help:Cite


Footnotes used on this page

  1. Rules of Usage. Strunk, William, Jr. 1918. Elements of Style
  2. 2.0 2.1 Chicago Manual of Style, 16th Edition