Difference between revisions of "Template:Infobox settlement"

From OtanWiki
Line 3: Line 3:
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
 
<div class="infobox-image" style="text-align: center;">[[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:{{{caption|}}}|<tr>
+
<table>{{#if:{{{native_name|}}}|<tr>
    <td colspan=2 style="font-size: .8em; text-align: center;">{{{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 23:09, 18 February 2021

Infobox settlement

Example usage:

{{Infobox settlement
  | title          = 
  | image          = City.png|Town.jpg
  | caption        = 
  | native_name    = 
  | country        = 
  | region         = 
  | leader         = 
  | government     = 
  | controlled_by  = 
  | population     = 
  | racial_mix     = 
  | founded_date   = 
  | founded_by     = 
  | features       = 
}}