Difference between revisions of "Template:Infobox world"

From OtanWiki
 
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>}}
<table>{{#if:{{{caption|}}}|<tr>
+
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
    <th>&nbsp;</th>
+
<table>{{#if:{{{type_of|}}}|<tr>
    <td>{{{caption}}}</td>
 
</tr>}} {{#if:{{{type_of|}}}|<tr>
 
 
     <th>Type of</th>
 
     <th>Type of</th>
 
     <td>{{{type_of}}}</td>
 
     <td>{{{type_of}}}</td>

Latest revision as of 22:05, 22 February 2021

Infobox world

Example usage:

{{Infobox world
| title            = 
| image            = 
| caption          = 
| type_of          = 
| plane            = 
| genre            = 
| inhabitants      = 
| universe         = 
}}