Difference between revisions of "Template:Book"

From The Coppermind
Jump to navigation Jump to search
m (fix loop)
m
Line 1: Line 1:
  +
{{Infobox
{{Infobox|title={{{name|{{{title|{{PAGENAME}}|}}}|}}}
 
{{#if:{{{image|}}}|
+
|title={{{title|{{PAGENAME}}|}}}
{{!}}- align="center"
 
{{!}} colspan="2" style="padding:0px;" {{!}} {{{image|}}}
 
}}
 
 
|1=
 
|1=
{{#if:{{{publisher|}}}|{{Infobox/row|Publisher|{{wp|{{{publisher}}}}}|}}|}}
+
{{#if:{{{image|}}}|{{row|pre={{!}}colspan=2{{!}}|[[File:{{{image}}}|200px|center]]}}|}}
  +
{{#if:{{{publisher|}}}|{{infobox/row|Publisher|{{wp|{{{publisher}}}}}|}}|}}
 
{{#if:{{{released|}}}|{{Infobox/row|Released|{{{released}}}|}}|}}
 
{{#if:{{{released|}}}|{{Infobox/row|Released|{{{released}}}|}}|}}
 
{{#if:{{{series|}}}|{{Infobox/row|Series|{{{series}}}|}}|}}
 
{{#if:{{{series|}}}|{{Infobox/row|Series|{{{series}}}|}}|}}
Line 11: Line 9:
 
{{#if:{{{sequel|}}}|{{Infobox/row|Precedes|''[[{{{sequel}}}]]''}}|}}
 
{{#if:{{{sequel|}}}|{{Infobox/row|Precedes|''[[{{{sequel}}}]]''}}|}}
 
{{#if:{{{ISBN|}}}|{{Infobox/row|ISBN|[[Special:BookSources/{{{ISBN}}}|{{{ISBN}}}]]}}|}}
 
{{#if:{{{ISBN|}}}|{{Infobox/row|ISBN|[[Special:BookSources/{{{ISBN}}}|{{{ISBN}}}]]}}|}}
  +
{{#if:{{{l|}}}||
 
{{!}}- align=center
 
{{!}}- align=center
 
{{!}} colspan=2 style="padding:0px;white-space:nowrap;" {{!}} {{bookLinks|title={{{name|{{{title|{{PAGENAME}}|}}}|}}}|prev={{{prequel|}}}|next={{{sequel|}}}|s={{{s|}}}|e={{{e|}}}|a={{{a|}}}|}}
 
{{!}} colspan=2 style="padding:0px;white-space:nowrap;" {{!}} {{bookLinks|title={{{name|{{{title|{{PAGENAME}}|}}}|}}}|prev={{{prequel|}}}|next={{{sequel|}}}|s={{{s|}}}|e={{{e|}}}|a={{{a|}}}|}}
}}<includeonly>[[Category:Books]]</includeonly><noinclude>
+
}}}}<includeonly>[[Category:Books]]</includeonly><noinclude>
 
<pre>
 
<pre>
 
{{BookInfobox
 
{{BookInfobox

Revision as of 12:51, 20 May 2012

Book
Template:BookLinks
{{BookInfobox
|title=The Way of Kings
|image=[[File:TheWayOfKings.png|200px|center]]
|author=Brandon Sanderson
|publisher=Tor
|series=The Stormlight Archive
|prevbook=
|nextbook=TBA
|ISBN=978-0765326355
}}