Difference between revisions of "Template:Gutenberg book"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(No pages in category. Removing support for deprecated params.)
imported>Jonesey95
(straighten quote marks for consistency per MOS)
Line 85: Line 85:
 
   #if: {{{accessdate|}}}
 
   #if: {{{accessdate|}}}
 
   | . Retrieved on {{{accessdate}}}
 
   | . Retrieved on {{{accessdate}}}
}} at [[Project Gutenberg]]{{ #if: {{{quote|}}} |  {{{quote}}}
+
}} at [[Project Gutenberg]]{{ #if: {{{quote|}}} |  "{{{quote}}}"
 
}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with Project Gutenberg links]]|}}</span><noinclude>
 
}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with Project Gutenberg links]]|}}</span><noinclude>
 
<!-- Add cats and interwikis to the /doc subpage, please, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, please, not here! -->
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:51, 17 November 2016

Template documentation[view] [edit] [history] [purge]

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 web site.
  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

{{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.
This is advisable if you are using this as the only source in a reference.
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.