close
Sayahna Sayahna
Search

Difference between revisions of "Template:Ref/examples"


m (Performed minor clean up on punctuation.)
 
m (1 revision)
 
(No difference)

Latest revision as of 04:04, 22 March 2014

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".
  • "{{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}}"

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}}