Difference between revisions of "Template:Google books"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Created as needed.) |
Shawndouglas (talk | contribs) m (Protected "Template:Google books" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Revision as of 21:21, 19 August 2016
[edit] [ ] Template documentation
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. //books.google.com/books?id=7ydCAAAAIAAJ&pg=PA42.
See also
- {{Cite book}}
The above documentation is transcluded from Template:Google books/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |