Difference between revisions of "Template:Infobox book"
From OtanWiki
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox | + | <div class="infobox" > |
<div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | ||
− | {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}} | + | {{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} |
− | <table> {{#if:{{{native_title|}}}|<tr> | + | <table>{{#if:{{{native_title|}}}|<tr> |
<th>Native/Alt Title</th> | <th>Native/Alt Title</th> | ||
<td>{{{native_title}}}</td> | <td>{{{native_title}}}</td> | ||
</tr>}} {{#if:{{{author|}}}|<tr> | </tr>}} {{#if:{{{author|}}}|<tr> | ||
− | <th> | + | <th>Author</th> |
<td>{{{author}}}</td> | <td>{{{author}}}</td> | ||
</tr>}} {{#if:{{{language|}}}|<tr> | </tr>}} {{#if:{{{language|}}}|<tr> |
Latest revision as of 17:25, 22 February 2021
Infobox book
Example usage:
{{Infobox book | title = | image = | caption = | native_title = | author = | language = | genre = | known_copies = | format = | year_written = | magical = | religion = | pages = }}