Template:Book Data: Difference between revisions
Template page
More actions
m →Parameters dependent on other parameters: this is no longer a thing, as those sites no longer exist |
No edit summary |
||
| Line 4: | Line 4: | ||
| colspan="3" | [[File:{{{image}}}|200px|{{{title|{{PAGENAME}}}}}]] | | colspan="3" | [[File:{{{image}}}|200px|{{{title|{{PAGENAME}}}}}]] | ||
|- style="text-align: center;" | |- style="text-align: center;" | ||
! class="infoboxheader " colspan="3" | '''''{{{title|{{PAGENAME}}}}}'''''<br />A [[List of books|book]] of the ''{{{series}}}'' line | ! class="infoboxheader " colspan="3" | '''''{{{title|{{PAGENAME}}}}}'''''<br />A {{#switch:{{{type}}}|magazine=[[List of magazines|magazine]]|book|#default=[[List of books|book]]}} of the ''{{{series}}}'' line | ||
|- class="hiddenStructure{{{bookno|}}}" | |- class="hiddenStructure{{{bookno|}}}" | ||
| style="white-space:nowrap;" | '''Book No.''' | | style="white-space:nowrap;" | '''Book No.''' | ||
Revision as of 22:14, 1 December 2025
Documentation
This template is used to place a sidebar box of information on a book on a Battlestar Wiki article. Note that all parameter names are lower case only.
Usage
{{Book Data
| image =
| title=
| series=
| bookno=
| episode=
| pages=
| author=
| published=
| isbn=
| prev=
| next=
| itunes=
| amazon=
| amazon-uk=
}}
Required parameters
- title: Name of the book. No wikifiy
- series: What series is this book within.
- isbn: The book's ISBN number
- prev: Previous Book
- next: Next Book
Optional parameters
- image: The filename of the book cover.
- bookno: What number this book is in the current series
- episode: What episode does this book have some relation too.
- pages: The number of pages in the book.
- author: Who is the author of the book. Separate multiple authors by
<br /> - published: Who was the publisher.
- Note: These can all be wikified.
- itunes: The link to iTunes. Typically these are for audiobook versions.
- amazon: The unique Amazon number.
- amazon-uk: The unique Amazon.co.uk number. (NOTE: This number is sometimes different than the Amazon.com USA ASIN!)