Difference between revisions of "Template:Infobox country"

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">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{signpost|}}}|
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
+
<div class="infobox-image">[[File:{{{signpost}}}|300px]]</div>}}
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
 
 
<table>{{#if:{{{native_name|}}}|<tr>
 
<table>{{#if:{{{native_name|}}}|<tr>
 
     <th>Native Name</th>
 
     <th>Native Name</th>
Line 43: Line 42:
 
     <td>{{{landmarks}}}</td>
 
     <td>{{{landmarks}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 +
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 +
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
Line 49: Line 50:
 
{{Infobox country
 
{{Infobox country
 
| title            =  
 
| title            =  
 +
| signpost        =
 
| image            =  
 
| image            =  
 
| caption          =  
 
| caption          =  

Latest revision as of 11:39, 23 May 2023

Infobox country


Example usage:

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