Predefinição:Citar wikisource/Exemplos para testes
Esta é a página de exemplos para testes de predefinições para a página de testes de Predefinição:Citar wikisource. para atualizar os exemplos. Se houver muitos exemplos de uma predefinição complicada, os últimos poderão deixar de funcionar devido aos limites do MediaWiki, veja o comentário HTML "NewPP limit report" na página renderizada. Também pode utilizar Especial:Expandir predefinições para examinar o resultado dos usos da predefinição. Pode testar como esta página aparece em diferentes skins com estes links: |
Teste1
{{Citar wikisource|archivedate=|archiveurl=|at=|authorlink=|authormask=|authorn-link=|bibcode=|chapter=|class=|coauthors=|date=|doi=|edition=|editor=|editor-link=|editorn-first=|editorn-last=|editorn-link=|first=fred|firsticon=|firstn=|id=|isbn=|language=|last=bloggs|lastauthoramp=|lastn=|laydate=|laysummary=|location=|month=|noicon=|nopp=|oclc=|origyear=|others=|page=|pages=|plainchapter=|plaintitle=|postscript=|publisher=|quote=|ref=|scan=|separator=|series=|title=My book|trans_chapter=|trans_title=|type=|vb=|volume=|wslanguage=nah|wslink=|wspage=|year=}}
→ [[:s:pt:|]] no Wikisource.{{Citar wikisource/Testes|archivedate=|archiveurl=|at=|authorlink=|authormask=|authorn-link=|bibcode=|chapter=|class=|coauthors=|date=|doi=|edition=|editor=|editor-link=|editorn-first=|editorn-last=|editorn-link=|first=fred|firsticon=|firstn=|id=|isbn=|language=|last=bloggs|lastauthoramp=|lastn=|laydate=|laysummary=|location=|month=|noicon=|nopp=|oclc=|origyear=|others=|page=|pages=|plainchapter=|plaintitle=|postscript=|publisher=|quote=|ref=|scan=|separator=|series=|title=My book|trans_chapter=|trans_title=|type=|vb=|volume=|wslanguage=nah|wslink=|wspage=|year=}}
→ bloggs, fred. My book (em Nāhuatl). [S.l.: s.n.] – via Wikisource
Teste2
{{Citar wikisource||last=中國共產黨中央委員會|title=為抗日救國告全體同胞書|wslanguage=zh|year=1935}}
→ [[:s::|]] no Wikisource.{{Citar wikisource/Testes||last=中國共產黨中央委員會|title=為抗日救國告全體同胞書|wslanguage=zh|year=1935}}
→ 中國共產黨中央委員會 (1935). 為抗日救國告全體同胞書 (em chinês). [S.l.: s.n.] em – via Wikisource
just a title
{{Citar wikisource|title=Mysterious book}}
→ [[:s:pt:|]] no Wikisource.{{Citar wikisource/Testes|title=Mysterious book}}
→ Mysterious book. [S.l.: s.n.] em – via Wikisource
Year and title
{{Citar wikisource|title=Mysterious book|year=1901}}
→ [[:s:pt:|]] no Wikisource.{{Citar wikisource/Testes|title=Mysterious book|year=1901}}
→ Mysterious book. [S.l.: s.n.] 1901. em – via Wikisource
Teste5
{{Citar wikisource|authorlink=Joe Bloggs|first=Joe|last=Bloggs|title=Book of Bloggs|year=1974}}
→ [[:s:pt:|]] no Wikisource.{{Citar wikisource/Testes|authorlink=Joe Bloggs|first=Joe|last=Bloggs|title=Book of Bloggs|year=1974}}
→ Bloggs, Joe (1974). Book of Bloggs. [S.l.: s.n.] em – via Wikisource
Examples[editar código-fonte]
- Just a title
* {{citar wikisource | title=Mysterious book }}
- Production template: [[:s:pt:|]] no Wikisource.
- Sandbox template: Mysterious book. [S.l.: s.n.] em – via Wikisource
- Year and title
* {{citar wikisource | title=Mysterious book | year=1901 }}
- Production template: [[:s:pt:|]] no Wikisource.
- Sandbox template: Mysterious book. [S.l.: s.n.] 1901. em – via Wikisource
- Basic usage
* {{citar wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
- Production template: [[:s:pt:|]] no Wikisource.
- Sandbox template: Bloggs, Joe (1974). Book of Bloggs. [S.l.: s.n.] em – via Wikisource
- Citing a chapter in a book with different authors for different chapters and an editor
* {{citar 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: [[:s:pt:|]] no Wikisource.
- Sandbox template: Bloggs, Fred (1 de janeiro de 2001). «Chapter 2: The History Of The Bloggs Family». In: Doe, John. Big Book With Many Chapters and distinct chapter authors. [S.l.]: Book Publishers. pp. 100–110. ISBN 123456789X – via Wikisource
- 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: Bloggs, Fred (1 de janeiro de 2001). «Chapter 2: The History Of The Bloggs Family». In: Doe, John. Big Book With Many Chapters and distinct chapter authors. [S.l.]: Book Publishers. pp. 100–110. ISBN 123456789X – via Wikisource
- positional parameters
{{citar wikisource|Sentido y sensibilidad|Jane Austen|es}}
- production template: es no Wikisource em (erro: código de língua 'Sentido y sensibilidad' não reconhecido!).
- sandbox template: Sentido y sensibilidad (em espanhol). [S.l.: s.n.] em – via Wikisource Parâmetro desconhecido
|language:língua=
ignorado (ajuda); Parâmetro desconhecido|title:título=
ignorado (ajuda); Parâmetro desconhecido|author:autor=
ignorado (ajuda)
More test examples[editar código-fonte]
{{Citar wikisource}} | {{Citar wikisource/Testes}} |
---|---|
[[:s:pt:|]] no Wikisource. | Snorri Sturluson (c. 1230). Heimskringla. [S.l.: s.n.] em – via Wikisource |
{{Citar wikisource}} | {{Citar wikisource/Testes}} |
---|---|
[[:s:pt:|]] no Wikisource. | Snorri Sturluson (c. 1220). Prose Edda. Trans. Rasmus Björn Anderson. [S.l.: s.n.] em – via Wikisource |
{{Citar wikisource}} | {{Citar wikisource/Testes}} |
---|---|
[[:s:pt:|]] no Wikisource. | Unknown. Poetic Edda. [S.l.: s.n.] em – via Wikisource |
{{Citar wikisource}} | {{Citar wikisource/Testes}} |
---|---|
[[:s:pt:|]] no Wikisource. |
Darwin, Charles (1859). The Origin of Species. [S.l.: s.n.] p. 488 – via Wikisource Ligação externa em |título= (ajuda) |
{{Citar wikisource}} | {{Citar wikisource/Testes}} |
---|---|
[[:s:pt:|]] no Wikisource. | Andrewes, Lancelot (1606). Gunpowder Plot Sermon. [S.l.: s.n.] em – via Wikisource |
{{Citar wikisource}} | {{Citar wikisource/Testes}} |
---|---|
[[:s:pt:|]] no Wikisource. | Plato. Charmides. Jowett, Benjamin (translator). [S.l.: s.n.] em – via Wikisource |
in-source location tests[editar código-fonte]
- page – used when page display is not linked:
{{citar 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}}
- [[:s:pt:|]] no Wikisource.
- Francis, John Collins (1909). «Joseph Knight». Notes by the Way with Memoirs of Joseph Knight, F.S.A. London: T. Fisher Unwin. p. xxix – via Wikisource [scan ]
{{citar livro |modo=cs1 |via=[[Wikisource]] |capítulo=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |página=xxix |título=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |em=em |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan ]
- wspage – required when page display is to be linked:
{{citar 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}}
- [[:s:pt:|]] no Wikisource.
- Francis, John Collins (1909). «Joseph Knight». Notes by the Way with Memoirs of Joseph Knight, F.S.A. London: T. Fisher Unwin. p. xxix – via Wikisource [scan ]
{{citar livro |modo=cs1 |via=[[Wikisource]] |capítulo=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |página=[[s:Notes by the Way/Joseph Knight#xxix|xxix]] |título=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |em=em |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):
{{citar 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}}
- [[:s:pt:|]] no Wikisource.
- 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 ]
{{citar livro |modo=cs1 |via=[[Wikisource]] |capítulo=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |páginas=[[s:Notes by the Way/Joseph Knight#xxix|xxix–xxx]] |título=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |em=em |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):
{{citar 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}}
- [[:s:pt:|]] no Wikisource.
- Francis, John Collins (1909). «Joseph Knight». Notes by the Way with Memoirs of Joseph Knight, F.S.A. London: T. Fisher Unwin. xxix – via Wikisource [scan ]
{{citar livro |modo=cs1 |via=[[Wikisource]] |capítulo=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |título=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |em=xxix |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:{{citar 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}}
- [[:s:pt:|]] no Wikisource.
- Francis, John Collins (1909). «Joseph Knight». Notes by the Way with Memoirs of Joseph Knight, F.S.A. London: T. Fisher Unwin. xxix–xxx – via Wikisource [scan ]
{{citar livro |modo=cs1 |via=[[Wikisource]] |capítulo=[[s:Notes by the Way/Joseph Knight|Joseph Knight]] |título=[[s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |em=[[s:título:Notes by the Way/Joseph Knight#xxix|xxix–xxx]] |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan ]
anchor[editar código-fonte]
{{citar wikisource |wslanguage=de |title=Hernach volgend die zehen Krayß |anchor=Seite 12: Niderlendisch vnnd Westuelisch Krayß |year=1532 }}
- [[:s:pt:|]] no Wikisource.
- Hernach volgend die zehen Krayß (em alemão). [S.l.: s.n.] 1532. em – via Wikisource
{{citar livro |modo=cs1 |via=[[Wikisource]] |língua=de |título=[[s:de:Hernach volgend die zehen Krayß#Seite 12: Niderlendisch vnnd Westuelisch Krayß|Hernach volgend die zehen Krayß]] |em=em |year=1532}}
no icon[editar código-fonte]
- noicon=yes
{{citar 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}}
- [[:s:pt:|]] no Wikisource.
- 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]
{{citar livro |modo=cs1 |via=[[Wikisource]] |capítulo=[[:s:Notes by the Way/Joseph Knight|Joseph Knight]] |páginas=[[:s:Notes by the Way/Joseph Knight#xxix|xxix–xxx]] |título=[[:s:Notes by the Way|Notes by the Way with Memoirs of Joseph Knight, F.S.A.]] |em=em |last=Francis |place=London |first=John Collins |publisher=[[T. Fisher Unwin]] |year=1909}}
[scan]
magazine[editar código-fonte]
*{{citar 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 = Novembro | year = 1881 | page = 117 | wspage = 117 | publisher = [[D. Appleton & Company]] | issn = 0161-7370 | scan = Page:Popular Science Monthly Volume 20.djvu/127 }}
- [[:s:pt:|]] no Wikisource.
sandbox uses |title=
instead of |chapter=
; |magazine=
instead of |plaintitle=
:
*{{citar wikisource/Testes | 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 | date = Novembro 1881 | wspage = 117 | publisher = [[D. Appleton & Company]] | issn = 0161-7370 | scan = Page:Popular Science Monthly Volume 20.djvu/127 }}
- Lounsbury, T. E. (Novembro 1881). Sketch of George Jarvis Brush. Popular Science Monthly. 20. [S.l.]: D. Appleton & Company. p. 117. ISSN 0161-7370 – via Wikisource [scan ]
{{citar livro |modo=cs1 |via=[[Wikisource]] |página=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush#117|117]] |título=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush|Sketch of George Jarvis Brush]] |em=em |last=Lounsbury |date=Novembro 1881 |magazine=[[Popular Science Monthly]] |publisher=[[D. Appleton & Company]] |volume=20 |first=T. E. |issn=0161-7370}}
[scan ]
newspaper[editar código-fonte]
{{citar wikisource |class=newspaper |last=Wells |first=H. G. |chapter=Heroic Airmen Are Key To Victory |plaintitle=Daily Mail |date=9 Agosto 1918}}
- [[:s:pt:|]] no Wikisource.
sandbox uses |title=
instead of |chapter=
; |newspaper=
instead of |plaintitle=
:
{{citar wikisource/Testes |last=Wells |first=H. G. |title=Heroic Airmen Are Key To Victory |newspaper=Daily Mail |date=9 agosto 1918}}
- Wells, H. G. (9 Agosto 1918). Heroic Airmen Are Key To Victory. Daily Mail. [S.l.: s.n.] em – via Wikisource
{{citar livro |modo=cs1 |via=[[Wikisource]] |título=[[s:Heroic Airmen Are Key To Victory|Heroic Airmen Are Key To Victory]] |em=em |last=Wells |date=9 Agosto 1918 |first=H. G. |newspaper=Daily Mail}}
plainchapter[editar código-fonte]
With |chapter=
set:
- Current template: [[:s:pt:|]] no Wikisource.
- Sandbox template: Boase, George Clement (3 Maio 1879). «'The Literary Magnet'». Notes and Queries. Col: 5. 11. [S.l.: s.n.] pp. 350–351 – via Wikisource
Without |chapter=
set:
- Current template: [[:s:pt:|]] no Wikisource.
- Sandbox template: Boase, George Clement (3 Maio 1879). «'The Literary Magnet'». Notes and Queries. Col: 5. 11. [S.l.: s.n.] pp. 350–351 – via Wikisource