Jump to content

From Noumenapedia
Revision as of 03:50, 11 September 2026 by Deleatur yhe (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Gutenberg book/doc

__EXPECTED_UNCONNECTED_PAGE__

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

This is a template to generate links to books on Project Gutenberg.

To link to authors on Project Gutenberg, use {{Gutenberg author}}.

Process

  1. Go to the Project Gutenberg website.
  2. Look up the page that has the book you want to link via the template.
  3. Get the EText-No. and the Book name.
  4. Edit the Wikipedia page and add in the Gutenberg template, setting the 'no' variable equal to the EText-No. and the 'name' equal to the book name.

Basic usage

<syntaxhighlight lang="wikitext">

  • [1] at Project Gutenberg</syntaxhighlight>
Examples
{{Gutenberg book | no=2383 | name=The Canterbury Tales and Other Poems}}
{{Gutenberg book | no=2383 | name=The Canterbury Tales and Other Poems | author=[[Geoffrey Chaucer]]}}
The Canterbury Tales and Other Poems at Project Gutenberg
{{Gutenberg book | bullet=none | no=2383 | name=The Canterbury Tales and Other Poems}}

Parameters

Do not use all these parameters for any one book. The list is long to cover a wide range of books. Only use those parameters that convey essential or notable information about the subject. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.

Parameter Explanation
no
name Name of work; defaults to PAGENAMEBASE
italics Set to no to display quotation marks around the name instead of using italics; any other value will use italics
bullet Enter 'none' if you do not want the bullet.
This is advisable if you are using this as the only source in a reference.
ref
year
author
first
last
authorlink
origdate
origyear
chapter
format
others
edition
series
language
publisher
pages
doi
id
isbn International Standard Book Number (never applicable, since all Project Gutenberg editions were published before 1970)
oclc
access-date
quote

<syntaxhighlight lang="wikitext" style="overflow:auto">

</syntaxhighlight>

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Gutenberg book in articles based on its TemplateData.

TemplateData for Gutenberg book

<templatedata> { "params": { "bullet": { "description": "Enter 'none' if you do not want the bullet. This is advisable if you are using this as the only source in a reference.", "suggestedvalues": [ "none" ] }, "ref": {}, "last": {}, "year": {}, "author": { "description": "Book author", "example": "Geoffrey Chaucer", "type": "string" }, "authorlink": {}, "first": {}, "coauthors": {}, "origdate": {}, "origyear": {}, "origmonth": {}, "date": {}, "month": {}, "chapter": {}, "chapter-url": {}, "editor": {}, "no": { "description": "Gutenberg book E-Text number", "type": "number", "suggested": true, "example": "2383" }, "name": { "description": "Book name; enter if the name of the book is different to the name of the page. Default value is name of page.", "type": "string", "example": "The Canterbury Tales and Other Poems" }, "italics": { "description": "Enter 'no' to display quotation marks around the name instead of using italics; any other value will use italics.", "suggestedvalues": [ "no" ] }, "title": {}, "format": {}, "others": {}, "edition": {}, "series": {}, "language": {}, "publisher": {}, "location": {}, "pages": {}, "doi": { "description": "Digital object identifier" }, "id": {}, "isbn": { "description": "International Standard Book Number", "type": "number" }, "oclc": { "description": "Online Computer Library Center Number" }, "access-date": {}, "accessdate": {}, "quote": {} }, "description": "This is a template to generate links to books on Project Gutenberg.", "paramOrder": [ "no", "name", "italics", "bullet", "year", "ref", "author", "first", "last", "authorlink", "origdate", "origyear", "origmonth", "date", "month", "chapter", "chapter-url", "coauthors", "editor", "title", "format", "others", "edition", "series", "language", "publisher", "location", "pages", "doi", "id", "isbn", "oclc", "access-date", "accessdate", "quote" ] } </templatedata>