Template:Book Data: Difference between revisions

Template page
(astore for amazon uk)
(italic)
 
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:
| colspan="3" | [[Image:{{{image}}}|200px|{{{title|{{PAGENAME}}}}}]]
| colspan="3" | [[Image:{{{image}}}|200px|{{{title|{{PAGENAME}}}}}]]
|- style="text-align: center;"
|- style="text-align: center;"
! class="infoboxheader " colspan="3" | '''''{{{title|}}}'''''<br />A [[List of books|book]] of the ''{{{series}}}'' line
! class="infoboxheader " colspan="3" | '''''{{{title|{{PAGENAME}}}}}'''''<br />A [[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.'''
Line 33: Line 33:
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{title}}}
|style="width: 33%;" | {{{next}}}  
|style="width: 33%;" | {{{next}}}  
|- class="hiddenStructure{{{amazon|}}}"  
|- class="hiddenStructure{{{isbn|}}}"  
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Paperback Version'''
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Paperback Version'''
|- class="hiddenStructure{{{amazon|}}}"
|- class="hiddenStructure{{{amazon|}}}"
Line 39: Line 39:
|- class="hiddenStructure{{{amazon-uk|}}}"
|- 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]  
| "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{{{isbn|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at BOOKSAMILLION.COM''' - [http://www.kqzyfj.com/click-2658714-42121?isbn={{{isbn}}} Purchase]
|- class="hiddenStructure{{{isbn|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at Half.com by eBay''' - [http://www.dpbolvw.net/click-2658714-1932276?ISBN={{{isbn}}} Purchase]
|- class="hiddenStructure{{{itunes|}}}"  
|- class="hiddenStructure{{{itunes|}}}"  
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Audiobook Version'''
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Audiobook Version'''
|- class="hiddenStructure{{{itunes|}}}"  
|- class="hiddenStructure{{{itunes|}}}"  
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [[iTunes]]''' – [{{{itunes}}} Purchase]  
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [[iTunes]]''' – [{{{itunes}}} Purchase]  
|}
|}{{italic}}</includeonly>
</includeonly>
<noinclude>
<noinclude>
= Documentation =
= Documentation =
Line 86: Line 89:
* '''itunes''': The link to iTunes. Typically these are for audiobook versions.
* '''itunes''': The link to iTunes. Typically these are for audiobook versions.
* '''amazon''': The unique Amazon number.
* '''amazon''': The unique Amazon number.
* '''amazon-uk''': The unique Amazon.co.uk number. ('''NOTE:''' This number ''is'' often different than the Amazon.com USA ASIN!)
* '''amazon-uk''': The unique Amazon.co.uk number. ('''NOTE:''' This number ''is'' sometimes different than the Amazon.com USA ASIN!)
 
=== Parameters dependent on other parameters ===
 
The fields for the Books a Million and eBay/Half.com links are dependent on the '''isbn''' parameter being defined properly.


[[Category:Infobox|Book]]
[[Category:Infobox|Book]]
</noinclude>
</noinclude>

Latest revision as of 02:18, 4 May 2021


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: What is the books 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!)

Parameters dependent on other parameters

The fields for the Books a Million and eBay/Half.com links are dependent on the isbn parameter being defined properly.