Template:Cite wikisource/testcases
Jump to navigation
Jump to search
![]() | This is the template test cases page for the sandbox of Template:Cite wikisource. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
bloggs, fred. Wikisource.
(in Nāhuatl). Oxford: OUP – via中國共產黨中央委員會 (1935). Wikisource.
(in Chinese) – viaContents
Examples
- Just a title
* {{cite wikisource | title=Mysterious book }}
- Production template: Wikisource. – via
- 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: Wikisource. . 1901 – via
- 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). – 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). ISBN 123456789X – via Wikisource. . In Doe, John (ed.). Big Book With Many Chapters and distinct chapter authors. Book Publishers. pp. 100–110.
- 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]] [[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. Wikisource. (in Spanish) – via
- sandbox template: Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
More test examples
in-source location tests
- page – used when page display is not linked:
{{cite wikisource |title=Notes by the Way with Memoirs of Joseph Knight, F.S.A. |last=Francis |first=John Collins |wslink=Notes by the Way |chapter=Joseph Knight |page=xxix |scan=Page:Notes by the Way.djvu/53 |year=1909 |publisher =[[T. Fisher Unwin]] |place=London}}
- Francis, John Collins (1909). T. Fisher Unwin. p. xxix – via Wikisource. [scan
]
. . London: - Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
]
- Francis, John Collins (1909). T. Fisher Unwin. p. xxix – via Wikisource. [scan
{{citation/new |chapter=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |via=[[Wikisource]] |title=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |mode=cs1 |page=xxix |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
- wspage – required when page display is to be linked:
{{cite wikisource |title=Notes by the Way with Memoirs of Joseph Knight, F.S.A. |last=Francis |first=John Collins |wslink=Notes by the Way |chapter=Joseph Knight |wspage=xxix |scan=Page:Notes by the Way.djvu/53 |year=1909 |publisher =[[T. Fisher Unwin]] |place=London}}
- Francis, John Collins (1909). T. Fisher Unwin. p. – via Wikisource. [scan
]
. . London: - Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
]
- Francis, John Collins (1909). T. Fisher Unwin. p. – via Wikisource. [scan
{{citation/new |chapter=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |via=[[Wikisource]] |title=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |mode=cs1 |page=[[s:Notes by the Way/Joseph Knight#xxix|xxix]] |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
- pages with wspages – both required when pages display (xxix–xxx) is different from the in-source anchor (xxix):
{{cite wikisource |title=Notes by the Way with Memoirs of Joseph Knight, F.S.A. |last=Francis |first=John Collins |wslink=Notes by the Way |chapter=Joseph Knight |pages=xxix–xxx |wspages=xxix |scan=Page:Notes by the Way.djvu/53 |year=1909 |publisher =[[T. Fisher Unwin]] |place=London}}
- Francis, John Collins (1909). T. Fisher Unwin. pp. – via Wikisource. [scan
]
. . London: - Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
]
- Francis, John Collins (1909). T. Fisher Unwin. pp. – via Wikisource. [scan
{{citation/new |chapter=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |via=[[Wikisource]] |title=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |pages=[[s:Notes by the Way/Joseph Knight#xxix|xxix–xxx]] |mode=cs1 |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
- at – used when in-source location is not a page number and display is not linked (page number used here for convenience):
{{cite wikisource |title=Notes by the Way with Memoirs of Joseph Knight, F.S.A. |last=Francis |first=John Collins |wslink=Notes by the Way |chapter=Joseph Knight |at=xxix |scan=Page:Notes by the Way.djvu/53 |year=1909 |publisher =[[T. Fisher Unwin]] |place=London}}
- Francis, John Collins (1909). T. Fisher Unwin. xxix – via Wikisource. [scan
]
. . London: - Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
]
- Francis, John Collins (1909). T. Fisher Unwin. xxix – via Wikisource. [scan
{{citation/new |chapter=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |via=[[Wikisource]] |at=xxix |title=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |mode=cs1 |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
- 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:{{cite wikisource |title=Notes by the Way with Memoirs of Joseph Knight, F.S.A. |last=Francis |first=John Collins |wslink=Notes by the Way |chapter=Joseph Knight |at=xxix–xxx |wsat=xxix |scan=Page:Notes by the Way.djvu/53 |year=1909 |publisher =[[T. Fisher Unwin]] |place=London}}
- Francis, John Collins (1909). T. Fisher Unwin. – via Wikisource. [scan
]
. . London: - Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
]
- Francis, John Collins (1909). T. Fisher Unwin. – via Wikisource. [scan
{{citation/new |chapter=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |via=[[Wikisource]] |at=[[s:Notes by the Way/Joseph Knight#xxix|xxix–xxx]] |title=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |mode=cs1 |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
anchor
{{cite wikisource |wslanguage=de |title=Hernach volgend die zehen Krayß |anchor=Seite 12: Niderlendisch vnnd Westuelisch Krayß |year=1532 }}
- Wikisource. (in German). 1532 – via
- Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
{{citation/new |via=[[Wikisource]] |language=de |title=[[s:de:Hernach volgend die zehen Krayß#Seite 12: Niderlendisch vnnd Westuelisch Krayß|Hernach volgend die zehen Krayß]] |mode=cs1 |year=1532}}
no icon
- noicon=yes
{{cite wikisource |title=Notes by the Way with Memoirs of Joseph Knight, F.S.A. |last=Francis |first=John Collins |wslink=Notes by the Way |chapter=Joseph Knight |pages=xxix–xxx |wspages=xxix |scan=Page:Notes by the Way.djvu/53 |year=1909 |publisher =[[T. Fisher Unwin]] |place=London|noicon=yes}}
- Francis, John Collins (1909). "Joseph Knight". Notes by the Way with Memoirs of Joseph Knight, F.S.A. London: T. Fisher Unwin. pp. xxix–xxx – via Wikisource. [scan]
- Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan]
{{citation/new |chapter=[[:s:Notes by the Way/Joseph Knight|Joseph Knight]] |via=[[Wikisource]] |title=[[:s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |pages=[[:s:Notes by the Way/Joseph Knight#xxix|xxix–xxx]] |mode=cs1 |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
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 }}
- Lounsbury, T. E. (1881). Popular Science Monthly. 20. D. Appleton & Company. p. . ISSN 0161-7370 – via Wikisource. Unknown parameter
|month=
ignored (help) [scan]
.
- Lounsbury, T. E. (1881). Popular Science Monthly. 20. D. Appleton & Company. p. . ISSN 0161-7370 – via Wikisource. Unknown parameter
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 }}
- Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
]
- Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. [scan
{{citation/new |via=[[Wikisource]] |title=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush|Sketch of George Jarvis Brush]] |mode=cs1 |page=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush#117|117]] |last=Lounsbury |first=T. E. |magazine=[[Popular Science Monthly]] |publisher=[[D. Appleton & Company]] |volume=20 |year=November 1881 |issn=0161-7370}}
[scan]
newspaper
{{cite wikisource |class=newspaper |last=Wells |first=H. G. |chapter=Heroic Airmen Are Key To Victory |plaintitle=Daily Mail |date=9 August 1918}}
- Wells, H. G. (9 August 1918). Wikisource. . Daily Mail – via
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}}
- Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable.
{{citation/new |via=[[Wikisource]] |title=[[s:Heroic Airmen Are Key To Victory|Heroic Airmen Are Key To Victory]] |mode=cs1 |last=Wells |date=9 August 1918 |first=H. G. |newspaper=Daily Mail}}