Template:BookInfobox: Difference between revisions

m
should auto-categorize books with the "noimage" image, and also default to "noimage" if no image is present.
m (i think this should work)
m (should auto-categorize books with the "noimage" image, and also default to "noimage" if no image is present.)
Line 3: Line 3:
! colspan="2" | '''{{{title}}}'''{{#if: {{{subtitled|}}} |<br>''{{{subtitled}}}''|}}
! colspan="2" | '''{{{title}}}'''{{#if: {{{subtitled|}}} |<br>''{{{subtitled}}}''|}}
|- align="center" style="background: #fff;"
|- align="center" style="background: #fff;"
| colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]
| colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]] | [[File:noimage.gif|200px]] <includeonly>[[Category:Books in need of covers]]</includeonly> }}
|-
|-
! align="center" style="background: #AFEEEE;" | Published:
! align="center" style="background: #AFEEEE;" | Published:
Line 13: Line 13:
! align="center" style="background: #AFEEEE;" | Succeeded By:
! align="center" style="background: #AFEEEE;" | Succeeded By:
| style="background: #fff" width="210px" | ''{{{next}}}''
| style="background: #fff" width="210px" | ''{{{next}}}''
|}{{#if: {{{image|Noimage.gif}}}| |<includeonly>[[Category:Books in need of covers]]</includeonly>}}<noinclude>[[Category:Infobox templates]]</noinclude>
|}{{#ifeq: {{{image}}} | noimage.gif | |<includeonly>[[Category:Books in need of covers]]</includeonly>}}<noinclude>[[Category:Infobox templates]]</noinclude>
2,743

edits