Template:Cities: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=uscities | {{#cargo_declare:_table=uscities | ||
| | |City=String (mandatory) | ||
| | |State=String | ||
| | |State_short=String | ||
| | |Country=String | ||
| | |Population=Integer | ||
| | |Zipcodes=Integer | ||
| | |Rating=Rating | ||
| | |Coordinates=Coordinates | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#cargo_store:_table=uscities| | {{#cargo_store:_table=uscities|City={{{City|}}}|State={{{State|}}}|State_short={{{State_short|}}}|Country={{{Country|}}}|Population={{{Population|}}}|Zipcodes={{{Zipcodes|}}}|Rating={{{Rating|}}}Coordinates={{{Coordinates|}}} }} | ||
{| border=0 cellpadding=4 cellspacing=4 | {| border=0 cellpadding=4 cellspacing=4 | ||
! City | ! City | ||
| {{{ | | {{{City|}}} | ||
|- | |- | ||
! Population | ! Population | ||
| {{{ | | {{{Population|}}} | ||
|- | |- | ||
! State | ! State | ||
| {{{ | | {{{State|}}} | ||
|- | |- | ||
! State short | ! State short | ||
| {{{ | | {{{State_short|}}} | ||
|- | |- | ||
! Country | ! Country | ||
| {{{ | | {{{Country|}}} | ||
|- | |- | ||
! Coordinates | ! Coordinates | ||
| {{#cargo_display_map:point={{{ | | {{#cargo_display_map:point={{{Coordinates|}}}|service=openlayers}} | ||
|- | |||
! Zipcodes | |||
| {{{Zipcodes|}}} | |||
|- | |- | ||
! Rating | ! Rating | ||
| {{{ | | {{{Rating|}}} | ||
|} | |} | ||
[[Category:US-cities]] | [[Category:US-cities]] | ||
</includeonly> | </includeonly> | ||
Revision as of 19:10, 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.