This uses a clever system to stop users doing their own indentation. Clever, yes, but why? Mglovesfun (talk) 10:08, 23 June 2010 (UTC)
This template is broken for poetry:
Lydia Sigourney (1850) The Brother from Poems for the Sea, page 71: “Even, if our sails like ribbons fly,
And the dead-lights long are in,
Hard up the helm! and keep good heart!
Till skies are bright again.
This doesn't indent properly and it isn't recognised by the quotation-hiding JS. Inductiveload 23:56, 22 March 2011 (UTC)
{{quote-book}}
in entries- it's more frequently updated and and more likely to reflect current policy. Second, see Wiktionary:Quotations#Line_breaks Nadando 00:05, 23 March 2011 (UTC)
@Fay Freak: regarding your edit summary here where you noted that "T:cite-book currently does not support url2, unlike T:quote-book" and tagged me, when would you need to use |url2=
with {{cite-book}}
? — SGconlaw (talk) 19:49, 28 October 2018 (UTC)
{{R:gez:Dillmann}}
that it is non-standard to use a plain-link to the full work around the title which is what is now done as otherwise links to works are displayed as . This case is not so good an example because the Dillmann template now links a) to pages on one server if a page number is passed b) to the full work on archive.org in any case c) to a digitization project via |entry=
, i. e. they are of three kinds and two are conditional only. Imagine better {{R:Grimm}}
: Currently it goes over woerterbuchnetz.de, it could also link via DWDS. This is not saying which way additional links would be displayed – not too intrusive, not too hidden. Fay Freak (talk) 20:07, 28 October 2018 (UTC)@Sgconlaw Exists in {{quote-book}}
but not {{cite-book}}
. – Jberkel 05:19, 14 December 2018 (UTC)
|trans-title=
(to provide for a translation of the title of a work)? Do you want that added to the {{cite}} templates? — SGconlaw (talk) 06:25, 14 December 2018 (UTC)
|trans-passage=
. See Special:Diff/47264081/51084425. Jberkel 07:08, 14 December 2018 (UTC)
|translation=
. Yes, that feature was not built into the {{cite}} templates, as it is a feature from {{quote-meta}}
. Is it likely to be used often? — SGconlaw (talk) 07:29, 14 December 2018 (UTC)
|translation=
. Let me know if it works properly. — SGconlaw (talk) 04:12, 21 December 2018 (UTC)
Sure. Would that be for {{quote}}
only, or both {{cite}}
and {{quote}}
? — SGconlaw (talk) 10:26, 21 December 2018 (UTC)
@Sgconlaw is no longer used, e.g. the cite in Special:Diff/47018325/51284977 doesn't show as link. Has it been renamed? – Jberkel 12:28, 19 January 2019 (UTC)
{{R:Carro 1888}}
(which is run by this template).-TagaSanPedroAko (talk) 19:40, 7 February 2023 (UTC){{cite-meta}}
in the latest version. TagaSanPedroAko (talk) 19:45, 7 February 2023 (UTC)
{{cite-meta}}
. — Sgconlaw (talk) 20:27, 7 February 2023 (UTC)@Sgconlaw, the parameter |trans=
/|translator=
/|translators=
simply throws the translator's name directly after the closing parenthesis of the date, without a space or punctuation mark or anything. See {{R:sga:Thurneysen}}
for an example. Can this be fixed, please? —Mahāgaja · talk 20:20, 24 May 2019 (UTC)
|editor=
/|editors=
gave an output like "ed. Ed Itor" rather than "Ed Itor, editor". Otherwise there are just too many things separated by commas. —Mahāgaja · talk 12:45, 27 May 2019 (UTC)Hi, I'm trying to put this info as a book reference. https://www.researchgate.net/publication/280191520_Yuri_Dolgopolov_A_Dictionary_of_Confusable_Phrases_More_Than_10000_Idioms_and_Collocations_Jefferson_NC_McFarland_2010_v397_pp_ISBN_978_0_7864_5855_4_4795_55_review I am struggling, can anyone offer help as to how to format this?Halbared (talk) 14:54, 24 June 2020 (UTC)
{{cite-book |author=Yuri Dolgopolov |title=A Dictionary of Confusable Phrases: More Than 10,000 Idioms and Collocations |location=Jefferson, North Carolina |publisher=McFarland |year=2010 |isbn=978-0-7864-5855-4 }}
|chapter=
and |page=
or |pages=
as necessary. —Mahāgaja · talk 15:25, 24 June 2020 (UTC)I think we should have a parameter like |paywall=
if link URL is paywall access that adds a lock icon. @Hazarasp --{{victar|talk}}
09:06, 11 May 2021 (UTC)
{{R:OED Online}}
. However, I think we should wait for the outcome of the discussion about {{cite-meta}}
that is taking place at the Beer Parlour. — SGconlaw (talk) 13:45, 11 May 2021 (UTC)This template produces citations in the wrong format. They should start with the year, for instance. DAVilla 08:48, 26 June 2021 (UTC)
{{quote-book}}
. — SGconlaw (talk) 09:05, 26 June 2021 (UTC)
@Sgconlaw there's a missing space between the year and translator here grammelot (1991 cite, references).– Jberkel 11:47, 4 March 2022 (UTC)
{{cite-book|line=Line|page=Page|title=Title|year=Year}}
Please pardon me—I am primarily (and secondarily) a Wikipedia editor. I am puzzled—why is the title not italicized, as is standard for longer works? DocWatson42 (talk) 12:33, 22 March 2023 (UTC)
@Sgconlaw I'm interested in making the cite-* templates use the same numbered and named parameters as their quote-* counterparts, but I notice that while quote-book requires the language code as |1=
, in cite-book it's an optional named param |lang=
and |1=
is used for the year. I can use a bot to rename |lang=
to |1=
in all of the existing calls to {{cite-book}}
(included any R: templates), but before undertaking that I wanted to solicit feedback? Would switching |1=
from year
to lang
be too drastic of a change of editors already used to the cite- templates, or would better compatibility with the quote- templates be worth it? JeffDoozan (talk) 19:34, 25 February 2024 (UTC)
|lang=
and 7,000 mistakenly include the lang id in |1=
. The remaining 30,000 cite-book uses without a language code reference only 5400 unique titles. 1700 of these are cited only in English sections so it might be safe to assume they're in English an assign them a code automatically. The remaining 3400 titles could be assigned a language code "?" and the template could ignore it or display a gentle "(please add missing language id)" prompt like {{quote-book}}
does with a missing date. I could also generate a list of the titles and the sections they appear in that might facilitate bulk cleanup of the cites with a missing code.
|1=
, though I'm guessing this may involve a lot of updates to uses of the reference templates. (I'm not sure the language parameter needs to be compulsory for reference templates. Unlike quotation templates, we don't place entries into language categories by the use of reference templates in them. Also, as many reference templates are multiple-language dictionaries, it would be artificial to claim that such a work is of a single language.) — This unsigned comment was added by Sgconlaw (talk • contribs) at 22:55, 1 March 2024 (UTC).
@JeffDoozan The merger of the functionalities of {{cite-book}}
with those of {{quote-book}}
has the consequence that |entry=
is interpreted as identical to |chapter=
, and that letters that happen to occur in Roman numerals are interpreted as Roman numerals. For example, at mil#Irish, {{R:DIL}}
and {{R:ga:Ó Dónaill}}
are both displaying "chapter MIL" instead of displaying a dictionary entry called mil. —Mahāgaja · talk 11:18, 2 May 2024 (UTC)
!
to be added in front of the value given to |chapter=
and |entry=
, which would tell the template to display the value as-is and not process it. (This feature currently applies to |volume=
.) — Sgconlaw (talk) 12:36, 2 May 2024 (UTC)
|lang=
appears after the title, but I can't provide unnamed parameters after named ones, that is messy. Also I agree with Victar. A shame I missed my chance to oppose, nguè nguè. I'll try not to be borderline barratrous I suppose. Catonif (talk) 16:35, 18 June 2024 (UTC)@JeffDoozan What is your definition of "not breaking anything"? The |lang=
parameter in {{cite-book}}
is supposed to indicate the language that the source is written in, which is very often NOT the same as the language of the entry it's used on (e.g. an English entry citing a book in German for its etymology), whereas in {{quote-book}}
those are supposed to be the same by default due to the nature of how this template is used (e.g. an English quote should come from a book written in English). Since you merged the functionality of |passage=
with that of {{quote-book}}
's |text=
(or at least I think that's what triggered it), now any entry in language X
that cites a book written in language Y
and uses |passage=
will add that entry to ] (demonstrations here and here). Some categories, such as Category:Russian terms with quotations and Category:Slovene terms with quotations, almost hilariously, are now entirely filled with entries for other languages. Some more easily visible examples show up here and here; plenty of other Latin-script entries are hiding among the actual respective English and German words throughout the bodies of these lists, making it effectively impossible to navigate them on a language basis. I hope you can appreciate the need to fix this ASAP—and I don't mean by running a bot to add even nocat=1
to every page|nocat=
doesn't work. :) — 2600:4808:9C31:F400:29E8:5BF2:7E89:3679 03:38, 26 June 2024 (UTC)
@JeffDoozan: the comma between the author's name and the chapter or entry seems to have disappeared: see {{R:Bartlett Americanisms}}
. Also, if |date=
is used, the date is displayed in the format "2024 May 1". This is appropriate for quotations, but not so much for references—I think the date should remain in the format "1 May 2024", and if a month and year are specified they should be displayed as "May 2024" rather than "2024 May". — Sgconlaw (talk) 12:45, 2 May 2024 (UTC)
{{R:Bartlett Americanisms}}
. The reference template was edited so that it does not have a default year of publication. Thus, there was no year between the author and the title, and the lack of a comma made the reference look odd. I think it would be best if I make the 1st edition of the work the default, so there will always be some year specified. That should solve the issue for that template at least. As to your question about whether a comma should be added, let me think about that a bit more. — Sgconlaw (talk) 22:48, 2 May 2024 (UTC)@JeffDoozan I'm not sure you saw this comment when I inserted it into an old thread, so I'm repeating it in a new thread: The merger of the functionalities of {{cite-book}}
with those of {{quote-book}}
has the consequence that |entry=
is interpreted as identical to |chapter=
, and that letters that happen to occur in Roman numerals are interpreted as Roman numerals. For example, at mil#Irish, {{R:DIL}}
and {{R:ga:Ó Dónaill}}
are both displaying "chapter MIL" instead of displaying a dictionary entry called mil. 07:56, 8 May 2024 (UTC) —Mahāgaja · talk 07:56, 8 May 2024 (UTC)
{{R2A}}
or its underlying module) since "MIL" is not such a numeral; and (2) perhaps allow users to add !
in front of a parameter (e.g., |chapter=!MIL
) to tell the template not to process the value but display it as-is, which has been implemented for |volume=
. — Sgconlaw (talk) 09:25, 8 May 2024 (UTC)
!
prefix handling for chapters/sections and then configured cite-book to always add a !
prefix to |entry=
. A double !!
will produce !
so this fixes mil and dill without clobbering (theoretical, not used in practice) entries on !Kung. I'll also check if there are any existing |chapter=
values that start with !
and adjust them as needed. JeffDoozan (talk) 13:42, 8 May 2024 (UTC)
!
should be turned on by default for |entry=
? Might there be any situations where that parameter should contain a Roman numeral? (Can't think of any offhand …) — Sgconlaw (talk) 13:53, 8 May 2024 (UTC)
|entry=IV
, we probably do want it to say “IV” in Suchandsuch Dictionary, not
Chapter IV. —Mahāgaja · talk 14:10, 8 May 2024 (UTC)
{{R:OneLook}}
is still producing "chapter DILL" at dill, I guess because that template uses {{cite-web}}
rather than {{cite-book}}
. —Mahāgaja · talk 14:03, 8 May 2024 (UTC)
!
prefix could be used specifically for indicating that a valid Roman numeral should not be treated as such. — Sgconlaw (talk) 15:44, 8 May 2024 (UTC)
|entry=
and |chapter=
into separate parameters again, considering Jeff just had to undo the fix he applied earlier today on the grounds that it breaks how |chapter=
works. —Mahāgaja · talk 21:35, 8 May 2024 (UTC)
|chapter=
from being treated as an Arabic or Roman numeral (for example, by using the prefix !
). I have come across books where the chapter names are years, so they should display as "1984" rather than "chapter 1984". — Sgconlaw (talk) 16:15, 9 May 2024 (UTC)
|entry=
separately from |chapter=
. Values in |entry=
are displayed exactly as provided without any special handling for roman numerals. Values in |chapter=
handle roman numerals unless prefixed with !
. JeffDoozan (talk) 15:43, 1 July 2024 (UTC)The following discussion has been moved from Wiktionary:Requests for cleanup (permalink).
This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.
It produces:
--Astova (talk) 09:38, 23 March 2022 (UTC)
|translators=
parameter has that problem. I brought this up with @Sgconlaw 3 years ago at Template talk:cite-book#Translator parameter but nothing's changed since then. —Mahāgaja · talk 10:03, 23 March 2022 (UTC)