Difference between revisions of "Template:Literature"

From The Coppermind
Jump to navigation Jump to search
(Fix created parameter)
m
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{infobox
 
{{infobox
|title={{{literature|{{PAGENAME}}|}}}
+
|title={{{name|{{translated title}}}}}|id=literature
|id=literature
 
 
|1=
 
|1=
 
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}}
 
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}}
Line 77: Line 76:
 
<small>See [[#Types]] for further details.</small>
 
<small>See [[#Types]] for further details.</small>
 
|eg=
 
|eg=
<code><nowiki>|type={{cat tag|book}}</nowiki></code>
+
<code><nowiki>|type=Book</nowiki></code>
 
<code><nowiki>|type=Opera</nowiki></code>
 
<code><nowiki>|type=Opera</nowiki></code>
 
}}
 
}}
Line 106: Line 105:
 
{{docs/row/optional
 
{{docs/row/optional
 
|param= era
 
|param= era
|desc= Use this to specify when the literary work was created. This forwards to {{t|era}}, so it must be defined there. It also automatically generates a link.
+
|desc= Use this to specify when the literary work was created. This forwards to {{t|era}}, so it must be defined there. As a result, it cannot be a link.
 
|eg=
 
|eg=
 
<code><nowiki>|era=Era of Solitude</nowiki></code>
 
<code><nowiki>|era=Era of Solitude</nowiki></code>
Line 132: Line 131:
   
 
Applying a category to the type is not necessary, but if you can find one in the list of [[:Special: Categories|category]], use it.
 
Applying a category to the type is not necessary, but if you can find one in the list of [[:Special: Categories|category]], use it.
  +
  +
'''Note:''' do not use <code><nowiki>{{cat tag|books}}</nowiki></code>. [[:Category:Books]] is for the books written by [[Brandon Sanderson]], not in-world literature.
   
 
=== Categories & Tags ===
 
=== Categories & Tags ===
Line 138: Line 139:
   
 
[[Category: Infoboxes]]
 
[[Category: Infoboxes]]
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Revision as of 15:17, 25 March 2021

Template:Translated title
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=
|era=
|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=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]]

era Use this to specify when the literary work was created. This forwards to {{era}}, so it must be defined there. As a result, it cannot be a link.

|era=Era of Solitude

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.

Note: do not use {{cat tag|books}}. Category:Books is for the books written by Brandon Sanderson, not in-world literature.

Categories & Tags

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

Articles using Template