Difference between revisions of "Template:InfoboxBook"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
{| style="width: 20em; text-align: left; font-size: 95%; float: right"  
+
<table style="width: 20em; text-align: left; font-size: 95%; float: right">
|-
+
<tr><th colspan="2" style="font-size: larger; background: #ddd;">{{{name}}}</th></tr>
! colspan="2" style="font-size: larger; background: #ddd;" | {{{name}}}
+
<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>
| colspan="2" style="text-align: center; font-size: smaller; border-bottom: 1px solid #aaa;" |{{{image}}}<br>{{{caption}}}
+
<tr><td>Version</td><td>{{{version}}}</td></tr>
|-
+
<tr><td>Author</td><td>{{{author}}}</td></tr>
! Publisher
+
<tr><td>Format</td><td>{{{format}}}</td></tr>
| {{{publisher}}}
+
<tr><td>Canonical</td><td>{{{canon|no}}}</td></tr>
|-
 
! Version
 
| {{{version}}}
 
|-
 
! Author
 
| {{{author}}}
 
|-
 
! Format
 
| {{{format}}}
 
|-
 
! Canonical
 
| {{{canon}}}
 
|-
 
 
{{if|{{{edition|}}}|<tr><td>Edition</td><td>{{{edition}}}</td></tr>}}
 
{{if|{{{edition|}}}|<tr><td>Edition</td><td>{{{edition}}}</td></tr>}}
|-
+
<tr><td>Year Published</td><td>{{{year}}}</td></tr>
! Year Published
 
| {{{year}}}
 
|-
 
 
{{if|{{{pages|}}}|<tr><td>Pages</td><td>{{{pages}}}</td></tr>}}
 
{{if|{{{pages|}}}|<tr><td>Pages</td><td>{{{pages}}}</td></tr>}}
 
{{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>
| colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;" | {{{footnote}}}
+
</table>[[Category:Publish]]<noinclude>
|}[[Category:Publish]]<noinclude>
 
 
[[Category:Infobox|Book]]
 
[[Category:Infobox|Book]]
 
</noinclude>
 
</noinclude>

Revision as of 13:43, 5 June 2007


{{{name}}}
{{{image}}}
{{{caption}}}
Publisher{{{publisher}}}
Version{{{version}}}
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, books, magazines, games.