<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://noumenapedia.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AHarvc%2Fdoc</id>
	<title>Template:Harvc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://noumenapedia.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AHarvc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://noumenapedia.net/index.php?title=Template:Harvc/doc&amp;action=history"/>
	<updated>2026-10-28T03:33:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://noumenapedia.net/index.php?title=Template:Harvc/doc&amp;diff=7157&amp;oldid=prev</id>
		<title>Deleatur yhe: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://noumenapedia.net/index.php?title=Template:Harvc/doc&amp;diff=7157&amp;oldid=prev"/>
		<updated>2026-09-09T09:50:01Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:50, 9 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Deleatur yhe</name></author>
	</entry>
	<entry>
		<id>https://noumenapedia.net/index.php?title=Template:Harvc/doc&amp;diff=7156&amp;oldid=prev</id>
		<title>wikipedia&gt;PARAKANYAA at 00:53, 7 September 2026</title>
		<link rel="alternate" type="text/html" href="https://noumenapedia.net/index.php?title=Template:Harvc/doc&amp;diff=7156&amp;oldid=prev"/>
		<updated>2026-09-07T00:53:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{lua|Module:Harvc}}&lt;br /&gt;
{{uses TemplateStyles|Module:Citation/CS1/styles.css}}&lt;br /&gt;
This template is a citation hybrid that has characteristics of long-form [[Help:Citation Style 1|cs1]] and [[Help:Citation Style 2|cs2]], of short-form {{tlx|sfn}} and of the {{tlx|harv}} families of templates. Its purpose is to provide a method that allows editors to refer to a contribution or chapter in a larger work when more than a few such referrals are required.  {{tlx|harvc}} is not a substitute for a properly constructed citation.&lt;br /&gt;
&lt;br /&gt;
Short-form templates {{tlx|sfn}} and {{tlx|harv}} are often used to link from an article&amp;#039;s references section to a long-form cs1|2 template in a bibliography section:&lt;br /&gt;
:{{tlx|harv}} → {{tlx|cite book}} &amp;lt;span style=&amp;quot;padding:0 1.5em&amp;quot;&amp;gt;or:&amp;lt;/span&amp;gt; {{tlx|sfn}} → {{tlx|cite book}}&lt;br /&gt;
It is not uncommon for a source to have multiple contributors.  When it is necessary to refer to multiple contributions in the same source, repeating all of the bibliographic details in multiple long-form citation templates adds to references-section clutter. {{tlx|harvc}} is designed to hold only the detail necessary to identify a contribution and link to the enclosing work&amp;#039;s long-form citation where all of the bibliographic detail can be found:&lt;br /&gt;
:{{tlx|harv}} → {{tlx|harvc}} → {{tlx|cite book}} &amp;lt;span style=&amp;quot;padding:0 1.5em&amp;quot;&amp;gt;or:&amp;lt;/span&amp;gt; {{tlx|sfn}} → {{tlx|harvc}} → {{tlx|cite book}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The minimal form is:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{harvc |last=contributor name |year=publication year |c=contribution title |in=source editor/author name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
{{tlx|harvc}} creates a &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor from one to four contribution or chapter author surnames ({{para|last&amp;#039;&amp;#039;n&amp;#039;&amp;#039;}}) and the value in {{para|year}}. This allows {{tlx|harvc}} to be the target of a link created by {{tlx|sfn}} or {{tlx|harv}} family templates. From {{para|in{{var|n}}}} and {{para|year}}, {{tlx|harvc}} creates a CITEREF link similar to those created by {{tlx|harvnb}} and {{tlx|sfn}}. If the same author is cited in the body of the article with {{tag|ref|content={{tnl|harvc}}}} for more than one chapter in the same work, it leads to duplicate anchors and causes a [[Wikipedia:Linter|lint error]] in [[Special:LintErrors/duplicate-ids]]; this can be avoided by assigning non-duplicate {{para|id}} parameters, e.g. {{para|id|yyyya}} {{para|id|yyyyb}} but retaining the parameter {{para|year}}.&lt;br /&gt;
&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|anchor-year=&amp;#039;&amp;#039;&amp;#039; – optional, for use for author(s) with more than one contribution to the work; requires CITEREF disambiguator; see [[#More than one contribution|Examples]]&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|author-link=&amp;#039;&amp;#039;&amp;#039; – optional, title of existing Wikipedia article about the first contributor—not the contributor&amp;#039;s website; do not wikilink; alias: &amp;#039;&amp;#039;&amp;#039;|author-link1=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|author-link&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039; – optional, title of existing Wikipedia article about contributor&amp;#039;&amp;#039;n&amp;#039;&amp;#039;; choose &amp;#039;&amp;#039;n&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;n&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;|last&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|author-mask=&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; – optional, replaces name of the first contributor with &amp;#039;&amp;#039;m&amp;#039;&amp;#039; (commonly 2) em dashes; alias: &amp;#039;&amp;#039;&amp;#039;|author-mask1=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|author-mask&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; – optional, replaces name of contributor&amp;#039;&amp;#039;n&amp;#039;&amp;#039; with &amp;#039;&amp;#039;m&amp;#039;&amp;#039; em dashes; choose &amp;#039;&amp;#039;n&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;n&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;|last&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|author-mask{{var|n}}=&amp;amp;lt;{{var|text}}&amp;gt;&amp;#039;&amp;#039;&amp;#039; – optional, replaces name of contributor&amp;#039;&amp;#039;n&amp;#039;&amp;#039; with &amp;amp;lt;{{var|text}}&amp;gt;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|c=&amp;#039;&amp;#039;&amp;#039; – required, the title of chapter or contribution; rendered quoted in upright font; aliases: &amp;#039;&amp;#039;&amp;#039;|chapter=&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;|contribution=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|display-authors=&amp;#039;&amp;#039;&amp;#039; – optional, defines how {{tlx|harvc}} displays the contributor list; ignored when &amp;#039;&amp;#039;&amp;#039;|name-list-style=harv&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
:: {{para|display-authors}} – when empty or omitted, displays all contributor names in last/first format&lt;br /&gt;
:: {{para|display-authors|{{var|n}}}} – displays &amp;#039;&amp;#039;n&amp;#039;&amp;#039; contributor names in last/first format; appends et al. when &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is less than the number of contributors included in the template&lt;br /&gt;
:: {{para|display-authors|etal}} – displays all contributor names in last/first format and appends et al.&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|first=&amp;#039;&amp;#039;&amp;#039; – optional, first contributor&amp;#039;s given or first name; alias: &amp;#039;&amp;#039;&amp;#039;|first1=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|first&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039; – optional, contributor&amp;#039;&amp;#039;n&amp;#039;&amp;#039; given or first name; &amp;#039;&amp;#039;n&amp;#039;&amp;#039; begins at 2 and increases by 1 for each additional &amp;#039;&amp;#039;&amp;#039;|first&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|id=&amp;#039;&amp;#039;&amp;#039; – required when {{para|last1}}-{{para|last4}} are the same as {{para|in1}}-{{para|in4}}; otherwise optional.  See [[#Avoiding circular reference|Examples]]&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|in=&amp;#039;&amp;#039;&amp;#039; – required, surname or last name of first editor or author of the work that includes the contribution; aliases: &amp;#039;&amp;#039;&amp;#039;|in1=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|in2=&amp;#039;&amp;#039;&amp;#039; – optional, surname or last name of second editor or author&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|in3=&amp;#039;&amp;#039;&amp;#039; – optional, surname or last name of third editor or author&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|in4=&amp;#039;&amp;#039;&amp;#039; – optional, surname or last name of fourth editor or author&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|last=&amp;#039;&amp;#039;&amp;#039; – required, surname or last name of first author; aliases: &amp;#039;&amp;#039;&amp;#039;|last1=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|last&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039; – optional, contributor&amp;#039;&amp;#039;n&amp;#039;&amp;#039; surname or last name; &amp;#039;&amp;#039;n&amp;#039;&amp;#039; begins at 2 and increases by 1 for each additional &amp;#039;&amp;#039;&amp;#039;|last&amp;#039;&amp;#039;n&amp;#039;&amp;#039;=&amp;#039;&amp;#039;&amp;#039;;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|loc=&amp;#039;&amp;#039;&amp;#039; – optional, other location identifier, displays after {{para|p}} or {{para|pp}}&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|mode=&amp;#039;&amp;#039;&amp;#039; – controls rendered display to match that of adjacent CS1 or CS2 citations; defaults to CS1 style&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|mode=cs2&amp;#039;&amp;#039;&amp;#039; – mimic {{tlx|citation}} style (comma separators, no terminal punctuation, static text not capitalized)&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|name-list-style=&amp;#039;&amp;#039;&amp;#039; – optional, controls contributor name list display style&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|name-list-style=harv&amp;#039;&amp;#039;&amp;#039; – mimic {{tlx|sfn}} or {{tlx|harv}} format (one to four last names); overrides &amp;#039;&amp;#039;&amp;#039;|display-authors=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|name-list-style=amp&amp;#039;&amp;#039;&amp;#039; – inserts an ampersand between the last two contributor names&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|nb=&amp;#039;&amp;#039;&amp;#039; – optional, when set to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, instructs {{tlx|harvc}} to render source link without parentheses around the year; same format as that produced by {{tlx|harvnb}}&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|p=&amp;#039;&amp;#039;&amp;#039; – optional, single page number where cited material can be found; aliases: &amp;#039;&amp;#039;&amp;#039;|page=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|pp=&amp;#039;&amp;#039;&amp;#039; – optional, multiple page numbers, page ranges, etc where cited material can be found; aliases: &amp;#039;&amp;#039;&amp;#039;|pages=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|ps=&amp;#039;&amp;#039;&amp;#039; – optional, sets terminal punctuation; default is full stop; overrides &amp;#039;&amp;#039;&amp;#039;|mode=cs2&amp;#039;&amp;#039;&amp;#039;; aliases: &amp;#039;&amp;#039;&amp;#039;|postscript=&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:: &amp;#039;&amp;#039;&amp;#039;|ps=none&amp;#039;&amp;#039;&amp;#039; – renders output without terminal punctuation&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|url=&amp;#039;&amp;#039;&amp;#039; – optional, URL of an online location where the text of the contribution can be found; aliases: &amp;#039;&amp;#039;&amp;#039;|chapter-url&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;|contribution-url&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|url-access=&amp;#039;&amp;#039;&amp;#039; – optional, use when URL links to a source behind a registration barrier or paywall; inserts [[Help:Citation_Style_1#Registration_or_subscription_required|cs1{{pipe}}2 access icon]]; accepted values are: &amp;lt;code&amp;gt;limited&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;registration&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;subscription&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;|year=&amp;#039;&amp;#039;&amp;#039; – required, publication year of the work that includes the contribution&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Basic example====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 100%&amp;quot; &lt;br /&gt;
! scope=col style=&amp;quot;width: 50%&amp;quot; | With {{tl|harvc}} !! Without {{tl|harvc}}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
* {{cite book |editor-last=Moe |editor-first=Mary |year=1990 |title=The Book of Knowledge |publisher=University Press}}&lt;br /&gt;
** {{harvc |last=Doe |first=John |c=Chapter 1 |in=Moe |year=1990 |id=none |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Poe |first=Jane |c=Chapter 2 |in=Moe |year=1990 |id=none |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Roe |first=Robert |c=Chapter 3 |in=Moe |year=1990 |id=none |ignore-err=yes}}&lt;br /&gt;
|&lt;br /&gt;
* {{cite book |last=Doe |first=John |year=1990 |chapter=Chapter 1 |editor-last=Moe |editor-first=Mary |title=The Book of Knowledge |publisher=University Press |ref=none}}&lt;br /&gt;
* {{cite book |last=Poe |first=Jane |year=1990 |chapter=Chapter 2 |editor-last=Moe |editor-first=Mary |title=The Book of Knowledge |publisher=University Press |ref=none}}&lt;br /&gt;
* {{cite book |last=Roe |first=Robert |year=1990 |chapter=Chapter 3 |editor-last=Moe |editor-first=Mary |title=The Book of Knowledge |publisher=University Press |ref=none}}&lt;br /&gt;
|-&lt;br /&gt;
! Markup with {{tl|harvc}} !! Markup without {{tl|harvc}}&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 50%&amp;quot; |&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
* {{cite book |editor-last=Moe |editor-first=Mary |year=1990 |title=The Book of Knowledge |publisher=University Press}}&lt;br /&gt;
** {{harvc |last=Doe |first=John |c=Chapter 1 |in=Moe |year=1990}}&lt;br /&gt;
** {{harvc |last=Poe |first=Jane |c=Chapter 2 |in=Moe |year=1990}}&lt;br /&gt;
** {{harvc |last=Roe |first=Robert |c=Chapter 3 |in=Moe |year=1990}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;width: 50%|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
* {{cite book |last=Doe |first=John |year=1990 |chapter=Chapter 1 |editor-last=Moe |editor-first=Mary |title=The Book of Knowledge |publisher=University Press}}&lt;br /&gt;
* {{cite book |last=Poe |first=Jane |year=1990 |chapter=Chapter 2 |editor-last=Moe |editor-first=Mary |title=The Book of Knowledge |publisher=University Press}}&lt;br /&gt;
* {{cite book |last=Roe |first=Robert |year=1990 |chapter=Chapter 3 |editor-last=Moe |editor-first=Mary |title=The Book of Knowledge |publisher=University Press}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Detailed example====&lt;br /&gt;
When a Wikipedia article makes reference to a work that contains multiple chapters by different authors, bibliographies and reference sections can look rather cluttered:&lt;br /&gt;
&lt;br /&gt;
* {{cite book |last=George |first=Ernest J. |last2=Read |first2=Ralph A. |last3=Johnson |first3=R. W. |last4=Ferber |first4=A. E. |title=Soil: The Yearbook of Agriculture 1957 |chapter=Shelterbelts and Windbreaks |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |chapter-url=https://archive.org/stream/yoa1957#page/n785/mode/1up |oclc=704186906 |ref=none}}&lt;br /&gt;
* {{cite book |last=Harper |first=V. L. |last2=Frank |first2=Bernard |last3=McQuilkin |first3=W. E. |title=Soil: The Yearbook of Agriculture 1957 |chapter=Forest Practices and Productivity |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |chapter-url=https://archive.org/stream/yoa1957#page/n803/mode/1up |oclc=704186906 |ref=none}}&lt;br /&gt;
* {{cite book |last=Stout |first=P. R. |last2=Johnson |first2=C. M. |title=Soil: The Yearbook of Agriculture 1957 |chapter=Trace Elements |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |chapter-url=https://archive.org/stream/yoa1957#page/n167/mode/1up |oclc=704186906 |ref=none}}&lt;br /&gt;
* {{cite book |last=Wadleigh |first=C. H. |title=Soil: The Yearbook of Agriculture 1957 |chapter=Growth of Plants |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |chapter-url=https://archive.org/stream/yoa1957#page/n57/mode/1up |oclc=704186906 |ref=none}}&lt;br /&gt;
&lt;br /&gt;
As the list grows longer, the look becomes more cluttered with the unnecessarily repeated detail of full-length citations.  With {{tlx|harvc}} editors can link to shorter, less detailed contribution citations using standard implementations of {{tlx|sfn}} templates and {{tlx|harv}} templates (and also wrapped in {{tag|ref}} tags with {{tlx|harvnb}}). {{tlx|harvc}} may also be wrapped in {{tag|ref}} tags so that it becomes part of the article&amp;#039;s References section. See full example below.&lt;br /&gt;
&lt;br /&gt;
=====Avoiding circular reference=====&lt;br /&gt;
It may sometimes be necessary to cite a contribution of a source&amp;#039;s editor or author such that {{para|last1}} through {{para|last4}} are the same as {{para|in1}} through {{para|in4}}, an editor&amp;#039;s preface for example. Such citations can, depending on placement, cause {{tlx|sfn}} or {{tlx|harv}}-family references to link directly to the citation instead of to the {{tlx|harvc}} template, or cause circular links ({{tlx|harvc}} linking to itself because its &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor identifier is the same as the citation&amp;#039;s &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor identifier).  If {{para|id}} is set, {{tlx|harvc}} will use it as an anchor identifier; if {{para|id}} is not set, {{tlx|harvc}} will emit an error message when {{para|last1}} through {{para|last4}} are the same as {{para|in1}} through {{para|in4}}.  &lt;br /&gt;
&lt;br /&gt;
For example, to reference an editor&amp;#039;s preface from article text, create a wikilink inside {{tag|ref}} tags: &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;[[#Stefferud preface|Stefferud 1957]]&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Write a {{tlx|harvc}} template with {{para|id|Stefferud preface}} &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{harvc |last=Stefferud |first=A.|year=1957 |id=Stefferud preface |c=Preface |url=https://archive.org/stream/yoa1957#page/n7/mode/1up |in=Stefferud}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;overflowbugx&amp;quot; style=&amp;quot;overflow-x:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{markupv|title=Full example:|markup=&lt;br /&gt;
&amp;lt;nowiki&amp;gt;First information.{{sfn|George|Read|Johnson|Ferber|1957}} Second.&amp;lt;ref&amp;gt;{{harvnb|Stout|Johnson|1957}}&amp;lt;/ref&amp;gt; Three thru five.&amp;lt;ref&amp;gt;{{harvnb|Stout|Johnson|1957}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{harvc|last=Benson|first=Ezra Taft|year=1957|chapter=Foreword|url=https://archive.org/stream/yoa1957#page/n5/mode/1up|in=Stefferud|p=vi |loc=§2 |ignore-err=yes}}&amp;lt;/ref&amp;gt;{{sfn|Wadleigh|1957}} Sixth.&amp;lt;ref&amp;gt;[[#Stefferud preface|Stefferud 1957]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Notes== --&amp;gt; {{fake heading|sub=3|Notes}}&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==References== --&amp;gt; {{fake heading|sub=3|References}}&lt;br /&gt;
* {{cite book |title=Soil: The Yearbook of Agriculture 1957 |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |url=https://archive.org/stream/yoa1957 |oclc=704186906 }}&lt;br /&gt;
** {{harvc |last=George |first=Ernest J. |last2=Read |last3=Johnson |last4=Ferber |year=1957 |contribution=Shelterbelts and Windbreaks |url=https://archive.org/stream/yoa1957#page/n785/mode/1up  |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Harper |first=V. L. |last2=Frank |last3=McQuilkin |year=1957 |contribution=Forest Practices |url=https://archive.org/stream/yoa1957#page/n803/mode/1up |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Stefferud |first=A.|year=1957 |id=Stefferud preface |c=Preface |url=https://archive.org/stream/yoa1957#page/n7/mode/1up |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Stout |first=P. R. |last2=Johnson |year=1957 |c=Trace Elements |url=https://archive.org/stream/yoa1957#page/n167/mode/1up |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Wadleigh |first=C. H.|year=1957 |c=Growth of Plants |url=https://archive.org/stream/yoa1957#page/n57/mode/1up |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;|renders=First information.{{sfn|George|Read|Johnson|Ferber|1957}} Second.&amp;lt;ref&amp;gt;{{harvnb|Stout|Johnson|1957}}&amp;lt;/ref&amp;gt; Three thru five.&amp;lt;ref&amp;gt;{{harvnb|Stout|Johnson|1957}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{harvc|last=Benson|first=Ezra Taft|year=1957|chapter=Foreword|url=https://archive.org/stream/yoa1957#page/n5/mode/1up|in=Stefferud|p=vi |loc=§2 |ignore-err=yes}}&amp;lt;/ref&amp;gt;{{sfn|Wadleigh|1957}} Sixth.&amp;lt;ref&amp;gt;[[#Stefferud preface|Stefferud 1957]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==Notes== --&amp;gt; {{fake heading|sub=3|Notes}}&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==References== --&amp;gt; {{fake heading|sub=3|References}}&lt;br /&gt;
* {{cite book |title=Soil: The Yearbook of Agriculture 1957 |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |url=https://archive.org/stream/yoa1957 |oclc=704186906 }}&lt;br /&gt;
** {{harvc |last=George |first=Ernest J. |last2=Read |last3=Johnson |last4=Ferber |year=1957 |contribution=Shelterbelts and Windbreaks |url=https://archive.org/stream/yoa1957#page/n785/mode/1up  |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Harper |first=V. L. |last2=Frank |last3=McQuilkin |year=1957 |contribution=Forest Practices |url=https://archive.org/stream/yoa1957#page/n803/mode/1up |in=Stefferud |ignore-err=yes |id=none}}&lt;br /&gt;
** {{harvc |last=Stefferud |first=A.|year=1957 |id=Stefferud preface |c=Preface |url=https://archive.org/stream/yoa1957#page/n7/mode/1up |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Stout |first=P. R. |last2=Johnson |year=1957 |c=Trace Elements |url=https://archive.org/stream/yoa1957#page/n167/mode/1up |in=Stefferud |ignore-err=yes}}&lt;br /&gt;
** {{harvc |last=Wadleigh |first=C. H.|year=1957 |c=Growth of Plants |url=https://archive.org/stream/yoa1957#page/n57/mode/1up |in=Stefferud |ignore-err=yes}}}}&amp;lt;!-- Template:Mra --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note again the parameter &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ignore-err=yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is simply to suppress errors that occur when this template is embedded, such as in documentation. It should not be used otherwise.&lt;br /&gt;
&lt;br /&gt;
=====More than one contribution=====&lt;br /&gt;
There are times when an author or authors will have contributed more than once to a work.  When this occurs, it is necessary to disambiguate the CITEREF links from the {{tlx|harv}} or {{tlx|sfn}} templates to the CITEREF id of the appropriate {{tlx|harvc}} template.&lt;br /&gt;
&lt;br /&gt;
:{{tlx|harv|Author|YYYYa}} → {{tlx|harvc|Author|Contribution 1|YYYYa}} → {{tlx|citation|...}}}&lt;br /&gt;
:{{tlx|harv|Author|YYYYb}} → {{tlx|harvc|Author|Contribution 2|YYYYb}} ↑&lt;br /&gt;
&lt;br /&gt;
In this example, author David Hunt contributed two appendices to &amp;#039;&amp;#039;Christmas Cacti: The Genus &amp;#039;&amp;#039;Schlumbergera&amp;#039;&amp;#039; and Its Hybrids&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
There are two {{tlx|harvnb}} templates that are disambiguated:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{harvnb |Hunt |1995a}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → Hunt 1995a&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{harvnb |Hunt |1995b}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → Hunt 1995b&lt;br /&gt;
These link to two {{tlx|harvc}} templates which use {{para|anchor-year}} for their CITEREF id and for the date in the {{tlx|harvc}} rendering as a visual aid for readers:&lt;br /&gt;
&lt;br /&gt;
{{markup|&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{harvnb |Hunt |1995a}}; {{harvnb |Hunt |1995b}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==References== --&amp;gt; {{fake heading|sub=3|References}}&lt;br /&gt;
* {{Citation |last=McMillan |first=AJS |last2=Horobin |first2=JF |year=1995 |title=Christmas Cacti: The Genus &amp;#039;&amp;#039;Schlumbergera&amp;#039;&amp;#039; and Its Hybrids |edition=p/b |publication-place=Sherbourne, UK |publisher=David Hunt |isbn=978-0-9517234-6-3}}&lt;br /&gt;
** {{harvc |in=McMillan |in2=Horobin |last=Hunt |first=David |c=Appendix I Names of the species |year=1995 |anchor-year=1995a |mode=cs2 |nb=yes |ignore-err=yes}}&lt;br /&gt;
** {{harvc |in=McMillan |in2=Horobin |last=Hunt |first=David |c=Appendix III Excerpts from a Brazilian diary |year=1995 |anchor-year=1995b |mode=cs2 |nb=yes |ignore-err=yes}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;|{{harvnb |Hunt |1995a}}; {{harvnb |Hunt |1995b}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==References== --&amp;gt; {{fake heading|sub=3|References}}&lt;br /&gt;
* {{Citation |last=McMillan |first=AJS |last2=Horobin |first2=JF |year=1995 |title=Christmas Cacti: The Genus &amp;#039;&amp;#039;Schlumbergera&amp;#039;&amp;#039; and Its Hybrids |edition=p/b |publication-place=Sherbourne, UK |publisher=David Hunt |isbn=978-0-9517234-6-3}}&lt;br /&gt;
** {{harvc |in=McMillan |in2=Horobin |last=Hunt |first=David |c=Appendix I Names of the species |year=1995 |anchor-year=1995a |mode=cs2 |nb=yes |ignore-err=yes}}&lt;br /&gt;
** {{harvc |in=McMillan |in2=Horobin |last=Hunt |first=David |c=Appendix III Excerpts from a Brazilian diary |year=1995 |anchor-year=1995b |mode=cs2 |nb=yes |ignore-err=yes}}}}&amp;lt;!-- Template:Mra --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Collision with a different work=====&lt;br /&gt;
Because the mediawiki software uses CITEREF id to link from the {{tl|harv}} or {{tl|sfn}} templates to the matching destination anchor of the appropriate {{tl|harvc}} template (or full citation), CITEREF ids must be unique page-wide.{{efn|1=When CITEREF ids are not unique on a page, you will see a [[:Category:Harv and Sfn template errors#Error messages|red error message]], &amp;lt;span style=&amp;quot;color:#d73333&amp;quot;&amp;gt;Harv/sfn error: multiple targets (n): &amp;amp;lt;anchor ID&amp;gt;&amp;lt;/span&amp;gt; in the References appendix on the page, unless you have error messages from [[Module:Footnotes]] turned off.}} Since the CITEREF id typically consists of &amp;#039;CITEREF&amp;#039; + &amp;#039;&amp;#039;LastName&amp;#039;&amp;#039; of author(s) + &amp;#039;&amp;#039;Year&amp;#039;&amp;#039;, this can be problematic in two cases. The first case was described [[#More than one contribution|above]]. The other case is collision with a different work, described here.&lt;br /&gt;
&lt;br /&gt;
There are times when an author you wish to cite using {{tl|harvc}} has just one chapter contributed to a work, but the same author also wrote an entirely different work in the same year. Citing both of these in the normal way would cause a CITEREF id collision on the page and result in an error message. There are two ways to resolve this: one involves an additional parameter in the {{tl|harvc}} template, the other way involves an additional parameter in the full citation of the other work.&lt;br /&gt;
&lt;br /&gt;
The first way is to add the {{para|anchor-year}} param to the {{tl|harvc}} chapter citation, as already [[#More than one contribution|described above]] for the case of two chapters by one author. This will assign a uniqueness character to the &amp;#039;&amp;#039;Year&amp;#039;&amp;#039; portion of the CITEREF id, thus distinguishing it from the CITEREF id of the other work that year by the same author.&lt;br /&gt;
&lt;br /&gt;
The other way, is to add a {{para|ref}} param to the {{tl|cite book}} (or other [[Wikipedia:Citing sources#Short and full citations|full citation]]) of the other work in the same year by that author, specifying a different id as the ref value. See [[Template:Cite book#Anchor]] for more about using {{para|ref}} to specify a destination anchor for a citation, and see {{tl|harvid}} for how to specify the ref param value.&lt;br /&gt;
&lt;br /&gt;
==Error messages==&lt;br /&gt;
{{tlx|harvc}} emits these error messages:&amp;lt;!-- &lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: {{para|anchor-year|plain=yes}} missing dab.&amp;lt;/span&amp;gt;&lt;br /&gt;
::when used, {{para|anchor-year}} must include a single, lowercase letter disambiguator --&amp;gt;&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: author missing from source list.&amp;lt;/span&amp;gt;&lt;br /&gt;
::the source list parameters {{para|in1}}, {{para|in2}}, {{para|in3}}, and {{para|in4}} form the template&amp;#039;s &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; link to the full citation.  All are not required but must be used in order without numerical gaps.&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: invalid {{para|anchor-year|plain=yes}}.&amp;lt;/span&amp;gt;&lt;br /&gt;
::when used, {{para|anchor-year}} must be a three- or four-digit number and must have a lowercase &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; disambiguator. When the source does not have an identifiable year, use {{para|anchor-year|n.d.{{var|l}}}} or {{para|anchor-year|nd{{var|l}}}} with lowercase &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; disambiguator.&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: invalid {{para|display-authors|plain=yes}}.&amp;lt;/span&amp;gt;&lt;br /&gt;
::the value assigned to {{para|display-authors}} must be a number greater than 0 or the keyword &amp;lt;code&amp;gt;etal&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: invalid {{para|year|plain=yes}}.&amp;lt;/span&amp;gt;&lt;br /&gt;
::{{para|year}} is an integral part of the template&amp;#039;s &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor and link.  The value of {{para|year}} must be a three- or four-digit number with an optional lowercase &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; disambiguator. When the source does not have an identifiable year, use {{para|year|n.d.}} or {{para|year|nd}}.&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: missing {{para|year|plain=yes}}.&amp;lt;/span&amp;gt;&lt;br /&gt;
::{{para|year}} is missing; the parameter is required.&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: no authors in contributor list.&amp;lt;/span&amp;gt;&lt;br /&gt;
::this error message indicates that {{tlx|harvc}} can&amp;#039;t find any of {{para|last}}, {{para|last1}}, {{para|author}} or {{para|author1}} with an assigned value and so cannot make a usable &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor.  Add at least one of the listed parameters.&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: required contribution is missing.&amp;lt;/span&amp;gt;&lt;br /&gt;
::this error message indicates that {{tlx|harvc}} can&amp;#039;t find any of {{para|c}}, {{para|chapter}}, or {{para|contribution}} with an assigned value&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: required {{para|id|plain=yes}} parameter missing.&amp;lt;/span&amp;gt;&lt;br /&gt;
::this error message is emitted when the {{tlx|harvc}} template&amp;#039;s &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor identifier would conflict with the long-form citation&amp;#039;s &amp;lt;code&amp;gt;CITEREF&amp;lt;/code&amp;gt; anchor identifier.  See [[#Avoiding circular reference|Examples]]&lt;br /&gt;
:&amp;lt;span style=&amp;quot;font-size:100%&amp;quot; class=&amp;quot;error&amp;quot;&amp;gt;harvc: {{para|year|plain=yes}} / {{para|anchor-year|plain=yes}} mismatch.&amp;lt;/span&amp;gt;&lt;br /&gt;
::the year portion of {{para|anchor-year|YYYY{{var|l}}}} must match the year given in {{para|year|YYYY}}&lt;br /&gt;
&lt;br /&gt;
Additional information about &amp;quot;no target&amp;quot; and other category errors may be found at [[:Category:Harv and Sfn no-target errors]]. &lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{notelist}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Citation utility templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;last&amp;quot;: {},&lt;br /&gt;
		&amp;quot;first&amp;quot;: {},&lt;br /&gt;
		&amp;quot;chapter&amp;quot;: {},&lt;br /&gt;
		&amp;quot;year&amp;quot;: {},&lt;br /&gt;
		&amp;quot;anchor-year&amp;quot;: {},&lt;br /&gt;
		&amp;quot;author-link1&amp;quot;: {},&lt;br /&gt;
		&amp;quot;p&amp;quot;: {},&lt;br /&gt;
		&amp;quot;pp&amp;quot;: {},&lt;br /&gt;
		&amp;quot;loc&amp;quot;: {},&lt;br /&gt;
		&amp;quot;url&amp;quot;: {},&lt;br /&gt;
		&amp;quot;url-access&amp;quot;: {},&lt;br /&gt;
		&amp;quot;in&amp;quot;: {},&lt;br /&gt;
		&amp;quot;in2&amp;quot;: {}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;last&amp;quot;,&lt;br /&gt;
		&amp;quot;first&amp;quot;,&lt;br /&gt;
		&amp;quot;author-link1&amp;quot;,&lt;br /&gt;
		&amp;quot;year&amp;quot;,&lt;br /&gt;
		&amp;quot;in&amp;quot;,&lt;br /&gt;
		&amp;quot;in2&amp;quot;,&lt;br /&gt;
		&amp;quot;chapter&amp;quot;,&lt;br /&gt;
		&amp;quot;anchor-year&amp;quot;,&lt;br /&gt;
		&amp;quot;p&amp;quot;,&lt;br /&gt;
		&amp;quot;pp&amp;quot;,&lt;br /&gt;
		&amp;quot;loc&amp;quot;,&lt;br /&gt;
		&amp;quot;url&amp;quot;,&lt;br /&gt;
		&amp;quot;url-access&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;PARAKANYAA</name></author>
	</entry>
</feed>