Template:Harvnb/doc

Usage


or

Instead of using the optional loc parameter, you may use one of the following parameters:


 * p=page
 * pp=pages


 * Usage notes
 * The first parameter is the author's last name.
 * Up to four authors can be given as parameters (see the examples). If there are more than 4 authors only the first 4 should be listed; listing more will cause odd things to happen.
 * The next parameter is the year of publication.
 * The loc= parameter is the location of the cited material within the reference. This parameter is optional.
 * The p= is an optional page parameter; thus " " yields "".
 * The pp= parameter is an optional page range parameter; thus " " yields "".
 * The Ref= parameter is used to specify the reference value that links the short citation to the full citation. This parameter is optional and is usually not necessary. If you specify Ref=none no hyperlink is created. (See the examples.)
 * To include brackets surrounding the citation, use Harvard citation or Harv.
 * To use the author name(s) in the text, use Harvard citation text or Harvtxt.
 * For more complicated Harvard citations with multiple links use Harvard citations or its abbreviation harvs.
 * For authors who have published more than one work in the same year, the standard way to differentiate such works is to put a lowercase letter after the year. For example, " " yields "" and "  " yields ""
 * A space before or after the author name or before the year is significant; they produce an underscore in the hyperlink. So, " " yields "" which links to #CITEREFSmith_2006.
 * When using citation templates such as cite book for references, include the parameter ref=harv to add the target of the footnote link to each reference.

Examples

 * {| class="wikitable"

! Code ! Result
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }

The following references are provided as targets for the Harvnb templates used in the examples above. If you click on a link in the Result column, the browser will highlight the proper entry below and scroll to the page to make it visible.
 * Full references for examples



Purpose
When using parenthetical referencing there are some situations in which it is undesirable to surround the citation with brackets. Also, Harvnb is sometimes used with inline citations ( &lt;ref&gt;…&lt;/ref&gt; ) to create short footnotes in a Notes section that link to full footnotes in a References section.

A useful example of the Harvard no brackets template is when creating multiple cites using different pages of the same book. For a worked example, see User:RexxS/Cite_multiple_pages.
 * Multiple citations