Template:Gutenberg Australia
Appearance
(Redirected from Template:Gutenberg Australia author anchor a-m)
This template uses Lua: |
This template is for linking books or authors at Project Gutenberg Australia (PGAU).
Usage
[edit]- Step 1: Find the author ID at the PGAU website http://gutenberg.net.au
- Go to either http://gutenberg.net.au/plusfifty-a-m.html (A-M) or http://gutenberg.net.au/plusfifty-n-z.html (N-Z) depending on the first letter of the last name of the author in question.
- In a browser, do a "View page source" to show the HTML. Search on the author's name and find the "id" parameter.
- For example for Charles Dickens the HTML looks like this:
<td><a name="dickensc" id="dickensc"></a><b>Charles DICKENS (1812-1870)</b>
- The ID is dickensc
- For example for Charles Dickens the HTML looks like this:
- Step 2A: If linking to a book..
- Create the template like this:
{{Gutenberg Australia |id=plusfifty-a-m.html#dickensc |name=Tale of Two Cities}}
- The
id
is now composed of the "plusfifty-a-m.html" + "#" + "dickensc" - The
name
is the title of the book
- Step 2B: If linking an author..
- Create the template like this:
{{Gutenberg Australia |id=plusfifty-a-m.html#dickensc |name=Charles Dickens |author=yes}}
- The
id
is the same as when linking to a book (above), but also include the argumentauthor=yes
- The
name
is the author's name
Arguments
[edit]- id: the id at PGAU website. See "Usage" above for how to determine.
- name: The name of the author, or the title of the book. Can be anything doesn't have to match the Wikipedia page or the PGAU website.
- author: Set to "yes" ie.
author=yes
if name is an author's name. Don't use if name = book title. - coda: A text string that follows the template.
- For example this
{{Gutenberg Australia |id=plusfifty-a-m.html#dickensc |name=Tale of Two Cities |coda=(Third American edition)}}
will produce:- Tale of Two Cities at Project Gutenberg Australia (Third American edition)
- For example this
Notes
[edit]- The PGAU website has no page for individual book titles, the only way to link is to a sub-section of a longer page.
See also
[edit]- Template:Gutenberg book (for books)
- Template:Gutenberg author (for authors)