Difference between revisions of "Template:InfoboxBook"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Add a default "Generic" to the Version)
Line 3: Line 3:
 
<tr><td colspan="2" style="text-align: center; font-size: smaller; border-bottom: 1px solid #aaa;">{{{image}}}<br>{{{caption}}}</td></tr>
 
<tr><td colspan="2" style="text-align: center; font-size: smaller; border-bottom: 1px solid #aaa;">{{{image}}}<br>{{{caption}}}</td></tr>
 
<tr><td>Publisher</td><td>{{{publisher}}}</td></tr>
 
<tr><td>Publisher</td><td>{{{publisher}}}</td></tr>
<tr><td>Version</td><td>{{{version}}}</td></tr>
+
<tr><td>Version</td><td>{{{version|Generic}}}</td></tr>
 
<tr><td>Author</td><td>{{{author}}}</td></tr>
 
<tr><td>Author</td><td>{{{author}}}</td></tr>
 
<tr><td>Format</td><td>{{{format}}}</td></tr>
 
<tr><td>Format</td><td>{{{format}}}</td></tr>
Line 12: Line 12:
 
{{if|{{{alsosee|}}}|<tr><td>Also See</td><td>{{{alsosee}}}</td></tr>}}
 
{{if|{{{alsosee|}}}|<tr><td>Also See</td><td>{{{alsosee}}}</td></tr>}}
 
<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;">{{{footnote}}}</td></tr>
 
<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;">{{{footnote}}}</td></tr>
</table><includeonly>[[Category:Ludography]][[Category:{{#sub:{{{version}}}|2|-2}} Books]][[Category:{{#sub:{{{publisher}}}|2|-2}} Books]]</includeonly><noinclude>
+
</table><includeonly>[[Category:Ludography]]
 +
[[Category:{{#sub:{{{version|Generic}}}|2|-2}} Books]]
 +
[[Category:{{#sub:{{{publisher}}}|2|-2}} Books]]
 +
</includeonly><noinclude>
 
[[Category:Infobox|Book]]
 
[[Category:Infobox|Book]]
 
</noinclude>
 
</noinclude>

Revision as of 13:28, 13 December 2007


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


Use:

{{InfoboxBook
  |name={Name of book}
  |image={Reference to Image}
  |caption={Sub-Title of Book}
  |publisher={Reference to Publisher}
  |version={Version of Traveller}
  |author={List of authors}
  |format={book format eg. lbb}
  |canonical={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)
}}

This is a template for any form of published material: e.g. books, magazines, games.