Module talk:Citation/CS1/test/citation
Citation
These are testcases for Template:Citation/lua.
=Typical prototype=
Parameter set taken from {{tl|citation}} documentation:
{{cite compare | mode = citation
| author = AUTHOR
| last = LAST
| first = FIRST
| author2 = AUTHOR2
| last2 = LAST2
| first2 = FIRST2
| author-link = AUTHOR-LINK
| author2-link = AUTHOR-LINK2
| author-separator = ;
| author-name-separator = ,
| author-mask = AUTHOR-MASK
| display-authors = 9
| coauthors = COAUTHORS
| editor = EDITOR
| editor-last = EDITOR-LAST
| editor-first = EDITOR-FIRST
| editor2 = EDITOR2
| editor2-last = EDITOR2-LAST
| editor2-first = EDITOR2-FIRST
| editor-link = EDITOR-LINK
| editor2-link = EDITOR2-LINK
| others = OTHERS
| publication-date = PUBLICATION-DATE
| date = DATE
| year = YEAR
| month = MONTH
| origyear = ORIGYEAR
| title = TITLE
| chapter = CHAPTER
| chapter-url = CHAPTER-URL
| contribution = CONTRIBUTION
| contribution-url = CONTRIBUTON-URL
| type = TYPE
| journal = JOURNAL
| periodical = PERIODICAL
| newspaper = NEWSPAPER
| magazine = MAGAZINE
| work = WORK
| edition = EDITION
| series = SERIES
| volume = VOLUME
| issue = ISSUE
| publisher = PUBLISHER
| publication-place = PUBLICATION-PLACE
| place = PLACE
| language = LANGUAGE
| page = PAGE
| pages = PAGES
| nopp = NOPP
| at = AT
| id = ID
| isbn = ISBN
| issn = ISSN
| oclc = OCLC
| pmid = PMID
| pmc = PMC
| bibcode = BIBCODE
| doi = 10.DOI
| doi-inactive = DOI-INACTIVE
| url = URL
| accessdate = ACCESSDATE
| format = FORMAT
| archiveurl = ARCHIVEURL
| archivedate = ARCHIVEDATE
| quote = QUOTE
| laysummary = LAYSUMMARY
| laysource = LAYSOURCE
| laydate = LAYDATE
| separator = ,
| postscript =
| ref = REF
| no-tracking = true
|comment=Semicolon added after AUTHOR-MASK, FORMAT moved to follow URL linked term, LANGUAGE moved to follow main work, PUBLICATION-DATE moved inside PUBLISHER parenthetical, TYPE and EDITION no longer ignored for news / journal citations, bolding on VOLUME removed for volume titles longer than 4 characters, PAGE set to override PAGES (rather than the reverse), colon added after Bibcode label, "lay summary" made lowercase.
}}
=Errors=
;Add examples of {{tl|citation/lua}} producing errors here.
= Intentional Changes =
{{cite compare|mode=citation | author=Anonymous|editor=Daniel Coit Gilman, Harry Thurston Peck, Frank Moore Colby |year=1904|title=The New International Encyclopædia |publisher=Dodd, Mead and Company|page=906
|comment=Editors denoted with "in" rather than "eds." }}
{{cite compare|mode=citation | pages=1328–1334|title=Linus Pauling: Selected Scientific Papers|volume=2|editor=Pauling, Linus; Kamb, Barclay |place=River Edge, New Jersey|publisher=World Scientific |year=2001|isbn=981-02-2940-2|url=http://books.google.com/?id=2QduA19d_X8C&pg=PA1329
|comment=Comma removed before volume label}}
{{cite compare|mode=citation | title=Soedirman: Bapak Tentara Indonesia |trans_title=Soedirman: Father of the Indonesian Military |language=Indonesian |last=Adi |first=A. Kresna |publisher=Mata Padi Pressindo |isbn=978-602-95337-1-2 |location=Yogyakarta |ref=harv |year=2011
|comment=Italics removed from translated title, language moved to a more logical place }}
{{cite compare|mode=citation | url=http://books.google.ca/books?id=WrkzPcxBnLMC |title=Takhta untuk Rakyat: Celah-celah Kehidupan Sultan Hamengku Buwono IX |trans_title=Serving the People: The Life Story of Sultan Hamengku Buwono IX |language=Indonesian |isbn=978-979-22-6767-9 |editor1-first=Mohamad |editor1-last=Roem |editor1-link=Mohamad Roem |editor2-first=Mochtar |editor2-last=Lubis |editor2-link=Mochtar Lubis |editor3-first=Kustiniyati |editor3-last=Mochtar |editor4-first=Maimoen |editor4-last=S. |last=Nasution |first=A. H. |authorlink=Abdul Haris Nasution |publisher=Gramedia Pustaka Utama |location=Jakarta |year=2011 |origyear=1982 |edition=Revised |ref=harv
|comment=Italics removed from translated title, language moved to a more logical place, editors denoted with "in" rather than "eds." | no-tracking=true}}
{{cite compare|mode=citation | author=Luhmann J. G., Russell C. T. |editor=J. H. Shirley and R. W. Fainbridge |title=Venus: Magnetic Field and Magnetosphere |work=Encyclopedia of Planetary Sciences |publisher=Chapman and Hall, New York|year=1997 |url=http://www-spc.igpp.ucla.edu/personnel/russell/papers/venus_mag/ |accessdate=2009-06-28|isbn=978-1-4020-4520-2
|comment=Article name moved ahead of editor list, editors denoted with "in" rather than "ed."}}
{{cite compare|mode=citation | author=Feldman, M. S.; Ferrara, L. A.; Havenstein, P. L.; Volonte, J. E.; Whipple, P. H. |title=Manned Venus Flyby, February 1, 1967 |publisher=Bellcomm, Inc |url=http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19790072165_1979072165.pdf |format=PDF|year=1967
|comment=Format tag moved after title}}
{{cite compare|mode=citation | last=Rose |first=Herbert Jennings |authorlink=H.J. Rose |title=A Handbook of Greek Mythology |edition=1st |year=1959 |publisher=E.P. Dutton & Co. |location=New York |language= |isbn=0-525-47041-7 |pages=173
|comment=Single page denoted with "p." rather than "pp."}}
{{cite compare|mode=citation | url=http://www.ethnologue.com/show_country.asp?name=AR|title=Languages of Argentina|work=Ethnologue: Languages of the World|edition=16th|editor=Lewis, M. Paul|publisher=SIL International|place=Dallas|year=2009
|comment=Support for edition information}}
{{cite compare|mode=citation | editor=Jean Chrétien Ferdinand Hoefer |contribution=Labarraque, Antoine-Germain |title=Nouvelle biographie universelle |volume=28 |pages=323–324 |ol=24229911M
|comment="ed." tag moved to parenthetical, space added between "OL" and OL number.}}
{{cite compare|mode=citation | author=Herbst, T. M.; Rix, H.-W.|year=1999 |editor=Guenther, Eike; Stecklum, Bringfried; Klose, Sylvio|title=Star Formation and Extrasolar Planet Studies with Near-Infrared Interferometry on the LBT |booktitle=Optical and Infrared Spectroscopy of Circumstellar Matter, ASP Conference Series, Vol. 188. |isbn=1-58381-014-5|pages=341–350 |bibcode=1999ASPC..188..341H |publisher=Astronomical Society of the Pacific |location=San Francisco, Calif.
|comment=Proper support when both title and booktitle are given, editors indicated with "in" and moved after chapter title, ":" added after Bibcode label}}
{{cite compare|mode=citation | date=4 June 2007|title=The List of Wetlands of International Importance|publisher=The Secretariat of the Convention on Wetlands|page=18|url=http://www.ramsar.org/sitelist.pdf|accessdate=20 June 2007|format=PDF|archiveurl=http://web.archive.org/web/20070621011113/http://www.ramsar.org/sitelist.pdf|archivedate=21 June 2007
|comment=Format labeled moved to appropriate location}}
{{cite compare|mode=citation | last=Schmidt|first=Hans-Peter|chapter=Mithra i: Mithra in Old Indian and Mithra in Old Iranian|year=2006|title=Encyclopaedia Iranica|volume=OT 10|location=New York|publisher=iranica.com|url=http://www.iranicaonline.org/articles/mithra-i|format=
|comment=Bolding removed on volume labels longer than four characters}}
{{cite compare|mode=citation | last1=Canard |first1=M. |editor1-first=P. |editor1-last=Bearman |editor2-first=Th. |editor2-last=Bianquis |editor3-first=C.E. |editor3-last=Bosworth |editor4-first=E. |editor4-last=van Donzel |editor5-first=W.P. |editor5-last=Heinrichs |editor3-link=Clifford Edmund Bosworth |title=Encyclopaedia of Islam, Second Edition |year=2011 |publisher=Brill Online |location=Leiden |chapter=al-ḎJazīra, Ḏjazīrat Aḳūr or Iḳlīm Aḳūr |oclc=624382576
|comment=Support for more than 3 editor names}}
=Identical=
{{cite compare|mode=citation | last=Block|first=Steven M.|title=The growing threat of biological weapons|url=http://www.americanscientist.org/issues/feature/the-growing-threat-of-biological-weapons|accessdate=2009-05-22|volume=89:1|year=2001|publisher=American Scientist|doi=10.1511/2001.1.28|journal=American Scientist|page=28}}
{{cite compare|mode=citation | year=2011|title=Human Development Report 2011|chapter=Table 1: Human Development Index and its Components|publisher=United Nations|chapter-url=http://hdr.undp.org/en/media/HDR_2011_EN_Table1.pdf|format=PDF|ref=}}
{{cite compare|mode=citation | author=Bhagavan NV|title=Medical Biochemistry |publisher=Harcourt/Academic Press |location=San Diego |year=2002 |isbn=0-12-095440-0|url=http://books.google.com/?id=vT9YttFTPi0C&printsec=frontcover}}
{{cite compare|mode=citation | author=Motilal (UK) Books of India|title=Tourist Guide Kerala|url=http://books.google.com/books?id=ZYfRBcLdTNYC&pg=PA11|accessdate=18 November 2012|date=1 February 2008|publisher=Sura Books|isbn=978-81-7478-164-2|page=11}}
{{cite compare|mode=citation | author1=Joseph Needham|author2=Gwei-Djen Lu|author3=Ling Wang|title=Science and civilisation in China, Volume 5, Part 7|year=1987|publisher=Cambridge University Press|isbn=978-0-521-30358-3|pages=48–50}}
{{cite compare|mode=citation | chapter=Naturalism and Physicalism | last=Fales | postscript=, | first=Evan }}
{{cite compare|mode=citation | date=5 October 2009|title=India, Russia Review Defence Ties|publisher=The Hindu|url=http://www.thehindu.com/news/national/article2514142.ece|accessdate=8 October 2011}}
{{cite compare|mode=citation | first=Elena|last=Aprile|coauthors=Bolotnikov, Aleksey E.; Doke, Tadayoshi |title=Noble Gas Detectors|publisher=Wiley-VCH|year=2006 |isbn=3-527-60963-6|url=http://books.google.com/?id=tsnHM8x6cHAC&pg=PT1|pages=8–9}}
{{cite compare|mode=citation | first=Maurice | last=Loir | title=L'escadre de l'amiral Courbet | location=Paris | publisher=Berger-Levrault | year=1886 | postscript=. }}
{{cite compare|mode=citation | last = Bennett | first = Ralph | title = Behind the Battle: Intelligence in the War with Germany | place = London | publisher = Random House | origyear = 1994 | year = 1999 | edition = Pimlico: New and Enlarged | isbn = 0-7126-6521-8 }}
{{cite compare|mode=citation | last = Hunt | first = David | author-link = David Hunt (diplomat) | title = The raid on Coventry | newspaper = The Times | pages = 11 | date = 28 August 1976 }}
{{cite compare|mode=citation | last = Rhodes |first = Richard |year = 1986 |title = The Making of the Atomic Bomb |isbn = 0-671-65719-4 |pages = 659–660 |publisher = Simon & Schuster |location = New York}}
{{cite compare|mode=citation | last = Watt | first = William Montgomery |authorlink = William Montgomery Watt| title = Muhammad at Mecca| publisher=Oxford University Press | year = 1953 | id = | ref = harv}}
{{cite compare|mode=citation | last=Cooper |first=J.C. |title=Symbolic and Mythological Animals |pages=25–26 |year=1992 |publisher=Aquarian Press |location=London |isbn=1-85538-118-4}}
{{cite compare|mode=citation | last=Horton|first=Michael|authorlink=Michael Horton (theologian)|title=For Calvinism|url=http://books.google.com/books?id=ezoDtwAACAAJ|accessdate=17 January 2013|date=18 October 2011|publisher=Zondervan Books|isbn=978-0-310-32465-2|page=15}}
{{cite compare|mode=citation | last=Jacobs|first=Bruno|chapter=Mithra|title=Iconography of Deities and Demons in the Ancient Near East|series=(Electronic Pre-Publication)|location=Leiden|publisher=U Zürich/Brill| year=2006|url=http://www.religionswissenschaft.unizh.ch/idd/prepublications/e_idd_mithra.pdf Iconography of Mithra}}
{{cite compare|mode=citation | last=Malandra|first=William|year=1983|isbn=0-8166-1115-7|title=An Introduction to Ancient Iranian Religion|location=Minneapolis|publisher=University of Minnesota Press}}
{{cite compare|mode=citation | last=Metzner|first =Paul|year=1998|title=Crescendo of the Virtuoso: Spectacle, Skill, and Self-Promotion in Paris during the Age of Revolution|publisher=University of California Press}}
{{cite compare|mode=citation | last=Raichlen|first=S.|date=10 May 2011|title=A Tandoor Oven Brings India's Heat to the Backyard|publisher=The New York Times|url=http://www.nytimes.com/2011/05/11/dining/a-tandoor-oven-brings-indias-heat-to-the-backyard.html|accessdate=14 June 2011}}
{{cite compare|mode=citation | last=Sripati|first=V.|year=1998|title=Toward Fifty Years of Constitutionalism and Fundamental Rights in India: Looking Back to See Ahead (1950–2000)|journal=American University International Law Review|volume=14|issue=2|pages=413–496}}
{{cite compare|mode=citation | last1=Ali|first1=J. R.|last2=Aitchison|first2=J. C.|year=2005|title=Greater India|journal=Earth-Science Reviews|volume=72|issue=3–4|pages=170–173|doi=10.1016/j.earscirev.2005.07.005}}
{{cite compare|mode=citation | last1=Eitzen|first1=E.|last2=Takafuji|first2=E.|title=Military Medicine: Medical Aspects of Chemical and Biological Warfare|url=|year=1997|publisher=Office of the Surgeon General, Department of the Army|chapter=Historical Overview of Biological Warfare}}
{{cite compare|mode=citation | last1=Heitzman|first1=J.|last2=Worden|first2=R. L.|date=August 1996|title=India: A Country Study|series=Area Handbook Series|publisher=Library of Congress|place=Washington, D.C.|isbn=978-0-8444-0833-0}}
{{cite compare|mode=citation | last1=Masters|first1=Bruce Alan|last2=Ágoston|first2=Gábor|year=2009|title=Encyclopedia of the Ottoman Empire|publisher=Infobase Publishing|location=New York|isbn=978-1-4381-1025-7|ref=harv}}
{{cite compare|mode=citation | ref=harv |url=http://books.google.ca/books?id=LjzZ_rVv_2MC&pg=PA30 |title=Villes et organisation de l'espace en Afrique |pages=30–31 |first1=Jérôme |last1=Aloko-N'Guessan |first2=Amadou |last2=Diallo |first3=Kokou Henri |last3=Motcho |publisher=KARTHALA Editions |year=2010 |ISBN=2-8111-0339-2}}
{{cite compare|mode=citation | title = Statics: Analysis and Design of Systems in Equilibrium | last = Sheppard and Tongue | publisher = Wiley and Sons | year = 2005 | page = 618 | quote = In general, for given contacting surfaces, μk < μs | isbn = 0-471-37299-4}}
{{cite compare|mode=citation | title=Ancient Egyptian Rhetoric in the Old and Middle Kingdoms|author=David Hutto|journal=Rhetorica|date=Summer 2002|volume=20|issue=3|publisher=University of California Press|pages=213–233|doi=10.1525/rh.2002.20.3.213}}
{{cite compare|mode=citation | title=Civilizations of ancient Iraq |last1=Foster |first1=Benjamin R. |last2=Polinger Foster |first2=Karen |year=2009 |publisher=Princeton University Press |location=Princeton |isbn=978-0-691-13722-3 }}
{{cite compare|mode=citation | title=India|publisher=International Monetary Fund|url=http://www.imf.org/external/pubs/ft/weo/2011/02/weodata/weorept.aspx?sy=2009&ey=2016&scsm=1&ssd=1&sort=country&ds=.&br=1&c=534&s=NGDPD%2CNGDPDPC%2CPPPGDP%2CPPPPC%2CLP&grp=0&a=&pr1.x=88&pr1.y=9|accessdate=14 October 2011}}
{{cite compare|mode=citation | title=New Interstellar Boundary Explorer data show heliosphere's long-theorized bow shock does not exist | date=May 10, 2012 | work=Phys.org | url=http://phys.org/news/2012-05-interstellar-boundary-explorer-heliosphere-long-theorized.html | accessdate=2012-02-11 }}
{{cite compare|mode=citation | title=The European Flag|publisher=Europa (web portal)|url=http://europa.eu/abc/symbols/emblem/index_en.htm|accessdate=4 August 2007}}
{{cite compare|mode=citation | url = http://english.president.go.kr/tours/place_buildings/main_office.php | title = Cheong Wa Dae / The Blue House | quote = The Main Building and its two annexes are covered with a total of 150,000 traditional Korean blue roof tiles (hence, the name "Blue House" is also commonly used when referring to Cheongwadae). }}
{{cite compare|mode=citation | url=https://www.regione.sardegna.it/j/v/86?v=9&c=72&s=1&file=1997026 |title=Legge Regionale 15 ottobre 1997, n. 26 |year=1997 |publisher=Regione Sardegna |accessdate=}}
= Inventor/patent data =
Template {citation} supports inventor or patent-data parameters. Although the names should be "inventor1-last=" or "inventor1=" or "invent1=" (etc.), the option "country-code=" will also trigger the patent-data format. However, the old template has ignored names as "last/first=" format.
{{cite compare |mode=citation | inventor1-last = Doe II | inventor1-first = John D. | title = Title of Invention | issue-date = 1999 | patent-number = 5900999 | country-code = US }}
{{cite compare |mode=citation | last = Doe II | first = John D. | title = Title of Invention | issue-date = 1999 | patent-number = 5900999 | country-code = US }}
{{cite compare |mode=citation | invent1=Smith, Bob | inventor2-last=Doe |inventor2-first=Dalny | title=Apparatus for conducting analytical procedures | issue-date=1965 | patent-number=3100999 | country-code=US}}