Difference between revisions of "Template:Literature"
m (Protected "Template:Literature": High traffic page: We'd like all infobox changes to be discussed and agreed to by consensus ahead of time ([Edit=Allow only keepers] (indefinite) [Move=Allow only keepers] (indefinite))) |
(Fix created parameter) |
||
Line 6: | Line 6: | ||
<!-- about --> |
<!-- about --> |
||
− | {{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}} |
+ | {{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}} |
− | {{#if:{{{author|}}} |{{row/kv| Author |{{{author}}}<!-- -->}}|}} |
+ | {{#if:{{{author|}}} |{{row/kv| Author |{{{author}}}<!-- -->}}|}} |
− | {{#if:{{{language|}}} |{{row/kv| Language |{{{language}}}<!-- -->}}|}} |
+ | {{#if:{{{language|}}} |{{row/kv| Language |{{{language}}}<!-- -->}}|}} |
− | {{#if:{{{ |
+ | {{#if:{{{era|}}} |{{row/kv| Created in |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}} |
<!-- world & universe --> |
<!-- world & universe --> |
||
Line 48: | Line 48: | ||
|author= |
|author= |
||
|language= |
|language= |
||
− | | |
+ | |era= |
|world= / earth= |
|world= / earth= |
||
|universe= |
|universe= |
||
Line 102: | Line 102: | ||
<!-- ------------ --> |
<!-- ------------ --> |
||
− | <!-- ROW: |
+ | <!-- ROW: era --> |
<!-- ------------ --> |
<!-- ------------ --> |
||
{{docs/row/optional |
{{docs/row/optional |
||
− | |param= |
+ | |param= era |
− | |desc= Use this to specify when the literary work was created. This |
+ | |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. |
|eg= |
|eg= |
||
− | <code><nowiki>| |
+ | <code><nowiki>|era=Era of Solitude</nowiki></code> |
− | <code><nowiki>|created=331 PC</nowiki></code> |
||
}} |
}} |
||
Revision as of 21:17, 9 March 2020
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= |era= |world= / earth= |universe= |books= }}
Parameters
Highlighted lines indicate mandatory parameters.
Template:Docs/booksParameter | Description | Examples |
---|---|---|
image
|
Use this to display a relevant image hosted on the Coppermind.
See Help:Infoboxes for further details. |
|
type
|
Use this to specify the type of the literary work.
See #Types for further details. |
|
author
|
Use this to specify the author(s) of the literary work, if known. |
|
language
|
Use this to specify the original language of the literary work. |
|
era
|
Use this to specify when the literary work was created. This forwards to {{era}} , so it must be defined there. It also automatically generates a link.
|
|
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 |
|
universe
|
Use this to indicate the (connected) universe where the literary work can be found.
See Help: Infoboxes for further details. |
|
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.