Difference between revisions of "Template:City"
Jump to navigation
Jump to search
(Brand new template !) |
|||
| (14 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox bordered" style="border-collapse:collapse; border:1px solid #AAAAAA;background:#CCE8FF; float:right; font-size:85%; width:46ex" cellpadding="4" | <includeonly>{| class="infobox bordered" style="border-collapse:collapse; border:1px solid #AAAAAA;background:#CCE8FF; float:right; font-size:85%; width:46ex" cellpadding="4" | ||
| − | ! colspan="2"|< | + | ! colspan="2"|<big>{{{name|{{PAGENAME}}}}}</big> |
<!-- | <!-- | ||
PICTURE | PICTURE | ||
| Line 16: | Line 16: | ||
{{!}}colspan="2" style="border-top:0px"{{!}}[[image:{{{map}}}{{!}}200px{{!}}center]] | {{!}}colspan="2" style="border-top:0px"{{!}}[[image:{{{map}}}{{!}}200px{{!}}center]] | ||
|}} | |}} | ||
| + | <!-- | ||
| + | SOVEREIGN STATE | ||
| + | --> | ||
| + | {{t row if|Sovereign state|{{{sov state|}}}|link=yes}} | ||
<!-- | <!-- | ||
COUNTRY | COUNTRY | ||
| Line 28: | Line 32: | ||
--> | --> | ||
{{t row if|Province|{{{province|}}}|link=yes}} | {{t row if|Province|{{{province|}}}|link=yes}} | ||
| + | <!-- | ||
| + | SHIRE COUNTY | ||
| + | --> | ||
| + | {{t row if|Shire county|{{{shire county|}}}|link=no}} | ||
| + | <!-- | ||
| + | COUNCIL | ||
| + | --> | ||
| + | {{t row if|Council|{{{council|}}}|link=no}} | ||
<!-- | <!-- | ||
REGION | REGION | ||
--> | --> | ||
{{t row if|Region|{{{region|}}}|link=yes}} | {{t row if|Region|{{{region|}}}|link=yes}} | ||
| + | <!-- | ||
| + | BORDERS | ||
| + | --> | ||
| + | {{t row if|Borders|{{{borders|}}}|link=no}} | ||
| + | <!-- | ||
| + | ISLAND | ||
| + | --> | ||
| + | {{t row if|Island|{{{island|}}}|link=yes}} | ||
<!-- | <!-- | ||
SETTLED | SETTLED | ||
| Line 47: | Line 67: | ||
AREA | AREA | ||
--> | --> | ||
| − | {{t row if|Area|{{{area|}}}|link=no}} | + | {{t row if|Area (sq mi)|{{{area|}}}|link=no}} |
| + | <!-- | ||
| + | DENSITY | ||
| + | --> | ||
| + | {{t row if|Population density (/sq mi)|{{{density|}}}|link=no}} | ||
<!-- | <!-- | ||
MAYOR | MAYOR | ||
--> | --> | ||
{{t row if|Current mayor|{{{mayor|}}}|link=yes}} | {{t row if|Current mayor|{{{mayor|}}}|link=yes}} | ||
| + | <!-- | ||
| + | GOVERNOR | ||
| + | --> | ||
| + | {{t row if|Current governor|{{{governor|}}}|link=yes}} | ||
| + | <!-- | ||
| + | DEMONYM | ||
| + | --> | ||
| + | {{t row if|Demonym|{{{demonym|}}}|link=no}} | ||
| + | <!-- | ||
| + | CO-ORDINATES | ||
| + | --> | ||
| + | {{t row if|Co-ordinates|{{{co-ordinates|}}}|link=no}} | ||
| + | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{TemplateDoc|pages=Cities, town, villages, settlement...|purpose=Info box|cat=}} | {{TemplateDoc|pages=Cities, town, villages, settlement...|purpose=Info box|cat=}} | ||
| Line 59: | Line 96: | ||
{{Parm|picture2|second picture|no|}} | {{Parm|picture2|second picture|no|}} | ||
{{Parm|map|map|no|}} | {{Parm|map|map|no|}} | ||
| + | {{Parm|sov state|Sovereign state|no|}} | ||
{{Parm|country|Country|no|}} | {{Parm|country|Country|no|}} | ||
{{Parm|state|State|no|}} | {{Parm|state|State|no|}} | ||
{{Parm|province|Province|no|}} | {{Parm|province|Province|no|}} | ||
| + | {{Parm|shire county|Shire county|no|}} | ||
| + | {{Parm|council|Council|no|}} | ||
{{Parm|region|Region|no|}} | {{Parm|region|Region|no|}} | ||
| + | {{Parm|borders|Borders|no|}} | ||
{{Parm|settled|Year of settlement|no|}} | {{Parm|settled|Year of settlement|no|}} | ||
{{Parm|charter|Year of charter|no|}} | {{Parm|charter|Year of charter|no|}} | ||
{{Parm|population|Population|no|}} | {{Parm|population|Population|no|}} | ||
{{Parm|area|Area|no|}} | {{Parm|area|Area|no|}} | ||
| + | {{Parm|density|Density|no|}} | ||
{{Parm|mayor|Mayor|no|}} | {{Parm|mayor|Mayor|no|}} | ||
| + | {{Parm|demonym|Demonym|no|}} | ||
| + | {{Parm|co-ordinates|Global co-ordinates|no|}} | ||
}} | }} | ||
| Line 77: | Line 121: | ||
|picture2 = | |picture2 = | ||
|map = | |map = | ||
| + | |sov state = | ||
|country = | |country = | ||
|state = | |state = | ||
|region = | |region = | ||
| + | |shire county = | ||
| + | |council = | ||
| + | |borders = | ||
|settled = | |settled = | ||
|charter = | |charter = | ||
|population = | |population = | ||
|area = | |area = | ||
| + | |density = | ||
|mayor = | |mayor = | ||
| + | |demonym = | ||
| + | |co-ordinates = | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 10:45, September 13, 2024
| Template: City | |
|---|---|
| Use on | Cities, town, villages, settlement... |
| Use for | Info box |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | name of city or town | no | Defaults to page name |
| picture | picture | no | |
| picture2 | second picture | no | |
| map | map | no | |
| sov state | Sovereign state | no | |
| country | Country | no | |
| state | State | no | |
| province | Province | no | |
| shire county | Shire county | no | |
| council | Council | no | |
| region | Region | no | |
| borders | Borders | no | |
| settled | Year of settlement | no | |
| charter | Year of charter | no | |
| population | Population | no | |
| area | Area | no | |
| density | Density | no | |
| mayor | Mayor | no | |
| demonym | Demonym | no | |
| co-ordinates | Global co-ordinates | no | |
Full code
{{City
|name =
|picture =
|picture2 =
|map =
|sov state =
|country =
|state =
|region =
|shire county =
|council =
|borders =
|settled =
|charter =
|population =
|area =
|density =
|mayor =
|demonym =
|co-ordinates =
}}