Difference between revisions of "Template:Literature"

From The Coppermind
Jump to navigation Jump to search
m
m (depreciate raws)
Line 25: Line 25:
 
-- check for world & universe --
 
-- check for world & universe --
 
-->{{#if:<!--
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{raw-world|}}}<!-- -->{{{universe|}}}<!--
+
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->}}<!--
 
-->}}<!--
  +
  +
-->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!--
   
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--

Revision as of 20:57, 20 April 2019

Literature
Featured In {{{books}}}

The literature infobox template is used to describe literary works, both written (e.g. books, newspapers) and oral (e.g. songs, poems), from any of Brandon Sanderson's stories.


Template

{{literature
|image=
|type=
|author=
|language=
|created=
|world= / earth=
|universe=
|books=
}}

Parameters

Highlighted lines indicate mandatory parameters.

Template:Docs/books
{{Literature}} Parameters
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=The Elendel Daily header.png

type Use this to specify the type of the literary work.

See #Types for further details.

|type={{cat tag|book}} |type=Opera

author Use this to specify the author(s) of the literary work, if known.

|author=[[Taravangian]]
|author=[[Hoid]], [[Frost]]

language Use this to specify the original language of the literary work.

|language=[[Dawnchant]]

created Use this to specify when the literary work was created. This be either specific (e.g. year) or generic (e.g. era).

|created=[[Era of Solitude]]
|created=331 PC

world
or
earth
Use this to specify the planet where the literary work can be found.

Note: Automatically generates a link. To bypass this, use 'world.
See Help:Infoboxes for further details.

|world=Roshar
|earth=Reckoners
|'world=Mars

universe Use this to indicate the (connected) universe where the literary work can be found.

See Help: Infoboxes for further details.

|universe=[[Cosmere]]
|universe=[[Cytoverse]]
|universe=[[Wode]] [[State]]s
|universe=''Standalone''

Types

When specifying a type for a literary work, stick to the most generic type only. For example, An Accountability of Virtue is both a book and a (romance) novel, but for the purposes of this template it is of the same type as Shadows Remembered - a book.

Applying a category to the type is not necessary, but if you can find one in the list of category, use it.

Categories & Tags

Pages that make use of the {{Literature}} template will be added to Category: Literature.