Difference between revisions of "Template:Book"

From The Coppermind
Jump to navigation Jump to search
m (done)
m (try dat)
Line 10: Line 10:
 
cover image
 
cover image
 
-->{{#if:{{{cover|}}}|{{row/image|{{{cover}}}|}}|}}<!--
 
-->{{#if:{{{cover|}}}|{{row/image|{{{cover}}}|}}|}}<!--
  +
 
series
  +
-->{{#if:<!--
 
-->{{{hide-series|}}}{{{series|}}}{{{prequel|}}}{{{sequel|}}}<!--
  +
-->|{{#!:
  +
|-
  +
| colspan=2 style="padding: 0; margin: 0;" |
  +
{| width=100% class="collapsible {{{hide-family|collapsed}}}"
  +
|-
  +
! colspan=2 align=center|{{{family|Series}}}
  +
|-
 
{{#if:{{{prequel|}}}|{{row/kv|Follows|''[[{{{prev|{{{prequel}}}|}}}|{{{prequel}}}]]''}}|}}
 
{{#if:{{{sequel|}}}|{{row/kv|Precedes|''[[{{{next|{{{sequel}}}|}}}|{{{sequel}}}]]''}}|}}
  +
|}}}|}}
  +
<!--
   
 
release date
 
release date
 
-->{{#if:{{{released|}}}|{{row/kv|Released|{{{released}}}|}}|}}<!--
 
-->{{#if:{{{released|}}}|{{row/kv|Released|{{{released}}}|}}|}}<!--
 
series
 
-->{{#if:{{{series|}}}|{{row/kv|Series|{{{series}}}|}}|}}<!--
 
prequel
 
-->{{#if:{{{prequel|}}}|{{row/kv|Follows|''[[{{{prev|{{{prequel}}}|}}}|{{{prequel}}}]]''}}|}}<!--
 
sequel
 
-->{{#if:{{{sequel|}}}|{{row/kv|Precedes|''[[{{{next|{{{sequel}}}|}}}|{{{sequel}}}]]''}}|}}<!--
 
 
 
publisher's wikipedia page
 
publisher's wikipedia page
 
-->{{#if:{{{publisher|}}}|{{row/kv|Publisher|[[wikipedia:{{{publisher}}}|{{{publisher}}}]]|}}|}}<!--
 
-->{{#if:{{{publisher|}}}|{{row/kv|Publisher|[[wikipedia:{{{publisher}}}|{{{publisher}}}]]|}}|}}<!--

Revision as of 07:23, 20 December 2012

Book

Template:Cat

This template is used to describe books. All the parameters are optional, though it is advised that most of them should be filled in. Passing a file name in {{{cover}}} will output a thumbnail at the top of the infobox. The release date can be added in {{{released}}}. The {{{series}}}, {{{prequel}}} and {{{sequel}}} parameters can be used where appropriate, the prequel and sequel links will add < or > links to the title at the top of the box. {{{publisher}}} link to the publisher's Wikipedia page and {{{ISBN}}} does something with the books ISBN number. Passing {{{annotations}}} will link to one of the annotations pages on Brandon's website.