Difference between revisions of "Template:InfoboxBook"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Update to handle | in references)
m (fix instructions for canon to show properly)
Line 17: Line 17:
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
[[Category:Infobox|Book]]
 
[[Category:Infobox|Book]]
</noinclude>
+
This is a template for any form of published material: e.g. books, magazines, games.
<noinclude>
+
It will auto-generate categories for "publisher Books" and "version Books" assuming these are correctly defined as references.
 +
 
 
Use:
 
Use:
<pre><nowiki>
+
<pre style="clear: both"><nowiki>
 
{{InfoboxBook
 
{{InfoboxBook
 
   |name={Name of book}
 
   |name={Name of book}
Line 29: Line 30:
 
   |author={List of authors}
 
   |author={List of authors}
 
   |format={book format eg. lbb}
 
   |format={book format eg. lbb}
   |canonical={yes or no is book canon}
+
   |canon={yes or no is book canon}
 
   |edition={versions of book, issue}
 
   |edition={versions of book, issue}
 
   |year={year published}
 
   |year={year published}
Line 37: Line 38:
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
This is a template for any form of published material: e.g. books, magazines, games.
 
It will auto-generate categories for "publisher Books" and "version Books" assuming these are correctly defined as references.
 
 
</noinclude>
 
</noinclude>

Revision as of 22:05, 16 December 2007


{{{name}}}
{{{image}}}
{{{caption}}}
Publisher{{{publisher}}}
VersionGeneric
Author{{{author}}}
Format{{{format}}}
Canonicalno
Year Published{{{year}}}
{{{footnote}}}

This is a template for any form of published material: e.g. books, magazines, games. It will auto-generate categories for "publisher Books" and "version Books" assuming these are correctly defined as references.

Use:

{{InfoboxBook
  |name={Name of book}
  |image={Reference to Image}
  |caption={Sub-Title of Book}
  |publisher={Reference to Publisher}
  |version={Reference to Version of Traveller}
  |author={List of authors}
  |format={book format eg. lbb}
  |canon={yes or no is book canon}
  |edition={versions of book, issue}
  |year={year published}
  |pages={number of pages}
  |alsosee={related reference}
  |footnote=(misc info e.g. isbn)
}}