Template:Ref/examples

From Wikipedia, the free encyclopedia

Note: The following templates are deprecated. Please use the Cite.php <ref> and <references/> system. For details on the current system, please see Wikipedia:Footnotes and Wikipedia:Cite sources.

What to type What it makes

Linking and footnote templates

Tags attached to links in text area:

  • "{{ref}} example{{ref|reference1}}" — Links to a citation in the Reference section labeled "reference1".
  • "Deprecated {{ref_num}} example{{ref_num|reference1|1}}" — Links to a citation in the Reference section labeled "reference1", but marked in the text with the number "1" instead of an automatically generated number. NOTE: {{ref_num}} is deprecated. {{ref_label}} should be used instead.
  • "{{ref_label}} example{{ref_label|example.com|2|none}}" — Links to a citation in the Reference section labeled "example.com". Text is marked with the number "2".

For two links to the same footnote labeled "example.com", you would:

  • "{{ref_label}} example{{ref_label|example.com|3|a}}"
  • "{{ref_label}} example{{ref_label|example.com|3|b}}"
  • "{{ref_label}} example{{ref_label|nextexample.com|4|4}}"
  • "{{ref_harvard}} example {{ref_harvard|lastexample.com|Jones 1999|none}}" — Links to a citation in the Reference section labeled "lastexample.comnone", and marked in the text with (Jones 1999).
  • "{{ref_harv}} example {{ref_harv|lastexample.com|Jones 1999|none}}" — Links to a citation in the Reference section labeled "lastexample.comnone", and marked in the text with (Jones 1999).
  • "{{ref_harvard}} example {{ref_harvard|finalexample.com|Smith 2000|a}}(a)"
  • "{{ref_harv}} example {{ref_harv|finalexample.com|Smith 2000|a}}(a)"
  • "{{ref_harvard}} example {{ref_harvard|finalexample.com|Smith 2000|b}}(b)"
  • "{{ref_harv}} example {{ref_harv|finalexample.com|Smith 2000|b}}(b)"

Tags attached to links in References or Footnote section:

"#{{note|reference1}} example of {{note}}" — In References section, citation labeled "reference1".

"#{{note_label|example.com|2|none}}"— In References section, citation labeled "example.comnone". Creates backlink to matching {{ref_label}} entry in the text labeled "example.comnone".

Now, if you have two links to the same footnote labeled "example.com", you would do:

"#{{note_label|example.com|3|a}}{{note_label|example.com|3|b}} example of {{note_label}}"

"{{note_label|nextexample.com|4|4}} example of {{note_label}}"

  • "{{note_label|lastexample.com|Jones 1999|none}}Jones (1999) {{note_label}}" -- Note that when the 3rd unnamed parameter is specified as "none", the ^ symbol is rendered for the backlink.
  • "{{note_label|finalexample.com|Smith 2000|a}}{{note_label|finalexample.com|Smith 2000|b}}Smith (2000)"


In text area:


In References or Footnote section:

  1.   example of {{note}}
  2. ^  example of {{note_label}}
  3. a b  example of {{note_label}}

4  example of {{note_label}}