Pang-bô͘:Google books
本 枋模予人使用佇 approximately 7,400 抑 頂面,所以伊的改變會受著大範圍的注意。請佇界變進前先佇 馮摹的 /sandbox 抑 /testcases 次頁面試驗,或者是佇你家己的 用者取頁面.請佇實行改變進曾考慮先 佇 土論頁 參詳一咧。 |
Usage[修改]
{{Google books|id|title|page=|keywords=|text=|plainurl=}}
The page
, keywords
, text
, and plainurl
parameters are all optional.
The |id=
parameter is the string of twelve characters found in the specific Google Books URL after "id=" but before "&".
The |title=
parameter is used to specify the publication title when used as a link (and not as a bare URL; |title=
is not useful when |plainurl=
is used).
The |page=
parameter may be used to link to a particular normal (PA) page number. |pg=
can be used for "special" pages, e.g. |pg=PR1
for the page numbered "i" or |pg=PP2
for an inside cover (check the specific circumstances as appropriate for the latter as they vary from book to book).
The |keywords=
parameter may be used to search for particular keywords within the text (corresponding to the q parameter in the Google URL); |text=
searches for a quoted phrase (corresponding to the dq parameter in the Google URL).
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.
In many cases when converting an existing Google Book URL, only one of the above should be used. When multiple parameters are present, the final target page is much more likely to vary over time. If linking to a specific page, only use the page parameter, and if doing a text search then do not include the page parameter.
For external links, the following all do the same thing:
For URLs, the following all do the same thing:
Example 1:
Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection}}
creates
- Doe, John. History of the Western Insurrection at Google Books.
Example 2:
Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|keywords=blood}}
creates
- Doe, John. History of the Western Insurrection at Google Books.
Example 3:
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 4:
{{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.
Example 5:
Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|page=42|text=Perhaps bloodshed might have been avoided.}}
creates
- Doe, John. History of the Western Insurrection, p. 42, at Google Books.
Example 6:
Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|pg=PP2}}
creates this which links to the bookplate on the inside cover
- Doe, John. History of the Western Insurrection at Google Books.
Example 7:
Doe, John. {{Google books|7ydCAAAAIAAJ|History of the Western Insurrection|pg=PR1}}
creates this which links to the title page complete with inscriptions
- Doe, John. History of the Western Insurrection at Google Books.
See also[修改]
Further research[修改]
- "Static Links". Google Books APIs. Google Developers. 2019-07-23 khòaⁿ--ê.
- "Linking to individual titles on Google Books". Books Help. Google Help. 2019-07-23 khòaⁿ--ê.
Generator[修改]
- Citer, hosted on the Wikimedia toolforge, can be used to convert Google Books URLs — as well as many other forms of universal identifiers (DOI, ISBN, PMID,etc.) — into full
{{cite book}}
transclusions.
Téng-bīn ê bûn-kiāⁿ sī tùi Pang-bô͘:Google books/doc khàm-ji̍p--ê. (pian-chi̍p | le̍k-sú) Pian-chip-chiá ē-sái tī chit-ê pang-bô͘ ê soa-a̍p (chhòng-kiàn | mirror) kap chhì-giām-kheh-suh (chhòng-kiàn) ia̍h-bīn chò si̍t-giām. Chhiáⁿ tī chú-ia̍h-bīn /doc lāi-bīn ka-thiam lūi-pia̍t. Pún pang-bô͘ ê chú-ia̍h-bīn. |