Difference between revisions of "Template:Infobox book"
From OtanWiki
(Created page with "<div class="infobox" > <div class="infobox-title" style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image" styl...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<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> | ||
Line 38: | Line 38: | ||
Example usage: | Example usage: | ||
<pre> | <pre> | ||
− | {{Infobox | + | {{Infobox book |
| title = | | title = | ||
| image = | | image = |
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 = }}