Difference between revisions of "BookBob"

From Sega Retro

Line 39: Line 39:
 
}}<includeonly>{{#if:{{{author|}}}||[[Category:No book author]]}}{{#if:{{{book_genre|}}}||[[Category:No book genre]]}}{{#if:{{{publisher|}}}||[[Category:No book publisher]]}}</includeonly></div><div style="display:none;">
 
}}<includeonly>{{#if:{{{author|}}}||[[Category:No book author]]}}{{#if:{{{book_genre|}}}||[[Category:No book genre]]}}{{#if:{{{publisher|}}}||[[Category:No book publisher]]}}</includeonly></div><div style="display:none;">
 
{{#seo:
 
{{#seo:
  |og:image={{filepath:{{#if: {{{bookimage|}}}|{{{bookimage}}}|Notavailable.svg}}}}
+
  |image={{filepath:{{#if: {{{bookimage|}}}|{{{bookimage}}}|Notavailable.svg}}}}
 
  |og:site_name=Sega Retro
 
  |og:site_name=Sega Retro
 
  |title={{PAGENAME}}
 
  |title={{PAGENAME}}
|twitter:card=summary_large_image
 
|twitter:site=@segaretro
 
|twitter:image:src={{filepath:{{#if: {{{bookimage|}}}|{{{bookimage}}}|Notavailable.svg}}}}
 
 
  }}</div><noinclude>
 
  }}</div><noinclude>
 
==Usage==
 
==Usage==

Revision as of 21:40, 12 November 2019

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=
| title=
| author=
| publisher=
| book_genre=
| releases={{releasesBook
...
}}
}}