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

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
imported>Trappist the monk
Line 142: Line 142:
 
:*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}}
 
:*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}}
 
:*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}}
 +
:with {{para|noicon|yes}}; cs1|2 doesn't like multiple wikilinks in parameter values:
 +
::<code><nowiki>[[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource link to]]&amp;nbsp;[[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]]</nowiki></code>
 
:*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|noicon=yes}}
 
:*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|noicon=yes}}
 
;positional parameters:
 
;positional parameters:

Revision as of 11:29, 4 November 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.
with |noicon=yes; cs1|2 doesn't like multiple wikilinks in parameter values:
[[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource link to]]&nbsp;[[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]]
  • Sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
positional parameters
{{cite wikisource|Sentido y sensibilidad|Jane Austen|es}}
  • production template: Jane Austen. Sentido y sensibilidad  (in Spanish) – via Wikisource.
  • sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.

More test examples

Template:Testcase table

Template:Testcase table

Template:Testcase table

Template:Testcase table

Template:Testcase table

Template:Testcase table