1,663 bytes added
, 17:25, 27 July 2016
m{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
== Usage ==
<code><nowiki>{{Google books|ID|title|page=|keywords=|text=|plainurl=}}</nowiki></code>
The <code>page</code>, <code>keywords</code>, <code>text</code>, and <code>plainurl</code> parameters are all optional.
The {{para|ID}} parameter are twelve symbols found in the particular Google Books address after "id=" but before "&".
The {{para|page}} parameter may be used to link to a particular page number.
The {{para|keywords}} parameter may be used to search for particular keywords within the text; {{para|text}} searches for a quoted phrase.
The {{para|plainurl}} parameter tells the template to output a URL (web address) only, rather than a linked book title and page number. Use {{para|plainurl|yes}} when using this template in a {{para|url}} parameter of a citation template. {{para|plain-url}} works as an alias.
'''Example 1:'''
:<code><nowiki>Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|page=42}}</nowiki></code>
creates
:Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|page=42}}.
'''Example 2:'''
:<code><nowiki>{{cite book|last=Doe|first=John|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ|page=42|plainurl=yes}}|page=42}}</nowiki></code>
creates
:{{cite book|last=Doe|first=John|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ|page=42|plainurl=yes}}|page=42}}
== See also ==
* {{tl|Cite book}}
* [[Google Books]]
* [[WP:BOOKLINKS]]
<includeonly>
[[Category:Google search templates]]
[[Category:Catalog lookup templates]]
</includeonly>