Difference between revisions of "Template:InfoboxBook"
Jump to navigation
Jump to search
(convert fixed table to Wiki Table, Add availble from parameter) |
m (fix categories) |
||
| Line 37: | Line 37: | ||
[[Category:{{#if:{{#pos:{{{publisher}}}|{{!}}}}|{{#sub:{{{publisher}}}|2|{{#expr:{{#pos:{{{publisher}}}|{{!}}}}-2}}}}|{{#sub:{{{publisher}}}|2|-2}}}} Books]] | [[Category:{{#if:{{#pos:{{{publisher}}}|{{!}}}}|{{#sub:{{{publisher}}}|2|{{#expr:{{#pos:{{{publisher}}}|{{!}}}}-2}}}}|{{#sub:{{{publisher}}}|2|-2}}}} Books]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| − | [[Category:Infobox|Book]][[Category: | + | [[Category:Infobox|Book]][[Category: Templates|Book]] |
This is a template for any form of published material: e.g. books, magazines, games. | 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. | It will auto-generate categories for "publisher Books" and "version Books" assuming these are correctly defined as references. | ||
Revision as of 14:14, 17 July 2008
| {{{name}}} | |
| {{{image}}} {{{caption}}} | |
| Publisher | {{{publisher}}} |
| Version | Generic |
| Author | {{{author}}} |
| Format | {{{format}}} |
| Canonical | no |
| 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}
|available={either "Out of Print" or a URL source to get the item}
|footnote=(misc info e.g. isbn)
}}