Difference between revisions of "Template:Infobox world"
From OtanWiki
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#if:{...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox"> | + | <div class="infobox" > |
− | <div class="infobox-title">{{{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">[[File:{{{image}}}|300px]]</div>}} | + | <div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} |
− | + | {{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} | |
− | + | <table>{{#if:{{{type_of|}}}|<tr> | |
− | |||
− | < | ||
<th>Type of</th> | <th>Type of</th> | ||
<td>{{{type_of}}}</td> | <td>{{{type_of}}}</td> | ||
Line 15: | Line 13: | ||
<td>{{{genre}}}</td> | <td>{{{genre}}}</td> | ||
</tr>}} {{#if:{{{inhabitants|}}}|<tr> | </tr>}} {{#if:{{{inhabitants|}}}|<tr> | ||
− | <th> | + | <th>Inhabitants</th> |
− | <td>{{{ | + | <td>{{{inhabitants}}}</td> |
</tr>}} {{#if:{{{universe|}}}|<tr> | </tr>}} {{#if:{{{universe|}}}|<tr> | ||
<th>Universe</th> | <th>Universe</th> |
Latest revision as of 22:05, 22 February 2021
Infobox world
Example usage:
{{Infobox world | title = | image = | caption = | type_of = | plane = | genre = | inhabitants = | universe = }}