Difference between revisions of "Template:Infobox book/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Yodin
(orig_lang_code)
imported>Yodin
(Author/Authors, Published (One/Two), Editor)
Line 77: Line 77:
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1 <br />ISBN 5-6666-7777-8 Vol.2}}
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1 <br />ISBN 5-6666-7777-8 Vol.2}}
 
{{-}}
 
{{-}}
==English Wikisource only==
+
==Author==
 
{{Testcase table
 
{{Testcase table
 
| name          = Betelguese, a trip through hell
 
| name          = Betelguese, a trip through hell
Line 98: Line 98:
 
{{-}}
 
{{-}}
  
==English external link only==
+
==Authors==
 
{{Testcase table
 
{{Testcase table
| name         = Betelguese, a trip through hell
+
| name             = Tales of the Dead
| author        = [[Jean Louis De Esque]]
+
| authors          = [[Johann August Apel]], [[Friedrich August Schulze]], [[Johann Karl August Musäus]], [[Jean-Baptiste Benoît Eyriès]], [[Sarah Elizabeth Utterson]]
| illustrator  = Nicholas Briganti
+
| image            = [[File:Tales.jpg|200px|alt=Title page]]
| country      = [[United States]]
+
| caption   = First edition [[title page]]
| language      = English
+
| title_orig      = Fantasmagoriana; ou, Recueil d'histoires, d'apparitions, de spectres, revenans, fantômes, etc. Traduit de l'allemand, par un amateur
| genre        = [[Poetry]]
+
| translator      = [[Sarah Elizabeth Utterson]]
| publisher    = Connoisseur's Press
+
| country         = Germany; France
| media_type    = Print ([[hardcover]])
+
| language         = German; French
| pages        = 104 pp (first edition)
+
| genre           = [[Horror fiction]]
| release_date  = 1 July, 1908
+
| publisher       = White, Cochrane and Co.
| isbn          = N/A
+
| pub_date         = 1812
| oclc          = 16642101
+
| english_pub_date = August 1813
| followed_by  =
+
| media_type       = Print, [[Octavo]]
| external_url  = http://example.com/foo
+
| pages           = 248
| external_host = Foo Books
+
| oclc            = 222188552
}}
+
| dewey            =  
{{-}}
+
| congress        =  
 
+
| wikisource      = Tales of the Dead
 
 
==English Wikisource and external link==
 
{{Testcase table
 
| name          = Betelguese, a trip through hell
 
| author        = [[Jean Louis De Esque]]
 
| illustrator  = Nicholas Briganti
 
| country      = [[United States]]
 
| language      = English
 
| genre        = [[Poetry]]
 
| publisher    = Connoisseur's Press
 
| media_type   = Print ([[hardcover]])
 
| pages        = 104 pp (first edition)
 
| release_date  = 1 July, 1908
 
| isbn          = N/A
 
| oclc          = 16642101
 
| followed_by  =
 
| wikisource    = Betelguese, a trip through hell
 
| external_url  = http://example.com/foo
 
| external_host = Foo Books
 
}}
 
{{-}}
 
 
 
==Wikisource missing name==
 
{{Testcase table
 
| author        = [[Jean Louis De Esque]]
 
| illustrator  = Nicholas Briganti
 
| country       = [[United States]]
 
| language     = English
 
| genre         = [[Poetry]]
 
| publisher     = Connoisseur's Press
 
| media_type    = Print ([[hardcover]])
 
| pages        = 104 pp (first edition)
 
| release_date  = 1 July, 1908
 
| isbn          = N/A
 
| oclc          = 16642101
 
| followed_by  =
 
| wikisource    = Betelguese, a trip through hell
 
}}
 
{{-}}
 
 
 
==Online url, but no source or name==
 
{{Testcase table
 
| author        = [[Jean Louis De Esque]]
 
| illustrator  = Nicholas Briganti
 
| country      = [[United States]]
 
| language      = English
 
| genre         = [[Poetry]]
 
| publisher    = Connoisseur's Press
 
| media_type   = Print ([[hardcover]])
 
| pages         = 104 pp (first edition)
 
| release_date  = 1 July, 1908
 
| isbn          = N/A
 
| oclc          = 16642101
 
| followed_by  =
 
| external_url  = http://example.com/foo
 
 
}}
 
}}
 
{{-}}
 
{{-}}
  
==Native Wikisource link only==
+
==Published: One==
 
{{Testcase table
 
{{Testcase table
| name         = Contemplation
+
| name         = Cloud Atlas
| title_orig   = Betrachtung
+
| title_orig  =
| image        = [[File:Kafka Betrachtung 1912.jpg|175px]]
+
| translator  =
| caption = ''Betrachtung'', first edition, 1912
 
| author        = [[Franz Kafka]]
 
| illustrator   =
 
| cover_artist  =  
 
| translator   =
 
| language      = [[German language|German]]
 
| series        =
 
| genre        = Short stories
 
| publisher    = ''[[Rowohlt Verlag]]''
 
| pub_date      = 1912
 
| english_pub_date = {{start date|1958}} New York, [[Schocken Books]]
 
| media_type    = Print ([[Hardcover|Hardback]])
 
| pages        =
 
| isbn          = N/A
 
| oclc          =
 
| native_wikisource = Betrachtung (Sammelband)
 
| orig_lang_code   = de
 
}}
 
{{-}}
 
 
 
==Native Wikisource and English Wikisource==
 
{{Testcase table
 
| name          = Metamorphosis
 
| title_orig    = Die Verwandlung
 
| translator    =
 
| image        = [[File:Metamorphosis.jpg|150px]]
 
 
| caption = First edition cover
 
| caption = First edition cover
| author       = [[Franz Kafka]]
+
| author       = [[David Mitchell (author)|David Mitchell]]
| cover_artist =
+
| cover_artist = E.S. Allen
| country       = [[Austria–Hungary]]
+
| country     = United Kingdom
| language     = German
+
| language     = English
| series       =
+
| series       =
| genre         = [[novella]], [[absurdist fiction]]
+
| genre       = [[Sci-Fi]]<br />[[Drama]]<br />[[Fantasy]]
| publisher    = [[Kurt Wolff (publisher)|Kurt Wolff]] Verlag, [[Leipzig]]
+
| published    = 2004 ([[Sceptre (imprint)|Sceptre]])
| release_date  = [[1915 in literature|1915]]
+
| media_type  = Print ([[Hardcover|Hardback]] & [[Paperback]])
| pages        = 42 |
+
| pages       = 544 (first edition, hardback)
| isbn          =
+
| isbn         = 0-340-82277-5 (first edition, hardback)
| native_wikisource = Die Verwandlung (Franz Kafka)
+
| dewey= 823/.92 22
| orig_lang_code  = de
+
| congress= PR6063.I785 C58 2004b
| wikisource    = The Metamorphosis
+
| oclc= 53821716
 +
| preceded_by  = [[number9dream]]
 +
| followed_by  = [[Black Swan Green]]
 
}}
 
}}
 
{{-}}
 
{{-}}
  
==Native external link only==
+
==Published: Two==
 
{{Testcase table
 
{{Testcase table
 
| name          = Amerika
 
| name          = Amerika
| title_working = Der Verschollene
+
| title_orig    = Der Verschollene
 
| translator    = Willa and Edwin Muir
 
| translator    = Willa and Edwin Muir
| image        =
 
 
| caption = 1st published edition
 
| caption = 1st published edition
 
| author        = [[Franz Kafka]]
 
| author        = [[Franz Kafka]]
Line 238: Line 158:
 
| series        =
 
| series        =
 
| genre        = [[Novel]]
 
| genre        = [[Novel]]
| publisher     = [[Kurt Wolff (publisher)|Kurt Wolff]] (German)<br>[[Routledge]] (English)
+
| published     = {{plainlist|
| release_date  = 1927
+
*1927 ([[Kurt Wolff (publisher)|Kurt Wolff]]) (German)
| english_pub_date = 1938
+
*1938 ([[Routledge]]) (English)
 
| media_type    = Print
 
| media_type    = Print
 
| pages        =
 
| pages        =
Line 247: Line 167:
 
| preceded_by  =
 
| preceded_by  =
 
| followed_by  =
 
| followed_by  =
| native_external_url = http://www.kafka.uni-bonn.de/cgi-bin/kafka?Rubrik=werke&Punkt=romane&Unterpunkt=verschollene
 
| native_external_host = [[University of Bonn]]
 
| orig_lang_code = de
 
 
}}
 
}}
 
{{-}}
 
{{-}}
  
==Duino Elegies==
+
==Editor==
 
{{Testcase table
 
{{Testcase table
| name             = Duino Elegies
+
| name         = The Book of Other People
| image            = Pasternak-rilke.jpeg
+
| editor        = [[Zadie Smith]]
| image_size      =
+
| cover_artist  = [[Charles Burns (cartoonist)|Charles Burns]]<ref name="wash-post">{{Cite news|url=http://www.washingtonpost.com/wp-dyn/content/article/2008/01/24/AR2008012402494.html |title= New in Paperback |accessdate=2008-04-16 |author=Nora Krug |date=27 January 2008 |work= |publisher=[[The Washington Post]]}}</ref>
| border          =
+
| country      = United Kingdom<br/>United States<br>[[Canada]]
| caption          = Author Rainer Maria Rilke in a sketch by [[Leonid Pasternak]]
+
| language      = English
| alt              =
+
| publisher    = [[Penguin Books]]
| author          = [[Rainer Maria Rilke]]
+
| pub_date      = 2 January 2008
| title_orig      = {{lang|De|Duineser Elegien}}
+
| english_pub_date =
| language        = German
+
| media_type    = Print ([[Hardcover]] and [[paperback]])
| genre            = [[poem]]s
+
| pages         = 287
| publisher        = [[Die Insel|Insel-Verlag]]
+
| isbn          = ISBN 978-0-241-14363-6
| pub_date         = {{Start date|1923}}
+
| oclc          = 153554268
| native_wikisource = Duineser Elegien
 
| orig_lang_code  = de
 
 
}}
 
}}
 
{{-}}
 
{{-}}

Revision as of 17:12, 11 August 2013

See Template:Testcase table

No input

Template:Testcase table Template:Testcase table

  1. {{Template:Testcase table}}
  2. {{Template:Testcase table|isbn=}}

Number only

Template:Testcase table Template:Testcase table

Number ending in X

Template:Testcase table Template:Testcase table

Number with ISBN

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Redundant text label. Prefer number only (see above).

Number with additional label using {{ISBNT}}

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Number with additional label

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Number with ISBN and additional label

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Multiple numbers using {{ISBNT}}

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Multiple numbers only

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Multiple numbers with ISBNs

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Multiple numbers with additional labels using {{ISBNT}}

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Multiple numbers with additional labels

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Multiple numbers with ISBNs and additional labels

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Author

Template:Testcase table

Authors

Template:Testcase table

Published: One

Template:Testcase table

Published: Two

{{Testcase table | name = Amerika | title_orig = Der Verschollene | translator = Willa and Edwin Muir | caption = 1st published edition | author = Franz Kafka | illustrator = | cover_artist = | country = Germany | language = German | series = | genre = Novel

| published =

Editor

Template:Testcase table