User talk:Gracefool/cite book

. Remember, you must specify the kind of identifier, not just give a number.

  • pages: 1–2: first page, and optional last page.
  • chapter: Produces:"Chapter" ahead of title. Punctuation other than quotes should be included in the value passed to the parameter (e.g., chapter = Meet Dick and Jane.)
    • chapterurl: URL of an individual chapter of online book. Should be at the same site as url, if any.
Deprecated
edit

The following field is provided only for backward compatibility with {{book reference}}. Don't use it.

  • author: Full name of author, preferably surname first.


Examples

edit
  • Just a title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Year and title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Basic usage

Joe, Bloggs (1974). Book of Bloggs. {{cite book}}: Cite has empty unknown parameter: |coauthors= (help)

  • Basic usage with url

Bloggs, Joe (1974). Book of Bloggs (1st Edition ed.). Retrieved 2006-02-17. {{cite book}}: |edition= has extra text (help); Cite has empty unknown parameter: |month= (help)

  • Three authors, title with a piped wikilink, edition

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Date without day, wikilinked title and publisher, id

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Date of first edition, other language, illustrator

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

Tests

edit
  • Author, year and title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Author and title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Basic usage, wrong date format

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Without accessdate

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Full date of first edition

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

Deprecated usage

edit
  • Author, year and title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • Two authors

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

Incorrect usage

edit
  • [ character in linked title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

  • < character in linked title

{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}} {{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}{{Qif}}.

Note

edit

Note the extra full-stop when the last author ends with an initial, and there is no date:

We don't know of a practical solution to this — unless there is a way to test the characters of a field?

}}

To do when breaking compatibility

edit
  • Add "Edited by" before editor instead of making the user do it.

··gracefool | 02:11, 20 February 2006 (UTC)Reply