Difference between revisions of "Template:Cite DNB/testcases"
imported>Library Guy (→Testing main template: comment 1st supplement test code and move adjacent to 2nd supplement) |
imported>PBS (test display parameter) |
||
| Line 93: | Line 93: | ||
{{{{BASEPAGENAME}}|wstitle=Bramwell, Frederick Joseph|last=Wood|first=Henry Trueman Wright Wood |authorlink= |volume=1 |accessdate=2013-11-20 |pages=213–216 |quote=Lorem ipsum |comment='Tis a far, far better thing |2ndsupp=2}} | {{{{BASEPAGENAME}}|wstitle=Bramwell, Frederick Joseph|last=Wood|first=Henry Trueman Wright Wood |authorlink= |volume=1 |accessdate=2013-11-20 |pages=213–216 |quote=Lorem ipsum |comment='Tis a far, far better thing |2ndsupp=2}} | ||
| + | |||
| + | {{anchor|Display}}{{collapse top|display= }} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=last=Tout first=Thomas Frederick wstitle=Stapleton, Miles de (d.1364) display=Stapleton, Miles de volume=54 last=Horn first=Joyce M. period=1541–1857 volume=8 page=86 pagelink=86a | ||
| + | |last=Tout |first=Thomas Frederick |wstitle=Stapleton, Miles de (d.1364) |display=Stapleton, Miles de |volume=54}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Abernethy, John (1764-1831) display=Abernethy, John (1764–1831) short=x noicon=x | ||
| + | |wstitle=Abernethy, John (1764-1831) |display=Abernethy, John (1764–1831)|short=x |noicon=x}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title= last=Gilbert first=John Thomas authorlink=John Thomas Gilbert wstitle=Boyle, Michael (1609?-1702) display=Boyle, Michael (1609?–1702) volume=6 pages=113 | ||
| + | *{{DNB Cite|last=Gilbert |first=John Thomas |authorlink=John Thomas Gilbert |wstitle=Boyle, Michael (1609?-1702)|display=Boyle, Michael (1609?–1702)|volume=6|pages=113} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=wstitle=Hill, Rowland (1744-1833) display=Hill, Rowland (1744–1833) short=x | ||
| + | |wstitle=Hill, Rowland (1744-1833) |display=Hill, Rowland (1744–1833)|short=x}} | ||
| + | {{collapse bottom}} | ||
Revision as of 13:14, 8 October 2017
| This is the template test cases page for the sandbox of Template:Cite DNB. 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: |
Testing sandbox version
{{Cite DNB/sandbox}}
Dictionary of National Biography. London: Smith, Elder & Co. 1885–1900. Missing or empty |title= (help)
Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- volume=19
Kebbel, Thomas Edward (1889). . In Stephen, Leslie (ed.). Dictionary of National Biography. 19. London: Smith, Elder & Co. pp. 208–209. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- volume=21
Cooper, Thompson (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 21. London: Smith, Elder & Co. pp. 2–5. |access-date= requires |url= (help)
- volume=22
Gordon, Alexander (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 22. London: Smith, Elder & Co. pp. 208–209. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- volume=26
Norgate, Kate (1891). . In Lee, Sidney (ed.). Dictionary of National Biography. 26. London: Smith, Elder & Co. pp. 208–209.
- volume=28
Lee, Sidney, ed. (1891). . Dictionary of National Biography. 28. London: Smith, Elder & Co. pp. 208–209.
- 1st supplement
Lee, Sidney, ed. (1901). Dictionary of National Biography (1st supplement). 3. London: Smith, Elder & Co. Missing or empty |title= (help)
Dictionary of National Biography (1st supplement). London: Smith, Elder & Co. 1901. Missing or empty |title= (help)
Knight, John Joseph (1901). . In Lee, Sidney (ed.). Dictionary of National Biography (1st supplement). 3. London: Smith, Elder & Co. pp. 208–209. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- 2nd supplement
Stephen, Leslie, ed. (1885). Dictionary of National Biography. 1. London: Smith, Elder & Co. Missing or empty |title= (help)
Dictionary of National Biography. London: Smith, Elder & Co. 1885–1900. Missing or empty |title= (help)
Wood, Henry Trueman Wright Wood (1885). . In Stephen, Leslie (ed.). Dictionary of National Biography. 1. London: Smith, Elder & Co. pp. 213–216. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
Missing parameter categorization
|2ndsupp=2 should not categorize in missing parameters category:
[[File:PD-icon.svg|12px|alt=|link=]] <cite class="citation encyclopaedia cs1">''[[Dictionary of National Biography]]''. London: Smith, Elder & Co. 1885–1900.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.place=London&rft.pub=Smith%2C+Elder+%26+Co&rft.date=1885%2F1900&rfr_id=info%3Asid%2Fblackwiki.org%3ATemplate%3ACite+DNB%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error error citation-comment">Missing or empty <code class="cs1-code">|title=</code> ([[Help:CS1 errors#citation_missing_title|help]])</span>'"`UNIQ--templatestyles-00000011-QINU`"'
|supplement=1 should not categorize in missing parameters category:
[[File:PD-icon.svg|12px|alt=|link=]] <cite class="citation encyclopaedia cs1">''[[Dictionary of National Biography]] (1st supplement)''. London: Smith, Elder & Co. 1901.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.place=London&rft.pub=Smith%2C+Elder+%26+Co&rft.date=1901&rfr_id=info%3Asid%2Fblackwiki.org%3ATemplate%3ACite+DNB%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error error citation-comment">Missing or empty <code class="cs1-code">|title=</code> ([[Help:CS1 errors#citation_missing_title|help]])</span>'"`UNIQ--templatestyles-00000013-QINU`"'
|volume= when set should not categorize in missing parameters category:
[[File:PD-icon.svg|12px|alt=|link=]] <cite id="CITEREFStephen1885" class="citation encyclopaedia cs1">[[Leslie Stephen|Stephen, Leslie]], ed. (1885). ''[[Dictionary of National Biography]]''. <b>1</b>. London: Smith, Elder & Co.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.place=London&rft.pub=Smith%2C+Elder+%26+Co&rft.date=1885&rfr_id=info%3Asid%2Fblackwiki.org%3ATemplate%3ACite+DNB%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error error citation-comment">Missing or empty <code class="cs1-code">|title=</code> ([[Help:CS1 errors#citation_missing_title|help]])</span>'"`UNIQ--templatestyles-00000015-QINU`"'
When none of |2ndsupp=2, |supplement=1, and |volume= are set then should categorize in missing parameters category:
[[File:PD-icon.svg|12px|alt=|link=]] <cite class="citation encyclopaedia cs1">''[[Dictionary of National Biography]]''. London: Smith, Elder & Co. 1885–1900.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.place=London&rft.pub=Smith%2C+Elder+%26+Co&rft.date=1885%2F1900&rfr_id=info%3Asid%2Fblackwiki.org%3ATemplate%3ACite+DNB%2Ftestcases" class="Z3988"></span> <span class="cs1-visible-error error citation-comment">Missing or empty <code class="cs1-code">|title=</code> ([[Help:CS1 errors#citation_missing_title|help]])</span>'"`UNIQ--templatestyles-00000017-QINU`"'
Testing main template
{{Cite DNB}}
Dictionary of National Biography. London: Smith, Elder & Co. 1885–1900. Missing or empty |title= (help)
Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- volume=19
Kebbel, Thomas Edward (1889). . In Stephen, Leslie (ed.). Dictionary of National Biography. 19. London: Smith, Elder & Co. pp. 208–209. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- volume=21
Cooper, Thompson (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 21. London: Smith, Elder & Co. pp. 2–5. |access-date= requires |url= (help)
- volume=22
Gordon, Alexander (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 22. London: Smith, Elder & Co. pp. 208–209. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- volume=26
Norgate, Kate (1891). . In Lee, Sidney (ed.). Dictionary of National Biography. 26. London: Smith, Elder & Co. pp. 208–209.
- volume=28
Lee, Sidney, ed. (1891). . Dictionary of National Biography. 28. London: Smith, Elder & Co. pp. 208–209.
- 1st supplement
Lee, Sidney, ed. (1901). Dictionary of National Biography (1st supplement). 3. London: Smith, Elder & Co. Missing or empty |title= (help)
Dictionary of National Biography (1st supplement). London: Smith, Elder & Co. 1901. Missing or empty |title= (help)
Knight, John Joseph (1901). . In Lee, Sidney (ed.). Dictionary of National Biography (1st supplement). 3. London: Smith, Elder & Co. pp. 208–209. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
- 2nd supplement
Stephen, Leslie, ed. (1885). Dictionary of National Biography. 1. London: Smith, Elder & Co. Missing or empty |title= (help)
Dictionary of National Biography. London: Smith, Elder & Co. 1885–1900. Missing or empty |title= (help)
Wood, Henry Trueman Wright Wood (1885). . In Stephen, Leslie (ed.). Dictionary of National Biography. 1. London: Smith, Elder & Co. pp. 213–216. Lorem ipsum
|access-date= requires |url= (help) 'Tis a far, far better thing
Extended content
| ||||||
|---|---|---|---|---|---|---|
{{Test case|_collapsible=yes|_showcode=yes|_title= last=Gilbert first=John Thomas authorlink=John Thomas Gilbert wstitle=Boyle, Michael (1609?-1702) display=Boyle, Michael (1609?–1702) volume=6 pages=113
|