Difference between revisions of "Template:Infobox settlement"
From OtanWiki
Line 2: | Line 2: | ||
<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>}} | ||
− | {{#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:{{{caption|}}}|<tr> | ||
<td colspan=2 style="font-size: .8em; text-align: center;">{{{caption}}}</td> | <td colspan=2 style="font-size: .8em; text-align: center;">{{{caption}}}</td> |
Revision as of 23:08, 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 = }}