Template:Infobox city
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Infobox city is a template for pages about cities. It automatically adds Category:Places and Category:Cities to the article if it's in the Main namespace.
Usage
| Infobox city | |
|---|---|
| Subheadery | |
| File:Picturey.png Captiony | |
| File:Picturey2.png Captiony 2 | |
| Location | Locationy |
| Exports | Exportsy |
| Values | Valuesy |
| System of government | Systemy ofy Governmenty |
| Leader | Leadery |
| Demonym | Demonymy |
| Fieldy | Exampley |
Copy-paste the block of code below into the beginning of your article and enter text for values you wish to have appear. All fields are optional.
Some notes:
- The
namefield can be left blank in most cases, causing the template to inherit the name of the page it's on. - Images can be any size, but try to keep them at or under 256px for infobox readability.
- The
colorfield takes colors in hexadecimal, such as#FF0000. - There are some custom fields in case the template is lacking a slot for information you wish to include. For example, entering text into
lbl1anddata1will create a new row, like the Fieldy row seen in the example on the right.
{{Infobox city
|name =
|subheader =
|image = [[File:Picturey.png|256px]]
|caption =
|image2 = [[File:Picturey2.png|150px]]
|caption2 =
|color =
|location =
|exports =
|values =
|government =
|leader =
|demonym =
|type =
| lbl1 =
|data1 =
| lbl2 =
|data2 =
| lbl3 =
|data3 =
| lbl4 =
|data4 =
| lbl5 =
|data5 =
}}