Difference between revisions of "BookBob"
From Sonic Retro
BSonirachi (talk | contribs) (added price and page count fields) |
|||
Line 6: | Line 6: | ||
{{BobRow|Publisher|{{{publisher|}}}|content=<span itemprop="publisher">{{{publisher}}}</span>}} | {{BobRow|Publisher|{{{publisher|}}}|content=<span itemprop="publisher">{{{publisher}}}</span>}} | ||
{{BobRow|Publication date|{{{date|}}}}} | {{BobRow|Publication date|{{{date|}}}}} | ||
+ | {{BobRow|Price|{{{price|}}}}} | ||
{{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]] }}}} | ||
{{BobRow|Illustrator|{{{illustrator|}}}|content=<span itemprop="illustrator">{{{illustrator}}}</span>}} | {{BobRow|Illustrator|{{{illustrator|}}}|content=<span itemprop="illustrator">{{{illustrator}}}</span>}} | ||
{{BobRow|Series|{{{series|}}}}} | {{BobRow|Series|{{{series|}}}}} | ||
− | |||
− | |||
{{BobRow|Type|{{{type|}}}}} | {{BobRow|Type|{{{type|}}}}} | ||
+ | {{BobRow|Page count|{{{pages|}}}}} | ||
{{BobRow|ISBN|{{{isbn|}}}|content=<span itemprop="isbn">{{{isbn}}}</span>[[Category:Old ISBN field]]}} | {{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>}} | ||
+ | {{BobRow||{{{next|}}}{{{previous|}}}|content={{#if: {{{previous|}}} | ← [[{{{previous}}}]] }} {{#if:{{{next|}}}|{{#if:{{{previous|}}}|{{!}}|}}|}} {{#if: {{{next|}}} | [[{{{next}}}]] → }}|align=center}} | ||
}}<includeonly>{{#if:{{{book_genre|}}}||[[Category:Books missing genre]]}}{{#if:{{{date}}}||[[Category:Books missing date]]}}{{#ifeq:{{year|{{{date}}}}}|9999|[[Category:Books missing date]]|[[Category:{{year|{{{date}}}}} books]]}}[[Category:Books]]</includeonly></div><noinclude> | }}<includeonly>{{#if:{{{book_genre|}}}||[[Category:Books missing genre]]}}{{#if:{{{date}}}||[[Category:Books missing date]]}}{{#ifeq:{{year|{{{date}}}}}|9999|[[Category:Books missing date]]|[[Category:{{year|{{{date}}}}} books]]}}[[Category:Books]]</includeonly></div><noinclude> | ||
==Usage== | ==Usage== | ||
Line 26: | Line 27: | ||
| publisher= | | publisher= | ||
| date= | | date= | ||
+ | | price= | ||
| author= | | author= | ||
| illustrator= | | illustrator= | ||
| series= | | series= | ||
− | |||
− | |||
| type= | | type= | ||
+ | | pages= | ||
| isbn10= | | isbn10= | ||
| isbn13= | | isbn13= | ||
+ | | previous= | ||
+ | | next= | ||
}} | }} | ||
</pre> | </pre> |