Usage edit

This template is for using plain-text citations with {{sfn}}, {{harvnb}}, and similar templates.

  • Syntax: {{Cite plain | [AUTHOR] | [YEAR] | [CITATION] }}
    • [AUTHOR] is the author name, e.g. "Smith", "Smith & Jones", or "Smith, et al.". It should be the same as the first parameter in the reference template (e.g. {{sfn|AUTHOR|YEAR}}).
    • [YEAR] is the year of the work, e.g. "2020". Strings such as "2020b" are also permissible. It should be the same as the second parameter in the reference template (e.g. {{sfn|AUTHOR|YEAR}}).
    • [CITATION] is the plain-text citation.
  • Example:
    • A plain-text citation, e.g. in a "Works cited" section of an article, such as "Smith, J (2020). My First Book. Reputable Publisher, Inc. ISBN 123456789." can be linked with {{sfn}} and {{harvnb}} by wrapping the citation in {{Cite plain}}:
      • {{Cite plain|Smith|2020|Smith, J (2020). ''My First Book''. Reputable Publisher, Inc. ISBN 123456789.}}
      • {{sfn|Smith|2020|p=1}} and {{harvnb|Smith|2020}} will link to the Smith 2020 citation.
    • Try it out by clicking on the "Smith 2020" link below:
      • Example citation:
        • Code: {{Cite plain|Smith|2020|Smith, J (2020). ''My First Book''. Reputable Publisher, Inc. ISBN 123456789.}}
        • Result: Smith, J (2020). My First Book. Reputable Publisher, Inc. ISBN 123456789.
      • Example reference:
        • Code: {{harvnb|Smith|2020|p=1}}
        • Result: Smith 2020, p. 1