Template:Cite book/testcases

From Vanatas

Template:Template test cases notice Special:ExpandTemplates

https://en.m.wikipedia.org/wiki/Special:ExpandTemplates

https://en.m.wikipedia.org/wiki/Template_talk:Cite_book

   ====== Reference ======

[1] The Music Bangla Tv opening last night,[1] [2] channel-16 return back is music bangla tv not too late.[2] [3] A New music channel.[3]

More complex examples[edit source]

{{testcase|id=Using a DOI | *{{cite book |last=Mumford |first=David |authorlink=David Mumford |year=1999 |title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians |edition=2nd |publisher=Springer-Verlag |doi=10.1007/b62130 |isbn=354063293X }}

Notes[edit source]

  1. ^ Daily ManobJamin 2015, p. 3.
  2. ^ Daily janata 2015, p. 6.
  3. ^ bd2day24news 2015, p. 1.

Some general examples to get started[edit source]

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

More complex examples[edit source]

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

Template:Testcase

ISBN test cases[edit source]

Template:Testcase

Template:Testcase

Inconsistent formatting[edit source]

First, an example of incorrect formatting of editor reference:

Here is a citation with the chapter title included:
Clifford Truesdell & Walter Noll (2004). "Preface". In Stuart S. Antman (ed.). The Non-linear Field Theories of Mechanics (reprint of 1965 article in Encyclopedia of Physics) (3rd ed.). Springer. p. xiii. ISBN 3540027793. {{cite book}}: Unknown parameter |chapterurl= ignored (|chapter-url= suggested) (help)
The editor's name is preceded by in.
If the chapter title is omitted, the treatment of the editor changes:
Clifford Truesdell & Walter Noll (2004). Stuart S. Antman (ed.). The Non-linear Field Theories of Mechanics (reprint of 1965 article in Encyclopedia of Physics) (3rd ed.). Springer. p. xiii. ISBN 3540027793.
Now there is a double period after ed and the in has been dropped.
Aside from this inconsistency in format, insertion of the word in before the editors name is sometimes inappropriate. The word in makes sense for a collection of works by various authors, edited by an editor. But it does not make sense for a reprinted classic work, such as this example, where the original authors are responsible for the entire work. In this latter case, the reference is not to a chapter among variously sourced chapters, but to a particular topic in a work by the same authors.

This issue is remedied by simply using the editor's name followed by (editor) in all cases.

Second, an example of inconsistent linking to url.

Here is a citation with the chapter title Preface specified. The url for the book becomes attached to the chapter heading:
Clifford Truesdell & Walter Noll (2004). "Preface". In Stuart S. Antman (ed.). The Non-linear Field Theories of Mechanics (reprint of 1965 article in Encyclopedia of Physics) (3rd ed.). Springer. p. xiii. ISBN 3540027793.
If the chapter title is omitted, the url is attached to the book title instead:
Clifford Truesdell & Walter Noll (2004). Stuart S. Antman (ed.). The Non-linear Field Theories of Mechanics (reprint of 1965 article in Encyclopedia of Physics) (3rd ed.). Springer. p. xiii. ISBN 3540027793.

If |chapterurl= is not used, the url should attach by default to the title, and not to the chapter heading. The option |chapterurl= then becomes a true option, and is not forced upon the writer. Brews ohare (talk) 15:20, 8 December 2008 (UTC)

Again with the sandbox


First, an example of incorrect formatting of editor reference:

Here is a citation with the chapter title included:
Script error: No such module "citation/CS1/sandbox".
The editor's name is preceded by in.
If the chapter title is omitted, the treatment of the editor changes:
Script error: No such module "citation/CS1/sandbox".
Now there is a double period after ed and the in has been dropped.
Aside from this inconsistency in format, insertion of the word in before the editors name is sometimes inappropriate. The word in makes sense for a collection of works by various authors, edited by an editor. But it does not make sense for a reprinted classic work, such as this example, where the original authors are responsible for the entire work. In this latter case, the reference is not to a chapter among variously sourced chapters, but to a particular topic in a work by the same authors.

This issue is remedied by simply using the editor's name followed by (editor) in all cases.

Second, an example of inconsistent linking to url.

Here is a citation with the chapter title Preface specified. The url for the book becomes attached to the chapter heading:
Script error: No such module "citation/CS1/sandbox".
If the chapter title is omitted, the url is attached to the book title instead:
Script error: No such module "citation/CS1/sandbox".

If |chapterurl= is not used, the url should attach by default to the title, and not to the chapter heading. The option |chapterurl= then becomes a true option, and is not forced upon the writer. Brews ohare (talk) 15:20, 8 December 2008 (UTC)