Template:Cite EB15/testcases

Year only
{{Cite EB15|1997}}

{{Cite EB15}}

Robert McHenry, ed. (1997). The New Encyclopædia Britannica (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. ISBN 978-0-85229-663-9. OCLC 855170286 https://books.google.com/books?id=VdH4sgEACAAJ. {{cite encyclopedia}}: Missing or empty |title= (help)

{{Cite EB15/sandbox}}

Robert McHenry, ed. (1997). "Encyclopædia Britannica". The New Encyclopædia Britannica (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. ISBN 978-0-85229-663-9. OCLC 855170286.

Four main params: year-volume-article-page
{{Cite EB15|article=Buddhism |page=602 |volume=4 |year=1989}}

{{Cite EB15}}

Philip W. Goetz, ed. (1989). "Buddhism". The New Encyclopædia Britannica. Vol. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. ISBN 978-0-85229-663-9. OCLC 855170286.

{{Cite EB15/sandbox}}

Philip W. Goetz, ed. (1989). "Buddhism". The New Encyclopædia Britannica. Vol. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. ISBN 978-0-85229-663-9. OCLC 855170286.

Year-volume-page, but no article
{{Cite EB15|page=602 |volume=4 |year=1989}}

{{Cite EB15}}

Philip W. Goetz, ed. (1989). The New Encyclopædia Britannica. Vol. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. ISBN 978-0-85229-663-9. OCLC 855170286 https://books.google.com/books?id=VdH4sgEACAAJ. {{cite encyclopedia}}: Missing or empty |title= (help)

{{Cite EB15/sandbox}}

Philip W. Goetz, ed. (1989). "Encyclopædia Britannica". The New Encyclopædia Britannica. Vol. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. p. 602. ISBN 978-0-85229-663-9. OCLC 855170286.

Additional override params (isbn and oclc)
{{Cite EB15|article=Buddhism |isbn=978-0-85229-443-7 |oclc=655823191 |volume=4 |year=1985}}

{{Cite EB15}}

Philip W. Goetz, ed. (1985). "Buddhism". The New Encyclopædia Britannica. Vol. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. ISBN 978-0-85229-443-7. OCLC 655823191.

{{Cite EB15/sandbox}}

Philip W. Goetz, ed. (1985). "Buddhism". The New Encyclopædia Britannica. Vol. 4 (15 ed.). Chicago: Encyclopædia Britannica, Incorporated. ISBN 978-0-85229-443-7. OCLC 655823191.

Missing required year – Expected: a Red error message
{{Cite EB15}}

{{Cite EB15}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

{{Cite EB15/sandbox}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

Invalid year (out of range, old) – Expected: a Red error message
{{Cite EB15|year=1968}}

{{Cite EB15}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

{{Cite EB15/sandbox}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

Invalid year (out of range, new) – Expected: a Red error message
{{Cite EB15|year=2014}}

{{Cite EB15}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

{{Cite EB15/sandbox}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

Invalid year (bad characters) – Expected: a Red error message
{{Cite EB15|year=1965XY}}

{{Cite EB15}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.

{{Cite EB15/sandbox}}

Error: Missing or invalid 'year' param in {{Cite EB15}}.