Difference between revisions of "Template:Gutenberg author/doc"

From blackwiki
Jump to navigation Jump to search
imported>GreenC
(ID should match the Gutenberg database format eg. "Last,+First+(year-year)" = they've all been updated)
imported>GreenC
(expand examples)
Line 12: Line 12:
  
 
==Examples of usage==
 
==Examples of usage==
*On [[Jonathan Swift]]:
+
*On [[Jonathan Swift]]:  
*{{gutenberg author | id=Swift,+Jonathan | name=Jonathan Swift}}
+
::<nowiki>{{Gutenberg author | id=Swift,+Jonathan}} </nowiki>
:<nowiki>{{gutenberg author | id=Swift,+Jonathan}} </nowiki>
+
:produces:
 +
::{{Gutenberg author | id=Swift,+Jonathan | name=Jonathan Swift}}
 
*On [[Henry James]]:
 
*On [[Henry James]]:
*{{gutenberg author | id=James,+Henry+(1843-1916) | name=Henry James}}
+
::<nowiki>{{Gutenberg author | id=James,+Henry+(1843-1916)}}</nowiki>
:<nowiki>{{gutenberg author | id=James,+Henry+(1843-1916)}}</nowiki>
+
:produces:
 +
::{{Gutenberg author | id=James,+Henry+(1843-1916) | name=Henry James}}
 +
:This shows how dates are used to narrow results of a common name.
 +
*On [[Ephraim Douglass Adams]]:
 +
::<nowiki>{{Gutenberg author | id=Adams,+Ephraim+Douglass}}</nowiki>
 +
:produces:
 +
::{{Gutenberg author | id=Adams,+Ephraim+Douglass | name=Ephraim Douglass Adams}}
 +
:This demonstrates a 3-word name.
 +
*On [[German Sims Woodhead]]:
 +
::<nowiki>{{Gutenberg author | id=Woodhead,+G.+Sims,+(German+Sims),+Sir</nowiki>
 +
:produces:
 +
::{{Gutenberg author | id=Woodhead,+G.+Sims,+(German+Sims),+Sir | name=German Sims Woodhead}}
 +
:This demonstrates a complex name (use of "Sir"). Other complex names include royalty. The only way to know how its structured is by looking at the Gutenberg database first.
 
*On [[Edward Thomas (poet)]]:
 
*On [[Edward Thomas (poet)]]:
*{{gutenberg author | id=Thomas,+Edward | name=Edward Thomas}}
+
::<nowiki>{{Gutenberg author | id=Thomas,+Edward}}</nowiki>
:<nowiki>{{gutenberg author | id=Thomas,+Edward}}</nowiki>
+
:produces:
 +
::{{Gutenberg author | id=Thomas,+Edward | name=Edward Thomas}}
 +
:This demonstrates how a common name can match multiple people. To narrow the results add the dates:
 +
::<nowiki>{{Gutenberg author | id=Thomas,+Edward+(1878-1917)}}</nowiki>
 +
:produces
 +
::{{Gutenberg author | id=Thomas,+Edward+(1878-1917) | name=Edward Thomas}}
 +
:Unfortunately sometimes the birth-death dates on Wikipedia don't exactly match those on Gutenberg.
  
 
Note: A partial name, such as <nowiki>{{gutenberg author | id=Jon | name=Jon}}</nowiki> will generate a list of all authors with "Jon" anywhere in the name.  
 
Note: A partial name, such as <nowiki>{{gutenberg author | id=Jon | name=Jon}}</nowiki> will generate a list of all authors with "Jon" anywhere in the name.  

Revision as of 00:44, 11 May 2015

This is a template to generate links to the Project Gutenberg. This template should be used exclusively for AUTHORS, ILLUSTRATORS, TRANSLATORS, and persons with similar roles in book production.

To link directly to a BOOK, use template:Gutenberg.

Process

  1. Go to the Project Gutenberg web site.
  2. Using the online catalog, search for the author you want to link via the template.
  3. Find the author listing, such as: Harrison, James A. (James Albert) (1848-1911)
  4. Edit the wikipedia page and add in the Gutenberg author template. Set the 'id' variable equal to the author's name in this format: Lastname,+Firstname or however the name appears in the Gutenberg website, usually lastname followed by comma and then the rest of the name. The 'id' sets the actual link to the Project Gutenberg database. The plus "+" are required; if spaces are used, the URL won't work. Although it's possible to use a bare template with no ID parameter since it will default to the article title, this is not recommended as articles on Wikipedia are continually renamed for disambiguation purposes and it's safer to lock in the desired ID.
  5. You may also set the 'name' variable in the template to equal the author's name how you wish it to appear, such as: James A. Harrison or James Albert Harrison. The 'name' is for Wikipedia display purposes only.

Examples of usage

{{Gutenberg author | id=Swift,+Jonathan}}
produces:
Works by Jonathan Swift at Project Gutenberg
{{Gutenberg author | id=James,+Henry+(1843-1916)}}
produces:
Works by Henry James at Project Gutenberg
This shows how dates are used to narrow results of a common name.
{{Gutenberg author | id=Adams,+Ephraim+Douglass}}
produces:
Works by Ephraim Douglass Adams at Project Gutenberg
This demonstrates a 3-word name.
{{Gutenberg author | id=Woodhead,+G.+Sims,+(German+Sims),+Sir
produces:
Works by German Sims Woodhead at Project Gutenberg
This demonstrates a complex name (use of "Sir"). Other complex names include royalty. The only way to know how its structured is by looking at the Gutenberg database first.
{{Gutenberg author | id=Thomas,+Edward}}
produces:
Works by Edward Thomas at Project Gutenberg
This demonstrates how a common name can match multiple people. To narrow the results add the dates:
{{Gutenberg author | id=Thomas,+Edward+(1878-1917)}}
produces
Works by Edward Thomas at Project Gutenberg
Unfortunately sometimes the birth-death dates on Wikipedia don't exactly match those on Gutenberg.

Note: A partial name, such as {{gutenberg author | id=Jon | name=Jon}} will generate a list of all authors with "Jon" anywhere in the name.

See also