モジュール:Citation/CS1/testcases

-- Unit tests for [[Module:Citation/CS1]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_web()
    self:preprocess_equals_preprocess_many('{{cite web/new|', '}}', '{{cite web2|', '}}', {
       {
[==[ 
 url          = URL
 |title        = TITLE
 |last1        = LAST1
 |first1       = FIRST1
 |authorlink1  = AUTHORLINK1
 |last2        = LAST2
 |first2       = FIRST2
 |authorlink2  = AUTHORLINK2
 |date         = DATE
 |year         = YEAR
 |editor-last  = EDITOR-LAST
 |editor-first = EDITOR-FIRST
 |editor       = EDITOR
 |editor-link  = EDITOR-LINK
 |editor1-last = EDITOR1-LAST
 |editor1-first= EDITOR1-FIRST
 |editor1-link = EDITOR1-LINK
 |editor2-last = EDITOR2-LAST
 |editor2-first= EDITOR2-FIRST
 |editor2-link = EDITOR2-LINK
 |work         = WORK
 |series       = SERIES
 |publisher    = PUBLISHER
 |location     = LOCATION
 |page         = PAGE
 |pages        = PAGES
 |at           = AT
 |language     = LANGUAGE
 |trans-title  = TRANS-TITLE
 |type         = TYPE
 |format       = FORMAT
 |arxiv        = ARXIV
 |asin         = ASIN
 |bibcode      = BIBCODE
 |doi          = 10.DOI
 |doi-broken-date = 10 June 2015
 |isbn         = ISBN
 |issn         = ISSN
 |jfm          = JFM
 |jstor        = JSTOR
 |lccn         = LCCN
 |mr           = MR
 |oclc         = OCLC
 |ol           = OL
 |osti         = OSTI
 |pmc          = PMC
 |pmid         = PMID
 |rfc          = RFC
 |ssrn         = SSRN
 |zbl          = ZBL
 |id           = ID
 |archiveurl   = https://web.archive.org/web/20190310131346/https://en.wikipedia.org/wiki/Main_Page
 |archivedate  = ARCHIVEDATE
 |url-status   = URLSTATUS
 |accessdate   = ACCESSDATE
 |quote        = QUOTE
 |ref          = REF
 |postscript   = POSTSCRIPT
|no-tracking = true
]==] }, {

[==[ url= http://www.indec.mecon.ar/nuevaweb/cuadros/2/proyecciones_provinciales_vol31.pdf |title= Proyecciones provinciales de población por sexo y grupos de edad 2001–2015 |work=Gustavo Pérez |format= PDF |publisher=[[INDEC]] |page= 16 |language= español
]==] }, {

[==[ url=http://www.gamesbids.com/eng/index.php?news=1177787226 |title= Delhi To Bid For 2020 Summer Games|accessdate=5 August 2007 |date=28 April 2007 |work= gamesbids.com|publisher= Menscerto Inc. 
]==] }, {

[==[ author=Staff|year=2007 |url=http://www.infoplease.com/ce6/sci/A0852881.html |title=Xenon|work=Columbia Electronic Encyclopedia |edition=6th|publisher=Columbia University Press |accessdate=2007-10-23
]==] }, {

[==[ url=http://shook.pragmatism.org/skepticismaboutthesupernatural.pdf | title=Skepticism about the Supernatural | author=Shook, John R. | accessdate=2012-10-02
]==] }, {

[==[ title=Bintang Mahaputera Adipurna |language=Indonesian |url=http://www.setneg.go.id/index.php?option=com_tandajasa&Itemid=43&cat=2&id=6 |work=Awards of the Republic of Indonesia |publisher=Indonesian State Secretariat |accessdate=17 May 2012
]==] }, {

[==[ url=http://www.fs.fed.us/r9/publications/success_story_updates/2003-05.pdf |format=PDF|title=Success Stories |accessdate=2008-04-20 |author=US Forest Service |date=May 2003 |chapter=Mules Key in Accomplishing Trail Work |publisher=US Department of Agriculture |page=4
]==] }, {

[==[ url=http://www.ommbid.com/ |title= Galactosemia |chapter=72 |author=Fridovich-Keil JL, Walter JH |format= |work=The Online Metabolic and Molecular Bases of Inherited Disease |accessdate=
]==] }, {

[==[ author=Vijverberg et al. | title=Similar mode of action of pyrethroids and DDT on sodium channel gating in myelinated nerves | url=http://www.nature.com/nature/journal/v295/n5850/abs/295601a0.html | journal=Nature | volume=42 | issue=295 | year=1982 | accessdate=2012-04-28
]==] }, {

[==[ url= http://www.ign.gob.ar/AreaProfesional/Geografia/DatosArgentina|title= Datos de la República Argentina|language = Spanish|trans-title = Data of the Argentine Republic|author= Rubén Albanese|year= 2009|publisher= Instituto Geográfico Nacional
]==] }, {

[==[ url=http://www.cornellpress.cornell.edu/book/?GCOI=80140100965480|author=Bamber, G.J., Gittell, J.H., Kochan, T.A. & von Nordenflytch, A. |year=2009 |title=Up in the Air: How Airlines Can Improve Performance by Engaging their Employees|publisher=Cornell University Press, Ithaca |chapter=Chapter 5
]==] }, {

[==[ accessdate=2007-07-21|url=http://www.roman-emperors.org/assobd.htm#t-inx|title=De Imperatoribus Romanis|work=An Online Encyclopedia of Roman Emperors|quote= Battle of Sarmizegetusa (Sarmizegetuza), A.D. 105. During Trajan's reign one of the most important Roman successes was the victory over the Dacians. The first important confrontation between the Romans and [[Dacia|the Dacians]] had taken place in the year 87 and was initiated by Domitian. The [[praetorian prefect]] Cornelius Fuscus led five or six legions across the Danube on a bridge of ships and advanced towards [[Banat]] (in [[Romania]]). The Romans were surprised by a Dacian attack at Tapae (near the village of [[Bucova]], in Romania). [[Legion V Alaude]] was crushed and Cornelius Fuscus was killed. The victorious [[Dacia]]n general was originally known as [[Diurpaneus]] (see Manea, p.109), but after this victory he was called [[Decebalus]] (the brave one). ]==] }, {

[==[ author = Fermilab | year = 2006 | title = Jobs at Fermilab: Employer Awards | url = http://lss.fnal.gov/employ/employer_awards.html | accessdate = 2006-01-06 |archiveurl = https://web.archive.org/web/20070110184255/http://lss.fnal.gov/employ/employer_awards.html |archivedate = January 10, 2007]==] }, {

[==[ author=Posted 8 April 2000 by admin |url=http://www.foodfirst.org/media/opeds/2000/4-greenrev.html |title=Food First/Institute for Food and Development Policy |publisher=Foodfirst.org |date=8 April 2000 |accessdate=25 August 2010]==] }, {

[==[ first=Ray P.|last=Norris|pages=1–4 |title=Searching for the Astronomy of Aboriginal Australians |work=Conference Proceedings | year=2004 |publisher=Australia Telescope National Facility | url=http://www.atnf.csiro.au/research/AboriginalAstronomy/literature/Norris2007b.pdf |format=PDF | accessdate=2009-05-16]==] }, {

[==[ title =The National Revolution, 1945–50 | work =Country Studies, Indonesia | publisher =U.S. Library of Congress | date = | url =http://countrystudies.us/indonesia/16.htm | doi = | accessdate = ]==] }, {

[==[ last= Smith |first= Joseph Jr |authorlink= Joseph Smith Jr |title= Pearl Of Great Price |url= http://lds.org/library/display/0,4945,106-1-2-1,FF.html |postscript= <!-- Bot inserted parameter. Either remove it; or change its value to "." for the cite to end in a ".", as necessary. -->]==] }, {

[==[ last=Cooler | first=Richard M. | title=The Art and Culture of Burma | year=2002 | url=http://www.seasite.niu.edu/burmese/cooler/BurmaArt_TOC.htm | publisher=Northern Illinois University | location=DeKalb ]==] }, {

[==[ last=Food|first=BBC|title=Tapenade | url=http://www.bbc.co.uk/food/tapenade | work=BBC Food | publisher=British Broadcasting Corporation | accessdate=4 July 2011]==] }, {

[==[ last=Nave| first=C. R.|title=Deuterium-Tritium Fusion| work=HyperPhysics| publisher=Georgia State University| year=2006| url=http://hyperphysics.phy-astr.gsu.edu/Hbase/nucene/fusion.html| accessdate=2008-03-08]==] }, {

[==[ last=Stern|first=David P.|date=2005-02-13| url=http://www-spof.gsfc.nasa.gov/stargaze/Q7.htm| title=Wave Mechanics| publisher=NASA Goddard Space Flight Center| accessdate=2008-04-16]==] }, {

[==[ publisher=[http://www.metalfromfinland.com/ MetalFromFinland.com] | title=Nightwish's 'Amaranth' Single Available As Flower-Fragrance-Shaped Picture Disc | url=http://www.metalfromfinland.com/news/2010-01-29_11:19/nightwishs_amaranth_single_available_as_flowerfragranceshaped_picture_disc | date= 2010-01-29 | accessdate=2010-01-13]==] }, {

[==[ title = How Wildfires Work|author= Bonsor, Kevin| publisher = [[HowStuffWorks]]| url = http://science.howstuffworks.com/wildfire.htm|accessdate=2007-07-23| archiveurl= https://web.archive.org/web/20070714174036/http://science.howstuffworks.com/wildfire.htm| archivedate= 14 July 2007 <!--DASHBot-->| url-status=live]==] }, {

[==[ title = The real Chubby Checker, 71, was born with the name Ernest Evans. He trademarked his stage name in 1997|url = http://www.guardian.co.uk/music/2013/feb/14/chubby-checker-sues-hewlett-packard|accessdate = February 14, 2013]==] }, {

[==[ title=A Long Lipid, a Long Name: Docosahexaenoic Acid|url=http://www.samuelfurse.com/2011/12/a-long-name-a-long-lipid-docosahexaenoic-acid/|work=The Lipid Chronicles|accessdate=2011-12-31]==] }, {

[==[ title=California Symbols |publisher=California State Capitol Museum |url=http://www.capitolmuseum.ca.gov/VirtualTour.aspx?content1=1278&Content2=1374&Content3=1294 |accessdate=2007-09-14| archiveurl= https://web.archive.org/web/20071012123245/http://capitolmuseum.ca.gov/VirtualTour.aspx?content1=1278&Content2=1374&Content3=1294| archivedate= 12 October 2007 <!--DASHBot-->| url-status=live]==] }, {

[==[ title=Maternal and Neonatal Tetanus Elimination by 2005 | date = November 2000 | publisher = UNICEF | url=http://www.unicef.org/immunization/files/MNTE_strategy_paper.pdf | accessdate=2007-01-26 ]==] }, {

[==[ title=Population Estimates|url=http://www.census.gov/popest/data/cities/totals/2011/files/SUB-EST2011-IP.csv|publisher={{URL|1=http://en.wikipedia.org/wiki/United_States_Census_Bureau|2=United States Census Bureau}} ]==] }, {

[==[ title=The Structure of a Membrane|url=http://www.samuelfurse.com/2011/11/the-structure-of-a-membrane/|work=The Lipid Chronicles|accessdate=2011-12-31]==] }, {

[==[ title=Unit of thermodynamic temperature (kelvin) |work=SI Brochure, 8th edition |pages=Section 2.1.1.5 |url=http://www1.bipm.org/en/si/si_brochure/chapter2/2-1/2-1-1/kelvin.html |publisher=Bureau International des Poids et Mesures |year=1967 |accessdate=2008-02-06]==] }, {

[==[ url = http://pogoda.ru.net/climate/33345.htm | title = Weather and Climate - The Climate of Kiev | publisher = Weather and Climate (Погода и климат) | accessdate = March 1, 2013 | language = Russian]==] }, {

[==[ url = http://www.lanl.gov/history/people/R_Schreiber.shtml |title = Raemer Schreiber |work = Staff Biographies |publisher = Los Alamos National Laboratory |location = Los Alamos (NM) |author = LANL contributors |accessdate = November 16, 2008 ]==] }, {

[==[ url= http://berkleycenter.georgetown.edu/resources/countries/argentina |title=Argentina |publisher=[[Berkley Center for Religion, Peace, and World Affairs]]]==] }, {

[==[ url=http://213.253.134.43/oecd/pdfs/browseit/0406041E.PDF|format=PDF|title=Competitive Cities in the Global Economy|author=OECD|accessdate=30 April 2009|authorlink=Organisation for Economic Co-operation and Development]==] }, {

[==[ url=http://factfinder2.census.gov/bkmk/table/1.0/en/ACS/11_1YR/DP03/1600000US1714000| title=Selected Economic Characteristics: 2011 American Community Survey 1-Year Estimates (DP03): Chicago city, Illinois| publisher=U.S. Census Bureau, American Factfinder| accessdate=February 8, 2013]==] }, {

[==[ url=http://liftoff.msfc.nasa.gov/academy/astronauts/training.html | archiveurl=https://web.archive.org/web/20070910124735/http://liftoff.msfc.nasa.gov/academy/astronauts/training.html | archivedate=2007-09-10 | title=Selection and Training of Astronauts|accessdate=October 4, 2007 |publisher=NASA|year=1995|author=NASA]==] }, {

[==[ url=http://quod.lib.umich.edu/cgi/t/text/text-idx?c=jii;view=text;rgn=main;idno=4750978.0016.105 |title =Environmental and Structural Inequalities in Greater Accra |accessdate =22 July 2010|publisher =The Journal of the International Institute]==] }, {

[==[ url=http://users.rcn.com/jkimball.ma.ultranet/BiologyPages/T/Telomeres.html |author=John W. Kimball |date=November 25, 2008 |title=Telomeres]==] }, {

[==[ url=http://worldaerodata.com/wad.cgi?id=GH02526&sch=DGAA | title=Kotoka International Airport|publisher=World Aero Data|year=2009|accessdate=29 October 2009]==] }, {

[==[ url=http://www.bbc.co.uk/wales/music/sites/big_weekend/ | title=BBC Wales – Big Weekend|accessdate=23 February 2008]==] }, {

[==[ url=http://www.chem.umn.edu/class/2301/barany03f/fun/beautiful1.pdf |title=Chemistry at its Most Beautiful |accessdate=2007-09-13|last=Freemantel|first=Michael |date=August 25, 2003|format=PDF |publisher=Chemical & Engineering News]==] }, {

[==[ url=http://www.dublincity.ie/RecreationandCulture/DublinCityParks/Pages/Facts%20About%20Our%20Parks.aspx |title=Dublin City Council – ''Facts About Our Parks'' |publisher=Dublincity.ie |date= |accessdate=14 January 2012]==] }, {

[==[ url=http://www.fws.gov/news/NewsReleases/showNews.cfm?newsId=9191BAAD-F8E8-0097-B3670BDF3849EBF2|title=Fish and Wildlife Service Awards $800,000 in Grants to Explore Cause, Control of White-Nose Syndrome in Bats|date=2009-10-26|publisher=[[United States Fish and Wildlife Service]]|accessdate=2009-10-30]==] }, {

[==[ url=http://www.guinnessworldrecords.com/content_pages/record.asp?recordid=51451 |publisher=[[Guinness World Records]] |title=Heaviest marine crustacean |accessdate=August 3, 2006 |archiveurl=https://web.archive.org/web/20060528192250/ |archivedate=May 28, 2006]==] }, {

[==[ url=http://www.hurriyetdailynews.com/default.aspx?pageid=438&n=new-card-alternative-to-akbil-raises-questions-2010-07-16|last=Songün|first=Sevim|work=Hürriyet Daily News|title=Istanbul Commuters Skeptical of Transit Change|date=16 July 2010|accessdate=5 July 2012]==] }, {

[==[ url=http://www.lboro.ac.uk/gawc/world2008t.html |title=The World According to GaWC 2008 |work=Globalization and World Cities Research Network|publisher=GaWC Loughborough University |accessdate=April 29, 2009]==] }, {

[==[ url=http://www.medicinenet.com/yaws/page4.htm|title=Yaws|accessdate=5 August 2012|authors=Davis, Charles Patrick; Stoppler, Melissa Conrad|publisher=MedicineNet.com]==] }, {

[==[ url=http://www.autoblog.com/2010/03/29/hennessey-venom-gt-a-600k-mid-engine-cobra-for-the-21st-centur/ |title=Hennessey Venom GT: A $600k mid-engine Cobra for the 21st Century |accessdate=2010-03-29 |last=Lavrinc |first=Damon |date=2010-03-29 |work=[[Autoblog.com|Autoblog]] |publisher=[[Weblogs, Inc.]] ]==] }

}, {nowiki=false, templatestyles=true})
end

return p