Difference between revisions of "BookBob"
From Sonic Retro
m (Text replace - "Category:Breakout Box Templates" to "Category:Breakout box templates") |
Scarred Sun (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <div itemscope itemtype='http://schema.org/Book'> | ||
+ | <meta itemprop="name" content="{{PAGENAME}}"> | ||
{|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 300px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative" | {|cellpadding="0" cellspacing="0" class="breakout" style="max-width: 300px; padding: 0px; float: right; margin-left: 15px; display: inline; position: relative" | ||
|style="text-align: center;"| | |style="text-align: center;"| | ||
[[Image:{{ #if: {{{cover|}}} | {{{cover}}} | Notavailable.svg }}|200px]] | [[Image:{{ #if: {{{cover|}}} | {{{cover}}} | Notavailable.svg }}|200px]] | ||
|- | |- | ||
− | ! '''Fast facts on ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}''''' | + | ! '''Fast facts on ''{{ #if: {{{title|}}} | <span itemprop="name">{{{title}}}</span> | <span itemprop="name">{{PAGENAME}}</span> }}''''' |
|- | |- | ||
|style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;"| | |style="padding: 0.3em; line-height: 1.5em; padding-left: 5px;"| | ||
− | {{ #if: {{{publisher|}}} | '''Publisher:''' {{{publisher}}}<br> | }}{{ | + | {{ #if: {{{publisher|}}} | '''Publisher:''' <span itemprop="publisher">{{{publisher}}}</span><br> | }}{{ |
#if: {{{date|}}} | '''Publication Date:''' {{{date}}}<br> | }}{{ | #if: {{{date|}}} | '''Publication Date:''' {{{date}}}<br> | }}{{ | ||
− | #if: {{{author|}}} | '''Author:''' {{{author}}}<br> | }}{{ | + | #if: {{{author|}}} | '''Author:''' <span itemprop="author">{{{author}}}</span><br> | }}{{ |
− | #if: {{{illustrator|}}} | '''Illustrator:''' {{{illustrator}}}<br> | }}{{ | + | #if: {{{illustrator|}}} | '''Illustrator:''' <span itemprop="illustrator">{{{illustrator}}}</span><br> | }}{{ |
#if: {{{series|}}} | '''Series:''' {{{series}}}<br> | }}{{ | #if: {{{series|}}} | '''Series:''' {{{series}}}<br> | }}{{ | ||
#if: {{{previous|}}} | <small>'''Previous in series:''' ''{{{previous}}}''</small><br> | }}{{ | #if: {{{previous|}}} | <small>'''Previous in series:''' ''{{{previous}}}''</small><br> | }}{{ | ||
#if: {{{next|}}} | <small>'''Next in series:''' ''{{{next}}}''</small><br> | }}{{ | #if: {{{next|}}} | <small>'''Next in series:''' ''{{{next}}}''</small><br> | }}{{ | ||
#if: {{{type|}}} | '''Type:''' {{{type}}}<br> | }}{{ | #if: {{{type|}}} | '''Type:''' {{{type}}}<br> | }}{{ | ||
− | #if: {{{isbn|}}} | '''ISBN:''' {{{isbn}}}<br> | }}{{ | + | #if: {{{isbn|}}} | '''ISBN:''' <span itemprop="isbn">{{{isbn}}}</span><br> | }}{{ |
− | #if: {{{isbn10|}}} | '''ISBN-10:''' {{{isbn10}}}<br> | }}{{ | + | #if: {{{isbn10|}}} | '''ISBN-10:''' <span itemprop="isbn">{{{isbn10}}}</span><br> | }}{{ |
− | #if: {{{isbn13|}}} | '''ISBN-13:''' {{{isbn13}}} | }} | + | #if: {{{isbn13|}}} | '''ISBN-13:''' <span itemprop="isbn">{{{isbn13}}}</span> | }} |
− | |}<noinclude> | + | |}</div><noinclude> |
==Usage== | ==Usage== | ||
This template is to be used articles about books. Place the following at the top of the page: | This template is to be used articles about books. Place the following at the top of the page: |