Dark Mode

Jump to content

Template talk:Book

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 6 months ago by Jane023 in topic Please remove the city parameter for book pages as a "page" can only have a location in a book
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.

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

[edit]
Latest comment: 3 years ago1 comment1 person in discussion
  1. Category:Jahreshefte des Vereins fur vaterlandische Naturkunde in Wurttemberg (that's an old annual journal) contains many per-year PDF "books".
  2. One of the books, for example, is File:Jahreshefte des Vereins fur vaterlandische Naturkunde in Wurttemberg 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 fur vaterlandische Naturkunde in Wurttemberg 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 fur Naturgeschichte 73 1907 (example cover page).jpg, which is used for Category:Archiv fur Naturgeschichte ("Start this Book" works as expected at File:Archiv fur Naturgeschichte (IA archivfrnaturg89berl).pdf and others). --AmsaTalla (talk) 12:04, 9 January 2023 (UTC)Reply

Display order of publication data parameters

[edit]
Latest comment: 1 year ago2 comments2 people in discussion

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 fievres pernicieuses, ou ataxiques intermittentes. Traite des fievres pernicieuses intermittentes (IA b22036258).pdf Thanks for your consideration. MetricHistory (talk) 20:34, 21 March 2024 (UTC)Reply

@MetricHistory: You can place named parameters in any order you like, the order for usage of named parameters does not impact the output. A bit different from where a template has positional parameters. See mw:Help:Templates -- billinghurst sDrewth 21:57, 9 July 2024 (UTC)Reply

LCCN not visible

[edit]
Latest comment: 1 year ago1 comment1 person in discussion

See File:The Unfolding Crisis in Burundi - Hearing Before the Subcommittee on Africa, Global Health, Global Human Rights, and International Organizations... (US House, Serial 114-90) (US GPO, 2015) (IA gov.gpo.fdsys.CHRG-114hhrg95635).pdf and the linked The Unfolding Crisis in Burundi (Q127514984) for example.

The OCLC control number (P243) is visible under "Authority file" but the LCCN (P1144) is not. It should be. Thanks in advance to whoever addresses this. Jarnsax (talk) 12:43, 17 July 2024 (UTC)Reply

recent change is wrong

[edit]
Latest comment: 1 year ago5 comments2 people in discussion

{{Edit request}} The template should be pulling in "version, edition, or translation" but instead is pulling the words "Legendare Reisen im Mittelalter" where the tooltip says something like "German book published in 2008". The link, however, is correct. Even at wikidata, the "version, edition, or translation" wikidata:Q3331189 in German is "Ausgabe oder Version" so, I am just dumb struck on how this happened. See File:JapanReischauer-020.jpg.

Thank you--RaboKarbakian (talk) 20:17, 13 November 2024 (UTC)Reply

To clarify, is recent change referring to a specific change that you know is wrong, or do you just mean that it broke recently (but it's not yet known why)? Lucas Werkmeister (talk) 21:38, 13 November 2024 (UTC)Reply
(ping @RaboKarbakian) Lucas Werkmeister (talk) 19:30, 15 November 2024 (UTC)Reply
Lucas Werkmeister, thanks for getting back to me. "Recent" was that I just noticed it and it was displaying something that was wrong; I tend to notice things like that though--looking for things that I did that are wrong.
And, even more recent is the change back-to unbrokeness. I should get a screenshot if it happens again.
Sorry to waste your time!--RaboKarbakian (talk) 21:13, 15 November 2024 (UTC)Reply
@RaboKarbakian Alright, if it's unbroken again then I'll disable the edit request for now :) feel free to reopen if it comes back. --Lucas Werkmeister (talk) 01:54, 16 November 2024 (UTC)Reply

Can the Biodiversity Heritage Library also be added to Authority Control?

[edit]
Latest comment: 1 year ago1 comment1 person in discussion

Hi!

I see some books with Wikidata links (example: https://commons.wikimedia.org/w/index.php?title=File%3AAs_aves_do_Brasil_(IA_asavesdobrasil12gl).pdf&page=193) that come from the Biodiversity Heritage Library and have the id on BHL catalogued on Wikidata, but for which the BHL ID is not shown.


Is there a way to add the BHL bibliography ID (P4327) to the list of authority ids?

If there is anything I can do to help, please let me know!

Cheers, Tiago TiagoLubiana (talk) 12:47, 19 November 2024 (UTC)Reply

Please remove the city parameter for book pages as a "page" can only have a location in a book

[edit]
Latest comment: 6 months ago1 comment1 person in discussion

Caveat: I am unfamiliar with the usage of this template for uploading individual book pages. I have myself only used the book template for .djvu files and .pdf files, but I have become increasingly aware of (and annoyed by) its usage for individual pages of art books uploaded by library accounts. The artwork template (in my opinion) correctly rejects the city parameter but I feel it should somehow be clear from the file that the city does not refer to the file but to the library, and that is decidedly not the case. Flying by old prints of paintings I will add the artwork template with the wikidata item for the painting it represents. This adds a higher level to the file but I would wish the bibliographic reference to be preserved in its entirety without me having to delete lines from the original upload. It would also be OK with me if the line was suppressed when the artwork template is added. Thx. Jane023 (talk) 07:52, 14 August 2025 (UTC)Reply

For context, see this file I just added the artwork template "art photo" to here: File:Recueil d'estampes gravees 1771 (1101674).jpg. Jane023 (talk)