Difference between revisions of "BookBob"

From Sega Retro

Line 2: Line 2:
 
{{#vardefine:type|4}}{{BobTable|
 
{{#vardefine:type|4}}{{BobTable|
 
{{BobRow||{{{bookimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{bookimage}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|320x280}}px]]}}
 
{{BobRow||{{{bookimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{bookimage}}}|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|320x280}}px]]}}
{{BobRow||{{{title|}}}|default=''{{PAGENAME}}''|content=''<span itemprop="name"{{{title}}}</span>''|headline=yes|align=center}}
+
{{BobRow||{{{title|}}}|default=''{{PAGENAME}}''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
 
{{BobRow||{{{author|}}}|content='''Author:''' <span itemprop="author">{{{author}}}</span>}}
 
{{BobRow||{{{author|}}}|content='''Author:''' <span itemprop="author">{{{author}}}</span>}}
 
{{BobRow||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
 
{{BobRow||{{{publisher|}}}|content='''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span>}}
Line 9: Line 9:
 
{{releasesEnd}}}}
 
{{releasesEnd}}}}
 
{{BobRow|ISBN-10|{{{ISBN10|}}}|content=[http://www.worldcat.org/isbn/{{{ISBN10}}} <span itemprop="isbn">{{{ISBN10}}}</span>]}}
 
{{BobRow|ISBN-10|{{{ISBN10|}}}|content=[http://www.worldcat.org/isbn/{{{ISBN10}}} <span itemprop="isbn">{{{ISBN10}}}</span>]}}
{{BobRow|ISBN-13|{{{ISBN13|}}}|content=[http://www.worldcat.org/isbn/{{{ISBN13}}} {{{ISBN13}}}]}}
+
{{BobRow|ISBN-13|{{{ISBN13|}}}|content=[http://www.worldcat.org/isbn/{{{ISBN13}}} <span itemprop="isbn">{{{ISBN13}}}</span>]}}
 
}}</div>
 
}}</div>
 
<div style="display:none;">
 
<div style="display:none;">

Revision as of 22:07, 30 July 2015

Notavailable.svg
BookBob

Usage

This template is to be used on articles Sega-based books. Place the following at the top of a page:

{{BookBob
| bookimage=
| imagewidth=
| title=
| author=
| publisher=
| releases={{releases
...
}}
| ISBN10=
| ISBN13=
}}