Difference between revisions of "Template:InfoboxBook"
Jump to navigation
Jump to search
m (Fix typo) |
(Update to handle | in references) |
||
| Line 13: | Line 13: | ||
<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]] | </table><includeonly>[[Category:Ludography]] | ||
| − | [[Category:{{#sub:{{{version|[[Generic]]}}}|2|-2}} Books]] | + | [[Category:{{#if:{{#pos:{{{version|[[Generic]]}}}|{{!}}}}|{{#sub:{{{version|[[Generic]]}}}|2|{{#expr:{{#pos:{{{version|[[Generic]]}}}|{{!}}}}-2}}}}|{{#sub:{{{version|[[Generic]]}}}|2|-2}}}} Books]] |
| − | [[Category:{{#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:Infobox|Book]] | ||
| Line 26: | Line 26: | ||
|caption={Sub-Title of Book} | |caption={Sub-Title of Book} | ||
|publisher={Reference to Publisher} | |publisher={Reference to Publisher} | ||
| − | |version={Version of Traveller} | + | |version={Reference to Version of Traveller} |
|author={List of authors} | |author={List of authors} | ||
|format={book format eg. lbb} | |format={book format eg. lbb} | ||
| Line 37: | Line 37: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
| − | 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. | ||
</noinclude> | </noinclude> | ||
Revision as of 13:47, 13 December 2007
| {{{name}}} | |
|---|---|
| {{{image}}} {{{caption}}} | |
| Publisher | {{{publisher}}} |
| Version | Generic |
| Author | {{{author}}} |
| Format | {{{format}}} |
| Canonical | no |
| Year Published | {{{year}}} |
| {{{footnote}}} | |
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}
|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. It will auto-generate categories for "publisher Books" and "version Books" assuming these are correctly defined as references.