Difference between revisions of "Template:Gutenberg book/doc"
Jump to navigation
Jump to search
imported>Thnidu (→Basic usage: It's very hard to read when there are no spaces between the parameters. This is a bad thing, especially in examples.) |
imported>Thnidu (→Basic usage: In sans fonts like Arial, the pipe "|" is almost identical to capital "I" (eye) and small "l" (ell), so I'm spacing around it on both sides in the examples.) |
||
| Line 13: | Line 13: | ||
==Basic usage== | ==Basic usage== | ||
| − | <pre>{{Gutenberg |no= |name= }} </pre> | + | <pre>{{Gutenberg | no= | name= }} </pre> |
;Examples | ;Examples | ||
| − | *{{Gutenberg |no=2383 |name=The Canterbury Tales and Other Poems}} | + | *{{Gutenberg | no=2383 | name=The Canterbury Tales and Other Poems}} |
| − | :<nowiki>{{Gutenberg |no=2383 |name=The Canterbury Tales and Other Poems}}</nowiki> | + | :<nowiki>{{Gutenberg | no=2383 | name=The Canterbury Tales and Other Poems}}</nowiki> |
| − | *{{Gutenberg |no=2383 |name=The Canterbury Tales and Other Poems |author=[[Geoffrey Chaucer]]}} | + | *{{Gutenberg | no=2383 | name=The Canterbury Tales and Other Poems | author=[[Geoffrey Chaucer]]}} |
| − | :<nowiki>{{Gutenberg |no=2383 |name=The Canterbury Tales and Other Poems |author=[[Geoffrey Chaucer]]}}</nowiki> | + | :<nowiki>{{Gutenberg | no=2383 | name=The Canterbury Tales and Other Poems | author=[[Geoffrey Chaucer]]}}</nowiki> |
== Parameters == | == Parameters == | ||
Revision as of 20:41, 12 May 2017
| This is a documentation subpage for Template:Gutenberg book. It contains usage information, categories and other content that is not part of the original template page. |
| This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
This is a template to generate links to the Project Gutenberg. This template should be used exclusively for BOOKS.
To link to AUTHOR listings in Project Gutenberg, use {{Gutenberg author}}.
Process
- Go to the Project Gutenberg web site.
- Look up the page that has the book you want to link via the template.
- Get the EText-No. and the Book name.
- 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
{{Gutenberg | no= | name= }}
- Examples
- {{Gutenberg | no=2383 | name=The Canterbury Tales and Other Poems}}
- {{Gutenberg | no=2383 | name=The Canterbury Tales and Other Poems | author=[[Geoffrey Chaucer]]}}
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 |
|---|---|
| bullet | Enter 'none' if you do not want the bullet. |
| ref | |
| last | |
| year | |
| author | |
| first | |
| last | |
| authorlink | |
| origdate | |
| origyear | |
| chapter | |
| format | |
| others | |
| edition | |
| series | |
| language | |
| publisher | |
| pages | |
| doi | |
| id | |
| isbn | International Standard Book Number |
| oclc | |
| accessdate | |
| quote |
The following parameters are deprecated: accessdaymonth, accessmonthday, accessday, accessmonth, accessyear, access-date, dateformat, day. Use one of the parameters above instead.