Template talk:Book

From Wikimedia Commons, the free media repository
Jump to: navigation, search
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.


Authority control[edit]

Currently, authority control is added through parameters like ISBN or OCLC. Can I add an "authority control" parameter, so that we can add {{Book authority control}} directly. That would be more flexible and more consistent with {{Creator}}. --Zolo (talk) 06:36, 7 October 2013 (UTC)

At the moment {{Book authority control}} takes only 3 parameters ISBN, LCCN, OCLC, and all 3 of them are in {{Book}}, so adding {{Book authority control}} directly does not make a difference. However I agree that it is counter-intuitive that we use 2 different approaches for adding "authority control": through a single parameter where we pass a template used by {{Creator}} or {{institution}} and the approach used by {{Book}} where all parameters are passed to {{Book}} which internally calls {{Book authority control}}. That might be confusing. I am fine with adding "authority control" parameter but I am afraid that using 2 alternative systems in {{Book}} might also be confusing. I am also concerned with compatibility with tools which might be depend on some format of {{book}} template. There are many local wikisource repositories and they might have some tools interacting with {{book}} template. Changes to the template should be done with cooperation with maintainers of such tools (if they exist). Does anybody know if that is a concern or not? --Jarekt (talk) 15:36, 7 October 2013 (UTC)
How exactly would you do this e.g. in File:La Villemarqué - Dictionnaire français-breton de Le Gonidec, volume 1.djvu? --Leyo 17:05, 7 October 2013 (UTC)
Actually I have used it this way with a BNF link, apparently forgetting to check that it worked. Leyo, I would not change anything to the file description, but the output would look like File:Bedier - La Chanson de Roland.djvu). It is true that we need to check for interferences with current use. There does not seem to be any timeline for Commons:Wikidata for media info, but if that is not too distant, it may be just as well to wait for it. --Zolo (talk) 18:03, 7 October 2013 (UTC)
I guess that would be a perfect example of file that would benefit from the change Zolo is proposing. A new "authority control" parameter would overwrite ISBN, LCCN, OCLC parameters, and you could pass into "authority control" either {{Book authority control}} or {{authority control}} (in case of this file. Also may be we should merge {{Book authority control}} and {{authority control}} templates. --Jarekt (talk) 18:07, 7 October 2013 (UTC)

Wikisource[edit]

Instead of just the Wikisource image, can there also be text stating that it's available/transcribed (not sure of best wording) on Wikisource? This would be helpful for the users of WP and Commons who don't know what Wikisource is, and definitely as most will not recognize the logo alone. The Haz talk 23:23, 26 January 2014 (UTC)

I have added the word "transcribed" under the icon, and checked it at a number of pages and it seems to align fine, though couldn't get enough cases to prove that it always aligns under the icon. If you can think of other suggestions, go for it.  — billinghurst sDrewth 01:44, 27 January 2014 (UTC)
Example File:Leibniz as a Politician.djvu he says advertising one his transcriptions  — billinghurst sDrewth 01:47, 27 January 2014 (UTC)
That works, but I still think the Wikisource name needs to be there, such as a link to the side of the logo "Transcribed on Wikisource" The Haz talk 01:54, 27 January 2014 (UTC)
I played, though to get neater we are going to need pushing bits around due to the tabular layout and the alignment. Someone may declare it (ugly|too high|...) and we may revert. Anyway there for opinions.  — billinghurst sDrewth 11:50, 27 January 2014 (UTC)
I think it would be better to apply those changes to {{Book/Sandbox}} first until we find a layout that people like. Also how are you going to handle translations to other languages (I18n)? --Jarekt (talk) 14:15, 27 January 2014 (UTC)
Thank you. I personally feel that the template overall might be better off using Autotranslate, in which case this could also be used for this text. I don't mind the current layout, though I'd prefer to see transcribed capitalized in English, and all the text in bold. The Haz talk 18:23, 27 January 2014 (UTC)
Few years ago we moved all the Book translations to transaltewiki so now we support 100's of languages instead of 10's, so Autotranslate is not an option. We can create {{Book/I18n}} with {{LangSwitch}}, as many templates have, but that would be nice to implement before we went live. --Jarekt (talk) 19:04, 27 January 2014 (UTC)
Actually, the icons (and two other information-free images further down the page) look pretty dumb when I open Template:Book in ELinks. It would probably be a good idea to set alt="" on these images now that their meaning is conveyed entirely in the text? --SamB (talk) 02:55, 3 March 2014 (UTC)
In all honesty, I'd rather go a step further and make it another row in the template. I understand the want to put the image there, but it's placed in an awkward location, defeating its purpose. I, however, wouldn't mind having a tooltip for anyone with CSS enabled that briefly explains Wikisource. It might be going too far though. ;-)
Transcribed at Wikisource what?
The Haz talk 21:25, 3 March 2014 (UTC)

Capitalization of languages[edit]

Could the language in which each book is written be capitalized when it appears in the template? For example, if "{{language|en}}" or even just "English" is entered as a value for the |language= parameter, it is displayed as "english". See, for instance, "File:Notes on Names of Places in the Island of Singapore and its Vicinity (1889) by H T Haughton.pdf". — SMUconlaw (talk) 08:08, 20 August 2014 (UTC)

✓ Done Thanks for good suggestion. --Jarekt (talk) 15:31, 20 August 2014 (UTC)
Great, thanks! — SMUconlaw (talk) 16:48, 20 August 2014 (UTC)

Single pages[edit]

This template is said to be for entire books. So what should I do if I only upload one page of a book? For instance, File:Dei delitti e delle pene, edizione VI, frontespizio.jpg. --Federico Leva (BEIC) (talk) 09:14, 3 October 2014 (UTC)

Majority of uses of this template is for individual pages making up a book and there is no restriction that you have to have all the pages to use the template. I am not sure where it says "entire book" but it should be corrected if it is confusing. --Jarekt (talk) 11:41, 3 October 2014 (UTC)
Thanks, maybe I misread. Is this clearer? [1] --Federico Leva (BEIC) (talk) 14:43, 3 October 2014 (UTC)

Ancient book with institution[edit]

Does this look correct? File:Practica D. magistri V00241 00000004.tif.

  • I asked the institution if the metadata is correct enough, let's see.
  • I still have to fix something with Template:BEIC which loses its styles for some reason.
  • I'm not sure how to pass parameters around: should I use the "Accession number" parameter and pass it to my Template:BEIC in some way? Or should that ID-specific information only go into the Institution template?
  • I didn't mention anywhere the Centro APICE (where the item is physically located) and the Internet Archive (which is mentioned in their metadata as having another copy, or something). I wouldn't know where to put them and I see no need to copy all the OPAC metadata on Commons.

--Federico Leva (BEIC) (talk) 15:25, 3 October 2014 (UTC)

That looks mostly fine. But things to improve:
  • for materials published prior to 1923 (anywhere) please use license templates {{PD-old-100-1923}} etc. See Commons:Multi-license copyright tags for more info.
  • You should use translation templates as much as possible to make fields readable to the most audience. for example you should use {{other date}} in this file. Read suggestions for each field in template:Book for more info.
  • if you have some kind of Accession number you should display it and this can provide link to the source and the "source" field can just have static partnership template. See for example my upload: File:Armia Ukraińska - List Ukraińskiej Wojskowej Komisji Likwidacyjnej do pułkownika Kołosowskiego - 701-007-003-133.pdf. Although the way you have done it here is also fine.
  • names of authors would be better in "Giovanni Matteo Ferrari" instead of "Ferrari, Giovanni Matteo". Also if you can match them with creator templates and categories that would make it much better.
  • The Centro APICE (where the item is physically located) should be the one in the institution field not BEIC. BEIC can be mentioned in the source.
  • The part about Internet Archive: if you have a link than it can probably go as alternative source into source field
  • A final thought: I do not know what metadata is available to you but you should try to preserve as much as possible. If you have some data that does not fit current template we can work on ways to make it fit. also you should have somewhere link to OPAC. May be we should add it to Template:Book authority control?
--Jarekt (talk) 16:33, 3 October 2014 (UTC)
I'm very grateful for this patient reply, you're extremely helpful. I'll go through these issues as soon as possible together with the library's personnel. --Federico Leva (BEIC) (talk) 17:42, 3 October 2014 (UTC)

Add identifying class[edit]

{{edit request}} Please add fileinfotpl-type-book to the <table> classes (second line of the template)! See Commons talk:Machine-readable data#Identifying information-like templates for background. Thanks, --Tgr (WMF) (talk) 13:18, 22 October 2014 (UTC)

Tgr (WMF) I do not want to be guessing here and I am not that well versed with different styles of HTML tags, so currently the second line is "
<table class="toccolours vevent" style="width: 100%; direction: {{Dir|{{int:Lang}}}};" cellpadding="2">
". What would you like it to be? I will do the same for the other infobox templates as requested. --Jarekt (talk) 01:20, 23 October 2014 (UTC)
@Jarekt: Would you also be able to update s:Template:Book when you do here, or please ping me so that I don't miss out the mirroring. Thanks.  — billinghurst sDrewth 04:10, 23 October 2014 (UTC)
<table class="fileinfotpl-type-book toccolours vevent" style="width: 100%; direction: {{Dir|{{int:Lang}}}};" cellpadding="2">
(new part marked with green.) Thanks! --Tgr (WMF) (talk) 08:23, 23 October 2014 (UTC)
✓ Done --Jarekt (talk) 01:15, 24 October 2014 (UTC)
updated at enWS  — billinghurst sDrewth 09:30, 25 October 2014 (UTC)
I am sorry I was suppose to let you know when I change it. --Jarekt (talk) 02:23, 27 October 2014 (UTC)