跳至內容

模板: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=[[维基文库]]}}