Template:Book Data: Difference between revisions

Template page
No edit summary
(italic)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="toccolors" width="350px" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right; border: 1px solid #a60003;" align="center"
{| class="infobox"
|- style="text-align: center;" class="hiddenStructure{{{Image}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan=3 | {{{Image}}}
| colspan="3" | [[Image:{{{image}}}|200px|{{{title|{{PAGENAME}}}}}]]
|- style="text-align: center;"
|- style="text-align: center;"
! style="background: #461919; color: #FFFFFF;" colspan=3|'''"{{{Title}}}"'''<br />A [[List of Books|book]] of the ''{{{Series}}}'' universe
! 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.'''
| colspan=2 | {{{Bookno}}}
| colspan="2" | {{{bookno}}}
|- class="hiddenStructure{{{Author}}}" valign="top"
|- class="hiddenStructure{{{author|}}}" valign="top"
| style="white-space:nowrap;" | '''Author(s)'''
| style="white-space:nowrap;" | '''Author(s)'''
| colspan=2 | {{{Author}}}
| colspan="2" | {{{author}}}
|-class="hiddenStructure{{{Episode}}}" valign="top"
|- class="hiddenStructure{{{episode|}}}" valign="top"
| style="white-space:nowrap;" | '''Adaptation of'''
| style="white-space:nowrap;" | '''Adaptation of'''
| colspan=2 | {{{Episode}}}
| colspan="2" | {{{episode}}}
|-class="hiddenStructure{{{Published}}}"
|- class="hiddenStructure{{{pages|}}}"
| style="white-space:nowrap;" | '''No. of Pages'''
| colspan="2" | {{{pages}}}
|- class="hiddenStructure{{{published|}}}"
| style="white-space:nowrap;" | '''Published'''
| style="white-space:nowrap;" | '''Published'''
|colspan=2 | {{{Published}}}
| colspan="2" | {{{published}}}
|-class="hiddenStructure{{{ISBN}}}"
|- class="hiddenStructure{{{isbn|}}}"
| style="white-space:nowrap;" | '''ISBN'''
| style="white-space:nowrap;" | '''ISBN'''
|colspan=2 | [[Special:Booksources/{{{ISBN}}}|{{{ISBN}}}]]
| colspan="2" | [[Special:Booksources/{{{isbn}}}|{{{isbn}}}]]
|- style="text-align:center;"
|- style="text-align:center;"
! style="background: #461919; color: #FFFFFF;" colspan="3" | Chronology
! class="infoboxheader " colspan="3" | Chronology
|- style="text-align:center; font-size:smaller;"  
|- style="text-align:center; font-size:smaller;"  
|style="width: 33%;" | Previous
|style="width: 33%;" | Previous
Line 27: Line 30:
|style="width: 33%;" | Next
|style="width: 33%;" | Next
|- style="text-align:center; font-size:smaller;"  
|- style="text-align:center; font-size:smaller;"  
|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{{{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="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>
= Documentation =
= Documentation =
''Insert what this template is about.''
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 ==
== Usage ==
<pre>
<pre>
''Insert full usage here.''
{{Book Data
| image =
| title=
| series=
| bookno=
| episode=
| pages=
| author=
| published=
| isbn=
| prev=
| next=
| itunes=
| amazon=
| amazon-uk=
}}
</pre>
</pre>


=== Required parameters ===
=== Required parameters ===
''Insert 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 ===
=== Optional parameters ===
''Insert 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 <code><nowiki><br /></nowiki></code>
* '''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.


<noinclude>
{| style="float: left; background: transparent;"
|<pre>
{{Book Data|
  Image =
| Title=
| Series=
| Bookno=
| Episode=
| Author=
| Published=
| ISBN=
| Prev=
| Next=
}}
</pre>
|}
[[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.