Template:Cities: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> This is the list of cities in the United States template. It should be called in the following format: <pre> {{City |State= |Country= |Population= |Rating= |Coordinates= }} </pre> Edit the page to see the template text. {{#cargo_declare:_table=uscities |city=String (mandatory) |state=String (mandatory) |country=String (mandatory) |population=Integer |date_founded= |rating=Rating |coordinates=Coordinates }} {{#cargo_declare:_table=uscities|_drilldownTabs=Map...") |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
This is the list of cities in the United States template. It should be called in the following format: | This is the list of cities in the United States template. It should be called in the following format: | ||
<pre> | <pre> | ||
{{City | {{City= | ||
|State= | |State= | ||
|State_short= | |||
|Country= | |Country= | ||
|Population= | |Population= | ||
|Zipcodes= | |||
|Rating= | |Rating= | ||
|Coordinates= | |Coordinates= | ||
| Line 12: | 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=Page (mandatory) | ||
| | |State=Page | ||
| | |State_short=Page | ||
| | |Country=Page | ||
| | |Population=Integer | ||
| | |Zipcodes=List (,) of Page | ||
| | |Rating=Rating | ||
|Coordinates=Coordinates | |||
}} | }} | ||
</noinclude> | |||
<includeonly> | |||
</noinclude><includeonly> | {{#cargo_store:_table=uscities|City={{{City|}}}|State={{{State|}}}|State_short={{{State_short|}}}|Country={{{Country|}}}|Population={{{Population|}}}|Zipcodes={{{Zipcodes|}}}|Rating={{{Rating|}}}|Coordinates={{{Coordinates|}}} }} | ||
{{#cargo_store:_table=uscities| | |||
{| border=0 cellpadding=4 cellspacing=4 | {| border=0 cellpadding=4 cellspacing=4 | ||
! | ! City | ||
| {{{ | | {{{City|}}} | ||
|- | |||
! Population | |||
| {{{Population|}}} | |||
|- | |- | ||
! State | ! State | ||
| {{{ | | {{{State|}}} | ||
|- | |||
! State short | |||
| {{{State_short|}}} | |||
|- | |- | ||
! | ! Country | ||
| {{{ | | {{{Country|}}} | ||
|- | |- | ||
! | ! Coordinates | ||
| {{{ | | {{#cargo_display_map:point={{{Coordinates|}}}|service=openlayers}} | ||
|- | |- | ||
! | ! Zipcodes | ||
| {{{ | | {{{Zipcodes|}}} | ||
|- | |- | ||
! | ! Rating | ||
| {{ | | {{{Rating|}}} | ||
|} | |} | ||
[[Category:US-cities]] | [[Category:US-cities]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 04:32, 24 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.