Template talk:quote-book

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

Compliance with WT:QUOTE[edit]

It was mentioned that this doesn't comply with WT:QUOTE. If this is the case, and if it matters, hopefully someone can point out the problem; I know that it's no worse than what I or many other editors produce by hand, and at least any problems can be cleaned up in a single edit rather than hundreds. -- Visviva 06:10, 20 January 2008 (UTC)


I love this template. It reduces the strain of having to focus on how to properly format the quotation. With this template, I just fill-in a questionnaire, kind of. --Daniel Polansky 08:37, 28 February 2008 (UTC)

How can this be made to give a better result than appears at Citations:Ucalegon? DCDuring TALK 00:12, 6 August 2008 (UTC)
By using |indent2=*:, as mentioned above. H. (talk) 15:01, 8 September 2008 (UTC)
But still better, of course, would be a test for the Citations namespace and adding proper indent automatically. Which technician is up to this? H. (talk) 09:17, 15 September 2008 (UTC)
Done; probably not the ideal solution but it should work for now. Will need to fix this for other quote-x templates also. -- Visviva 15:55, 1 October 2008 (UTC)

Volume parameter needed, chapter output wrong[edit]

Often large works are divided into volumes, a parameter for this is needed.

Furthermore, often chapters only have a number, in that case, the output of the template is strange. One should distinguish between chapter-title= and chapter=. H. (talk) 09:20, 15 September 2008 (UTC)

For chapter numbers, you can use section=Chapter 4, which I'll grant you is a bit backwards. Will add volume parameter shortly, along with some others; I had simply been treating it "volume X" as part of the title, which is fairly common practice IMX but certainly not ideal. -- Visviva 15:35, 1 October 2008 (UTC)
Done now (some time ago). -- Visviva 14:17, 13 December 2008 (UTC)
  • "section=" does not work at this time. DCDuring TALK 16:37, 6 May 2010 (UTC)

Display of year vs. year published[edit]

Shouldn't "year_published" be displayed a the head of the citation line in bold rather than "year" (as the documentation defines them) for translations? Or perhaps the documentation should be changed so that "year" should be the year of the translation, and "year_published" the publication of the original. DCDuring TALK 20:27, 15 March 2010 (UTC)

Template talk:reference-book#Comma bugs[edit]

RuakhTALK 18:52, 2 September 2010 (UTC)


I think that the quoted text would be better presented in italics. --Jerome Potts 18:56, 5 September 2010 (UTC)

year_published, year ordering[edit]

When both are present, shouldn't the year published come before the year? The current ordering seems misleading for translations- for example:

  • 1768, “Concerning Scortatory Love”, in The delights of wisdom concerning conjugial love, translation of Deliciae Sapientiae de Amore Conjugiali by Emanuel Swedenborg, published 1794, 466 (IV):
    That it is a scortation [transl. scortatio] more opposite to conjugal love than the common scortation [transl. scortatio], which is called simple adultery; and that it is a deprivation of every faculty and inclination to conjugal life, which is implanted in christians from nativity, may be evinced by arguments which will have great weight with the reason of a wise man.

The actual translation was created in 1794, which seems more important for scortation (an English entry) than the date of the original Latin. Nadando 21:39, 21 April 2011 (UTC)

more commas[edit]

This template produces an extra comma after a date, eg at [[atheist]] it produces "1997 July 6,, Studies in Doctrine: Understanding Doctrine" where the ideal format is "1997 July 6, Studies in Doctrine: Understanding Doctrine". This occurs only after a month or a month-and-date is given; it does not occur if only a year is given. It is possibly related to the comma bug mentioned early on this talkpage. - -sche (discuss) 19:59, 30 October 2011 (UTC)

It has to do with the author= stuff being broken. I'll see what I can do. —Internoob 02:32, 31 October 2011 (UTC)
Yes check.svg DoneInternoob 02:48, 31 October 2011 (UTC)
Thanks! - -sche (discuss) 03:01, 31 October 2011 (UTC)
You're welcome. :/ ~ Robin 08:16, 31 October 2011 (UTC)

Some suggested changes[edit]

Hi, could the following changes be made to the template?

  • There should be a comma before the word editor (that is, "George Crabb, editor"), as shown in the example below.
  • Instead of "edition 2nd", the template should indicate "2nd edition".
  • When the parameter |pages= is used, the template should display "pages" rather than "page".
1818, George Crabb, editor, English Synonymes Explained, in Alphabetical Order: With Copious Illustrations and Examples Drawn from the Best Writers[1], 2nd edition, London: Printed for Baldwin, Cradock, and Joy; and T[homas] Boosey, OCLC 560181292, pages 162–163:
Booty and prey are often used in an extended sense. Plunderers obtain a rich booty ; the diligent bee returns loaded with its booty.

Smuconlaw (talk) 15:14, 19 November 2014 (UTC)

Yes check.svg Done. If any entries used the wording "edition 2" (rather than "edition 2nd"), this change alters them to "2 edition", which is suboptimal but tolerable IMO. - -sche (discuss) 23:58, 3 September 2015 (UTC)
Thanks. Not sure how common "edition 2" is – I would have thought it is much more common to use an ordinal number. Smuconlaw (talk) 09:45, 4 September 2015 (UTC)

Why is "year" not one of the first paramaters? and other related questions[edit]

I'd been putting "year" before anything else in this template, and I just realized that it doesn't work that way (at least not anymore--I'm fairly sure I was able to do that in the past). What I mean is that I was writing {{quote-book|author=...|year=2016}}, but that now returns "(Can we date this quote)" and the author ended up being ignored (but not all the time), for some reason. Instead, it seems that I have to put the year further back in the template, which makes absolutely no sense, considering that it's what displays first in the actual output.

To see an example, see this revision of "klatawaw", where I just noticed it. I'm fairly certain that it displayed properly when I created the page, so I'm curious to know what the problem is now, and why "year=" cannot be entered as the first paramater (and why one of the authors didn't show up).... Andrew Sheedy (talk) 04:51, 9 February 2016 (UTC)

It's because there was a typo in the template. Here is the original template:
{{quote-book|year=1887|author=John Harrison Mills|title=Chronicles of the Twenty-first Regiment New York State Volunteers|chapter=10|url=https://books.google.ca/books?id=sy1CAAAAIAAJ&dq=clattawa&source=gbs_navlinks_s||page=204|passage=The midday echoes reply drowsily, the solitary horseman curses and “'''clattawa’s'''” up the road as though suddenly impressed with the idea that somebody is hooking his dinner over the hill[...]}}
If you look carefully, before "page=204" there are two pipe characters instead of one ("||"). Thus, the first pipe character was interpreted as the first unnamed parameter ({{{1}}}), which is for the year. Since no value was given, the template interpreted this as a failure to provide the year. Currently, the unnamed parameter takes priority over any value given for |year=, but I will fix this to prevent such accidents. Also, see the changes I've made at the klatawaw page. — SMUconlaw (talk) 12:30, 9 February 2016 (UTC)
Thanks! I think that extra pipe was do to a misinterpretation by me of how the template worked. Andrew Sheedy (talk) 22:50, 9 February 2016 (UTC)
No worries. — SMUconlaw (talk) 13:17, 10 February 2016 (UTC)

Chapter after name of work?[edit]

The current placement of chapter seems awkward to me, shouldn't it be after the name of the work? For example:

Year - Author Name, Title of Work, chapter # ...

The order should be related to the importance of the information, and surely the title is more important than the chapter or page number. - TheDaveRoss 14:43, 6 April 2017 (UTC)

Well, the aim was to align our templates with {{cite book}}. Also, I believe many citation formats place the chapter in front of the title. — SMUconlaw (talk) 15:05, 6 April 2017 (UTC)
While I am generally in favor of consistency and adhering to broader standards, in this case the standards seem wrong. We also deviate in other ways (such as putting the year first) to accommodate our particular needs, this seems like a place where that is appropriate. I think I prefer keeping the author and title together, and then adding the information about location of the word within the work in increasing order of specificity (Volume, Part, Chapter, Section, Page, Paragraph/Stanza/Line) or similar. - TheDaveRoss 15:54, 6 April 2017 (UTC)
Perhaps you can start a wider discussion at the Beer Parlour? — SMUconlaw (talk) 16:02, 6 April 2017 (UTC)


What's going on here??? Why do they all say today's date beside each year? I didn't arbitrarily add that date and when I press control F, I can't find the keywords "27" anywhere in the wiki markup. PseudoSkull (talk) 04:08, 27 May 2017 (UTC)

Use the year parameter if you don't have a specific date. DTLHS (talk) 04:12, 27 May 2017 (UTC)
The |date= parameter makes use of the wikitext {{#date}} function to format dates. If one only specifies a year, the function adds to it today's date. Don't ask me why, but that's how it's programmed to work. As DTLHS mentioned above, if only specifying a year, use |year=. — SMUconlaw (talk) 09:39, 27 May 2017 (UTC)