模組:Citation/CS1/testcases/urlaccess/Antigng
外观
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.wikipedia.org/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
|url-access=subscription
]==]
}, {
[==[
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.wikipedia.org/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
]==]
}, {
[=[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]=]
}, {
[=[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]=]
}
}, {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.]=]
}
}, {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
]=]
}
}, {nowiki=false, templatestyles=true})
end
return p;