Difference between revisions of "Template:Cite DNB/testcases"
imported>PBS (added display tests and altered the other tests to use template:Test case) |
imported>PBS m |
||
| Line 54: | Line 54: | ||
{{clear}} | {{clear}} | ||
| − | {{anchor|Display}}{{collapse top|display= }} | + | {{anchor|Display}}{{collapse top|1=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 | {{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 | ||
Revision as of 13:39, 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
| wstitle=Quin, James last=Knight first=John Joseph authorlink= volume=47 accessdate=2011-03-20 pages=665–667 quote=Lorem ipsum comment='Tis a far, far better thing |
|---|
{{Cite DNB|accessdate=2011-03-20|authorlink=|comment='Tis a far, far better thing|first=John Joseph|last=Knight|pages=665–667|quote=Lorem ipsum|volume=47|wstitle=Quin, James}}
{{Cite DNB}} Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. {{Cite DNB/sandbox}} Knight, John Joseph (1896). . In Lee, Sidney (ed.). Dictionary of National Biography. 47. London: Smith, Elder & Co. pp. 665–667. |
| wstitle=Finch, Daniel last=Kebbel first=Thomas Edward volume=19 accessdate=2011-03-20 pages=208–209 quote=Lorem ipsum comment='Tis a far, far better thing |
|---|
{{Cite DNB|accessdate=2011-03-20|comment='Tis a far, far better thing|first=Thomas Edward|last=Kebbel|pages=208–209|quote=Lorem ipsum|volume=19|wstitle=Finch, Daniel}}
{{Cite DNB}} Kebbel, Thomas Edward (1889). . In Stephen, Leslie (ed.). Dictionary of National Biography. 19. London: Smith, Elder & Co. pp. 208–209. {{Cite DNB/sandbox}} Kebbel, Thomas Edward (1889). . In Stephen, Leslie (ed.). Dictionary of National Biography. 19. London: Smith, Elder & Co. pp. 208–209. |
| wstitle=Garnett, Henry last=Cooper first=Thompson volume=21 accessdate=2011-03-20 pages=2–5 |
|---|
{{Cite DNB|accessdate=2011-03-20|first=Thompson|last=Cooper|pages=2–5|volume=21|wstitle=Garnett, Henry}}
{{Cite DNB}} Cooper, Thompson (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 21. London: Smith, Elder & Co. pp. 2–5. {{Cite DNB/sandbox}} Cooper, Thompson (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 21. London: Smith, Elder & Co. pp. 2–5. |
| wstitle=Glover, Boyer last=Gordon first=Alexander volume=22 accessdate=2011-03-20 pages=208–209 quote=Lorem ipsum comment='Tis a far, far better thing |
|---|
{{Cite DNB|accessdate=2011-03-20|comment='Tis a far, far better thing|first=Alexander|last=Gordon|pages=208–209|quote=Lorem ipsum|volume=22|wstitle=Glover, Boyer}}
{{Cite DNB}} Gordon, Alexander (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 22. London: Smith, Elder & Co. pp. 208–209. {{Cite DNB/sandbox}} Gordon, Alexander (1890). . In Stephen, Leslie; Lee, Sidney (eds.). Dictionary of National Biography. 22. London: Smith, Elder & Co. pp. 208–209. |
| wstitle=Henry II last=Norgate first=Kate volume=26 pages=208–209 |
|---|
{{Cite DNB|first=Kate|last=Norgate|pages=208–209|volume=26|wstitle=Henry II}}
{{Cite DNB}} Norgate, Kate (1891). . In Lee, Sidney (ed.). Dictionary of National Biography. 26. London: Smith, Elder & Co. pp. 208–209. {{Cite DNB/sandbox}} Norgate, Kate (1891). . In Lee, Sidney (ed.). Dictionary of National Biography. 26. London: Smith, Elder & Co. pp. 208–209. |
| wstitle=Howard, Anne last= first= volume=28 pages=208–209 |
|---|
{{Cite DNB|first=|last=|pages=208–209|volume=28|wstitle=Howard, Anne}}
{{Cite DNB}} Lee, Sidney, ed. (1891). . Dictionary of National Biography. 28. London: Smith, Elder & Co. pp. 208–209. {{Cite DNB/sandbox}} Lee, Sidney, ed. (1891). . Dictionary of National Biography. 28. London: Smith, Elder & Co. pp. 208–209. |
supplement=1
| ||||||
|---|---|---|---|---|---|---|
|
2ndsupp=2
| ||||||
|---|---|---|---|---|---|---|
|
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-00000025-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-00000027-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-00000029-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-0000002B-QINU`"'
display=
| ||||||
|---|---|---|---|---|---|---|
{{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
|