Template: Infobox city: Difference between revisions
From The Shire
Created page with "<includeonly> <table class="infobox" style="width:320px; text-align:left; font-size:90%; border:1px solid #aaa; border-collapse:collapse; float:right; margin:0 0 1em 1em; padding:2px;"> <tbody><tr> <th colspan="2" style="text-align:center; font-size:150%; height:48px;">{{{name|Unnamed city}}}</th> </tr> {{#if:{{{official_name|}}}| <tr> <td colspan="2" style="text-align:center; font-size:110%;">{{{official_name}}}</td> </tr> }} {{#if:{{{image|}}}| <tr> <td colspan="2..." |
No edit summary |
||
| Line 2: | Line 2: | ||
<table class="infobox" style="width:320px; text-align:left; font-size:90%; border:1px solid #aaa; border-collapse:collapse; float:right; margin:0 0 1em 1em; padding:2px;"> | <table class="infobox" style="width:320px; text-align:left; font-size:90%; border:1px solid #aaa; border-collapse:collapse; float:right; margin:0 0 1em 1em; padding:2px;"> | ||
<tr> | |||
<th colspan="2" style="text-align:center; font-size:150%; height:48px;">{{{name|Unnamed city}}}</th> | <th colspan="2" style="text-align:center; font-size:150%; height:48px;">{{{name|Unnamed city}}}</th> | ||
</tr> | </tr> | ||
| Line 116: | Line 116: | ||
}} | }} | ||
</table> | |||
</includeonly> | </includeonly> | ||
Revision as of 14:06, 8 June 2025
Usage
This infobox is for cities, towns, and other settlements. Paste the code below onto a page and fill in the desired fields. Any fields left blank will not be displayed.
Blank Syntax
{{Infobox city
| name =
| official_name =
| image =
| caption =
| motto =
| nation =
| x =
| y =
| z =
| founded =
| area =
| population =
| pop_year =
| govt_type =
| leader_title_1 = Mayor
| leader_name_1 =
| leader_title_2 =
| leader_name_2 =
| leader_title_3 =
| leader_name_3 =
| warp =
| sta =
| builders =
| built =
| historical =
}}