Template talk:gbooks
Documentation
editThis template is used in the bibliographic information for a quotation. When linking to Google Books, Google often provides long, ugly URLs with a lot of extra information and unneeded clutter. As long as you know the page number and the word you would like to highlight, just provide the Google Book ID (e.g. "C2BhatzMiMwC") from the URL, and the template will create the link for you. You can either use named parameters in any order, like:
{{gbooks|q=manslaughter|id=C2BhatzMiMwC|pg=62}}
which evaluates to:
or put ID, page number, and highlighted word in order, like:
{{gbooks|FubMrc6I4DQC|29|android}}
which evaluates to:
For multi-word items, simply separate each word with a pipe, and the whole phrase will be highlighted, like:
{{gbooks|K4gmTqeFNwEC|329|you|don't|know|shit|from|shinola}}
for:
Google's URL uses a different system for the Roman numeral page numbers before the regular numbered pages in the book. You will see "PR" instead of "PA" in the URL if this is the case. Use the parameter "pgR=" for quotations in these pages. You wil probably also have to use the "altpg=" parameter to make the displayed page number (e.g., "xxii") different from the page number in the URL (e.g., "22"), like:
{{gbooks|SyV0EGXuf1cC|pgR=22|q=Clausewitzian|altpg=xxii}}
for: