Template:Harvc/testcases

From blackwiki
Jump to navigation Jump to search
  • {{sfn}} templates link to {{harv/sandbox}} templates.[1][2]
  • IPCC AR4 WG1 (2007). Solomon, S.; Qin, D.; Manning, M.; Chen, Z.; Marquis, M.; Averyt, K.B.; Tignor, M.; and Miller, H.L. (ed.). Climate Change 2007: The Physical Science Basis. Contribution of Working Group I to the Fourth Assessment Report of the Intergovernmental Panel on Climate Change. Cambridge University Press. ISBN 978-0-521-88009-1.CS1 maint: multiple names: editors list (link) CS1 maint: ref=harv (link)


|display-authors=etal







A list of {{sfn}} templates: [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [12] [12] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]

And the foreword from the Secretary of Agriculture citing something on page vi.[26] This reference is an inline reference.

The template requires the presence of a certain minimum set of parameters. If these are not present, then show an error message:

When no contributors or when there is a hole in the contributors list:
no contributors:
  • . "Contribution". In In1 (1909). Harvc error: no target: CITEREFIn11909 (help)
|last1=, |last3=
  • Last1. "Contribution". In In1 (1909). Harvc error: no target: CITEREFIn11909 (help)
|last1=, |last2=, |last4=
  • Last1; Last2. "Contribution". In In1 (1909). Harvc error: no target: CITEREFIn11909 (help)
|last2=, |last3=, |last4=
  • . "Contribution". In In1 (1909). Harvc error: no target: CITEREFIn11909 (help)
when no contribution:
  • Last1. "". In In1 (1909). harvc: required contribution is missing. (help) Harvc error: no target: CITEREFIn11909 (help)
when no year:
  • Last1. "contribution". In In1 (). harvc: missing |year=. (help) Harvc error: no target: CITEREFIn1 (help)
when year disambiguator not lower case:
  • Last1. "contribution". In In1 (1090A). harvc: invalid |year=. (help) Harvc error: no target: CITEREFIn11090A (help)
when no source or when there is a hole in the source list:
no source:
  • last1. "Contribution". In (1909). harvc: author missing from source list. (help) Harvc error: no target: CITEREF1909 (help)
|in1=, |in3=
  • Last1. "Contribution". In (1909). harvc: author missing from source list. (help) Harvc error: no target: CITEREFIn1In31909 (help)
|in1=, |in2=, |in4=
  • Last1. "Contribution". In (1909). harvc: author missing from source list. (help) Harvc error: no target: CITEREFIn1In2In41909 (help)
|in2=, |in3=, |in4=
  • Last1. "Contribution". In (1909). harvc: author missing from source list. (help) Harvc error: no target: CITEREFIn2In3In41909 (help)


Using |postscript=

Using |postscript=none

Using |postscript=;


|separator= and |postscript= combinations:


Source page numbers:

Source list for 2, 3, 4 editor/authors

References

Bibliography

Soil: The Yearbook of Agriculture 1957