模板:Cite wikisource/testcases

Examples

编辑
Just a title
* {{cite wikisource | title=Mysterious book }}
Year and title
* {{cite wikisource | title=Mysterious book | year=1901 }}
Basic usage
* {{cite wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
Citing a chapter in a book with different authors for different chapters and an editor
* {{cite wikisource |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |plaintitle=Big Compilation Book With Many Chapters and distinct chapter authors |publisher=Book Publishers |date=2001-01-01 |pages=100–110 |chapter=Chapter 2: The History Of The Bloggs Family |isbn=123456789X}}
with |noicon=yes; cs1|2 doesn't like multiple wikilinks in parameter values:
[[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource link to]] [[wikisource:Big Book With Many Chapters and distinct chapter authors/Chapter 2: The History Of The Bloggs Family|Chapter 2: The History Of The Bloggs Family]]
positional parameters
{{cite wikisource|Sentido y sensibilidad|Jane Austen|es}}

More test examples

编辑
左右对比
{{Cite wikisource}}{{Cite wikisource/sandbox}}
Snorri Sturluson. 链接至维基文库 Heimskringla. 维基文库. c. 1230.  Snorri Sturluson, Heimskringla, c. 1230 –通过维基文库 
左右对比
{{Cite wikisource}}{{Cite wikisource/sandbox}}
Snorri Sturluson. Trans. Rasmus Björn Anderson. 链接至维基文库 Prose Edda. 维基文库. c. 1220.  Snorri Sturluson, Prose Edda, Trans. Rasmus Björn Anderson, c. 1220 –通过维基文库 
左右对比
{{Cite wikisource}}{{Cite wikisource/sandbox}}
Unknown. 链接至维基文库 Poetic Edda. 维基文库.  Unknown, Poetic Edda –通过维基文库 
左右对比
{{Cite wikisource}}{{Cite wikisource/sandbox}}
Darwin, Charles. 链接至维基文库 The Origin of Species. 维基文库. 1859: p. 488.  Darwin, Charles, The Origin of Species: 488, 1859 –通过维基文库  外部链接存在于|title= (帮助)
左右对比
{{Cite wikisource}}{{Cite wikisource/sandbox}}
Andrewes, Lancelot. 链接至维基文库 Gunpowder Plot Sermon. 维基文库. 1606.  Andrewes, Lancelot, Gunpowder Plot Sermon, 1606 –通过维基文库 
左右对比
{{Cite wikisource}}{{Cite wikisource/sandbox}}
Plato. Jowett, Benjamin (translator). 链接至维基文库 Charmides. 维基文库.  Plato, Charmides, Jowett, Benjamin (translator) –通过维基文库 

in-source location tests

编辑
  • at with wsat – both required when at display (xxix–xxx) is different from the in-source anchor (xxix) (pagination used here for convenience) – |wsat= not supported by the current live template:

anchor

编辑
  • {{cite wikisource |wslanguage=de |title=Hernach volgend die zehen Krayß |anchor=Seite 12: Niderlendisch vnnd Westuelisch Krayß |year=1532 }}
  • {{citation|language=de|title=[[s:de:Hernach volgend die zehen Krayß#Seite 12: Niderlendisch vnnd Westuelisch Krayß|Hernach volgend die zehen Krayß]]|via=[[维基文库]]|year=1532}}

no icon

编辑

magazine

编辑
  • *{{cite wikisource | class = magazine | first = T. E. | last = Lounsbury | chapter = Sketch of George Jarvis Brush | wslink = Popular Science Monthly/Volume 20/November 1881 | plaintitle = [[Popular Science Monthly]] | volume = 20 | month = November | year = 1881 | page = 117 | wspage = 117 | publisher = [[D. Appleton & Company]] | issn = 0161-7370 | scan = Page:Popular Science Monthly Volume 20.djvu/127 }}

sandbox uses |title= instead of |chapter=; |magazine= instead of |plaintitle=:

  • *{{cite wikisource/sandbox | first = T. E. | last = Lounsbury | title = Sketch of George Jarvis Brush | wslink = Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush | magazine = [[Popular Science Monthly]] | volume = 20 | year = November 1881 | wspage = 117 | publisher = [[D. Appleton & Company]] | issn = 0161-7370 | scan = Page:Popular Science Monthly Volume 20.djvu/127 }}
  • {{citation|first=T. E.|issn=0161-7370|last=Lounsbury|magazine=[[Popular Science Monthly]]|page=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush#117|117]]|publisher=[[D. Appleton & Company]]|title=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush|Sketch of George Jarvis Brush]]|via=[[维基文库]]|volume=20|year=November 1881}} [扫描件 维基文库链接]

newspaper

编辑
  • {{cite wikisource |class=newspaper |last=Wells |first=H. G. |chapter=Heroic Airmen Are Key To Victory |plaintitle=Daily Mail |date=9 August 1918}}

sandbox uses |title= instead of |chapter=; |newspaper= instead of |plaintitle=:

  • {{cite wikisource/sandbox |last=Wells |first=H. G. |title=Heroic Airmen Are Key To Victory |newspaper=Daily Mail |date=9 August 1918}}
  • {{citation|date=9 August 1918|first=H. G.|last=Wells|newspaper=Daily Mail|title=[[s:Heroic Airmen Are Key To Victory|Heroic Airmen Are Key To Victory]]|via=[[维基文库]]}}