Difference between revisions of "BookBob"
From Sonic Retro
Line 5: | Line 5: | ||
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}} | {{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}} | ||
{{BobRow|Publisher|{{{publisher|}}}|content=<span itemprop="publisher">{{{publisher}}}</span>}} | {{BobRow|Publisher|{{{publisher|}}}|content=<span itemprop="publisher">{{{publisher}}}</span>}} | ||
− | {{BobRow|Publication date|{{{date|}}}{{#ifeq:{{year|{{{date|}}}}}|9999|[[Category:Books missing date]]|[[Category: | + | {{BobRow|Publication date|{{{date|}}}{{#ifeq:{{year|{{{date|}}}}}|9999|[[Category:Books missing date]]|[[Category:{{year|{{{date|}}}}} books]]}} |
{{BobRow|Author|{{{author|}}}|content=<span itemprop="author">{{{author}}}</span>}} | {{BobRow|Author|{{{author|}}}|content=<span itemprop="author">{{{author}}}</span>}} | ||
{{BobRow||{{{book_genre|}}}|content='''Genre:''' {{{book_genre}}} {{#if: {{#pos:{{{book_genre}}}|Art book}} | [[Category:Art books]] }}{{#if: {{#pos:{{{book_genre}}}|Guide book}} | [[Category:Guide books]] }}{{#if: {{#pos:{{{book_genre}}}|Comic}} | [[Category:Comics]] }}{{#if: {{#pos:{{{book_genre}}}|Game book}} | [[Category:Game books]] }}{{#if: {{#pos:{{{book_genre}}}|Novel}} | [[Category:Novels]] }}{{#if: {{#pos:{{{book_genre}}}|Misc books}} | [[Category:Miscellaneous books]] }}}} | {{BobRow||{{{book_genre|}}}|content='''Genre:''' {{{book_genre}}} {{#if: {{#pos:{{{book_genre}}}|Art book}} | [[Category:Art books]] }}{{#if: {{#pos:{{{book_genre}}}|Guide book}} | [[Category:Guide books]] }}{{#if: {{#pos:{{{book_genre}}}|Comic}} | [[Category:Comics]] }}{{#if: {{#pos:{{{book_genre}}}|Game book}} | [[Category:Game books]] }}{{#if: {{#pos:{{{book_genre}}}|Novel}} | [[Category:Novels]] }}{{#if: {{#pos:{{{book_genre}}}|Misc books}} | [[Category:Miscellaneous books]] }}}} |
Revision as of 07:45, 18 March 2018
{{BobTable| |style="padding-top:2px;padding-bottom:2px;text-align:center;"| |- !style="padding-top:2px;padding-bottom:2px;text-align:center;"| BookBob |-
|style="padding-top:2px; padding-bottom:2px; width:320px; text-align:left; "| Publication date:
|-Usage
This template is to be used articles about books. Place the following at the top of the page:
{{Book | cover= | title= | publisher= | date= | author= | illustrator= | series= | previous= | next= | type= | isbn= | isbn10= | isbn13= }}
All fields are optional.