Difference between revisions of "Template:Infobox country"

From OtanWiki
Line 2: Line 2:
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{{#if:{{{image|}}}|
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}}
 
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}}
<table>{{#if:{{{caption|}}}|<tr>
+
<table>{{{#if:{{{caption|}}}|<tr>
 
     <th>&nbsp;</th>
 
     <th>&nbsp;</th>
 
     <td>{{{caption}}}</td>
 
     <td>{{{caption}}}</td>
</tr>}}{{#if:{{{native_name|}}}|<tr>
+
</tr>}}}{{#if:{{{native_name|}}}|<tr>
 
     <th>Native Name</th>
 
     <th>Native Name</th>
 
     <td>{{{native_name}}}</td>
 
     <td>{{{native_name}}}</td>

Revision as of 00:38, 15 February 2021

Infobox country
[[File:{{{image}}}|300px]]
  {{{caption}}}