Template:Google books/doc: Difference between revisions
Appearance
Content deleted Content added
updating documentation |
no reason to include the title in a plain-url output, right? |
||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
== Usage == |
|||
<code><nowiki>{{Google books|ID|title|page=|plainurl=}}</nowiki></code> |
<code><nowiki>{{Google books|ID|title|page=|plainurl=}}</nowiki></code> |
||
The page number is optional. |
The page number is optional. |
||
The {{para|plainurl}} parameter is also optional. It tells this 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. |
The {{para|plainurl}} parameter is also optional. It tells this 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. |
||
Line 16: | Line 16: | ||
'''Example 2:''' |
'''Example 2:''' |
||
:<code><nowiki>{{cite book|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ |
:<code><nowiki>{{cite book|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ|page=42|plainurl=yes}}|page=42}}</nowiki></code> |
||
creates |
creates |
||
:{{cite book|last=Doe|first=John|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ |
:{{cite book|last=Doe|first=John|title=History of the Western Insurrection|url={{Google books|7ydCAAAAIAAJ|page=42|plainurl=yes}}|page=42}} |
||
=== See also === |
=== See also === |
Revision as of 10:31, 20 January 2015
This is a documentation subpage for Template:Google books. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
{{Google books|ID|title|page=|plainurl=}}
The page number is optional.
The |plainurl=
parameter is also optional. It tells this 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.
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|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.
See also