Template:Infobox book: Difference between revisions

From ReformedWiki.org
(Create Infobox Book)
 
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
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 8: Line 8:
     <th>Published Date</th>
     <th>Published Date</th>
     <td>{{{published_date}}}</td>
     <td>{{{published_date}}}</td>
</tr>}}{{#if:{{{Genre|}}}|<tr>
</tr>}}{{#if:{{{genre|}}}|<tr>
     <th>Genre</th>
     <th>Genre</th>
     <td>{{{genre}}}</td>
     <td>{{{genre}}}</td>
</tr>}}</table>
</tr>}}</table>
<templatestyles src="Template:Infobox_book/styles.css" />
</div>
</div>

Latest revision as of 16:14, 22 November 2024

Infobox book