Template:Cities: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
|Country= | |Country= | ||
|Population= | |Population= | ||
|Zipcodes= | |||
|Rating= | |Rating= | ||
|Coordinates= | |Coordinates= | ||
| Line 18: | Line 19: | ||
|country=String (mandatory) | |country=String (mandatory) | ||
|population=Integer | |population=Integer | ||
|zipcodes=List (,) of Integer | |||
|date_founded= | |date_founded= | ||
|rating=Rating | |rating=Rating | ||
| Line 23: | Line 25: | ||
}} | }} | ||
{{#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|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|Date_founded=Date|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|}}}|Date_founded={{{date founded|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }} | ||
| Line 44: | Line 46: | ||
! Population | ! Population | ||
| {{{population|}}} | | {{{population|}}} | ||
|- | |||
! Zipcodes | |||
| {{{zipcodes|}}} | |||
|- | |- | ||
! Coordinates | ! Coordinates | ||
| {{#cargo_display_map:point={{{coordinates|}}}|service= | | {{#cargo_display_map:point={{{coordinates|}}}|service=google3}} | ||
|} | |} | ||
[[Category:US-cities]] | [[Category:US-cities]] | ||
</includeonly> | </includeonly> | ||
Revision as of 17:29, 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.