User:Argent/templates/Books

From The Coppermind
Jump to: navigation, search
Argent/templates/Books

Description[edit]

This template is used to describe actual books written by Brandon Sanderson. This includes published novels (e.g. The Way of Kings, Legion), short stories (e.g. Perfect State), anthologies (e.g. Arcanum Unbounded), graphic novels (e.g. White Sand (vol. 1)), and derivative works, such as the Mistborn Adventure Game RPG and its expansions. In addition to any published works, this template also applies to books planned for the future (e.g. Nightblood), books written in the past but not published (e.g. The Liar of Partinel or Aether of Night). Notably, this template does not apply to Brandon's essays, blogs, annotations, or in-world books.

Applying this template to a page will add the article to Category: Books.

Parameters[edit]

The book template supports the following parameters, none of which are required:

{{book
|cover=
|prequel=
|sequel=
|series=
|setting=
|released=
|publisher=
|ISBN=
|annotations=
}}
cover
Provide a filename to autogenerate a thumbnail and artist attribution using the {{row/image+artist}} template.
Example: |cover=Words of Radiance.jpg
prequel
If the book belongs to a series and is not the first book in it, prequel can be used to provide that first book. Using this parameter autogenerates a < link to the prequel's page, and adds a Follows row in the infobox.
Notes: Infoboxes that make use of prequel should also have a series.
Example: |prequel=The Way of Kings
prev
Can be used in conjunction with prequel to provide an alternative name in Follows row. In this scenario, prev should use the actual name of the target page, while prequel displays a more user-friendly name.
Example: |prev=Legion (book)|prequel=Legion
sequel
If the book belongs to a series and has a known sequel, sequel can be used to provide it. Using this parameter autogenerates a > link to the sequel's page, and adds a Precedes row in the infobox.
Notes: Infoboxes that make use of sequel should also have a series.
Example: |sequel=Oathbringer
next
Can be used in conjunction with sequel to provide an alternative name in Precedes row. In this scenario, next should use the actual name of the target page, while sequel displays a more user-friendly name.
Example: |next=Legion: Skin Deep|sequel=Skin Deep
series
If the book belongs to a series, use this parameter to link to the series' page.
Example: |series=The Stormlight Archive
setting
 ??? Adds a Setting row to the infobox.
Example: |setting=Cosmere, Roshar
released
Specifies a release date for the book. Use the Month D, YEAR format. Adds a Released row to the infobox.
Example: |released=March 14, 2014
publisher
Can be used to link to the publisher's Wikipedia page. Adds a Publisher row to the infobox.
Notes: publisher-raw is a special variant of this that skips the link creation.
Examples: |publisher=Tor books
ISBN
Can be used to specify the book's ISBN. Adds an ISBN row to the infobox.
Example: |ISBN=978-0765326362

annotations

If the book has annotations on Brandon's website, this parameter can link to them. Navigate to the annotations page and pass everything after the https://brandonsanderson.com/ as a value to this parameter.
Notes: annotation is a special variant of this that can be used whenever the annotations reside on a single page.
Example: |annotations=annotation-alcatraz-authors-foreword

Examples[edit]

Here are some examples of how all of this comes together:

Standalone book[edit]

Perfect State
Perfect State Cover Art.jpg
by J.P. Targete
Setting The States
Released March 31, 2015
Publisher Dragonsteel Entertainment
ISBN 9781978604599


Book in series[edit]

<The Well of Ascension>
Mistborn 2.jpg
by Chris McGrath
Mistborn Era 1
Follows The Final Empire
Precedes The Hero of Ages
Setting Cosmere, Scadrial, The Final Empire
Released August 21, 2007
Publisher Tor Books
ISBN 978-0-7653-1688-2
Annotations Portal