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

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
imported>Trappist the monk
Line 2: Line 2:
  
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
{{test case|_collapsible=yes|_showcode=yes|_title=
|id=36578|title=Turing, Alan Mathison|year=2004|last=Hodges|first=Andrew}}
+
|id=36578|title=Turing, Alan Mathison|year=2004|last=Hodges|first=Andrew|freearticle=y}}
 
 
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
|last=Bullough |first=Donald |date = 2010|origyear=2004 |title=Alcuin (c. 740–804) |id=298}}
 
|last=Bullough |first=Donald |date = 2010|origyear=2004 |title=Alcuin (c. 740–804) |id=298}}
Line 9: Line 8:
 
|id=34512|title=Lewis, Clive Staples (1898–1963)|origyear=2004|year=2008|last=Bennett|first=Jack Arthur Walter|last2=Plaskitt|first2=Emma Lisa}}
 
|id=34512|title=Lewis, Clive Staples (1898–1963)|origyear=2004|year=2008|last=Bennett|first=Jack Arthur Walter|last2=Plaskitt|first2=Emma Lisa}}
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
{{test case|_collapsible=yes|_showcode=yes|_title=
|last1=Kishlansky |first1=Mark A.|authorlink1=Mark Kishlansky |last2=Morrill |first2=John |authorlink2=John Morrill (historian) |date=October 2008 |origyear=2004 |title=Charles I (1600–1649) |id=5143 |mode=cs2}}
+
|last1=Kishlansky |first1=Mark A.|authorlink1=Mark Kishlansky |last2=Morrill |first2=John |authorlink2=John Morrill (historian) |date=October 2008 |origyear=2004 |title=Charles I (1600–1649) |url=http://www.oxforddnb.com/view/article/5143 |id=5143 |mode=cs2|freearticle=y}}
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
|id=31939 |last=Ray |first=Sheila |title=Blyton, Enid Mary (1897–1968) |year=2004 |url=http://www.oxforddnb.com/view/article/31939 |access-date=19 June 2008 |mode=cs2}}
 
|id=31939 |last=Ray |first=Sheila |title=Blyton, Enid Mary (1897–1968) |year=2004 |url=http://www.oxforddnb.com/view/article/31939 |access-date=19 June 2008 |mode=cs2}}
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
{{test case|_collapsible=yes|_showcode=yes|_title=
 
|ref=harv| last1=Rodger |first1=Richard |title=Steel, Sir James, baronet (1829–1904) |url=https://doi.org/10.1093/ref:odnb/50211 |date=23 September 2004 |publisher=Oxford University Press}}
 
|ref=harv| last1=Rodger |first1=Richard |title=Steel, Sir James, baronet (1829–1904) |url=https://doi.org/10.1093/ref:odnb/50211 |date=23 September 2004 |publisher=Oxford University Press}}
 
+
{{test case|_collapsible=yes|_showcode=yes|_title=
 +
|title=Stuart, John Patrick Crichton-, third marquess of Bute (1847–1900)|author=K. D. Reynolds|id=26722|doi=10.1093/ref:odnb/26722|url=http://www.oxforddnb.com/view/article/26722}}
 
== Testing sandbox version ==
 
== Testing sandbox version ==
  

Revision as of 11:34, 2 June 2019

{{Cite ODNB}}
{{Cite ODNB|first=Andrew|freearticle=y|id=36578|last=Hodges|title=Turing, Alan Mathison|year=2004}}

{{Cite ODNB}}

Hodges, Andrew (2004). "Turing, Alan Mathison". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/36578.

{{Cite ODNB/sandbox}}

Hodges, Andrew (2004). "Turing, Alan Mathison". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/36578.

{{Cite ODNB}}
{{Cite ODNB|date=2010|first=Donald|id=298|last=Bullough|origyear=2004|title=Alcuin (c. 740–804)}}

{{Cite ODNB}}

Bullough, Donald (2010) [2004]. "Alcuin (c. 740–804)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/298. Template:ODNBsub

{{Cite ODNB/sandbox}}

Bullough, Donald (2010) [2004]. "Alcuin (c. 740–804)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/298. Template:ODNBsub

{{Cite ODNB}}
{{Cite ODNB|first=Jack Arthur Walter|first2=Emma Lisa|id=34512|last=Bennett|last2=Plaskitt|origyear=2004|title=Lewis, Clive Staples (1898–1963)|year=2008}}

{{Cite ODNB}}

Bennett, Jack Arthur Walter; Plaskitt, Emma Lisa (2008) [2004]. "Lewis, Clive Staples (1898–1963)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/34512. Template:ODNBsub

{{Cite ODNB/sandbox}}

Bennett, Jack Arthur Walter; Plaskitt, Emma Lisa (2008) [2004]. "Lewis, Clive Staples (1898–1963)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/34512. Template:ODNBsub

{{Cite ODNB}}
{{Cite ODNB|authorlink1=Mark Kishlansky|authorlink2=John Morrill (historian)|date=October 2008|first1=Mark A.|first2=John|freearticle=y|id=5143|last1=Kishlansky|last2=Morrill|mode=cs2|origyear=2004|title=Charles I (1600–1649)|url=http://www.oxforddnb.com/view/article/5143}}

{{Cite ODNB}}

Kishlansky, Mark A.; Morrill, John (October 2008) [2004], "Charles I (1600–1649)", Oxford Dictionary of National Biography (online ed.), Oxford University Press, doi:10.1093/ref:odnb/5143

{{Cite ODNB/sandbox}}

Kishlansky, Mark A.; Morrill, John (October 2008) [2004], "Charles I (1600–1649)", Oxford Dictionary of National Biography (online ed.), Oxford University Press, doi:10.1093/ref:odnb/5143

{{Cite ODNB}}
{{Cite ODNB|access-date=19 June 2008|first=Sheila|id=31939|last=Ray|mode=cs2|title=Blyton, Enid Mary (1897–1968)|url=http://www.oxforddnb.com/view/article/31939|year=2004}}

{{Cite ODNB}}

Ray, Sheila (2004), "Blyton, Enid Mary (1897–1968)", Oxford Dictionary of National Biography (online ed.), Oxford University Press, doi:10.1093/ref:odnb/31939, retrieved 19 June 2008 Template:ODNBsub

{{Cite ODNB/sandbox}}

Ray, Sheila (2004), "Blyton, Enid Mary (1897–1968)", Oxford Dictionary of National Biography (online ed.), Oxford University Press, doi:10.1093/ref:odnb/31939, retrieved 19 June 2008 Template:ODNBsub

{{Cite ODNB}}
{{Cite ODNB|date=23 September 2004|first1=Richard|last1=Rodger|publisher=Oxford University Press|ref=harv|title=Steel, Sir James, baronet (1829–1904)|url=https://doi.org/10.1093/ref:odnb/50211}}

{{Cite ODNB}}

Rodger, Richard (23 September 2004). "Steel, Sir James, baronet (1829–1904)". Oxford Dictionary of National Biography (online ed.). Oxford University Press.CS1 maint: ref=harv (link) Template:ODNBsub

{{Cite ODNB/sandbox}}

Rodger, Richard (23 September 2004). "Steel, Sir James, baronet (1829–1904)". Oxford Dictionary of National Biography (online ed.). Oxford University Press.CS1 maint: ref=harv (link) Template:ODNBsub

{{Cite ODNB}}
{{Cite ODNB|author=K. D. Reynolds|doi=10.1093/ref:odnb/26722|id=26722|title=Stuart, John Patrick Crichton-, third marquess of Bute (1847–1900)|url=http://www.oxforddnb.com/view/article/26722}}

{{Cite ODNB}}

K. D. Reynolds. "Stuart, John Patrick Crichton-, third marquess of Bute (1847–1900)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/26722. Template:ODNBsub

{{Cite ODNB/sandbox}}

K. D. Reynolds. "Stuart, John Patrick Crichton-, third marquess of Bute (1847–1900)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/26722. Template:ODNBsub

Testing sandbox version

{{Cite ODNB/sandbox}}

Oxford Dictionary of National Biography (online ed.). Oxford University Press. Missing or empty |title= (help) Template:ODNBsub

  • Cust, Lionel Henry; Taylor, Paul (reviewer) (September 2010) [2004]. "Ferguson, William Gouw (b. 1632/3, d. in or after 1689)'". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/9330. Template:ODNBsub

Without encyclopedia= or publisher= set:

Test the demonstration example from the documentation:

Free article:

Testing main template

{{Cite ODNB}}

Oxford Dictionary of National Biography (online ed.). Oxford University Press. Missing or empty |title= (help) Template:ODNBsub

  • Cust, Lionel Henry; Taylor, Paul (reviewer) (September 2010) [2004]. "Ferguson, William Gouw (b. 1632/3, d. in or after 1689)'". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/9330. Template:ODNBsub

Without encyclopedia= or publisher= set:


Test the demonstration example from the documentaion:

Testing against cite encyclopedia

{{cite encyclopedia}}

Empty citation (help)

  • Cust, Lionel Henry; Taylor, Paul (reviewer) (September 2010) [2004]. "Ferguson, William Gouw (b. 1632/3, d. in or after 1689)'". Oxford Dictionary of National Biography. Oxford University Press. doi:10.1093/ref:odnb/9330.

Without encyclopedia= or publisher= set: (Causes title to be displayed twice!)

  • Cust, Lionel Henry; Taylor, Paul (reviewer) (September 2010) [2004]. Ferguson, William Gouw (b. 1632/3, d. in or after 1689)’. doi:10.1093/ref:odnb/9330.