Template:Cities: Difference between revisions

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


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

Revision as of 18:42, 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.