Documentation icon คู่มือการใช้งานมอดูล[สร้าง]
-- Unit tests for [[Module:Citation/CS1]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_encyclopedia()
    self:preprocess_equals_preprocess_many('{{cite encyclopedia/new|', '}}', '{{cite encyclopedia|', '}}', {
       { 
[==[
last= LAST
|first= FIRST
|author-link= author-link
|editor-first= EDITOR-FIRST
|editor-last= EDITOR-LAST
|editor-link= EDITOR-LINK
|encyclopedia= ENCYCLOPEDIA
|title= TITLE
|trans-title= TRANS-TITLE
|url=https://en.wikipedia.org/Main_Page
|access-date= access-date
|language= LANGUAGE
|edition= EDITION
|date= DATE
|year= YEAR
|publisher= PUBLISHER 
|volume= VOLUME
|location= LOCATION
|id= ID
|isbn= ISBN
|oclc= OCLC
|doi= 10.DOI
|pages= PAGES
|quote= QUOTE
|ref= REF
]==]
},{
[==[
  last =Golden
  |first = Peter B.
  |author-link =Peter Benjamin Golden
  |editor1-last = Golden
  |editor1-first = Peter B.
  |editor1-link = Peter Benjamin Golden
  |editor2-last =  Ben-Shammai,
  |editor2-first = Haggai
  |editor3-last = Róna-Tas
  |editor3-first = András
  |editor3-link = András Róna-Tas
  |encyclopedia =  The World of the Khazars: New Perspectives
  |title = Khazar Studies: Achievements and Perspectives
  |series = Handbook of Oriental Studies
  |volume = 17
  |publisher = BRILL
  |year = 2007a
  |pages = 7–57
  |isbn = 978-9-004-16042-2
  |url = http://books.google.com/books?id=3ZzXjdyK-CEC&pg=PR2#v=onepage&p=123
  |access-date = February 13, 2013
]==]
}, {
[==[
title=Idaho – MSN Encarta <!-- BOT GENERATED TITLE -->|url=http://encarta.msn.com/encyclopedia_761565515/Idaho.html | archive-url=http://www.webcitation.org/query?id=1257036681681058 | archive-date=2009-11-01|url-status=dead
]==] 
}, {
[==[
 url= http://encarta.msn.com/encyclopedia_761594679/martina_hingis.html | title=Martina Hingis | publisher=[[Encarta]] | access-date=31 October 2008 | archive-url=http://www.webcitation.org/5kx7RAO3G | archive-date=1 November 2009|url-status=dead
]==] 
}, {
[==[
archive-url=http://www.webcitation.org/5kwbxqnne | url-status=dead | archive-date=31 October 2009 | title=Europe | last=Microsoft Encarta Online Encyclopaedia 2007 | url=http://encarta.msn.com/encyclopaedia_761570768/Europe.html | access-date=27 December 2007
]==]
}, {
[==[
last=Seberg |first=Ole |year=2007 |editor-last=Heywood |editor-first=Vernon H. |editor2-last=Brummitt |editor2-first=Richard K. |editor3-last=Culham |editor3-first=Alastair |contribution=Alliaceae |title=Flowering Plant Families of the World |pages=340–341 |publication-place=Richmond Hill, Ontario |publisher=Firefly Books |isbn=978-1-55407-206-4 |name-list-style=amp
]==]
}, {
[==[
chapter=Lewinsky scandal |title=The Columbia Encyclopedia, Sixth Edition |publisher=Columbia University Press |year=2008 |url=http://www.encyclopedia.com/topic/Lewinsky_scandal.aspx |access-date=February 9, 2010
]==]
}, {
[==[
last = Gerish | first = Deborah | title = Aimery of Lusignan | editor = Alan V. Murray | encyclopedia = The Crusades: An Encyclopedia | volume = 1 | pages = 24 | publisher = [[ABC-CLIO]] | location = [[Santa Barbara, California|Santa Barbara]] | year = 2006 | url = http://books.google.com/books?id=6cSXSgAACAAJ | oclc = 70122512
]==]
}, {
[==[
author=Skousen, Royal | author-link=Royal Skousen | title=Book of Mormon Editions (1830-1981) | encyclopedia=[[Encyclopedia of Mormonism]] | year=1992 | volume=1 | pages=175–6 | publisher=[[Macmillan Publishers (United States)|Macmillan]] | url=http://eom.byu.edu/index.php/Book_of_Mormon_Editions_(1830-1981) | access-date=2009-02-12
]==]
}, {
[==[
   last = Morère
  | first = J. E.
  | title = Aguilon, François d'
  | encyclopedia = [[Dictionary of Scientific Biography]]
  | volume = 1
  | pages = 81 
  | publisher = Charles Scribner's Sons
  | location = New York
  | year = 1970
  | isbn = 0-684-10114-9
]==]
}, {
[==[
   title = Clipper
  | encyclopedia = New International Encyclopaedia
  | volume = 5
  | pages = 39
  | publisher = Dodd Mead and Company
  | year = 1909
  | quote = Clipper ... probably connected with Dutch ''klepper'', fast horse
  | url =  http://books.google.com/?id=qycVAAAAYAAJ&dq=%22clipper%20ship%22&pg=PA39#v=onepage
  | access-date =6 Mar. 2010
]==]
}, {
[==[
last= Smith |first= Peter |encyclopedia= A concise encyclopedia of the Bahá'í Faith |title= satan |year= 2000 |publisher=Oneworld Publications |location= Oxford |isbn= 1-85168-184-1 |pages= 304
]==]
}, {
[==[
chapter=Ethanol|title=[[#Encyc Chem|Encyclopedia of chemical technology]]|year=1991|page=813|volume=9
]==]
}, {
[==[
 first = William A.
| last = Wallace
| title = Albertus Magnus, Saint
| url = http://www.u.arizona.edu/~aversa/scholastic/Dictionary of%20Scientific%20Biography/Albertus%20Magnus%20(Wallace).pdf
| publisher = Scribner & American Council of Learned Societies
| isbn = 978-0-684-10114-9
| editor-last = Gillispie
| editor-first = Charles
| encyclopedia = [[Dictionary of Scientific Biography]]
| volume=1
| pages=99-103
| location = New York
| year = 1970
]==]
}, {
[==[
last=Kukathas |first=Chandran |author-link=Chandran Kukathas |year=1998 |title=Rand, Ayn (1905–82) |editor-last=Craig |editor-first=Edward (ed) |encyclopedia=[[Routledge Encyclopedia of Philosophy]] |location=New York |publisher=Routledge |volume=8 |pages=55–56 |isbn=0-415-07310-3 |oclc=318280731
]==]
}, {
[==[
last=Morse |first=Stephen J. |encyclopedia=Law Library - American Law and Legal Information |title=Psychopathy - What Is Psychopathy? |url=http://law.jrank.org/pages/1884/Psychopathy-What-psychopathy.html |access-date=2008-09-25 |volume=Crime and Justice Vol 3|archive-url=http://www.webcitation.org/5b5vnGYP0 |archive-date=2008-09-25 
]==]
}, {
[==[
last= Smith|first= Peter |encyclopedia= A concise encyclopedia of the Bahá'í Faith|title= burial, "death and afterlife", evil, evil spirits, sin |year= 2000|publisher=Oneworld Publications|location= Oxford |isbn= 1-85168-184-1|pages= 96–97, 118–119, 135–136, 322–323
]==]
}, {
[==[
last=Hodges |first=Andrew |editor=Edward N. Zalta |encyclopedia=[[Stanford Encyclopedia of Philosophy]] |title=Alan Turing |url=http://plato.stanford.edu/entries/turing/ |access-date=10 January 2011 |edition=Winter 2009 |date=27 August 2007 |publisher=[[Stanford University]]
]==]
}, {
[==[
editor=[[Pete Palmer]] and Gary Gillette|encyclopedia=The 2005 ESPN Baseball Encyclopedia|title=Introduction|edition=1st Edition|year=2005|publisher=Sterling|location=New York|isbn=1-4027-2568-X
]==]
}, {
[==[
 first = Ernan
| last = McMullin
| title = Robert Bellarmine
| url = http://www.encyclopedia.com/topic/Robert_Bellarmine.aspx#1
| publisher = Scribner & American Council of Learned Societies
| editor-last = Gillispie
| editor-first = Charles
| encyclopedia = [[Dictionary of Scientific Biography]]
| year = 2008
]==]
}, {
[==[
last= |first= | author-link= | title=Islam |year=2007| encyclopedia=Encyclopædia Britannica Online | access-date=2007-11-27|location=|publisher=|url=http://www.britannica.com/eb/article-69190/Islam
]==]
}, {
[==[
author=Bliss, Michael |year=2002 |title=Macleod, John James Rickard |url=http://www.thecanadianencyclopedia.com/articles/john-james-rickard-macleod |encyclopedia=Canadian Encyclopedia
]==]
}, {
[==[
title=Penderecki, Krzysztof|last=Thomas|first=Adrian|editor-last=Sadie|editor-first=Stanley|location=London, England|year=1992|encyclopedia=[[New Grove Dictionary of Opera]]|ISBN=0-333-73432-7
]==]
}, {
[==[
encyclopedia=[[Encyclopedia of Arkansas History & Culture]]|title=Louisiana Purchase|first=Lea Flowers|last=Baker|access-date=2010-09-18|url=http://encyclopediaofarkansas.net/encyclopedia/entry-detail.aspx?entryID=2383
]==]
}, {
[==[
title=Cervantes, Miguel de|encyclopedia=The Encyclopedia Americana|year=1994
]==]
}, {
[==[
editor=Robert M. Besançon | encyclopedia=The Encyclopedia of Physics | edition=3rd | year=1990 | publisher=Van Nostrand Reinhold, New York | isbn = 0-442-00522-9 | pages = 1278–1284 | article=Vacuum Techniques
]==]
}, {
[==[
last = McFarlane | first = Ian | author-link = Ian McFarlane | encyclopedia = [[Encyclopedia of Australian Rock and Pop]] | title = Whammo Homepage | url = http://web.archive.org/web/20040405231007/www.whammo.com.au/index.asp | access-date =4 December 2010 | year = 1999 | publisher=[[Allen & Unwin]] | location = [[St Leonards, New South Wales|St Leonards, NSW]] | isbn = 1-86508-072-1 
]==]
}, {
[==[
   last = Campbell
  | first = J.
  | author-link = 
  | title = Rædwald
  | url = http://www.oxforddnb.com/view/article/23265?docPos=1
  | encyclopedia = [[Dictionary of National Biography]]
  | year = 2004
  | editor-last =
  | editor-first = 
  | editor-link = 
  | volume = 
  | location = 
  | doi = 10.1093/ref:odnb/23265 
  | publisher = Oxford University Press
]==]
}, {
[==[
title=Avicenna | encyclopedia=Encyclopaedia of Islam Online 
]==]
}, {
[==[
title=Islam|encyclopedia=Encyclopaedia of Islam Online|author=L. Gardet|author2=J. Jomier
]==]
}, {
[==[
first=Ted |last=Honderich |author-link=Ted Honderich |year=2005 |title=theodicy |encyclopedia=The Oxford Companion to Philosophy |isbn=0-19-926479-1 |quote=[[John Hick]], for example, proposes a theodicy, while [[Alvin Plantinga]] formulates a defence. The idea of human free will often appears in a both of these strategies, but in different ways.
]==]
}, {
[==[
title=AskOxford Search Results&nbsp;– terrorist |encyclopedia=AskOxford |publisher=AskOxford |access-date=2008-07-11 | no-tracking=true
]==]
}, {
[==[
title = Virus.VBS.Redlof.a | encyclopedia = Virus Encyclopedia | publisher = Viruslist.com | date = January 15, 2004 | url = http://www.viruslist.com/viruses/encyclopedia?virusid=25409 | access-date =August 26, 2007
]==]
}, {
[==[
title=Matthew, Tobie (1544?–1628)
|last=Sheils
|first=William Joseph
|encyclopedia=Oxford Dictionary of National Biography
|publisher=Oxford University Press
|year=2004
]==]
}, {
[==[
editor = Thomas Hockey et al. | last = Dalen | first = Benno van | title=Ulugh Beg: Muḥammad Ṭaraghāy ibn Shāhrukh ibn Tīmūr | encyclopedia = The Biographical Encyclopedia of Astronomers | publisher=Springer | year = 2007 | location = New York | pages = 1157–9 | url=http://islamsci.mcgill.ca/RASI/BEA/Ulugh_Beg_BEA.htm | isbn=978-0-387-31022-0
]==]
}, {
[==[
author=Lawson, M. K. |encyclopedia= The Medieval State: Essays Presented to James Campbell |title=Observations Upon a Scene in the Bayeux Tapestry |publisher=Hambledon Press |location=London |pages=73–92 |year=2000
]==]
}, {
[==[
last=Waugh|first=Scott L.|title=Thomas, 1st Earl of Norfolk (1300–1338)|encyclopedia=Oxford Dictionary of National Biography|publisher=Oxford University Press|location=Oxford|year=2004|doi=10.1093/ref:odnb/27196
]==]
}, {
[==[
author=Yorke, Philip Chesney|encyclopedia=Encyclopædia Britannica|title=Anne (1665–1714)|publisher=University Press|location=Cambridge|edition=11th|year=1911
]==]
}, {
[==[
editor-last = Lewis| editor-first = M. Paul| encyclopedia = Ethnologue: Languages of the World| edition = 16 | publisher = SIL International | location = Dallas, Texas| year = 2009| url = http://www.ethnologue.com/show_language.asp?code=deu
]==]
}
    }, {nowiki=false, templatestyles=true})
end

function p:test_news()
    self:preprocess_equals_preprocess_many('{{cite news|', '}}', '{{cite news/new|', '}}', {
       {
[==[ 
  title       = TITLE
 | author      = AUTHOR
 | first       = FIRST
 | last        = LAST
 | author-link  = author-link
 | author-link2 = author-link2
 | author2     = AUTHOR2 
 | author3     = AUTHOR3
 | author4     = AUTHOR4
 | author5     = AUTHOR5
 | author6     = AUTHOR6
 | author7     = AUTHOR7
 | url         = https://en.wikipedia.org/Main_Page
 | format      = FORMAT
 | agency      = AGENCY
 | newspaper   = NEWSPAPER
 | publisher   = PUBLISHER
 | location    = LOCATION
 | isbn        = ISBN
 | issn        = ISSN
 | oclc        = OCLC
 | pmid        = PMID
 | pmc         = PMC
 | bibcode     = BIBCODE
 | doi         = 10.DOI
 | id          = ID
 | date        = DATE
 | page        = PAGE
 | pages       = PAGES
 | at          = AT
 | access-date  = access-date
 | language    = LANGUAGE
 | trans-title = TRANS-TITLE
 | quote       = QUOTE
 | archive-url  = https://web.archive.org/web/20190310131346/https://en.wikipedia.org/wiki/Main_Page
 | archive-date = archive-date
 | url-status  = URLSTATUS
 | ref         = REF
 | no-tracking=true
]==] }, {

[==[ postscript= | title=Auction Record for an Original 'Alice' | url=http://www.nytimes.com/1998/12/11/nyregion/auction-record-for-an-original-alice.html | date=11 December 1998 | periodical=The New York Times | page=B30
]==] }, {

[==[ last=Rabil | title=New York Times Starts Selling Ad Space on Front Page | url=http://www.bloomberg.com/apps/news?pid=20601103&sid=amsJuEA115pI&refer=us | date=January 5, 2009 | first=Sarah | work=Bloomberg L.P. 
]==] }, {

[==[
title=Drugs: Chips trader gets 15 years, 10 strokes
|url=http://www.dailyexpress.com.my/news.cfm?NewsID=48660
|work=Daily Express |location=Kota Kinabalu, Malaysia
|date=29 March 2007 |agency=Bernama
]==] }, {

[==[title=Ученый: тунгусская катастрофа связана с водородным взрывом ядра кометы (Scientist: The Tunguska Catastrophe connected to the hydrogen explosion of a comet nucleus)|url=http://ria.ru/science/20090330/166427555.html|access-date=14 October 2010|newspaper=[[RIA Novosti]]|date=30 March 2009|language=Russian
]==] }, {

[==[  publisher=Apple Inc. | title=Statement by Apple's Board of Directors | url=http://www.apple.com/pr/library/2011/10/05Statement-by-Apples-Board-of-Directors.html | access-date=October 6, 2011 
]==] }, {

[==[  last=Stella | date=14 March 2013 | first=Gian Antonio | title=Tango e battesimo, fidanzata e vangelo l'alfabeto misto di Papa Francesco | newspaper=Corriere della Sera | quote=Mio padre era di Portacomaro (Asti, ndr) e mia madre di Buenos Aires, con sangue piemontese e genovese | url=http://www.corriere.it/esteri/speciali/2013/conclave/notizie/14-mar-papa-tango-fidanzata_1069e952-8c70-11e2-ab2c-711cc67f5f67.shtml | language=Italian | access-date=14 March 2013 
]==] }, {

[==[  archive-url=http://web.archive.org/web/20051001062114/http://www.cnn.com/2005/WORLD/europe/09/23/ | date=23 September 2005 | publisher=CNN | title=Cardinal breaks conclave vow of secrecy | archive-date=1 October 2005 | agency=Associated Press | url=http://www.cnn.com/2005/WORLD/europe/09/23/conclave.diary.ap/index.html | access-date=13 March 2013
]==] }, {

[==[  date=17 March 2013 | author=Miroff, Nick | page=27 | title=Pope's activity in Dirty War Draws Scrutiny | location=Sec. 1 | agency=Washington Post | work=Chicago Tribune | access-date=17 March 2013|
no-tracking=true ]==] }, {

[==[   date=916 | title=Mahdia founded |last=El Fatimi]==] }, {

[==[  author=[[Benedict Anderson]]|title=In the World-Shadow of Bismarck and Nobel|publisher=[[New Left Review]]|date=July–August 2004|url=http://newleftreview.org/II/28/benedict-anderson-in-the-world-shadow-of-bismarck-and-nobel]==] }, {

[==[  url=http://findarticles.com/p/articles/mi_qa3884/is_200603/ai_n17181949/pg_1?tag=artBody;col1|title=City infrastructures and city dwellers: Accommodating the automobile in twentieth-century Paris|access-date=3 August 2008|author=Mathieu Flonneau|publisher=The Journal of Transport History | year=2006]==] }, {

[==[  url=http://news.bbc.co.uk/1/hi/in_depth/4417096.stm|title=Special Report: Riots in France|date=9 November 2005|access-date=17 November 2007|publisher=BBC News ]==] }, {

[==[  url=http://hn.wenweipo.com/news/zhuanti/2012-11-16/23713.html | title=本报独家探访河南邓州习营村 | date=2012-11-16 | publisher=[[Wen Wei Po]] |access-date=2012-11-156]==] }, {

[==[  url=http://www.nytimes.com/2012/11/16/world/asia/new-chinese-leader-offers-few-hints-of-a-shift-in-direction.html|title=New Chinese Leader Offers Few Hints of a Shift in Direction|first=Ian|last=Johnson|date=2012-11-15|work=The New York Times|access-date=2012-11-15]==] }, {

[==[  first=Jonathan | last=Watts | url=http://www.guardian.co.uk/world/2007/oct/26/china.uknews4 |title=Most corrupt officials are from poor families but Chinese royals have a spirit that is not dominated by money | access-date=11 June 2008 |work=The Guardian |location=London  |date= 26 October 2007]==] }, {

[==[  last=Bazar|first=Emily|title=Immigrants Make Pilgrimage to Pope | work=USA Today | date=16 April 2008 | url=http://www.usatoday.com/news/religion/2008-04-15-popeimmigrants_N.htm | access-date=3 May 2008]==] }, {

[==[  author=David Willey |url=http://www.bbc.co.uk/news/world-europe-10645748 |title=Vatican 'speeds up' abuse cases |work=BBC News |date=15 July 2010 |access-date=28 October 2010]==] }, {

[==[  title=The economy of heat |publisher=The Economist |date=2007-04-12 |url=http://www.economist.com/node/8952496?story_id=8952496 |access-date=2008-06-06]==] }, {

[==[  last=Alves |first=Fabio |last2=Caminada |first2=Carlos |title=Brazilian Debt Raised to Investment Grade by S&P |publisher=Reuters |date=2008-04-30 |url=http://www.bloomberg.com/apps/news?pid=newsarchive&sid=a86v4f6_W2Jg |access-date=2008-06-09]==] }, {

[==[   author= | title=Gwynne Shotwell: Executive Profile & Biography | url=http://investing.businessweek.com/research/stocks/private/person.asp?personId=39083380& privcapId=7702894& previousCapId=7702894& previousTitle=Space%20Exploration%20Technologies%20Corp | newspaper=Business Week| publisher=Bloomburg | location=New York | date=2011-12-01| access-date=2011-12-01 | archive-url=http://www.webcitation.org/63bzdtgbl | url-status=live | archive-date=2011-12-01]==] }, {

[==[  first= Irene | last= Klotz | title= SpaceX's Dragon Capsule Returns Safely To Earth|newspaper=Discovery News|publisher=Discovery Communications | location= Silver Spring, Maryland | date=2010-12-08 | url=http://news.discovery.com/space/spacexs-dragon-capsule-returns-safely-to-earth.html |access-date=2010-12-08|archive-url=http://www.webcitation.org/63c6KAVeX| archive-date=2011-12-01]==] }, {

[==[  last=Engel|first=Max |title=Launch Market on Cusp of Change |url=http://www.satellitetoday.com/via/satellitegetspersonal/Launch-Market-on-Cusp-of-Change_40648.html |access-date=2013-02-15 |newspaper=Satellite Today |date=2013-03-01<!-- this is the PUBLICATION date of the newsstand issue; it came online on the internet by 15 Feb, but its stated date is 1 March 2013 --> |quote=''SpaceX is not the first private company to try to break through the commercial space launch market. The company, however, appears to be the real thing. Privately funded, it had a vehicle before it got money from NASA, and while NASA’s space station resupply funds are a tremendous boost, SpaceX would have existed without it.'' ]==] }, {

[==[title=Bird flu has jumped to baby seals, scientists discover|url=http://edition.cnn.com/2012/07/31/health/baby-seals-avian-flu/index.html?hpt=hp_c4|access-date=31 July 2012|newspaper=[[CNN]]|date=31 July 2012]==] }, {

[==[url=http://www.guardian.co.uk/film/2010/mar/10/oscars-farrah-fawcett|title=Farrah Fawcett:Oscars director apologises for 'In Memoriam' omission|work=The Guardian |access-date=March 8, 2010 | location=London | first=Ben | last=Child | date=March 10, 2010| archive-url= http://web.archive.org/web/20100414020632/http://www.guardian.co.uk/film/2010/mar/10/oscars-farrah-fawcett| archive-date= April 14, 2010 <!--DASHBot-->| url-status=live]==] }, {

[==[url=http://latimesblogs.latimes.com/files/2009/02/being-a-member.html |title=Being an Oscar voter *doesn't* mean never having to say you're sorry |access-date=October 4, 2009 | work=The Los Angeles Times |url-status=dead]==] }, {

[==[author=[[Donald G. McNeil, Jr.]] |title=Precursor to H.I.V. Was in Monkeys for Millennia |url=http://www.nytimes.com/2010/09/17/health/17aids.html?_r=1&src=me&ref=general |quote=Dr. Marx believes that the crucial event was the introduction into Africa of millions of inexpensive, mass-produced syringes in the 1950s.&nbsp;... suspect that the growth of colonial cities is to blame. Before 1910, no Central African town had more than 10,000 people. But urban migration rose, increasing sexual contacts and leading to red-light districts.|work=[[New York Times]] |date=September 16, 2010 |access-date=2010-09-17 ]==] }, {

[==[ url=http://news.bbc.co.uk/2/hi/technology/7091190.stm|title=BBC News: History of Technology|date=November 15, 2007]==] }, {

[==[ url = http://findarticles.com/p/articles/mi_hb197/is_200401/ai_n5556112| title = The Story Behind Apple's '1984' TV commercial: Big Brother at 20| access-date =May 9, 2008| last = Cellini| first = Adelia | date=January 2004| work = [[Macworld]] 21.1, page 18| archive-url = http://web.archive.org/web/20080626112220/| archive-date = June 26, 2008]==] }, {

[==[ last = Spector| first = G| title = Apple's Jobs Starts New Firm, Targets Education Market| work = [[PC Week]]| page = 109| date = September 24, 1985]==] }, {

[==[ url=http://www.cnn.com/2010/TECH/mobile/06/07/apple.wwdc.preview/index.html | title=Apple unveils iPhone 4, 'biggest leap we've taken' since first model | work=CNN | first1=Brandon |last1=Griggs | first2=John D. |last2= Sutter | date=June 8, 2010 | access-date=July 5, 2010| archive-url= http://web.archive.org/web/20100708063056/| archive-date= July 8, 2010 <!--DASHBot-->| url-status=live]==] }, {

[==[ last=Nichols | date=26 March 2010 | first=Vincent | title=The Church is not trying to cover anything up | url=http://www.timesonline.co.uk/tol/comment/columnists/guest_contributors/article7076344.ece | work=The Times | location=London | access-date=22 May 2010 ]==] }  
    }, {nowiki=false, templatestyles=true})
end

function p:test_journal()
    self:preprocess_equals_preprocess_many('{{cite journal|', '}}', '{{cite journal/new|', '}}', {
       {
[==[
  last1 = LAST1
 | first1 = FIRST1
 | author-link1 = author-link1
 | last2 = LAST2
 | first2 = FIRST2
 | author-link2 = author-link2
 | editor-last = EDITOR-LAST
 | editor-first = EDITOR-FIRST
 | editor-link = EDITOR-LINK
 | date = DATE
 | year = YEAR
 | title = TITLE
 | trans-title = TRANS-TITLE
 | journal = JOURNAL
 | volume = VOLUME
 | issue = ISSUE
 | series = SERIES
 | pages = PAGES
 | location = LOCATION
 | publisher = PUBLISHER
 | language = LANGUAGE
 | format = FORMAT
 | type = TYPE
 | arxiv = ARXIV
 | id = ID
 | isbn = ISBN
 | issn = ISSN
 | oclc = OCLC
 | pmid = PMID
 | pmc = PMC
 | bibcode = BIBCODE
 | doi = 10.DOI
 | access-date = access-date
 | url = https://en.wikipedia.org/Main_Page
 | archive-url = https://web.archive.org/web/20190310131346/https://en.wikipedia.org/wiki/Main_Page
 | archive-date = 1 January 2010
 | lay-source = LAYSOURCE
 | lay-url = https://en.wikipedia.org/Wikipedia
 | lay-date = 2010-01-01
 | quote = QUOTE
 | ref = REF
 | postscript = POSTSCRIPT
|no-tracking = true
]==] }, {

[==[
type=Type | title=Article | format=Format | author=Author | journal=Journal | no-tracking=true
]==] }, {

[==[ 
department=Bryan on Scouting | last=Wendell | title=Calendar of New Merit Badges | url=http://blog.scoutingmagazine.org/merit-badge-calendar/ | journal=Scouting | first=Bryan ]==] },{

[==[ 
archive-url=http://wikiwix.com/cache/?url=http%3A%2F%2Fphysics.aps.org%2Farticles%2Fv3%2F98 | date=November 22, 2010 | doi=10.1103/Physics.3.98 | first1=Paul | volume=3 | editor-first=Gene D. | editor-last=Sprouse | url=http://physics.aps.org/articles/v3/98 | issue=98 | journal=Physics | title=Meet a superpartner at the LHC | issn=1943-2879 | publisher=American Physical Society | archive-date=2011-02-22 | oclc=233971234 | location=New York | bibcode=2010PhyOJ...3...98L | last1=Langacker | access-date=21 February 2011 
]==] }, {

[==[ 
archive-url=http://wikiwix.com/cache/?url=http%3A%2F%2Fphysics.aps.org%2Farticles%2Fv3%2F98 | date=November 22, 2010 | doi=10.1103/Physics.3.98 | doi-access=free | first1=Paul | volume=3 | editor-first=Gene D. | editor-last=Sprouse | url=http://physics.aps.org/articles/v3/98 | issue=98 | journal=Physics | title=Meet a superpartner at the LHC | issn=1943-2879 | publisher=American Physical Society | archive-date=2011-02-22 | oclc=233971234 | location=New York | bibcode=2010PhyOJ...3...98L | last1=Langacker | access-date=21 February 2011 
]==] }, {

[==[ author=Sammy De Grave, N. Dean Pentcheff, Shane T. Ahyong ''et al.'' |year=2009 |title=A classification of living and fossil genera of decapod crustaceans |journal=[[Raffles Bulletin of Zoology]] |volume=Suppl. 21 |pages=1–109 |url=http://rmbr.nus.edu.sg/rbz/biblio/s21/s21rbz1-109.pdf |format=[[Portable Document Format|PDF]]

]==] }, {

[==[ author=Tin-Yam Chan |year=2010 |chapter=Annotated checklist of the world's marine lobsters (Crustacea: Decapoda: Astacidea, Glypheidea, Achelata, Polychelida) |editor=Martyn E. Y. Low and S. H. Tan |title=Annotated checklist of anomuran decapod crustaceans of the world (exclusive of the Kiwaoidea and families Chirostylidae and Galatheidae of the Galatheoidea) and marine lobsters of the world |journal=[[Zootaxa]] |volume=Suppl. 23 |pages=153–181 |url=http://rmbr.nus.edu.sg/rbz/biblio/s23/s23rbz153-181.pdf |format=[[Portable Document Format|PDF]]

]==] }, {

[==[ last=Frątczak|first=Sławomir Z.|language=โปแลนด์ | url=http://www.glos.com.pl/Archiwum_nowe/Rok+2005/032/strona/Cud.html | archive-url=http://web.archive.org/web/20070708173639/ | archive-date=2007-07-08 | journal=[[Głos (1991)|Głos]]|issue=32/2005 | year=2005 | title=Cud nad Wisłą|access-date=June 18, 2006

]==] }, {

[==[ author= |title=The fourth report on the diagnosis, evaluation, and treatment of high blood pressure in children and adolescents |journal=Pediatrics |volume=114 |issue=2 Suppl 4th Report |pages=555–76 |date=August 2004|pmid=15286277 |doi= 10.1542/peds.114.2.S2.555|url= |author1= National High Blood Pressure Education Program Working Group on High Blood Pressure in Children and Adolescents

]==] }, {

[==[ author= |title=The fourth report on the diagnosis, evaluation, and treatment of high blood pressure in children and adolescents |journal=Pediatrics |volume=114 |issue=2 Suppl 4th Report |pages=555–76 |date=August 2004|pmid=15286277 |doi= 10.1542/peds.114.2.S2.555|hdl=2027/uc1.c095473177|hdl-access=free|url= |author1= National High Blood Pressure Education Program Working Group on High Blood Pressure in Children and Adolescents

]==] }, {

[==[ author=Milazzo S, Ernst E, Lejeune S, Schmidt K |title=Laetrile treatment for cancer |journal=Cochrane Database Syst Rev |issue=2 |pages=CD005476 |year=2006 |pmid=16625640 |doi=10.1002/14651858.CD005476.pub2 |editor1-last=Milazzo |editor1-first=Stefania

]==] }, {

[==[ author=M. F. Land |title=Superposition images are formed by reflection in the eyes of some oceanic decapod Crustacea |journal=[[Nature (journal)|Nature]] |year=1976 |volume=263 |pages=764–765 |doi=10.1038/263764a0 |pmid=995187 |issue=5580
]==] }, {

[==[ author=Dale Tshudy & Loren E. Babcock |year=1997 |title=Morphology-based phylogenetic analysis of the clawed lobsters (family Nephropidae and the new family Chilenophoberidae) |journal=[[Journal of Crustacean Biology]] |volume=17 |issue=2 |pages=253–263 |jstor=1549275
]==] }, {

[==[ author=M. Kottek|author2=J. Grieser|author3=C. Beck|author4=B. Rudolf|author5=F. Rubel|title=World Map of the Köppen-Geiger climate classification updated|journal=Meteorol. Z.|volume=15|pages=259–263|url=http://koeppen-geiger.vu-wien.ac.at/pics/kottek_et_al_2006.gif|doi=10.1127/0941-2948/2006/0130|access-date=April 22, 2009|year=2006
]==] }, {

[==[ last = Boddington | first = Ann | title = Sejanus. Whose Conspiracy? | journal = The American Journal of Philology | volume = 84 | issue = 1 | pages = 1–16 | date = January 1963 | doi = 10.2307/293155 | jstor = 293155
]==] }, {

[==[ vauthors=Zubcevic J, Waki H, Raizada MK, Paton JF |title=Autonomic-immune-vascular interaction: an emerging concept for neurogenic hypertension |journal=Hypertension |volume=57 |issue=6 |pages=1026–33 |date=June 2011 |pmid=21536990 |pmc=3105900 |doi=10.1161/HYPERTENSIONAHA.111.169748 |url=http://hyper.ahajournals.org/content/57/6/1026.long
]==] }, {

[==[ author = Whelton PK |name-list-style=vanc | year = 2002 |title = Primary prevention of hypertension:Clinical and public health advisory from The National High Blood Pressure Education Program | url = | journal = JAMA | volume = 288 | issue = 15| pages = 1882–8 |doi = 10.1001/jama.288.15.1882 | pmid = 12377087 | author2 = He J | author3 = Appel LJ | author4 = Cutler JA | author5 = Havas S | author6 = Kotchen TA | display-authors = 6 | last7 = Roccella | first7 = EJ | last8 = Stout | first8 = R | last9 = Vallbona | first9 = C 
|no-tracking=true ]==] }, {

[==[ vauthors=Alcocer L, Cueto L |title=Hypertension, a health economics perspective |journal=Therapeutic Advances in Cardiovascular Disease |volume=2 |issue=3 |pages=147–55 |date=June 2008 |pmid=19124418 |doi=10.1177/1753944708090572 |url=http://tak.sagepub.com/cgi/pmidlookup?view=long&pmid=19124418 |access-date=2009-06-20
]==] }, {

[==[ title = Are EU Trade Sanctions On Burma Compatible With WTO Law? | journal=Are EU Trade Sanctions on Burma Compatible with WTO Law? | first = Robert | last = Howse | author2 = Jared M. Genser | pages = 166+| id = | url = http://students.law.umich.edu/mjil/article-pdfs/v29n2-howse-genser.pdf | access-date =7 November 2010 | quote = repressive and abusive military regime
]==] }, {

[==[ journal = [[Science (journal)|Science]] | last1 = Wodinsky | first1 = Jerome | title = Hormonal Inhibition of Feeding and Death in Octopus: Control by Optic Gland Secretion | date = 2 December 1977 | volume = 198 | issue = 4320| pages = 948–951 | url = http://www.sciencemag.org/content/198/4320/948.abstract | access-date= 27 November 2011 | doi = 10.1126/science.198.4320.948 
]==] }, {

[==[ vauthors=Karakurt F |title=Comparison of the clinical efficacy of flutamide and spironolactone plus ethinyloestradiol/cyproterone acetate in the treatment of hirsutism: a randomised controlled study |journal=Adv Ther |volume=25 |issue=4 |pages=321–8 |date=April 2008 |isbn=1232500800395 
]==] }, {

[==[ title = Mr. Mackintosh's New God | first = George Jacob | last = Holyoake | author-link = George Holyoake | magazine = [[w:The Oracle of Reason|The Oracle of Reason, Or, Philosophy Vindicated]] | volume = 1 | issue = 23 | year = 1842 | page = 186 | url = http://books.google.com/books?id=BFY9AAAAYAAJ&pg=PA186 | quote = On the contrary, I, as an Atheist, simply profess that I do not see sufficient reason to ''believe'' that there is a god. I do not pretend to ''know'' that there is no god. The whole question of god's existence, ''belief'' or ''disbelief'', a question of probability or of improbability, not knowledge.
]==] }, {

[==[ last1 = Arenillas | first1 = Miguel | last2 = Castillo | first2 = Juan C. | title = Dams from the Roman Era in Spain. Analysis of Design Forms (with Appendix) | journal = 1st International Congress on Construction History [20th–24th January] | publication-place = Madrid | year = 2003 | url = http://www.traianvs.net/textos/presas_in.htm#_ednref4 
]==] }, {

[==[ author=International Union of Crystallography |year=1992 |title=Report of the Executive Committee for 1991 |journal=Acta Crystallogr. A |volume=48 |issue= 6|pages=922 |doi=10.1107/S0108767392008328
]==] }, {

[==[ author=International Union of Crystallography |year=1992 |title=Report of the Executive Committee for 1991 |journal=Acta Crystallogr. A |volume=48 |issue= 6|pages=922 |doi=10.1107/S0108767392008328|pmc=1438678
]==] }, {

[==[ url = http://www.minsocam.org/ammin/AM66/AM66_885.pdf|journal = American Mineralogist|volume = 66|page=885|year= 1981|title= The largest crystals|author = Rickwood, P. C.
]==] }, {

[==[ last=Watling|first=H. R.|title=The bioleaching of sulphide minerals with emphasis on copper sulphides — A review | journal=Hydrometallurgy | year=2006 | volume=84 | issue=1, 2 | pages=81–108 | url=http://infolib.hua.edu.vn/Fulltext/ChuyenDe/ChuyenDe07/CDe53/59.pdf | format=PDF | doi=10.1016/j.hydromet.2006.05.001
]==] }, {

[==[ vauthors=Richmond SJ, Brown SR, Campion PD, Porter AJ, Moffett JA, Jackson DA, Featherstone VA, Taylor AJ |title=Therapeutic effects of magnetic and copper bracelets in osteoarthritis: a randomised placebo-controlled crossover trial|journal=Complement Ther Med.|year=2009|volume=17|issue=5-6|pages=249–256|pmid=19942103|doi=10.1016/j.ctim.2009.07.002
]==] }, {

[==[ author=Kivelson G. M., Russell, C. T. |title=Introduction to Space Physics |publisher=Cambridge University Press |year=1995|isbn=0-521-45714-9
]==] }, {

[==[ last=Quigg| first=Catherine T.| title=Tritium Warning| journal=Bulletin of the Atomic Scientists| volume=40|issue=3| pages=56–57|date=March 1984
]==] }, {

[==[ last1 = Ralston | first1 = NVC | last2 = Raymond | first2 = LJ | year = 2010 | title = Dietary selenium's protective effects against methylmercury toxicity | url = | journal = Toxicology | volume = 278 | issue = | pages = 112–123 
]==] }, {

[==[ author=Aller TA, Wildsoet C |title=Bifocal soft contact lenses as a possible myopia control treatment: a case report involving identical twins |journal=Clin Exp Optom |volume=91 |issue=4 |pages=394–9 |date=July 2008 |pmid=18601670 |doi=10.1111/j.1444-0938.2007.00230.x |url=
]==] }, {

[==[ pmid=17742735|year=1969|last1=Gorman|first1=CF|title=Hoabinhian: A pebble-tool complex with early plant associations in southeast Asia|volume=163|issue=3868|pages=671–3|doi=10.1126/science.163.3868.671|journal=Science
]==] }, {

[==[ last1 = Tormmsdof | first1 = V. | year = 1966 | title = Progressive metamorphose kieseliger karbonatgesteine in den Zentralalpen zwischen Bernina und Simplon | url = | journal = Schweizerische Mineralogische und Petrographische Mitteilungen = Bulletin Suisse de Mineralogie et Petrographie | volume = 46 | issue = | pages = 431–460 
]==] }, {

[==[ author=Kivelson G. M., Russell, C. T. |title=Introduction to Space Physics |publisher=Cambridge University Press |year=1995|isbn=0-521-45714-9
]==] }, {

[==[ author=Ellenberger, C. Leroy|date=Winter 1984 |author-link=C. Leroy Ellenberger |title=Worlds in Collision in Macmillan's Catalogues |journal=Kronos | volume=9 | issue=2 | url=http://www.catastrophism.com/cdrom/pubs/journals/kronos/vol0902/index.htm |access-date=2009-05-16
]==] }, {

[==[ author = Zapolski TC, Cyders MA, Smith GT | title = Positive urgency predicts illegal drug use and risky sexual behavior | journal = Psychol Addict Behav | volume = 23 | issue = 2 | pages = 348–54 | date = June 2009 | pmid = 19586152 | pmc = 2709762 | doi = 10.1037/a0014684 
]==] }, {

[==[ first=J. | last=Blackwell | author2 =M.R. Nagarajan |author3= T.B. Hoitink | title=The Structure of the Hard Segments in MDI/diol/PTMA Polyurethane Elastomers | publisher=American Chemical Society | location=Washington, D.C. | year=1981 | issn=0097-6156/81/0172-0179
]==] }, {

[==[ author=Ehret GB |name-list-style=vanc |title=Genetic variants in novel pathways influence blood pressure and cardiovascular disease risk |journal=Nature |volume=478 |issue=7367 |pages=103–9 |date=October 2011 |pmid=21909115 |doi=10.1038/nature10405 |author2=Munroe PB |author3=Rice KM|display-authors=3 |last4=Bochud |first4=Murielle |last5=Johnson |first5=Andrew D. |last6=Chasman|first6=Daniel I. |last7=Smith |first7=Albert V. |last8=Tobin |first8=Martin D. |last9=Verwoert|first9=Germaine C. |pmc=3340926
]==] }, {

[==[ author=Lewington S, Clarke R, Qizilbash N, Peto R, Collins R |title=Age-specific relevance of usual blood pressure to vascular mortality: a meta-analysis of individual data for one million adults in 61 prospective studies |journal=Lancet |volume=360 |issue=9349 |pages=1903–13 |date=December 2002 |pmid=12493255 |doi= 10.1016/S0140-6736(02)11911-8|url=
]==] }, {

[==[ author = Steiner DF, Oyer PE | title = The biosynthesis of insulin and a probable precursor of insulin by a human islet cell adenoma | journal = Proc. Natl. Acad. Sci. U.S.A. | volume = 57 | issue = 2 | pages = 473–480 | date = February 1967 | pmid = 16591494 | pmc = 335530 | doi = 10.1073/pnas.57.2.473| url = 
]==] }, {

[==[ author = Menting JG, Whittaker J, Margetts MB, Whittaker LJ, Kong GK-W, Smith BJ, Watson CJ, Žáková L, Kletvíková E, JJ, Chan SJ, Steiner DF, Dodson GG, Brzozowski AM, Weiss MA, Ward CW, Lawrence MC | title = How insulin engages its primary binding site on the insulin receptor | journal = Nature | year = 2013 | volume = 493 | issue = 7431 | pages = 241–245 | doi = 10.1038/nature11781 | lay-url = http://www.abc.net.au/news/2013-01-10/australian-researchers-crack-insulin-mechanism/4458974 | lay-source = Australian Broadcasting Commission 
]==] }, {

[==[ author=J Clemens, PG Jones, NH Gilbert|date=|year=1977 |title=Effect of seed treatments on germination in Acacia|journal=Australian Journal of Botany |volume=25 |issue=3 |pages=269–267 |pmid=|doi=10.1071/BT9770269|url=http://www.publish.csiro.au/nid/65/paper/BT9770269.htm
]==] }, {

[==[ title=Martinez Beavers |author=Aleta George |url=http://baynature.org/articles/jan-mar-2008/ear-to-the-ground/martinez-beavers |year=2008 |magazine=Bay Nature |publisher=Bay Nature Institute |access-date=November 6, 2009 
]==] }, {

[==[ author = Weissman KJ, Müller R |title = Protein-protein interactions in multienzyme megasynthetases |journal = ChemBioChem |volume = 9 |issue = 6 |pages = 826–48 |year = 2008 |pmid = 18357594 |doi = 10.1002/cbic.200700751 
]==] }, {

[==[ last1 = Coyne | first1 = Jerry A. | author2 = Barton, Turelli | title = Perspective: A Critique of Sewall Wright's Shifting Balance Theory of Evolution | journal = Evolution | year = 1997 | volume = 51 | issue = 3 | series = 3 | pages = 643–671 | doi = 10.2307/2411143 
]==] }, {

[==[ doi = 10.1086/377226 |title = First-Year Wilkinson Microwave Anisotropy Probe (WMAP) Observations: Determination of Cosmological Parameters |first = D. N. |last = Spergel |journal = The Astrophysical Journal Supplement Series |volume = 148 |year = 2003 |issue = 1 |pages = 175–94 |last2 = Verde |first2 = L. |last3 = Peiris |first3 = H. V. |last4 = Komatsu |first4 = E. |last5 = Nolta |first5 = M. R. |last6 = Bennett |first6 = C. L. |last7 = Halpern |first7 = M. |last8 = Hinshaw |first8 = G. |last9 = Jarosik |first9 = N. |bibcode = 2003ApJS..148..175S |arxiv = astro-ph/0302209 
| no-tracking = true
]==] }
}, {nowiki=false, templatestyles=true})
end

function p:test_lang()
    self:preprocess_equals_preprocess_many('{{cite news|', '}}', '{{cite news/new|', '}}', {
	{
[==[title=Ученый: тунгусская катастрофа связана с водородным взрывом ядра кометы (Scientist: The Tunguska Catastrophe connected to the hydrogen explosion of a comet nucleus)|url=http://ria.ru/science/20090330/166427555.html|access-date=14 October 2010|newspaper=[[RIA Novosti]]|date=30 March 2009|language=ru
]==] }, {

[==[title=Ученый: тунгусская катастрофа связана с водородным взрывом ядра кометы (Scientist: The Tunguska Catastrophe connected to the hydrogen explosion of a comet nucleus)|url=http://ria.ru/science/20090330/166427555.html|access-date=14 October 2010|newspaper=[[RIA Novosti]]|date=30 March 2009|language=รัสเซีย
]==] }, {

[==[title=Ученый: тунгусская катастрофа связана с водородным взрывом ядра кометы (Scientist: The Tunguska Catastrophe connected to the hydrogen explosion of a comet nucleus)|url=http://ria.ru/science/20090330/166427555.html|access-date=14 October 2010|newspaper=[[RIA Novosti]]|date=30 March 2009|language=ภาษารัสเซีย
]==] }, {

[==[  last=Stella | date=14 March 2013 | first=Gian Antonio | title=Tango e battesimo, fidanzata e vangelo l'alfabeto misto di Papa Francesco | newspaper=Corriere della Sera | quote=Mio padre era di Portacomaro (Asti, ndr) e mia madre di Buenos Aires, con sangue piemontese e genovese | url=http://www.corriere.it/esteri/speciali/2013/conclave/notizie/14-mar-papa-tango-fidanzata_1069e952-8c70-11e2-ab2c-711cc67f5f67.shtml | language=it | access-date=14 March 2013 
]==] }, {

[==[  last=Stella | date=14 March 2013 | first=Gian Antonio | title=Tango e battesimo, fidanzata e vangelo l'alfabeto misto di Papa Francesco | newspaper=Corriere della Sera | quote=Mio padre era di Portacomaro (Asti, ndr) e mia madre di Buenos Aires, con sangue piemontese e genovese | url=http://www.corriere.it/esteri/speciali/2013/conclave/notizie/14-mar-papa-tango-fidanzata_1069e952-8c70-11e2-ab2c-711cc67f5f67.shtml | language=อิตาลี | access-date=14 March 2013 
]==] }, {

[==[  last=Stella | date=14 March 2013 | first=Gian Antonio | title=Tango e battesimo, fidanzata e vangelo l'alfabeto misto di Papa Francesco | newspaper=Corriere della Sera | quote=Mio padre era di Portacomaro (Asti, ndr) e mia madre di Buenos Aires, con sangue piemontese e genovese | url=http://www.corriere.it/esteri/speciali/2013/conclave/notizie/14-mar-papa-tango-fidanzata_1069e952-8c70-11e2-ab2c-711cc67f5f67.shtml | language=ภาษาอิตาลี | access-date=14 March 2013 
]==] }
    }, {nowiki=false, templatestyles=true})
end

return p