Difference between revisions of "Template:Infobox country"

From OtanWiki
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:{{{image|}}}|
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
 
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
 
<table>{{#if:{{{native_name|}}}|<tr>
 
<table>{{#if:{{{native_name|}}}|<tr>

Revision as of 19:05, 23 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        = 
}}