Template:Infobox book: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
<table class="infobox-table">{{#if:{{{author|}}}|<tr>
     <th>Author</th>
     <th>Author</th>
     <td>{{{author}}}</td>
     <td>{{{author}}}</td>
Line 12: Line 12:
     <td>{{{genre}}}</td>
     <td>{{{genre}}}</td>
</tr>}}</table>
</tr>}}</table>
<templatestyles src="Template:Infobox_church/styles.css" />
<templatestyles src="Template:Infobox_book/styles.css" />
</div>
</div>