Difference between revisions of "Template:Infobox settlement"
From OtanWiki
(3 intermediate revisions by the same user not shown) | |||
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>}} | |
− | + | <table>{{#if:{{{native_name|}}}|<tr> | |
− | < | ||
<th>Native Name</th> | <th>Native Name</th> | ||
<td>{{{native_name}}}</td> | <td>{{{native_name}}}</td> | ||
Line 40: | Line 39: | ||
<th>Landmarks</th> | <th>Landmarks</th> | ||
<td>{{{landmarks}}}</td> | <td>{{{landmarks}}}</td> | ||
+ | </tr>}} {{#if:{{{features|}}}|<tr> | ||
+ | <th>Features</th> | ||
+ | <td>{{{features}}}</td> | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
Line 59: | Line 61: | ||
| founded_date = | | founded_date = | ||
| founded_by = | | founded_by = | ||
+ | | landmarks = | ||
| features = | | features = | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 21:24, 21 March 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 = | landmarks = | features = }}