Difference between revisions of "Template:Gutenberg author/doc"
Jump to navigation
Jump to search
imported>GreenC |
imported>GreenC (ID should match the Gutenberg database format eg. "Last,+First+(year-year)" = they've all been updated) |
||
| Line 8: | Line 8: | ||
#Using the online catalog, search for the author you want to link via the template. | #Using the online catalog, search for the author you want to link via the template. | ||
#Find the author listing, such as: '''Harrison, James A. (James Albert) (1848-1911)''' | #Find the author listing, such as: '''Harrison, James A. (James Albert) (1848-1911)''' | ||
| − | #Edit the wikipedia page and add in the ''Gutenberg author'' template. | + | #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. |
| − | #You may also | + | #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== | ==Examples of usage== | ||
*On [[Jonathan Swift]]: | *On [[Jonathan Swift]]: | ||
| − | *{{gutenberg author | id= | + | *{{gutenberg author | id=Swift,+Jonathan | name=Jonathan Swift}} |
| − | :<nowiki>{{gutenberg author}} </nowiki> | + | :<nowiki>{{gutenberg author | id=Swift,+Jonathan}} </nowiki> |
*On [[Henry James]]: | *On [[Henry James]]: | ||
| − | *{{gutenberg author | id= | + | *{{gutenberg author | id=James,+Henry+(1843-1916) | name=Henry James}} |
| − | :<nowiki>{{gutenberg author | id= | + | :<nowiki>{{gutenberg author | id=James,+Henry+(1843-1916)}}</nowiki> |
*On [[Edward Thomas (poet)]]: | *On [[Edward Thomas (poet)]]: | ||
| − | *{{gutenberg author | id= | + | *{{gutenberg author | id=Thomas,+Edward | name=Edward Thomas}} |
| − | :<nowiki>{{gutenberg author | id= | + | :<nowiki>{{gutenberg author | id=Thomas,+Edward}}</nowiki> |
| − | 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. | ||
==See also== | ==See also== | ||
Revision as of 00:29, 11 May 2015
| File:Edit-copy green.svg | This is a documentation subpage for Template:Gutenberg author. It contains usage information, categories and other content that is not part of the original template page. |
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
- Go to the Project Gutenberg web site.
- Using the online catalog, search for the author you want to link via the template.
- Find the author listing, such as: Harrison, James A. (James Albert) (1848-1911)
- 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.
- 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}}
- {{gutenberg author | id=James,+Henry+(1843-1916)}}
- {{gutenberg author | id=Thomas,+Edward}}
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
- "Works By" Project to include the template for the entire Gutenberg database.
- {{Internet Archive author}} for Internet Archive
- {{Librivox author}} for LibriVox