Template:Cities: Difference between revisions

From Medicine GPT
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
|population=Integer
|population=Integer
|zipcodes=List (,) of Integer
|zipcodes=List (,) of Integer
|date_founded=
|rating=Rating
|rating=Rating
|coordinates=Coordinates
|coordinates=Coordinates
}}
}}


{{#cargo_declare:_table=uscities|_drilldownTabs=Map (format=openlayers;fields=_pageName,Coordinates), Timeline (format=timeline;fields=_pageName,Date_founded),Category tab (format=category;fields=_pageName,Date_founded),Table tab (format=table;fields=_pageName=Name,City,State,State_short|Country=Text|Population=Integer|Zipcodes|Date_founded=Date|Rating=rating|Coordinates=Coordinates}}
{{#cargo_declare:_table=uscities|_drilldownTabs=Map (format=openlayers;fields=_pageName,Coordinates), Timeline (format=timeline;fields=_pageName,Date_founded),Category tab (format=category;fields=_pageName,Date_founded),Table tab (format=table;fields=_pageName=Name,City,State,State_short|Country=Text|Population=Integer|Zipcodes|Rating=rating|Coordinates=Coordinates}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=uscities|Country={{{country|}}}|State={{{state|}}}|State code={{{state_short|}}}|City={{{city|}}}|Date_founded={{{date founded|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }}
{{#cargo_store:_table=uscities|Country={{{country|}}}|State={{{state|}}}|State code={{{state_short|}}}|City={{{city|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }}
{| border=0 cellpadding=4 cellspacing=4
{| border=0 cellpadding=4 cellspacing=4
! Country
! Country
Line 40: Line 39:
! City
! City
| {{{city|}}}
| {{{city|}}}
|-
! Date founded
| {{{date founded|}}}
|-
|-
! Population
! Population

Revision as of 17:31, 23 September 2022

This is the list of cities in the United States template. It should be called in the following format:

{{City
|State=
|State_short=
|Country=
|Population=
|Zipcodes=
|Rating=
|Coordinates=
}}

Edit the page to see the template text. This template defines the table "uscities". View table.

This template defines the table "uscities". View table.