There has always been a problem with the {{harv}}
and {{sfn}}
families of templates: except that every link that is created by these templates is tested at creation, editors don't know if the link works. A remedy for that has been user-scripts like User:Ucucha/HarvErrors. But, not all editors use that script so broken harv links can go undetected for a long time. At the moment, there is prospective bot that would mark broken-link harv templates by adding {{broken footnote}}
after the broken-link harv template.
I have another possible solution. I have created a lua module that extracts reference linking data from cs1|2 and vcite templates. I have modified Module:Footnotes/sandbox to use the extracted data to determine if:
- the harv template does not have a matching citation template
- more than one citation template matches the harv template
when either of these conditions exists, the harv template emits an error message.
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Black|Black|Brown|2020}} |
Black, Black & Brown 2020 |
{{Harvard citation no brackets/sandbox|Black|Black|Red|2020}} |
Black, Black & Red 2020 harvnb error: multiple targets (2×): CITEREFBlackBlackRed2020 (help) |
citation templates | |
{{cite book |title=Title |last=Black |last2=Black |last3=Brown |date=2020}} |
Black; Black; Brown (2020). Title. |
{{cite journal |journal=Journal |title=Title |last=Black |last2=Black |last3=Red |date=2020 |ref=harv}} |
Black; Black; Red (2020). "Title". Journal. {{cite journal}} : Invalid |ref=harv (help)
|
{{citation |title=Title |editor-last=Black |editor-last2=Black |editor-last3=Red |date=2020}} |
Black; Black; Red, eds. (2020), Title |
The sandbox module collects various items from the citation templates in the article's wikitext and assembles them into a list of CITEREF
anchors that each harv template can inspect:
- when
|ref=harv
either explicitly (cs1) or implicitly (cs2), the sandbox module builds aCITEREF
from the cs1|2 parameters:- name sources:
|contributor=
,|author=
,|vauthors=
,|editor=
and|veditors=
, and their aliases (where they exist) - date sources:
|year=
,|date=
,|publicationdate=
, and|publication-date=
(in that order).
- name sources:
- when
|ref=
or{{sfnref}}
|ref=
, the sandbox module builds a{{harvid}}
CITEREF
from parameters in those templates and adds the result to the list. - when
|ref=CITEREF<name-date>
, the sandbox module adds that text (absent theCITEREF
prefix) to the list. - when
|ref=<anchor-identifier-text>
, the sandbox module adds that text to the list – to match a harv template's identical|ref=<anchor-identifier-text>
- when
|ref=
is empty or omitted and|mode=cs2
, the sandbox module acts as if|ref=harv
- when
|ref=none
, the sandbox module skips the citation becauseCITEREF
anchor creation specifically suppressed in cs1|2
Alas, there is a flaw. Because the sandbox module reads article wikitext, and because wrapper templates often set cs1|2 parameter values inside the template, so the sandbox module emits a false error message for wrapped templates ({{cite EB1911}}
wraps {{cite encyclopedia}}
:
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Chisholm|1911}} |
Chisholm 1911 |
citation templates | |
{{Cite EB1911|wstitle=Alfred the Great|ref=harv}} |
Chisholm, Hugh, ed. (1911). . Encyclopædia Britannica (11th ed.). Cambridge University Press. {{cite encyclopedia}} : Invalid |ref=harv (help)
|
So that false error messages don't linger in an article, I have added |ignore-err=
to the harv templates so that false error messages may be suppressed ({{cite DNB}}
wraps {{cite encyclopedia}}
:
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Power|1901}} |
Power 1901 |
{{Harvard citation no brackets/sandbox|Power|1901|ignore-err=yes}} |
Power 1901 |
citation templates | |
{{Cite DNB|first=D'Arcy|last=Power|pages=331–332|supplement=1|volume=1|wstitle=Bucknill, John Charles |ref=harv}} |
Power, D'Arcy (1901). Lee, Sidney (ed.). Dictionary of National Biography (1st supplement). Vol. 1. London: Smith, Elder & Co. pp. 331–332. {{cite encyclopedia}} : Invalid |ref=harv (help)
| . In
author-name parameters
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Black|Black|Orange|2020}} |
Black, Black & Orange 2020 |
{{Harvard citation no brackets/sandbox|Black|Black|Yellow|2020}} |
Black, Black & Yellow 2020 |
{{Harvard citation no brackets/sandbox|Black|Black|Green|2020}} |
Black, Black & Green 2020 |
{{Harvard citation no brackets/sandbox|Black|2020}} |
Black 2020 |
{{Harvard citation no brackets/sandbox|Black|Black|2020}} |
Black & Black 2020 |
{{Harvard citation no brackets/sandbox|Black|Black|Green|Black|2020}} |
Black et al. 2020 |
{{Harvard citation no brackets/sandbox|Black|Black|Green|Brown|2020}} |
Black et al. 2020 |
{{Harvard citation no brackets/sandbox|Brown|2020}} |
Brown 2020 |
{{Harvard citation no brackets/sandbox|Red|Black|2020}} |
Red & Black 2020 |
{{Harvard citation no brackets/sandbox|Orange|Black|Black|2020}} |
Orange, Black & Black 2020 |
{{Harvard citation no brackets/sandbox|Yellow|Black|Black|Black|2020}} |
Yellow et al. 2020 |
{{Harvard citation no brackets/sandbox|Green|Black|Black|Brown|2020}} |
Green et al. 2020 |
authorn-last parameters | |
{{Cite book |author1-last=Black |author2-last=Black |author3-last=Orange |title=Title |date=2020 |ref=harv}} |
Black; Black; Orange (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
author-lastn parameters | |
{{Cite book |author-last1=Black |author-last2=Black |author-last3=Yellow |title=Title |date=2020 |ref=harv}} |
Black; Black; Yellow (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
misc less used author-name parameters | |
{{Cite book |surname=Black |subject2=Black |host3=Green |title=Title |date=2020 |ref=harv}} |
Black; Black; Green (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
one author-name parameters | |
{{Cite book |last=Black |title=Title |date=2020 |ref=harv}} |
Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
two author-name parameters | |
{{Cite book |last=Black |last2=Black |title=Title |date=2020 |ref=harv}} |
Black; Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
four author-name parameters | |
{{Cite book |last=Black |last2=Black |last3=Green |last4=Black |title=Title |date=2020 |ref=harv}} |
Black; Black; Green; Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
five author-name parameters | |
{{Cite book |last=Black |last2=Black |last3=Green |last4=Brown |last5=Black |title=Title |date=2020 |ref=harv}} |
Black; Black; Green; Brown; Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
one vauthors-name | |
{{Cite book |vauthors=Brown |title=Title |date=2020 |ref=harv}} |
Brown (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
two vauthors-name | |
{{Cite book |vauthors=Red, Black |title=Title |date=2020 |ref=harv}} |
Red, Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
three vauthors-name | |
{{Cite book |vauthors=Orange,Black,Black |title=Title |date=2020 |ref=harv}} |
Orange, Black, Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
four vauthors-name | |
{{Cite book |vauthors=Yellow,Black,Black,Black |title=Title |date=2020 |ref=harv}} |
Yellow, Black, Black, Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
five vauthors-name | |
{{Cite book |vauthors=Green,Black,Black,Brown,Black |title=Title |date=2020 |ref=harv}} |
Green, Black, Black, Brown, Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
editor-name parameters
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Black|Brown|Orange|2020}} |
Black, Brown & Orange 2020 |
{{Harvard citation no brackets/sandbox|Black|Brown|Yellow|2020}} |
Black, Brown & Yellow 2020 |
{{Harvard citation no brackets/sandbox|Black|Brown|Green|2020}} |
Black, Brown & Green 2020 |
{{Harvard citation no brackets/sandbox|Red|2020}} |
Red 2020 |
{{Harvard citation no brackets/sandbox|Black|Brown|2020}} |
Black & Brown 2020 |
{{Harvard citation no brackets/sandbox|Black|Brown|Green|Black|2020}} |
Black et al. 2020 |
{{Harvard citation no brackets/sandbox|Black|Brown|Green|Brown|2020}} |
Black et al. 2020 |
{{Harvard citation no brackets/sandbox|Orange|2020}} |
Orange 2020 |
{{Harvard citation no brackets/sandbox|Red|Brown|2020}} |
Red & Brown 2020 |
{{Harvard citation no brackets/sandbox|Orange|Brown|Black|2020}} |
Orange, Brown & Black 2020 |
{{Harvard citation no brackets/sandbox|Yellow|Brown|Black|Black|2020}} |
Yellow et al. 2020 |
{{Harvard citation no brackets/sandbox|Green|Brown|Black|Brown|2020}} |
Green et al. 2020 |
editorn-last parameters | |
{{Cite book |editor1-last=Black |editor2-last=Brown |editor3-last=Orange |title=Title |date=2020 |ref=harv}} |
Black; Brown; Orange, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
editor-lastn parameters | |
{{Cite book |editor-last1=Black |editor-last2=Brown |editor-last3=Yellow |title=Title |date=2020 |ref=harv}} |
Black; Brown; Yellow, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
misc editor-name parameters | |
{{Cite book |editor-surname=Black |editor2=Brown |editor3-surname=Green |title=Title |date=2020 |ref=harv}} |
Black; Brown; Green, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
one editor-name parameter | |
{{Cite book |editor-last=Red |title=Title |date=2020 |ref=harv}} |
Red (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
two editor-name parameters | |
{{Cite book |editor-last=Black |editor-last2=Brown |title=Title |date=2020 |ref=harv}} |
Black; Brown, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
four editor-name parameters | |
{{Cite book |editor-last=Black |editor-last2=Brown |editor-last3=Green |editor-last4=Black |title=Title |date=2020 |ref=harv}} |
Black; Brown; Green; Black, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
five editor-name parameters | |
{{Cite book |editor-last=Black |editor-last2=Brown |editor-last3=Green |editor-last4=Brown |editor-last5=Black |title=Title |date=2020 |ref=harv}} |
Black; Brown; Green; Brown; Black, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
one veditors-name | |
{{Cite book |veditors=Orange |title=Title |date=2020 |ref=harv}} |
Orange, ed. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
two veditors-name | |
{{Cite book |veditors=Red, Brown |title=Title |date=2020 |ref=harv}} |
Red, Brown, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
three veditors-name | |
{{Cite book |veditors=Orange,Brown ,Black |title=Title |date=2020 |ref=harv}} |
Orange, Brown, Black, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
four veditors-name | |
{{Cite book |veditors=Yellow,Brown ,Black,Black |title=Title |date=2020 |ref=harv}} |
Yellow, Brown, Black, Black, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
five veditors-name | |
{{Cite book |veditors=Green,Brown ,Black,Brown,Black |title=Title |date=2020 |ref=harv}} |
Green, Brown, Black, Brown, Black, eds. (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
contributor-name parameters
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Green|2020}} |
Green 2020 |
{{Harvard citation no brackets/sandbox|Green|Red|2020}} |
Green & Red 2020 |
{{Harvard citation no brackets/sandbox|Green|Red|Black|2020}} |
Green, Red & Black 2020 |
{{Harvard citation no brackets/sandbox|Green|Red|Black|Black|2020}} |
Green et al. 2020 |
{{Harvard citation no brackets/sandbox|Green|Red|Black|Brown|2020}} |
Green et al. 2020 |
contributorn-last parameters | |
{{Cite book |contributor1-last=Green |contribution=Preface |author=Author |title=Title |date=2020 |ref=harv}} |
Green (2020). Preface. Title. By Author. {{cite book}} : |author= has generic name (help); Invalid |ref=harv (help)
|
contributor-lastn parameters | |
{{Cite book |contributor-last=Green |contributor-last2=Red |contribution=Preface |author=Author |title=Title |date=2020 |ref=harv}} |
Green; Red (2020). Preface. Title. By Author. {{cite book}} : |author= has generic name (help); Invalid |ref=harv (help)
|
contributor-surname parameters | |
{{Cite book |contributor-surname=Green |contributor2-surname=Red |contributor-surname3=Black |contribution=Preface |author=Author |title=Title |date=2020 |ref=harv}} |
Green; Red; Black (2020). Preface. Title. By Author. {{cite book}} : |author= has generic name (help); Invalid |ref=harv (help)
|
four contributor-name parameters | |
{{Cite book |contributor=Green |contributor2=Red |contributor3=Black |contributor4=Black |contribution=Preface |author=Author |title=Title |date=2020 |ref=harv}} |
Green; Red; Black; Black (2020). Preface. Title. By Author. {{cite book}} : |author= has generic name (help); Invalid |ref=harv (help)
|
five contributor-name parameters | |
{{Cite book |contributor1=Green |contributor2=Red |contributor3=Black |contributor4=Brown |contributor5=Black |contribution=Preface |author=Author |title=Title |date=2020 |ref=harv}} |
Green; Red; Black; Brown; Black (2020). Preface. Title. By Author. {{cite book}} : |author= has generic name (help); Invalid |ref=harv (help)
|
ref={{sfnref}} and |ref={{harvid}}
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Blue|2020}} |
Blue 2020 |
{{Harvard citation no brackets/sandbox|Blue|Red|2020}} |
Blue & Red 2020 |
{{Harvard citation no brackets/sandbox|Blue|Red|Black|2020}} |
Blue, Red & Black 2020 |
{{Harvard citation no brackets/sandbox|Blue|Red|Black|Black|2020}} |
Blue et al. 2020 |
{{Harvard citation no brackets/sandbox|''Magazine Title''|2020}} |
Magazine Title 2020 |
{{harvid}} | |
{{Cite book |title=Title |ref={{harvid|Blue|2020}}}} |
Title. |
{{Harvid}} | |
{{Cite book |title=Title |ref={{Harvid|Blue|Red|2020}}}} |
Title. |
{{sfnref}} | |
{{Cite book |title=Title |ref={{sfnref|Blue|Red|Black|2020}}}} |
Title. |
{{SfnRef}} | |
{{Cite book |title=Title |ref={{SfnRef|Blue|Red|Black|Black|2020}}}} |
Title. |
{{SfnRef}} – magazine title | |
{{Cite book |title=Title |ref={{SfnRef|''Magazine Title''|2020}}}} |
Title. |
|ref=CITEREF...
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|custom citeref text}} |
custom citeref text |
|ref=CITEREF... | |
{{Cite book |title=Title |ref=CITEREFcustom citeref text}} |
Title. |
|ref=custom text in {{harvnb}}
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Violet|2020|ref=1337+S3CRE7+C0D3}} |
Violet 2020 |
|ref=1337+S3CRE7+C0D3 | |
{{Cite book |title=Title |ref=1337+S3CRE7+C0D3}} |
Title. |
single date parameters
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Violet|Black|2020}} |
VioletBlack 2020 |
{{Harvard citation no brackets/sandbox|Violet|Brown|2020}} |
Violet & Brown 2020 |
{{Harvard citation no brackets/sandbox|Violet|Red|2020}} |
Violet & Red 2020 |
{{Harvard citation no brackets/sandbox|Violet|Orange|2020}} |
Violet & Orange 2020 |
|year= | |
{{Cite book |year=2020 |last=Violet |last2=Black |title=Title |ref=harv}} |
Violet; Black (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
|date= | |
{{Cite book |date=2020 |last=Violet |last2=Brown |title=Title |ref=harv}} |
Violet; Brown (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
|publication-date= | |
{{Cite book |publication-date=2020 |last=Violet |last2=Red |title=Title |ref=harv}} |
Violet; Red (2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
|publicationdate= | |
{{Cite book |publicationdate=2020 |last=Violet |last2=Orange |title=Title |ref=harv}} |
Violet; Orange (2020). Title. {{cite book}} : Invalid |ref=harv (help); Unknown parameter |publicationdate= ignored (|publication-date= suggested) (help)
|
multiple date parameters
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Violet|Yellow|2020}} |
Violet & Yellow 2020 |
{{Harvard citation no brackets/sandbox|Violet|Green|2020}} |
Violet & Green 2020 |
{{Harvard citation no brackets/sandbox|Violet|Blue|2020}} |
Violet & Blue 2020 |
{{Harvard citation no brackets/sandbox|Violet|Violet|2020}} |
Violet & Violet 2020 |
|year= and |date= | |
{{Cite book |year=2020 |date=2020 |last=Violet |last2=Yellow |title=Title |ref=harv}} |
Violet; Yellow (2020). Title. {{cite book}} : Invalid |ref=harv (help)CS1 maint: date and year (link)
|
|year= and |publication-date= | |
{{Cite book |date=2020 |publication-date=2000 |last=Violet |last2=Green|title=Title |ref=harv}} |
Violet; Green (2020). Title (published 2000). {{cite book}} : Invalid |ref=harv (help)
|
|date= and |publication-date= | |
{{Cite book |date=2020 |publication-date=2000 |last=Violet |last2=Blue |title=Title |ref=harv}} |
Violet; Blue (2020). Title (published 2000). {{cite book}} : Invalid |ref=harv (help)
|
|year= and |date= and |publicationdate= | |
{{Cite book |year=2020 |date=2020 |publicationdate=2000 |last=Violet |last2=Violet |title=Title |ref=harv}} |
Violet; Violet (2020). Title (published 2000). {{cite book}} : Invalid |ref=harv (help); Unknown parameter |publicationdate= ignored (|publication-date= suggested) (help)CS1 maint: date and year (link)
|
date formats
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Gray|Black|2010–2020}} |
Gray & Black 2010–2020 |
{{Harvard citation no brackets/sandbox|Gray|Black|1998–99}} |
Gray & Black 1998–99 |
{{Harvard citation no brackets/sandbox|Gray|Brown|2020}} |
Gray & Brown 2020 |
{{Harvard citation no brackets/sandbox|Gray|Red|Black|2020}} |
Gray, Red & Black 2020 |
{{Harvard citation no brackets/sandbox|Gray|Red|Brown|2020}} |
Gray, Red & Brown 2020 |
{{Harvard citation no brackets/sandbox|Gray|Orange|Black|n.d.}} |
Gray, Orange & Black n.d. |
{{Harvard citation no brackets/sandbox|Gray|Orange|Brown|nd}} |
Gray, Orange & Brown nd |
{{Harvard citation no brackets/sandbox|Gray|Yellow|c. 2020}} |
Gray & Yellow c. 2020 |
YYYY–YYYY | |
{{Cite book |date=2010–2020 |last=Gray |last2=Black |title=Title |ref=harv}} |
Gray; Black (2010–2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
YYYY–YY | |
{{Cite book |date=1998–99 |last=Gray |last2=Black |title=Title |ref=harv}} |
Gray; Black (1998–99). Title. {{cite book}} : Invalid |ref=harv (help)
|
YYYY-MM-DD | |
{{Cite book |date=2020-03-05 |last=Gray |last2=Brown |title=Title |ref=harv}} |
Gray; Brown (2020-03-05). Title. {{cite book}} : Invalid |ref=harv (help)
|
dmy | |
{{Cite book |date=5 March 2020 |last=Gray |last2=Red |last3=Black |title=Title |ref=harv}} |
Gray; Red; Black (5 March 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
mdy | |
{{Cite book |date=5 March 2020 |last=Gray |last2=Red |last3=Brown |title=Title |ref=harv}} |
Gray; Red; Brown (5 March 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
n.d. | |
{{Cite book |date=n.d. |last=Gray |last2=Orange |last3=Black |title=Title |ref=harv}} |
Gray; Orange; Black (n.d.). Title. {{cite book}} : Invalid |ref=harv (help)
|
nd | |
{{Cite book |date=nd |last=Gray |last2=Orange |last3=Brown |title=Title |ref=harv}} |
Gray; Orange; Brown (nd). Title. {{cite book}} : Invalid |ref=harv (help)
|
c. YYYY | |
{{Cite book |date=c. 2020 |last=Gray |last2=Yellow |title=Title |ref=harv}} |
Gray; Yellow (c. 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
date formats with CITEREF disambiguation
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Gray|Black|2010–2020a}} |
Gray & Black 2010–2020a |
{{Harvard citation no brackets/sandbox|Gray|Black|1998–99a}} |
Gray & Black 1998–99a |
{{Harvard citation no brackets/sandbox|Gray|Red|Black|2020a}} |
Gray, Red & Black 2020a |
{{Harvard citation no brackets/sandbox|Gray|Red|Brown|2020a}} |
Gray, Red & Brown 2020a |
{{Harvard citation no brackets/sandbox|Gray|Orange|Black|n.d.a}} |
Gray, Orange & Black n.d.a |
{{Harvard citation no brackets/sandbox|Gray|Orange|Brown|nda}} |
Gray, Orange & Brown nda |
{{Harvard citation no brackets/sandbox|Gray|Yellow|c. 2020a}} |
Gray & Yellow c. 2020a |
YYYY–YYYY | |
{{Cite book |date=2010–2020a |last=Gray |last2=Black |title=Title |ref=harv}} |
Gray; Black (2010–2020a). Title. {{cite book}} : Invalid |ref=harv (help)
|
YYYY–YY | |
{{Cite book |date=1998–99a |last=Gray |last2=Black |title=Title |ref=harv}} |
Gray; Black (1998–99a). Title. {{cite book}} : Invalid |ref=harv (help)
|
dmy | |
{{Cite book |date=5 March 2020a |last=Gray |last2=Red |last3=Black |title=Title |ref=harv}} |
Gray; Red; Black (5 March 2020a). Title. {{cite book}} : Invalid |ref=harv (help)
|
mdy | |
{{Cite book |date=5 March 2020a |last=Gray |last2=Red |last3=Brown |title=Title |ref=harv}} |
Gray; Red; Brown (5 March 2020a). Title. {{cite book}} : Invalid |ref=harv (help)
|
n.d. | |
{{Cite book |date=n.d.a |last=Gray |last2=Orange |last3=Black |title=Title |ref=harv}} |
Gray; Orange; Black (n.d.a). Title. {{cite book}} : Invalid |ref=harv (help)
|
nd | |
{{Cite book |date=nda |last=Gray |last2=Orange |last3=Brown |title=Title |ref=harv}} |
Gray; Orange; Brown (nda). Title. {{cite book}} : Invalid |ref=harv (help)
|
c. YYYY | |
{{Cite book |date=c. 2020a |last=Gray |last2=Yellow |title=Title |ref=harv}} |
Gray; Yellow (c. 2020a). Title. {{cite book}} : Invalid |ref=harv (help)
|
date from {{date}}
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|Gray|Green|2020}} |
Gray & Green 2020 |
{{Harvard citation no brackets/sandbox|Gray|Blue|2020}} |
Gray & Blue 2020 |
{{Harvard citation no brackets/sandbox|Gray|Violet|2020}} |
Gray & Violet 2020 |
{{Harvard citation no brackets/sandbox|Gray|Gray|2020}} |
Gray & Gray 2020 |
{{Harvard citation no brackets/sandbox|Gray|White|2020}} |
Gray & White 2020 |
dmy | |
{{Cite book |date={{date|5 March 2020}} |last=Gray |last2=Green |title=Title |ref=harv}} |
Gray; Green (5 March 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
dmy → ymd | |
{{Cite book |date={{DATEtoMOS|5 Mar 2020|ISO}} |last=Gray |last2=Blue |title=Title |ref=harv}} |
Gray; Blue (2020-03-05). Title. {{cite book}} : Invalid |ref=harv (help)
|
mdy | |
{{Cite book |date={{FormatDate|March 5, 2020|MDY}} |last=Gray |last2=Violet |title=Title |ref=harv}} |
Gray; Violet (March 5, 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
mdy → dmy | |
{{Cite book |date={{ISOtodmymdy|Mar 5, 2020|DMY}} |last=Gray |last2=Gray |title=Title |ref=harv}} |
Gray; Gray (5 March 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
ymd | |
{{Cite book |date={{ISOtoMOS|2020-03-05}} |last=Gray |last2=White |title=Title |ref=harv}} |
Gray; White (5 March 2020). Title. {{cite book}} : Invalid |ref=harv (help)
|
|cite LSA
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|White|2020}} |
White 2020 |
CITEREF uses |last= and |year= always; |ref= not supported | |
{{cite LSA |year=2020 |last=White |first=First |title=Title}} |
Template:Cite LSA |
vcite templates
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|White|Black|2020|ref=WhiteBlack2020}} |
White & Black 2020 |
{{Harvard citation no brackets/sandbox|White|Brown|2020}} |
White & Brown 2020 |
{{Harvard citation no brackets/sandbox|White|Red|2020|ref=WhiteRed2020}} |
White & Red 2020 |
using |ref= | |
{{vcite book |year=2020 |author=White, Black |title=Title |ref=WhiteBlack2020}} |
Template:Vcite book |
using |harvid= (makes CITEREF...) | |
{{vancite book |year=2020 |author=White, Brown |title=Title |harvid=WhiteBrown2020}} |
Template:Vancite book |
using |ref= and |harvid= | |
{{vcite book |year=2020 |author=White, Red |title=Title |ref=WhiteOrange2020 |harvid=WhiteRed2020}} |
Template:Vcite book |
harvc
template | rendering |
---|---|
{{Harvard citation no brackets/sandbox|George|Read|Johnson|Ferber|1957}} |
George et al. 1957 |
{{Harvard citation no brackets/sandbox|Stefferud|1957|ref=CITEREFStefferud preface}} |
Stefferud 1957 |
{{harvc}} templates | |
{{harvc/sandbox |last=George |first=Ernest J. |last2=Read |last3=Johnson |last4=Ferber |year=1957 |contribution=Shelterbelts and Windbreaks |url=//archive.org/stream/yoa1957#page/n785/mode/1up |in=Stefferud}} |
George, Ernest J.; Read; Johnson; Ferber. "Shelterbelts and Windbreaks". In Stefferud (1957). |
{{harvc/sandbox |last=Stefferud |first=A.|year=1957 |id=CITEREFStefferud preface |c=Preface |url=//archive.org/stream/yoa1957#page/n7/mode/1up |in=Stefferud}} |
Stefferud, A. Preface. In Stefferud (1957). |
cs1|2 templates | |
{{cite book |title=Soil: The Yearbook of Agriculture 1957 |editor-last=Stefferud |editor-first=Alfred |year=1957 |publisher=United States Department of Agriculture |url=//archive.org/stream/yoa1957#page/n2/mode/1up |oclc=704186906 |ref=harv}} |
Stefferud, Alfred, ed. (1957). Soil: The Yearbook of Agriculture 1957. United States Department of Agriculture. OCLC 704186906. {{cite book}} : Invalid |ref=harv (help)
|