Jump to content

Template:Infobox City

From Horse Bar Lobster
Revision as of 06:55, 2 April 2025 by Wooferz (talk | contribs) (Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} {{#if:{{{capital|}}}|<div class="infobox-marker">CAPITAL</div>}} <table class="infobox-table">{{#if:{{{country|}}}|<tr> <th>Country</th> <td>{{{country}}}</td> </tr>}}{{#if:{{{population|}}}|<tr> <th>Population</th> <td>{{{population}}}</td> </tr>}}{{#if:{{{mayor|}}}|<tr> <th>Mayo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Infobox City

Use this template for cities.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

Name of the city

Example
Chicago
Unknownrequired
imageimage

An image of the city

Example
Chicaco Image.jpg
Fileoptional
capitalcapital

Whether or not this city is a capital.

Booleanoptional
countrycountry

What country is this city part of?

Unknownoptional
populationpopulation

The population of the city

Unknownoptional
mayormayor

The major of the city

Unknownoptional