Template:Book Data: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (21 intermediate revisions by 4 users not shown) | |||
| Line 2: | Line 2: | ||
{| class="infobox" | {| class="infobox" | ||
|- style="text-align: center;" class="hiddenStructure{{{image|}}}" | |- style="text-align: center;" class="hiddenStructure{{{image|}}}" | ||
| colspan="3" | [[ | | colspan="3" | [[File:{{{image}}}|200px|{{{title|{{PAGENAME}}}}}]] | ||
|- style="text-align: center;" | |- style="text-align: center;" | ||
! class="infoboxheader " colspan="3" | ''' | ! 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;" | '''{{#switch:{{{type}}}|magazine=Issue|book|#default=Book}} No.''' | ||
| colspan="2" | {{{bookno}}} | | colspan="2" | {{{bookno}}} | ||
|- class="hiddenStructure{{{author|}}}" valign="top" | |- class="hiddenStructure{{{author|}}}" valign="top" | ||
| Line 14: | Line 14: | ||
| style="white-space:nowrap;" | '''Adaptation of''' | | style="white-space:nowrap;" | '''Adaptation of''' | ||
| colspan="2" | {{{episode}}} | | colspan="2" | {{{episode}}} | ||
|- class="hiddenStructure{{{pages|}}}" | |||
| style="white-space:nowrap;" | '''No. of Pages''' | |||
| colspan="2" | {{{pages}}} | |||
|- class="hiddenStructure{{{published|}}}" | |- class="hiddenStructure{{{published|}}}" | ||
| style="white-space:nowrap;" | '''Published''' | | style="white-space:nowrap;" | '''Published''' | ||
| Line 29: | Line 32: | ||
|style="width: 33%;" | {{{prev}}} | |style="width: 33%;" | {{{prev}}} | ||
|style="width: 33%;" | {{{title}}} | |style="width: 33%;" | {{{title}}} | ||
|style="width: 33%;" | {{{next}}} | |style="width: 33%;" | {{{next}}} | ||
|} | |- class="hiddenStructure{{{isbn|}}}" | ||
</includeonly> | | class="infoboxheader" colspan="3" style="text-align:center;" | '''Paperback Version''' | ||
|- class="hiddenStructure{{{amazon|}}}" | |||
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [http://astore.amazon.com/battlestarwik-20 Amazon.com]''' – [http://astore.amazon.com/battlestarwik-20/detail/{{{amazon}}} Purchase] | |||
|- class="hiddenStructure{{{amazon-uk|}}}" | |||
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at Amazon.co.uk''' – [http://astore.amazon.co.uk/battlestarwik-21/detail/{{{amazon-uk}}} Purchase] | |||
|- class="hiddenStructure{{{itunes|}}}" | |||
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Audiobook Version''' | |||
|- class="hiddenStructure{{{itunes|}}}" | |||
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [[iTunes]]''' – [{{{itunes}}} Purchase] | |||
|}{{italic}}</includeonly> | |||
<noinclude> | <noinclude> | ||
= Documentation = | = Documentation = | ||
| Line 44: | Line 56: | ||
| bookno= | | bookno= | ||
| episode= | | episode= | ||
| pages= | |||
| author= | | author= | ||
| published= | | published= | ||
| Line 49: | Line 62: | ||
| prev= | | prev= | ||
| next= | | next= | ||
| itunes= | |||
| amazon= | |||
| amazon-uk= | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 55: | Line 71: | ||
* '''title''': Name of the book. No wikifiy | * '''title''': Name of the book. No wikifiy | ||
* '''series''': What series is this book within. | * '''series''': What series is this book within. | ||
* '''isbn''': | * '''isbn''': The book's ISBN number | ||
* '''prev''': Previous Book | * '''prev''': Previous Book | ||
* '''next''': Next Book | * '''next''': Next Book | ||
| Line 63: | Line 79: | ||
* '''bookno''': What number this book is in the current series | * '''bookno''': What number this book is in the current series | ||
* '''episode''': What episode does this book have some relation too. | * '''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 <code><nowiki><br /></nowiki></code> | * '''author''': Who is the author of the book. Separate multiple authors by <code><nowiki><br /></nowiki></code> | ||
* '''published''': Who was the publisher. | * '''published''': Who was the publisher. | ||
**Note: These can all be wikified. | **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!) | |||
[[Category:Infobox|Book]] | [[Category:Infobox|Book]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:17, 1 December 2025
Documentation
editThis 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
edit{{Book Data
| image =
| title=
| series=
| bookno=
| episode=
| pages=
| author=
| published=
| isbn=
| prev=
| next=
| itunes=
| amazon=
| amazon-uk=
}}
Required parameters
edit- 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
edit- 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!)