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

From blackwiki
Jump to navigation Jump to search
imported>PC-XT
(→‎Title font-style: new section)
imported>Yodin
(testing Published; clearing ISBN)
Line 1: Line 1:
 
{{Template test cases notice}}
 
{{Template test cases notice}}
 
{{See|Template:Testcase table}}
 
{{See|Template:Testcase table}}
 +
 +
==Published==
 +
===publisher & pub_date===
 +
{{Template:Testcase table|name=Test|publisher=Eg Pub Co.|pub_date=12 August 1915}}
 +
 +
===published===
 +
{{Template:Testcase table|name=Test|published=12 August 1915 (Eg Pub Co.) first edition}}
 +
{{Template:Testcase table|name=Test|published=1915 (Eg Pub Co.) first edition}}
 +
 +
===publisher1===
 +
{{Template:Testcase table|name=Test|publisher1=Eg Pub Co.|publication-date1=12 August 1915|edition1=first edition}}
 +
 +
===publisher2===
 +
{{Template:Testcase table|name=Test|publisher1=Eg Pub Co.|publication-date1=12 August 1915|edition1=first edition|publisher2=Test Pub Ltd.|publication-date2=February 1916|edition2=first hardback edition}}
 +
 +
===publisher3===
 +
{{Template:Testcase table|name=Test|publisher1=Eg Pub Co.|publication-date1=12 August 1915|edition1=first edition|publisher2=Test Pub Ltd.|publication-date2=February 1916|edition2=first hardback edition|publisher3=Pub 3 GMBH.|publication-date3=1950|publication-lang3=German}}
 +
 +
===publisher4===
 +
{{Template:Testcase table|name=Test|publisher1=Eg Pub Co.|publication-date1=12 August 1915|edition1=first edition|publisher2=Test Pub Ltd.|publication-date2=February 1916|edition2=first hardback edition|publisher3=Pub 3 GMBH.|publication-date3=1950|publication-lang3=German|publisher4=Publisher 4|publication-date4=1960|edition4=major reprint}}
 +
 +
===publisher5===
 +
{{Template:Testcase table|name=Test|publisher1=Eg Pub Co.|publication-date1=12 August 1915|edition1=first edition|publisher2=Test Pub Ltd.|publication-date2=February 1916|edition2=first hardback edition|publisher3=Pub 3 GMBH.|publication-date3=1950|publication-lang3=German|publisher4=Publisher 4|publication-date4=1960|edition4=major reprint|publisher5=Éditeur 5|publication-date5=1970|edition5=first French translation|publication-lang5=French}}
 +
 +
===publisher6===
 +
{{Template:Testcase table|name=Test|publisher1=Eg Pub Co.|publication-date1=12 August 1915|edition1=first edition|publisher2=Test Pub Ltd.|publication-date2=February 1916|edition2=first hardback edition|publisher3=Pub 3 GMBH.|publication-date3=1950|publication-lang3=German|publisher4=Publisher 4|publication-date4=1960|edition4=major reprint|publisher5=Éditeur 5|publication-date5=1970|edition5=first French translation|publication-lang5=French|publisher6=Publisher 6|publication-date6=August 2015|edition6=centenary edition}}
 +
 
==Translator(s)==
 
==Translator(s)==
 
{{Template:Testcase table}}
 
{{Template:Testcase table}}
Line 18: Line 45:
 
# <code><nowiki>{{Template:Testcase table|illustrator=Fred Bloggs}}</nowiki></code>
 
# <code><nowiki>{{Template:Testcase table|illustrator=Fred Bloggs}}</nowiki></code>
 
# <code><nowiki>{{Template:Testcase table|illustrators=Fred Bloggs and Joe Bloggs}}</nowiki></code>
 
# <code><nowiki>{{Template:Testcase table|illustrators=Fred Bloggs and Joe Bloggs}}</nowiki></code>
 
 
==ISBN==
 
 
=== No input ===
 
{{Template:Testcase table}}
 
{{Template:Testcase table|isbn=}}
 
# <code><nowiki>{{Template:Testcase table}}</nowiki></code>
 
# <code><nowiki>{{Template:Testcase table|isbn=}}</nowiki></code>
 
{{-}}
 
 
=== Number only ===
 
{{Template:Testcase table|isbn=1234567890}}
 
{{Template:Testcase table|isbn=1-2345-6789-0}}
 
{{-}}
 
 
=== Number ending in X ===
 
{{Template:Testcase table|isbn=123456789X}}
 
{{Template:Testcase table|isbn=1-2345-6789-X}}
 
{{-}}
 
 
=== Number with ISBN ===
 
{{Template:Testcase table|isbn=ISBN 1234567890}}
 
{{Template:Testcase table|isbn=ISBN 1-2345-6789-0}}
 
{{Template:Testcase table|isbn=ISBN 123456789X}}
 
{{Template:Testcase table|isbn=ISBN 1-2345-6789-X}}
 
Redundant text label. Prefer number only (see above).
 
{{-}}
 
 
=== Number with additional label using {{tl|ISBNT}} ===
 
{{Template:Testcase table|isbn={{ISBNT|1234567890}} Vol.1}}
 
{{Template:Testcase table|isbn={{ISBNT|1-2345-6789-0}} Vol.1}}
 
{{Template:Testcase table|isbn={{ISBNT|123456789X}} Vol.1}}
 
{{Template:Testcase table|isbn={{ISBNT|1-2345-6789-X}} Vol.1}}
 
{{Template:Testcase table|isbn={{ISBNT|1-2345-6789-X}}<br />Vol.1}}
 
{{-}}
 
 
=== Number with additional label ===
 
{{Template:Testcase table|isbn=1234567890 Vol.1}}
 
{{Template:Testcase table|isbn=1-2345-6789-0 Vol.1}}
 
{{Template:Testcase table|isbn=123456789X Vol.1}}
 
{{Template:Testcase table|isbn=1-2345-6789-X Vol.1}}
 
{{-}}
 
 
=== Number with ISBN and additional label ===
 
{{Template:Testcase table|isbn=ISBN 1234567890 Vol.1}}
 
{{Template:Testcase table|isbn=ISBN 1-2345-6789-0 Vol.1}}
 
{{Template:Testcase table|isbn=ISBN 123456789X Vol.1}}
 
{{Template:Testcase table|isbn=ISBN 1-2345-6789-X Vol.1}}
 
{{-}}
 
 
=== Multiple numbers using {{tl|ISBNT}} ===
 
{{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}}
 
{{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}}
 
{{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}{{ISBNT|5-6666-7777-8}}}}
 
{{Template:Testcase table|isbn={{ISBNT|1-2222-3333-4}}<br />{{ISBNT|5-6666-7777-8}}}}
 
{{-}}
 
 
=== Multiple numbers only ===
 
{{Template:Testcase table|isbn=1-2222-3333-4 5-6666-7777-8}}
 
{{Template:Testcase table|isbn=1-2222-3333-4,5-6666-7777-8}}
 
{{Template:Testcase table|isbn=1-2222-3333-4;5-6666-7777-8}}
 
{{Template:Testcase table|isbn=1-2222-3333-4 <br /> 5-6666-7777-8}}
 
{{-}}
 
 
=== Multiple numbers with ISBNs ===
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 ISBN 5-6666-7777-8}}
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4,ISBN 5-6666-7777-8}}
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4;ISBN 5-6666-7777-8}}
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 <br />ISBN 5-6666-7777-8}}
 
{{-}}
 
 
=== Multiple numbers with additional labels using {{tl|ISBNT}} ===
 
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1 {{ISBNT|5-6666-7777-8}} Vol.2}}
 
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1,{{ISBNT|5-6666-7777-8}} Vol.2}}
 
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1;{{ISBNT|5-6666-7777-8}} Vol.2}}
 
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}} Vol.1<br />{{ISBNT|5-6666-7777-8}} Vol.2}}
 
{{Template:Testcase table|isbn=1-{{ISBNT|2222-3333-4}}<br />Vol.1<br />{{ISBNT|5-6666-7777-8}}<br />Vol.2}}
 
{{-}}
 
 
=== Multiple numbers with additional labels ===
 
{{Template:Testcase table|isbn=1-2222-3333-4 Vol.1 5-6666-7777-8 Vol.2}}
 
{{Template:Testcase table|isbn=1-2222-3333-4 Vol.1,5-6666-7777-8 Vol.2}}
 
{{Template:Testcase table|isbn=1-2222-3333-4 Vol.1;5-6666-7777-8 Vol.2}}
 
{{Template:Testcase table|isbn=1-2222-3333-4 Vol.1<br />5-6666-7777-8 Vol.2}}
 
{{-}}
 
 
=== Multiple numbers with ISBNs and additional labels ===
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1 ISBN 5-6666-7777-8 Vol.2}}
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1,ISBN 5-6666-7777-8 Vol.2}}
 
{{Template:Testcase table|isbn=ISBN 1-2222-3333-4 Vol.1;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}}
 
{{-}}
 
 
===Author (and Published)===
 
{{Testcase table
 
| name          = Betelguese, a trip through hell
 
| image        = [[File:Betelguese, a trip through hell pg 1.jpg|frameless]]
 
| caption = Cover of the 1908 publication.
 
| author        = [[Jean Louis De Esque]]
 
| illustrator  = Nicholas Briganti
 
| country      = [[United States]]
 
| language      = English
 
| genre        = [[Poetry]]
 
| published    = 1 July 1908 (Connoisseur's Press)
 
| 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
 
}}
 
{{-}}
 
 
===Authors (and Published)===
 
{{Testcase table
 
| name            = Tales of the Dead
 
| author          = [[Johann August Apel]], [[Friedrich August Schulze]], [[Johann Karl August Musäus]], [[Jean-Baptiste Benoît Eyriès]], [[Sarah Elizabeth Utterson]]
 
| authors          = [[Johann August Apel]], [[Friedrich August Schulze]], [[Johann Karl August Musäus]], [[Jean-Baptiste Benoît Eyriès]], [[Sarah Elizabeth Utterson]]
 
| image            = [[File:Tales.jpg|200px|alt=Title page]]
 
| caption    = First edition [[title page]]
 
| title_orig      = Fantasmagoriana; ou, Recueil d'histoires, d'apparitions, de spectres, revenans, fantômes, etc. Traduit de l'allemand, par un amateur
 
| translator      = [[Sarah Elizabeth Utterson]]
 
| country          = Germany; France
 
| language        = German; French
 
| genre            = [[Horror fiction]]
 
| published        = {{plainlist|
 
* 1812 (Schoell) (French)
 
* August 1813 (White, Cochrane and Co.) (English)
 
}}
 
| publisher        = White, Cochrane and Co.
 
| pub_date        = 1812
 
| english_pub_date = August 1813
 
| media_type      = Print, [[Octavo]]
 
| pages            = 248
 
| oclc            = 222188552
 
| dewey            =
 
| congress        =
 
| wikisource      = Tales of the Dead
 
}}
 
{{-}}
 
 
===Published: One===
 
{{Testcase table
 
| name        = Cloud Atlas
 
| title_orig  =
 
| translator  =
 
| caption = First edition cover
 
| author      = [[David Mitchell (author)|David Mitchell]]
 
| cover_artist = E.S. Allen
 
| country      = United Kingdom
 
| language    = English
 
| series      =
 
| genre      = [[Sci-Fi]]<br />[[Drama]]<br />[[Fantasy]]
 
| genres      = [[Sci-Fi]]<br />[[Drama]]<br />[[Fantasy]]
 
| published    = 2004 ([[Sceptre (imprint)|Sceptre]])
 
| publisher    = [[Sceptre (imprint)|Sceptre]]
 
| release_date = 2004
 
| media_type  = Print ([[Hardcover|Hardback]] & [[Paperback]])
 
| pages        = 544 (first edition, hardback)
 
| isbn        = 0-340-82277-5 (first edition, hardback)
 
| dewey= 823/.92 22
 
| congress= PR6063.I785 C58 2004b
 
| oclc= 53821716
 
| preceded_by  = [[number9dream]]
 
| followed_by  = [[Black Swan Green]]
 
}}
 
{{-}}
 
 
===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    = {{plainlist|
 
*1927 ([[Kurt Wolff (publisher)|Kurt Wolff]]) (German)
 
*1938 ([[Routledge]]) (English)
 
}}
 
| publisher    = [[Kurt Wolff (publisher)|Kurt Wolff]] (German)<br>[[Routledge]] (English)
 
| release_date  = 1927
 
| english_pub_date = 1938
 
| media_type    = Print
 
| pages        =
 
| isbn          = 978-0-8112-1569-5
 
| oclc          = 58600742
 
| preceded_by  =
 
| followed_by  =
 
}}
 
{{-}}
 
 
===Text bug===
 
{{Testcase table
 
<!-- |italic title = (see above) -->
 
| name            = When God Writes Your Love Story:<br/>The Ultimate Approach to Guy/Girl Relationships
 
| image            =
 
| image_size      =
 
| caption          = First edition cover
 
| alt              = A sepia-tone, soft-focus photograph of two human faces, one male and one female. The words "WHEN GOD WRITES YOUR LOVE STORY" are superimposed in white.
 
| author          = [[Eric Ludy|Eric]] and [[Leslie Ludy]]
 
| title_orig      =
 
| translator      =
 
| illustrator      =
 
| cover_artist    = Martin French
 
| country          = [[United States]]
 
| language        = [[English language|English]]
 
| series          =
 
| subject          = {{plainlist|
 
*[[Christian views on marriage]]
 
*[[Dating]]
 
*[[Premarital sex]]
 
*[[Sexual abstinence]]}}
 
| genre            = [[Christian devotional literature]]
 
| publisher        = Loyal Publishing
 
| publisher2      = [[Random House|Multnomah Books]]
 
| pub_date        = 1999
 
| english_pub_date =
 
| media_type      = Print
 
| pages            = 240
 
| awards          =
 
| isbn            = 1929125003
 
| oclc            =
 
| dewey            =
 
| congress        =
 
| preceded_by      =
 
| preceded_by_quotation_marks =
 
| followed_by      =
 
| followed_by_quotation_marks =
 
| wikisource      =
 
}}
 
 
===Editor (and Published)===
 
{{Testcase table
 
| name          = The Book of Other People
 
| editor        = [[Zadie Smith]]
 
| cover_artist  = [[Charles Burns (cartoonist)|Charles Burns]]
 
| country      = United Kingdom<br/>United States<br>[[Canada]]
 
| language      = English
 
| published    = 2 January 2008 ([[Penguin Books]])
 
| publisher    = [[Penguin Books]]
 
| pub_date      = 2 January 2008
 
| english_pub_date =
 
| media_type    = Print ([[Hardcover]] and [[paperback]])
 
| pages        = 287
 
| isbn          = ISBN 978-0-241-14363-6
 
| oclc          = 153554268
 
}}
 
{{-}}
 
  
 
== Title font-style ==
 
== Title font-style ==
  
 
{{Template:Testcase table|italic title=no|name=Name|title=Title|title_orig=海國圖志|title_working=Working Title}}
 
{{Template:Testcase table|italic title=no|name=Name|title=Title|title_orig=海國圖志|title_working=Working Title}}

Revision as of 17:58, 6 April 2014

Published

publisher & pub_date

Template:Testcase table

published

Template:Testcase table Template:Testcase table

publisher1

Template:Testcase table

publisher2

Template:Testcase table

publisher3

Template:Testcase table

publisher4

Template:Testcase table

publisher5

Template:Testcase table

publisher6

Template:Testcase table

Translator(s)

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

  1. {{Template:Testcase table}}
  2. {{Template:Testcase table|translator=Fred Bloggs}}
  3. {{Template:Testcase table|translators=Fred Bloggs and Joe Bloggs}}

Illustrator(s)

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

  1. {{Template:Testcase table}}
  2. {{Template:Testcase table|illustrator=Fred Bloggs}}
  3. {{Template:Testcase table|illustrators=Fred Bloggs and Joe Bloggs}}

Title font-style

Template:Testcase table