Template talk:Book

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Multi-language books[edit]

Any way correctly describe multi-language books? Many 19 century books from Russia using two languages — some European and official (like that has two parallel text in Russian and French). Also Vocabularies, Grammatics etc are existing. — Preceding unsigned comment added by Artem.komisarenko (talk • contribs) 06:14, 03 October 2016 (UTC)

@Artem.komisarenko: Fixed by User:Jarekt on 9 October 2020, though marking a book this way requires familiarity with Wikidata—you must create an entry for it there, if one does not already exist, and give the property language of work or name (P407) multiple values, one for each language. File:Swahili tales.djvu, which corresponds to d:Q99526042, is an example.
(See Module talk:Artwork#Could this template be made compatible with multi-language works? for technical fix details for the template.) --truthious andersnatch 07:52, 10 October 2020 (UTC)

Link to TOC, index, etc in djvu/pdf[edit]

Once properties chosen for these (Properties_table#djvu%2Fpdf_files), it could be interesting to present direct links to these.

Either with or without a (small) thumbnail. Jura1 (talk) 12:18, 16 July 2020 (UTC)

Compare with d:Q96643524#P2670
Instead of P2670, a specialized property could be created. That would avoid having to sanity check all P2670 values/allow applying constraints for P7668.
@Jarekt: what do you think? Jura1 (talk) 06:22, 19 July 2020 (UTC)
Jura1, I think it would be great to display link to TOC or index if such data was stored. I guess it would need to be stored in SDC instead of Wikidata as those would be file properties. At the moment {{Book}} is able to access and use title page number (P4714) to show icon of the title page, but we certainty can also show other key pages. The key issue would be to identify such pages in large number of djvu/pdf files. Maybe that is something that can be scraped from Wikisource pages? --Jarekt (talk) 18:46, 20 July 2020 (UTC)
  1. Yes, storing it here is preferable, especially as it should eventually be possible to render files with it.
  2. For the TOCs it may be possible to retrieve it from Wikisource. Wikisource index pages have a field that can link to it.
  3. There is a property proposal on some aspects of index pages.
  4. Many djvu/pdf of BHL may never have such pages however. The question is then if we should create similar index pages here (or maybe the pagination part, thus the property proposal).
  5. Actual data would need still need to be filled in. This would be manual or assisted with some tool, unless a way to import it from elsewhere exists. IA usually seems to know the location of the title page (even if it can be off by 1 or 2). Maybe this is available somewhere and can be reformatted.
    Jura1 (talk) 21:55, 20 July 2020 (UTC)

Scanned periodicals[edit]

Some in Files from the Biodiversity Heritage Library using this template are several bound issues of periodicals combined.

Should these use issue (P433) or page(s) (P304), possibly start time (P580)&end time (P582) to indicate the range(s)? Jura1 (talk) 13:17, 20 July 2020 (UTC)

Row with initial pages[edit]

To check a pdf, I think a row with thumbnails of the initial pages could be handy, e.g. for this file, it would look like:

Initial pages

Maybe even a more compact view is possible. I suppose this should go in Module:Artwork somewhere. --- Jura1 (talk) 10:14, 22 July 2020 (UTC)

That would be fine with me, but let me Ping some other people lattely active in this forum. @Billinghurst, Xover, Marsupium:. --Jarekt (talk) 13:46, 22 July 2020 (UTC)
Hi, no opposition, but I'd be restrained, I've first seen this on mobile, and the pages are all displayed in a column and also in desktop view it takes a lot of space. So maybe smaller size, not to many or collapsed by default? --Marsupium (talk) 16:20, 22 July 2020 (UTC)
Good point. Maybe adding class="wdinfo_nomobile" is sufficient? Did that just now. --- Jura1 (talk) 18:19, 22 July 2020 (UTC)

Pictogram voting comment.svg Comment For many of books that WS hosts it is not going to be that useful to display books from the origin, as there is much emptiness at the beginnings and ends. Typically the title page is the start of the useful content, and occasionally the page prior can be a frontispiece so could have value.

If we were going to do something, I am not convinced that it should not be the default. Could it be an optional that calls pages on request? Say based on image page, display image page, then do -1, +1, +2, +3 as the default, then give them the option to present more, +4, +5, +6+, +7, +8 from image page.  — billinghurst sDrewth 20:58, 22 July 2020 (UTC)

  • I think for most books, we don't know what title page is and thus the advantage of this row. We can already do +1/-1, but that doesn't really help finding it. --- Jura1 (talk) 06:32, 23 July 2020 (UTC)
I guess we could skip books that are used by Wikisource, but I don't think there is currently a way of knowing what they are (at least for templates/SDC). --- Jura1 (talk) 06:48, 23 July 2020 (UTC)

Multiple languages[edit]

Multiple languages is still a problem, even with values pulled from Wikidata. It can handle multiple "Object type" values properly but here it seems to just choose the first language alphabetically, even though there are two normal-ranked values on Wikidata. --truthious andersnatch 03:39, 12 September 2020 (UTC)

Fixed 8 October 2020, see details above. --truthious andersnatch 07:52, 10 October 2020 (UTC)
Sorry I thought I left a message here about fixing it. --Jarekt (talk) 21:59, 10 October 2020 (UTC)

Subtitle from wikidata?[edit]

P1680 aka subtitle doesn't seem to be pulled in yet.

I was poking around thinking how 'leet I'd look just pasting the changes needed but truly, I couldn't even find the darn thing!

"getQualifierValue |P1680" was where I was going to start, assuming the invocation has already occurred.--RaboKarbakian (talk) 17:22, 20 January 2021 (UTC)