Difference between revisions of "Template:Infobox work"
Line 1: | Line 1: | ||
<table style="border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em"> | <table style="border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em"> | ||
{{#if:{{{title|}}}|<caption style="font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center;">{{{title|}}}</caption>}} | {{#if:{{{title|}}}|<caption style="font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center;">{{{title|}}}</caption>}} | ||
− | {{#if:{{{image|}}}|<tr><td colspan="2">[[File:{{{image|}}}| | + | {{#if:{{{image|}}}|<tr><td colspan="2">[[File:{{{image|}}}|350px|frameless|center]]</td></tr>}} |
{{#if:{{{authors|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">Authors</div></th><td>{{{authors|}}}</td></tr>}} | {{#if:{{{authors|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">Authors</div></th><td>{{{authors|}}}</td></tr>}} | ||
{{#if:{{{date|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">Date of publication</div></th><td>{{{date|}}}</td></tr>}} | {{#if:{{{date|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">Date of publication</div></th><td>{{{date|}}}</td></tr>}} |