Open main menu
Info non-talk.svg Template:Book has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.
Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.

Multi-language booksEdit

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)

Switching to Lua based templateEdit

Lately I was working on rewriting {{Book}} to use Lua code Module:Artwork, already used by {{Artwork}} and {{Photograph}}. The new code will be able to utilize data from Wikidata if "wikidata" parameter is provided. I am not done testing it yet, but the new version can be accessed through {{Book/sandbox}} if anybody wants to try it. Also it would be great is people start adding "wikidata" parameters to their templates, as most wikisource entries are already connected. --Jarekt (talk) 20:10, 6 May 2019 (UTC)

This is great, gonna test it tommorow! I was looking how to replicate de artwork template (im not a programmer). @Joalpe: who was also interested. Cheers! Mauricio V. Genta (talk) 20:32, 6 May 2019 (UTC)
Not work oclc parameter, please revert changes to be sure work Shooke    (Talk me in spanish, english or italian) 17:03, 19 May 2019 (UTC)

This change has broken hundreds of uses of the template. The new version uses the parameter "permission=", but the previous edition used "license=" Couldn't we simply adjust the code rather than editing hundreds of broken template calls?

Also, the template is no longer providing the Wikisource links of the previous version. --EncycloPetey (talk) 00:13, 21 May 2019 (UTC)

This is a mess. We've now got the Wikisource icon at the top pointing to Wikipedia based on a field called "Wikisource". And the very useful link to the Wikisource Index: namespace has vanished. When will this be repaired? Beeswaxcandle (talk) 00:02, 25 May 2019 (UTC)
The only thing about the Wikisource icon that changed was the location and size. Now it is in the same spot as in other infobox templates, like {{Creator}} or {{Artwork}}. The page linked to is still the same page locally provided by the template, with the only exception that if local "wikisource" field is empty but we do have "Wikidata" field than the template checks if that wikidata item has sitelink to wikisource. I will reintroduce license field as alias of permission, but permission is the name of the field used by all the other infobox templates, so it should be more clear. --Jarekt (talk) 02:16, 25 May 2019 (UTC)

This template have sevral bugs, now, "source", before worked well Shooke    (Talk me in spanish, english or italian) 17:22, 26 May 2019 (UTC)

Please restore Source fieldEdit

A recent change discarded all the "Source" data used in - literally - thousands of file pages with thsi template. For example, my GLAM project uses this field in thousands of images we uploaded to store informations about the original resource, link, collection, and category, within a template (example). All those informations suddenly disappeared (...hundrends of hours of work!). I cannot revert because template editing is restricted. Please restore this field, thank you. @Jcb, Jarekt, Federico Leva (BEIC): --Marco Chemello (BEIC) (talk) 10:57, 27 May 2019 (UTC)

  Fixed Marco I think it should be fixed now. Please verify. --Jarekt (talk) 17:46, 27 May 2019 (UTC)
It's working again. Thank you @Jarekt: for your quick fix. --Marco Chemello (BEIC) (talk) 05:58, 28 May 2019 (UTC)

Image pageEdit

"Image page" field, not work. Shooke    (Talk me in spanish, english or italian) 14:33, 15 June 2019 (UTC)

Testing solutions right now. --Jarekt (talk) 17:35, 15 June 2019 (UTC)

QuickStatements optionsEdit

It's uses P170 (creator) instead of P50 (author) @Jarekt: it is possible to change that using the artwork module? Maybe we should move it to a new module for this?. Cheers!Mauricio V. Genta (talk) 21:17, 30 July 2019 (UTC)

Wikidata parameterEdit

@Jarekt: Should the wikidata parameter receive the Wikidata ID of the book (as just a book) or the Wikidata ID for the specific edition that has been uploaded to Commons? I'm trying to figure this out for File:The Life of the Spider.djvu. Should I use Q64992886 or Q51499529? I guess another way to phrase this question is, what data from Wikidata about the book is used by this template? Kaldari (talk) 17:48, 29 August 2019 (UTC)

Kaldari, I pull a lot of fields. In addition to whatever you might pull for {{Artwork}} (as those 2 templates share most of the code) I pull publication date, publisher, printer, translator, date of publication, place of publication, etc. Items with instance of (P31) = version, edition, or translation (Q3331189) are usually the best option, so I would pick The Life of the Spider (Q51499529) over The Life of the Spider (Q64992886), but the second one would be fine too. --Jarekt (talk) 23:31, 29 August 2019 (UTC)
Return to "Book" page.