Difference between revisions of "BookBob"
From Sonic Retro
BSonirachi (talk | contribs) |
|||
(21 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
{{BobRow||{{{cover|}}}{{{bookimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{cover|}}}{{{bookimage|}}}|320x280px]]}} | {{BobRow||{{{cover|}}}{{{bookimage|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{cover|}}}{{{bookimage|}}}|320x280px]]}} | ||
{{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|Author|{{{author|}}}|content=<span itemprop="author">{{{author}}}</span>}} | {{BobRow|Author|{{{author|}}}|content=<span itemprop="author">{{{author}}}</span>}} | ||
{{BobRow|Illustrator|{{{illustrator|}}}|content=<span itemprop="illustrator">{{{illustrator}}}</span>}} | {{BobRow|Illustrator|{{{illustrator|}}}|content=<span itemprop="illustrator">{{{illustrator}}}</span>}} | ||
+ | {{BobRow|Translator(s)|{{{translator|}}}|content=<span itemprop="translator">{{{translator}}}</span>}} | ||
+ | {{BobRow|Publisher|{{{publisher|}}}|content=<span itemprop="publisher">{{{publisher}}}</span>}} | ||
+ | {{BobRow|Licensor|{{{licensor|}}}|content=<span itemprop="licensor">{{{licensor}}}</span>}} | ||
+ | {{BobRow|Label|{{{label|}}}|content=<span itemprop="label">{{{label}}}</span>}} | ||
+ | {{BobRow|Publication date|{{{date|}}}{{#if:{{{date|}}}|[[Category:Old book field]]}}}} | ||
+ | {{BobRow|Price|{{{price|}}}{{#if:{{{price|}}}|[[Category:Old book field]]}}}} | ||
+ | {{BobRow|Country|{{{country|}}}{{#if:{{{country|}}}|[[Category:Old book field]]}}}} | ||
+ | {{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|Series|{{{series|}}}}} | {{BobRow|Series|{{{series|}}}}} | ||
− | |||
− | |||
{{BobRow|Type|{{{type|}}}}} | {{BobRow|Type|{{{type|}}}}} | ||
− | {{BobRow|ISBN|{{{isbn|}}}|content=<span itemprop="isbn">{{{isbn}}}</span>}} | + | {{BobRow|Page count|{{{pages|}}}}} |
+ | {{BobRow|ISBN|{{{isbn|}}}|content=<span itemprop="isbn">{{{isbn}}}</span>[[Category:Old ISBN field]]}} | ||
{{BobRow|ISBN-10|{{{isbn10|}}}|content=<span itemprop="isbn">{{{isbn10}}}</span>}} | {{BobRow|ISBN-10|{{{isbn10|}}}|content=<span itemprop="isbn">{{{isbn10}}}</span>}} | ||
{{BobRow|ISBN-13|{{{isbn13|}}}|content=<span itemprop="isbn">{{{isbn13}}}</span>}} | {{BobRow|ISBN-13|{{{isbn13|}}}|content=<span itemprop="isbn">{{{isbn13}}}</span>}} | ||
− | }}</div><noinclude> | + | {{BobRow||{{{releases|}}}|content={{releasesHeader}} |
+ | {{{releases}}} | ||
+ | {{releasesEnd}}}} | ||
+ | {{BobRow||{{{next|}}}{{{previous|}}}|content={{#if: {{{previous|}}} | ← ''[[{{{previous}}}]]'' }} {{#if:{{{next|}}}|{{#if:{{{previous|}}}|{{!}}|}}|}} {{#if: {{{next|}}} | ''[[{{{next}}}]]'' → }}|align=center}} | ||
+ | }}<includeonly>{{#if:{{{book_genre|}}}||[[Category:Books missing genre]]}}{{#ifeq:{{year|{{{date}}}}}|9999|[[Category:Books missing date]]|[[Category:{{year|{{{date}}}}} books]]}}[[Category:Books]]</includeonly></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: | ||
<pre> | <pre> | ||
− | {{ | + | {{BookBob |
| cover= | | cover= | ||
| title= | | title= | ||
− | |||
− | |||
| author= | | author= | ||
| illustrator= | | illustrator= | ||
+ | | translator= | ||
+ | | publisher= | ||
+ | | label= | ||
| series= | | series= | ||
− | |||
− | |||
| type= | | type= | ||
− | | | + | | pages= |
| isbn10= | | isbn10= | ||
| isbn13= | | isbn13= | ||
+ | | releases={{releases | ||
+ | |||
+ | }} | ||
+ | | previous= | ||
+ | | next= | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 13:36, 5 February 2023
Usage
This template is to be used articles about books. Place the following at the top of the page:
{{BookBob | cover= | title= | author= | illustrator= | translator= | publisher= | label= | series= | type= | pages= | isbn10= | isbn13= | releases={{releases }} | previous= | next= }}
All fields are optional.