Difference between revisions of "Template:Infobox country"

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:{{{native_name|}}}|<tr>
    <td>{{{caption}}}</td>
 
</tr>}} {{#if:{{{native_name|}}}|<tr>
 
 
     <th>Native Name</th>
 
     <th>Native Name</th>
 
     <td>{{{native_name}}}</td>
 
     <td>{{{native_name}}}</td>

Revision as of 22:11, 22 February 2021

Infobox country

Example usage:

{{Infobox country
| title            = 
| image            = 
| caption          = 
| native_name      = 
| partof           = 
| capitol          = 
| leader           = 
| government       = 
| location         = 
| size             = 
| population       = 
| racial_mix       = 
| controlled_by    = 
| founded_date     = 
| founded_by       = 
| landmarks        = 
}}