Template:Infobox book: Difference between revisions
From bikelopedia
No edit summary |
No edit summary |
||
(10 intermediate revisions by 2 users 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:{{{ | <table class="infobox-table">{{#if:{{{italic title|}}}|<tr> | ||
<th> | <th>Title </th> | ||
<td>{{{ | <td>''{{{italic title}}}''</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{author|}}}|<tr> | ||
<th> | <th>Author </th> | ||
<td>{{{ | <td>{{{author}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{pages|}}}|<tr> | ||
<th> | <th>Pages </th> | ||
<td>{{{ | <td>{{{pages}}}</td> | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"description": "The title of the book.", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"description": "An image of the book cover.", | |||
"type": "wiki-file-name" | |||
}, | |||
"italic title": {}, | |||
"author": {}, | |||
"pages": {} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 17:05, 11 September 2024
Infobox book
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | The title of the book. | String | optional |
image | image | An image of the book cover. | File | optional |
italic title | italic title | no description | Unknown | optional |
author | author | no description | Unknown | optional |
pages | pages | no description | Unknown | optional |