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" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;" > | ||
− | <div class="infobox-title">{{{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">[[File:{{{image}}}|300px]]</div>}} | + | <div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} |
<table>{{#if:{{{caption|}}}|<tr> | <table>{{#if:{{{caption|}}}|<tr> | ||
<th> </th> | <th> </th> |
Revision as of 23:43, 15 February 2021
Infobox settlement
Example usage:
{{Infobox settlement | title = | image = | caption = | native_name = | country = | region = | leader = | government = | controlled_by = | population = | racial_mix = | founded_date = | founded_by = | features = }}