Template:Google books/doc

From Dharmawiki
< Template:Google books
Revision as of 17:25, 27 July 2016 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error in mw.lua at line 307: frame:expandTemplate: a title is required.

Usage

{{Google books|ID|title|page=|keywords=|text=|plainurl=}}

The page, keywords, text, and plainurl parameters are all optional.

The |ID= parameter are twelve symbols found in the particular Google Books address after "id=" but before "&".

The |page= parameter may be used to link to a particular page number.

The |keywords= parameter may be used to search for particular keywords within the text; |text= searches for a quoted phrase.

The |plainurl= parameter tells the template to output a URL (web address) only, rather than a linked book title and page number. Use |plainurl=yes when using this template in a |url= parameter of a citation template. |plain-url= works as an alias.

Example 1:

Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|page=42}}

creates

Doe, John. History of the Western Insurrection, p. 42, at Google Books.

Example 2:

{{cite book|last=Doe|first=John|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ|page=42|plainurl=yes}}|page=42}}

creates

Doe, John. History of the Western Insurrection. p. 42.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>

See also