Difference between revisions of "Template:Book"

From The Coppermind
Jump to navigation Jump to search
m
m (try +prev/nexty)
Line 2: Line 2:
 
|title=<!--
 
|title=<!--
   
-->{{#if:{{{prequel|}}}|<span style="float: left;">[[{{{prequel}}}|<]]</span>|}}<!--
+
-->{{#if:{{{prev|}}}{{{prequel|}}}|<span style="float: left;">[[{{{prev|{{{prequel}}}|}}}|<]]</span>|}}<!--
 
-->{{{title|{{PAGENAME}}|}}}<!--
 
-->{{{title|{{PAGENAME}}|}}}<!--
-->{{#if:{{{sequel|}}}|<span style="float: right;">[[{{{sequel}}}|>]]</span>}}<!--
+
-->{{#if:{{{next|}}}{{{sequel|}}}|<span style="float: right;">[[{{{next|{{{sequel}}}|}}}|>]]</span>}}<!--
   
 
-->|1=<!--
 
-->|1=<!--
Line 17: Line 17:
 
-->{{#if:{{{series|}}}|{{row/kv|Series|{{{series}}}|}}|}}<!--
 
-->{{#if:{{{series|}}}|{{row/kv|Series|{{{series}}}|}}|}}<!--
 
prequel
 
prequel
-->{{#if:{{{prequel|}}}|{{row/kv|Follows|''[[{{{prequel}}}]]''}}|}}<!--
+
-->{{#if:{{{prev|}}}{{{prequel|}}}|{{row/kv|Follows|''[[{{{prev|{{{prequel}}}|}}}|{{{prequel}}}]]''}}|}}<!--
 
sequel
 
sequel
-->{{#if:{{{sequel|}}}|{{row/kv|Precedes|''[[{{{sequel}}}]]''}}|}}<!--
+
-->{{#if:{{{next|}}}{{{sequel|}}}|{{row/kv|Precedes|''[[{{{next|{{{sequel}}}|}}}|{{{sequel}}}]]''}}|}}<!--
   
 
publisher's wikipedia page
 
publisher's wikipedia page

Revision as of 18:29, 30 November 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.