Difference between revisions of "Template:Literature"

rm featured in
m
(rm featured in)
 
(15 intermediate revisions by 2 users not shown)
{{infobox
|title={{{literaturename|{{PAGENAME}}|}}}|id=literature
|id=literature
|1=
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}}
 
<!-- about -->
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
{{#if:{{{author|}}} |{{row/kv| Author |{{{author}}}<!-- -->}}|}}
{{#if:{{{language|}}} |{{row/kv| Language |{{{language}}}<!-- -->}}|}}
{{#if:{{{createdera|}}} |{{row/kv| Created in |[[{{{era}}}]]{{era/{{{era}}}|}}<!-- -->}}|}}
 
<!-- world & universe -->
{{#if:{{{earth|}}} |{{row/kv| World of Origin |[[Earth ({{{earth}}})]]<!-- -->}}|}}
{{#if:{{{world|}}} |{{row/kv| World of Origin |[[{{toponym link|{{{world}}}]]}}<!-- -->}}|}}
{{#if:{{{'world|}}} |{{row/kv| World of Origin |{{{'world}}}{{raw/world}}<!-- -->}}|}}
{{#if:{{{raw-world|}}} |{{row/kv| World of Origin |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
}}<includeonly><!--
 
-->[[Category:{{cat ns|Literature]]|only=0}}<!--
 
-- check for world & universe --
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{raw-world|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
 
-->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
|author=
|language=
|createdera=
|world= / earth=
|universe=
|books=
}}
</pre>
<small>See [[#Types]] for further details.</small>
|eg=
<code><nowiki>|type={{cat tag|book}}Book</nowiki></code>
<code><nowiki>|type=Opera</nowiki></code>
}}
 
<!-- ------------ -->
<!-- ROW: createdera -->
<!-- ------------ -->
{{docs/row/optional
|param= createdera
|desc= Use this to specify when the literary work was created. This beforwards eitherto specific{{t|era}}, (e.g.so year)it ormust genericbe defined (e.gthere. era)As a result, it cannot be a link.
|eg=
<code><nowiki>|createdera=[[Era of Solitude]]</nowiki></code><br>
<code><nowiki>|created=331 PC</nowiki></code>
}}
 
<!-- ------------- -->
{{docs/universe|subject=literary work}}
 
<!-- ---------- -->
<!-- ROW: books -->
<!-- ---------- -->
{{docs/books|subject=literary work}}
 
|}
 
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 ===
 
[[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}}