Difference between revisions of "Template:Infobox settlement"

From OtanWiki
Line 1: Line 1:
<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;" >
+
<div class="infobox" >
 
<div class="infobox-title" style="font-size: 2em; text-align: center;">{{{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" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}

Revision as of 22:12, 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       = 
}}