Difference between revisions of "Template:Literature"
m |
(rm featured in) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{infobox |
{{infobox |
||
− | |title={{{ |
+ | |title={{{name|{{PAGENAME}}}}}|id=literature |
− | |id=literature |
||
|1= |
|1= |
||
− | {{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}} |
+ | {{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}} |
<!-- 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 --> |
||
− | {{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- |
+ | {{#if:{{{earth|}}} |{{row/kv| World of Origin |[[Earth ({{{earth}}})]]<!-- -->}}|}} |
− | {{#if:{{{world|}}} |{{row/kv| World | |
+ | {{#if:{{{world|}}} |{{row/kv| World of Origin |{{toponym link|{{{world}}}}}<!-- -->}}|}} |
− | {{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}}{{raw/world}}<!-- |
+ | {{#if:{{{'world|}}} |{{row/kv| World of Origin |{{{'world}}}{{raw/world}}<!-- -->}}|}} |
− | {{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}{{raw/world}}<!-- |
+ | {{#if:{{{raw-world|}}} |{{row/kv| World of Origin |{{{raw-world}}}{{raw/world}}<!-- -->}}|}} |
− | {{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- |
+ | {{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}} |
− | <!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}} |
||
}}<includeonly><!-- |
}}<includeonly><!-- |
||
− | --> |
+ | -->{{cat ns|Literature|only=0}}<!-- |
-- check for world & universe -- |
-- check for world & universe -- |
||
-->{{#if:<!-- |
-->{{#if:<!-- |
||
− | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{' |
+ | -->{{{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]]}}<!-- |
||
Line 46: | Line 46: | ||
|author= |
|author= |
||
|language= |
|language= |
||
− | | |
+ | |era= |
|world= / earth= |
|world= / earth= |
||
|universe= |
|universe= |
||
− | |books= |
||
}} |
}} |
||
</pre> |
</pre> |
||
Line 75: | Line 74: | ||
<small>See [[#Types]] for further details.</small> |
<small>See [[#Types]] for further details.</small> |
||
|eg= |
|eg= |
||
− | <code><nowiki>|type= |
+ | <code><nowiki>|type=Book</nowiki></code> |
<code><nowiki>|type=Opera</nowiki></code> |
<code><nowiki>|type=Opera</nowiki></code> |
||
}} |
}} |
||
Line 100: | Line 99: | ||
<!-- ------------ --> |
<!-- ------------ --> |
||
− | <!-- 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. As a result, it cannot be a link. |
|eg= |
|eg= |
||
− | <code><nowiki>| |
+ | <code><nowiki>|era=Era of Solitude</nowiki></code> |
− | <code><nowiki>|created=331 PC</nowiki></code> |
||
}} |
}} |
||
Line 114: | Line 112: | ||
<!-- ------------------ --> |
<!-- ------------------ --> |
||
{{docs/world|subject=literary work}} |
{{docs/world|subject=literary work}} |
||
− | |- |
||
<!-- ------------- --> |
<!-- ------------- --> |
||
Line 120: | Line 117: | ||
<!-- ------------- --> |
<!-- ------------- --> |
||
{{docs/universe|subject=literary work}} |
{{docs/universe|subject=literary work}} |
||
− | |||
− | <!-- ---------- --> |
||
− | <!-- ROW: books --> |
||
− | <!-- ---------- --> |
||
− | {{docs/books|subject=literary work}} |
||
|} |
|} |
||
Line 132: | Line 124: | ||
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 132: | ||
[[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}} |
Latest revision as of 18:35, 15 March 2024
Literature |
---|
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= }}
Parameters
Highlighted lines indicate mandatory parameters.
Parameter | 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. As a result, it cannot be 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.
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
- Letters (transclusion) (← links | edit)
- Navani's notebook (transclusion) (← links | edit)
- Nearer the Flame (transclusion) (← links | edit)
- Alendi's logbook (transclusion) (← links | edit)
- Kwaan's inscription (transclusion) (← links | edit)
- Sazed's note (transclusion) (← links | edit)
- Spook's note (transclusion) (← links | edit)
- The Elendel Daily (transclusion) (← links | edit)
- Jasnah's notebook (transclusion) (← links | edit)
- Shallan's sketchbook (transclusion) (← links | edit)
- Analectics (transclusion) (← links | edit)
- Book of Endless Pages (transclusion) (← links | edit)
- The Arguments (transclusion) (← links | edit)
- Words of Founding (transclusion) (← links | edit)
- Wyrn the King (transclusion) (← links | edit)
- Mari's Two Lovers (transclusion) (← links | edit)
- The Vavibrar (transclusion) (← links | edit)
- Dialogues (transclusion) (← links | edit)
- Shadows Remembered (transclusion) (← links | edit)
- Iviad (transclusion) (← links | edit)
- Seld (transclusion) (← links | edit)
- Eternathis (transclusion) (← links | edit)
- Diagram (literature) (transclusion) (← links | edit)
- Words of Radiance (in-world) (transclusion) (← links | edit)
- The Poem of Ista (transclusion) (← links | edit)
- The Poem of the Seventh Morning (transclusion) (← links | edit)
- Do-Kando (transclusion) (← links | edit)
- Navani's journal (transclusion) (← links | edit)
- Arts and Majesty (transclusion) (← links | edit)
- Docksithium (transclusion) (← links | edit)
- The House Record (transclusion) (← links | edit)
- The New Ascendancy (transclusion) (← links | edit)
- The List (transclusion) (← links | edit)
- Eila Stele (transclusion) (← links | edit)
- Covad Fragment (transclusion) (← links | edit)
- An Accountability of Virtue (transclusion) (← links | edit)
- A Hero for All Ages (transclusion) (← links | edit)
- Relic and Monument (transclusion) (← links | edit)
- Book of the False Dawn (transclusion) (← links | edit)
- Polite Lady's Handbook to Courtship and Family (transclusion) (← links | edit)
- Verdict (transclusion) (← links | edit)
- Introspections (transclusion) (← links | edit)
- Rhythm of War (in-world) (transclusion) (← links | edit)
- The Den of the Survivor (transclusion) (← links | edit)
- The Last Breath (transclusion) (← links | edit)
- Sentinel of Truth (transclusion) (← links | edit)
- The Two Seasons (transclusion) (← links | edit)
- Khrissalla's Journal (transclusion) (← links | edit)
- The Frugal Wizard's Handbook for Surviving Medieval England (in-world) (transclusion) (← links | edit)
- Epic of Jilo (transclusion) (← links | edit)