Difference between revisions of "Template:City"
Jump to navigation
Jump to search
(Brand new template !) |
(Added a few info) |
||
| 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 48: | Line 48: | ||
--> | --> | ||
{{t row if|Area|{{{area|}}}|link=no}} | {{t row if|Area|{{{area|}}}|link=no}} | ||
| + | <!-- | ||
| + | DENSITY | ||
| + | --> | ||
| + | {{t row if|Density|{{{density|}}}|link=no}} | ||
<!-- | <!-- | ||
MAYOR | MAYOR | ||
--> | --> | ||
{{t row if|Current mayor|{{{mayor|}}}|link=yes}} | {{t row if|Current mayor|{{{mayor|}}}|link=yes}} | ||
| + | <!-- | ||
| + | DEMONYM | ||
| + | --> | ||
| + | {{t row if|Demonym|{{{demonym|}}}|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 67: | Line 75: | ||
{{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|}} | ||
}} | }} | ||
| Line 84: | Line 94: | ||
|population = | |population = | ||
|area = | |area = | ||
| + | |density = | ||
|mayor = | |mayor = | ||
| + | |demonym = | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 01:59, December 28, 2011
| 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 | |
| country | Country | no | |
| state | State | no | |
| province | Province | no | |
| region | Region | 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 | |
Full code
{{City
|name =
|picture =
|picture2 =
|map =
|country =
|state =
|region =
|settled =
|charter =
|population =
|area =
|density =
|mayor =
|demonym =
}}