Difference between revisions of "Template:Infobox settlement"
From OtanWiki
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox | + | <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>}} | ||
− | + | {{#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 41: | 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 48: | Line 49: | ||
{{Infobox settlement | {{Infobox settlement | ||
| title = | | title = | ||
− | | image = | + | | image = City.png|Town.jpg |
| caption = | | caption = | ||
− | | native_name = | + | | native_name = |
| country = | | country = | ||
| region = | | region = | ||
Line 60: | 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 = }}