Template talk:Book

Latest comment: 1 month ago by MetricHistory in topic Display order of publication data parameters

Volume title edit

Would it make sense to have a field for the title of the volume as well as the number (the docs say volume is for the number)? Lots of multi-volume works have a title for a volume, which might be a date or date range (e.g. a journal), an alphabetic range (e.g. in a dictionary) or something else (e.g. Works of Shakespeare, Vol. 2: Macbeth). Currently, these are overloaded into the volumes field (a highly unscientific search with a regex that times out indicates thousands of such cases), which makes the data hard to parse universally. Inductiveload (talk) 06:42, 12 April 2021 (UTC)Reply

Title not appearing edit

Hi y'all,

Any idea what is wrong or missing that cause the title not to appear in the top part of the Book template on File:Missel à l'usage de Clermont FR-631136102 MS 61.pdf? @Jarekt, Billinghurst, Xover, and Marsupium: VIGNERON en résidence (talk) 15:03, 27 July 2022 (UTC)Reply

@VIGNERON en résidence: , That is very odd, as the title shows up just fine when page is displayed in English, German, Polish or Spanish, but disappears when it is displayed in French. I will investigate. --Jarekt (talk) 00:18, 28 July 2022 (UTC)Reply
I have no clue what was causing it, as I do not see anything unique in the code or the item singling out French language. However whatever it was, improving labels of the item fixed the issue somehow. --Jarekt (talk) 01:35, 28 July 2022 (UTC)Reply

"Institution" and "Department" fields seem to have their labels switched edit

This page has the "Institution" and "Department" field set; the displayed labels are "Collection" for the "Institution" field, and "Current location" for the "Department" field.
However, documentation for the "Department" field says "Department, division, collection, or other location within the institution", so I'd expect the label to be "Collection", not "Current location". Should the labels be switched between the two? Happyseeu (talk) 16:58, 20 September 2022 (UTC)Reply

Multiple lines in title cause "Bogus image options" Linter error edit

At File:WUL-bunko19 f0400 z0203 姑娘二十四彪.pdf and many other File pages, having multiple lines in the title causes a "Bogus image options" Linter error, apparently because the title is used in the image's |alt= option. We should probably stop using the title in the image's |alt= option, because it does not help with accessibility (screen readers already have access to the title) and because the title is almost never a valid description of the image. It would be better to show nothing, or something like "an image of a page from a book or book-like object". Jonesey95 (talk) 17:22, 25 October 2022 (UTC)Reply

I have made a change to Module:Artwork/core to fix the problem described above. Better "alt" text is possible; feel free to improve it. Jonesey95 (talk) 15:33, 2 April 2023 (UTC)Reply

"Start this Book" image shows cover page image instead of relevant file edit

  1. Category:Jahreshefte des Vereins für vaterländische Naturkunde in Württemberg (that's an old annual journal) contains many per-year PDF "books".
  2. One of the books, for example, is File:Jahreshefte des Vereins für vaterländische Naturkunde in Württemberg 019 1863 (IA mobot31753002534748).pdf. Please see the thumbnail ("Start this Book") in the infobox there and test its functionality.
  3. The wrongly linked JPG image is File:Jahreshefte des Vereins für vaterländische Naturkunde in Württemberg 008 1852 (example cover page).jpg. On its file description page notice the long "File usage on Commons" section (the image is currently used on all per-year PDF files).
  4. That cover image is in direct use only at d:Q47089483 (as the general image for the journal). I guess the WD statement is used to fetch a file link for "Start this Book".

I think this should be fixed.
There's no problem in similar cases of PDF book categories I recently worked on. See eg. File:Archiv für Naturgeschichte 73 1907 (example cover page).jpg, which is used for Category:Archiv für Naturgeschichte ("Start this Book" works as expected at File:Archiv für Naturgeschichte (IA archivfrnaturg89berl).pdf and others). --AmsaTalla (talk) 12:04, 9 January 2023 (UTC)Reply

Display order of publication data parameters edit

Book publication data are normally given as a triad:

City: Publisher, Publication date.

Occasionally, a Printer is given as well. These fields should be displayed clustered together. Instead they are intermixed in a seemingly random manner:

Publisher, Printer, (Description), (Language), Publication date, (Current location), (Accession number), Place of publication

This is rather confusing and difficult for humans to use. Can we change the weighting/ordering of the parameters so that Place of publication appears before Publisher and Publication date appears immediately after Printer? I realize this involves some work with behind-the-scenes code, but the effort would be worth it. Order the words of important is. For a real-life example, see: File:Dissertation sur les fièvres pernicieuses, ou ataxiques intermittentes. Traité des fièvres pernicieuses intermittentes (IA b22036258).pdf Thanks for your consideration. MetricHistory (talk) 20:34, 21 March 2024 (UTC)Reply

Return to "Book" page.