Template:FadedPage/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>EncyclopediaUpdaticus
mNo edit summary
meta>EncyclopediaUpdaticus
update for final version
Line 8: Line 8:
*a) From the main page under "Browse...Author", choose the letter corresponding to the author's last name. For example, for "Edgar Rice Burroughs", choose the letter "B"
*a) From the main page under "Browse...Author", choose the letter corresponding to the author's last name. For example, for "Edgar Rice Burroughs", choose the letter "B"
*b) From the authors page for "B" find "Burroughs, Edgar Rice"
*b) From the authors page for "B" find "Burroughs, Edgar Rice"
*c) Click on an individual book title to view a book page


*Step 2A: To link to the '''author''':
*Step 2A: To link to the '''author''':
**Create the template like this:
**Create the template like this:
:::<code><nowiki>{{FadedPage |id=csearch.php?author=Burroughs, Edgar Rice |name=Edgar Rice Burroughs |author=yes}}</nowiki></code>
:::<code><nowiki>{{FadedPage|id=Burroughs, Edgar Rice|name=Edgar Rice Burroughs|author=yes}}</nowiki></code>
::The <code>id</code> is the string used to construct the url
::The <code>id</code> is the string used to construct the url
::The <code>name</code> is the author's name
::The <code>name</code> is the author's name
::The <code>author</code> denotes an author type link rather than a book type link
::The <code>author</code> must be "author=yes" to denote an author type link rather than a book type link


*Step 2B: To link to a '''book''':
*Step 2B: To link to a '''book''':
**Create the template like this:
**Create the template like this:
:::<code><nowiki>{{FadedPage |id=showbook.php?pid=20160704 |name=Tarzan and the Lost Empire}}</nowiki></code>
:::<code><nowiki>{{FadedPage|id=20160704|name=Tarzan and the Lost Empire}}</nowiki></code>
::The <code>id</code> is the string used to construct the url
::The <code>id</code> is the eight digit string used to construct the url
::The <code>name</code> is the title of the book
::The <code>name</code> is the title of the book


Line 26: Line 27:
:* '''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.
:* '''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. <code>author=yes</code> if ''name'' is an author's name. Don't use if name = book title.
:* '''author''': Set to "yes" ie. <code>author=yes</code> if ''name'' is an author's name. Don't use if name = book title.
:* '''coda''': A text string that follows the template.
::: For book links, code template as <code><nowiki>{{FadedPage|id=201410E7|name=Animal Farm}}</nowiki></code> will produce:
::: For example this <code><nowiki>{{FadedPage |id=showbook.php?pid=201410E7 |name=Animal Farm}}</nowiki></code> will produce:
::::{{FadedPage|id=201410E7|name=Animal Farm}}
::::{{FadedPage |id=showbook.php?pid=201410E7 |name=Animal Farm}}
::: For authors, code like this <code><nowiki>{{FadedPage|id=Leacock, Stephen Butler|name=Stephen Leacock|author=yes}}</nowiki></code> will produce:
::::{{FadedPage|id=Leacock, Stephen Butler|name=Stephen Leacock|author=yes}}


==Notes==
==Notes==

Revision as of 15:39, 30 January 2017

This template is for linking books or authors at Faded Page book archive for Distributed Proofreaders Canada (DPC).

Usage

  • Step 1: Find the author ID at the Faded Page website http://www.fadedpage.com
  • a) From the main page under "Browse...Author", choose the letter corresponding to the author's last name. For example, for "Edgar Rice Burroughs", choose the letter "B"
  • b) From the authors page for "B" find "Burroughs, Edgar Rice"
  • c) Click on an individual book title to view a book page
  • Step 2A: To link to the author:
    • Create the template like this:
{{FadedPage|id=Burroughs, Edgar Rice|name=Edgar Rice Burroughs|author=yes}}
The id is the string used to construct the url
The name is the author's name
The author must be "author=yes" to denote an author type link rather than a book type link
  • Step 2B: To link to a book:
    • Create the template like this:
{{FadedPage|id=20160704|name=Tarzan and the Lost Empire}}
The id is the eight digit string used to construct the url
The name is the title of the book

Arguments

  • id: the id at FadedPage.com 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.
For book links, code template as {{FadedPage|id=201410E7|name=Animal Farm}} will produce:
Animal Farm at Faded Page (Canada)
For authors, code like this {{FadedPage|id=Leacock, Stephen Butler|name=Stephen Leacock|author=yes}} will produce:
Works by Stephen Leacock at Faded Page (Canada)


Notes

  • Faded Page links can be made to individual books or to author pages.

See also