Template:Harvc/testcases
Appearance
This is the template test cases page for the sandbox of Template:Harvc. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
{{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.
{{cite book}}
: Invalid|ref=harv
(help)CS1 maint: multiple names: editors list (link) CS1 maint: numeric names: authors list (link)- et al., "Chapter 9: Understanding and Attributing Climate Change", in IPCC AR4 WG1 (2007). harvc: invalid
|display-authors=
(help) - Hegerl, G. C.; Zwiers, F. W.; Braconnot, P.; Gillett, N. P.; Luo, Y.; Marengo Orsini, J. A.; Nicholls, N.; Penner, J. E.; Stott, P. A. (2007), "Chapter 9: Understanding and Attributing Climate Change",
{{citation}}
: Missing or empty|title=
(help) in IPCC AR4 WG1 2007.["Full" citation of Hegerl et al., except that details included in the citation of the containing work (below) are not repeated here. This citation appears only once in the article.]
- et al., "Chapter 1: Historical Overview of Climate Change Science", in IPCC AR4 WG1 (2007). harvc: invalid
|display-authors=
(help) - Le Treut, H.; Somerville, R.; Cubasch, U.; Ding, Y.; Mauritzen, C.; Mokssit, A.; Peterson, T.; Prather, M. (2007), "Chapter 1: Historical Overview of Climate Change Science",
{{citation}}
: Missing or empty|title=
(help) in IPCC AR4 WG1 2007.
- et al., "Chapter 9: Understanding and Attributing Climate Change", in IPCC AR4 WG1 (2007). harvc: invalid
|display-authors=etal
- Le Treut, H.; Somerville, R.; Cubasch, U.; Ding, Y.; Mauritzen, C.; Mokssit, A.; Peterson, T.; Prather, M. et al., "Chapter 1: Historical Overview of Climate Change Science", in IPCC AR4 WG1 (2007).
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:
- when year disambiguator not lower case:
- Last1. "contribution". In In1 (1090A). harvc: invalid
|year=
. (help) Harvc error: no target: CITEREFIn11090A (help)
- Last1. "contribution". In In1 (1090A). harvc: invalid
- 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=
Using |postscript=
- Benson, Ezra Taft. "Foreword". In Stefferud (1957).
Using |postscript=none
- Benson, Ezra Taft. "Foreword". In Stefferud (1957)
Using |postscript=;
- Benson, Ezra Taft. "Foreword". In Stefferud (1957);
|separator=
and |postscript=
combinations:
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5.
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5;
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5.
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5\
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5.
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5\
Source page numbers:
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), p. vi.
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), pp. vi–ix.
- Benson, Ezra Taft. "Foreword". In Stefferud (1957), §6.5.
Source list for 2, 3, 4 editor/authors
- Source1; Source2 (2014). Title.
{{cite book}}
: CS1 maint: numeric names: authors list (link) - Source1; Source2; Source3 (2014). Title.
{{cite book}}
: CS1 maint: numeric names: authors list (link) - Source1; Source2; Source3; Source4 (2014). Title.
{{cite book}}
: CS1 maint: numeric names: authors list (link)- Contributor, F. "Chapter". In Source1 & Source2 (2014).
- Contributor. "Chapter". In Source1, Source2 & Source3 (2014).
- Contributor. "Chapter". In Source1 et al. (2014).
- Contributor. "Chapter". In (2014). harvc: author missing from source list. (help) Harvc error: no target: CITEREF2014 (help)
- Contributor. "Chapter". In Source1 et al. (). harvc: missing
|year=
. (help) Harvc error: no target: CITEREFSource1Source2Source3Source4 (help) - . "Chapter". In Source1 et al. (2014).
References
[edit]- ^ Hegerl et al. 2007.
- ^ Le Treut et al. 2007.
- ^ Allaway 1957.
- ^ Allison 1957.
- ^ Broadbent 1957.
- ^ Clark 1957.
- ^ Coleman & Mehlich 1957.
- ^ Dean 1957.
- ^ Flemming 1957.
- ^ Holmes & Brown 1957.
- ^ Jordan & Reisenauer 1957.
- ^ a b c d Kellogg 1957.
- ^ Olsen & Fried 1957.
- ^ Reitemeier 1957.
- ^ Richards & Richards 1957.
- ^ Reuther 1957.
- ^ Russel 1957.
- ^ Russell 1957.
- ^ Seatz & Jurinak 1957.
- ^ Simonson 1957.
- ^ Sherman 1957.
- ^ Stout & Johnson 1957.
- ^ Wadleigh 1957.
- ^ Harper, Frank & McQuilkin 1957.
- ^ George et al. 1957.
- ^ Benson, Ezra Taft. "Foreword". In Stefferud (1957).
Bibliography
[edit]- Soil: The Yearbook of Agriculture 1957
- Stefferud, Alfred, ed. (1957). Soil: The Yearbook of Agriculture 1957. United States Department of Agriculture. OCLC 704186906.
- Allaway, W. H. "pH, Soil Acidity, and Plant Growth". In Stefferud (1957).
- Allison, Franklin E. "Nitrogen and Soil Fertility". In Stefferud (1957).
- Broadbent, F. E. "Organic Matter". In Stefferud (1957).
- Clark, Francis E. "Living Organisms in the Soil". In Stefferud (1957).
- Coleman, N. T.; Mehlich, A. "The Chemistry of Soil pH". In Stefferud (1957).
- Dean, L. A. "Plant Nutrition and Soil Fertility". In Stefferud (1957).
- Flemming, Walter E. "Soil Management and Insect Control". In Stefferud (1957).
- Holmes, R. S.; Brown, J. C. "Iron and Soil Fertility". In Stefferud (1957).
- Jordan, Howard V.; Reisenauer, H. M. "Sulfur and Soil Fertility". In Stefferud (1957).
- Kellogg, Charles E. "We Seek; We Learn". In Stefferud (1957).
- Olsen, Sterling R.; Fried, Maurice. "Soil Phosphorus and Fertility". In Stefferud (1957).
- Reitemeier, R. F. "Soil Potassium and Fertility". In Stefferud (1957).
- Richards, L. A.; Richards, S. J. "Soil Moisture". In Stefferud (1957).
- Reuther, Walter. "Copper and Soil Fertility". In Stefferud (1957).
- Russel, Darrell A. "Boron and Soil Fertility". In Stefferud (1957).
- Russell, M. B. "Physical Properties". In Stefferud (1957).
- Seatz, Lloyd F.; Jurinak, J. J. "Zinc and Soil Fertility". In Stefferud (1957).
- Simonson, Roy W. "What Soils Are". In Stefferud (1957).
- Sherman, G. Donald. "Manganese and Soil Fertility". In Stefferud (1957).
- Stout, P. R.; Johnson, C. M. "Trace Elements". In Stefferud (1957).
- Wadleigh, C. H. "Growth of Plants". In Stefferud (). harvc: missing
|year=
. (help) Harvc error: no target: CITEREFStefferud (help) - Harper, V. L.; Frank; McQuilkin. "Forest Practices and Productivity". In Stefferud (1957).
- George, Ernest J.; Read; Johnson; Ferber. "Shelterbelts and Windbreaks". In Stefferud (1957).