Difference between revisions of "Template:Cite wikisource/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Adem20
imported>Jonesey95
(add examples)
Line 124: Line 124:
 
| year  = 1935
 
| year  = 1935
 
}}
 
}}
 +
 +
==Examples==
 +
;Just a title:
 +
:<code><nowiki>* {{cite wikisource | title=Mysterious book }}</nowiki></code>
 +
:*Production template: {{cite wikisource | title = Mysterious book }}
 +
:*Sandbox template: {{cite wikisource/sandbox | title = Mysterious book }}
 +
;Year and title:
 +
:<code><nowiki>* {{cite wikisource | title=Mysterious book | year=1901 }}</nowiki></code>
 +
:*Production template: {{cite wikisource | title = Mysterious book | year = 1901 }}
 +
:*Sandbox template: {{cite wikisource/sandbox | title = Mysterious book | year = 1901 }}
 +
;Basic usage:
 +
:<code><nowiki>* {{cite wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}</nowiki></code>
 +
:*Production template: {{cite wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
 +
:*Sandbox template: {{cite wikisource/sandbox | 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
 +
:<code><nowiki>* {{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}}</nowiki></code>
 +
:*Production template: {{cite wikisource |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |plaintitle=Big 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}}
 +
:*Sandbox template: {{cite wikisource/sandbox |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |plaintitle=Big 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}}

Revision as of 18:54, 15 July 2018

Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.

bloggs, fred. My book  (in Nāhuatl). Oxford: OUP – via Wikisource.

中國共產黨中央委員會 (1935). 為抗日救國告全體同胞書  (in Chinese) – via Wikisource.

Examples

Just a title
* {{cite wikisource | title=Mysterious book }}
  • Production template: Mysterious book  – via Wikisource.
  • Sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
Year and title
* {{cite wikisource | title=Mysterious book | year=1901 }}
  • Production template: Mysterious book . 1901 – via Wikisource.
  • Sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
Basic usage
* {{cite wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
  • Production template: Bloggs, Joe (1974). Book of Bloggs  – via Wikisource.
  • Sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
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}}
  • Production template: Bloggs, Fred (2001-01-01). "Chapter 2: The History Of The Bloggs Family" . In Doe, John (ed.). Big Book With Many Chapters and distinct chapter authors. Book Publishers. pp. 100–110. ISBN 123456789X – via Wikisource.
  • Sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.