Template:Book infobox: Difference between revisions

m
Text replacement - "text-align: *center; " to ""
m (Text replacement - "<div style="clear:both">{{{caption}}}</div>" to "<div>{{{caption}}}</div>")
m (Text replacement - "text-align: *center; " to "")
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}"
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; padding:4px; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#F0F8FF}}}; padding:4px; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
}}
}}
{{!}}-
{{!}}-
Line 43: Line 43:
{{{ISBN|}}}
{{{ISBN|}}}
{{!}}-}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
| colspan="2" style="background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|}<noinclude>{{Clear}}
|}<noinclude>{{Clear}}
Add the following code and change the values to add the book template to the an article:
Add the following code and change the values to add the book template to the an article: