Difference between revisions of "Template:Literature"

From The Coppermind
Jump to navigation Jump to search
m (+redundant cat)
m (+image param)
Line 1: Line 1:
 
{{infobox|title={{{literature|{{PAGENAME}}|}}}|id=literature
 
{{infobox|title={{{literature|{{PAGENAME}}|}}}|id=literature
 
|1=
 
|1=
  +
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}}
  +
 
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
 
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
 
{{#if:{{{author|}}} |{{row/kv| Author |{{{author}}}<!-- -->}}|}}
 
{{#if:{{{author|}}} |{{row/kv| Author |{{{author}}}<!-- -->}}|}}
Line 10: Line 12:
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->[[Category: Literature]]<!--
+
-->[[category: literature]]<!--
   
 
-->{{#if:<!--
 
-->{{#if:<!--
Line 26: Line 28:
 
;Language: The {{{language}}} parameter is used to annotate what in-universe language(s) the piece is written in.
 
;Language: The {{{language}}} parameter is used to annotate what in-universe language(s) the piece is written in.
 
;Era: The {{{era}}} parameter allows for the description of the time period the piece of literature was written in.
 
;Era: The {{{era}}} parameter allows for the description of the time period the piece of literature was written in.
  +
;Art: Using the {{{image}}} parameter will show the passed file as a header image in the infobox along with automatically citing the artist responsible
   
[[Category: Infoboxes]]
+
[[category: infoboxes]]

Revision as of 08:36, 20 July 2018

Literature
World [[{{{world}}}]]
Featured In {{{books}}}

This template allows you to describe the many attributes of a work of literature, such as a book, story, or poem. The {{{world}}} and {{{books}}} parameters are required The other parameters are optional and can be described in groups:

Type
The {{{type}}} parameter allows for the description of the type of literature, such as book, play, poem, or etc.
Author
The {{{author}}} parameter allows for the description of the person who authored the piece of literature.
Language
The {{{language}}} parameter is used to annotate what in-universe language(s) the piece is written in.
Era
The {{{era}}} parameter allows for the description of the time period the piece of literature was written in.
Art
Using the {{{image}}} parameter will show the passed file as a header image in the infobox along with automatically citing the artist responsible