Template:Cities: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 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= | |State_short= | ||
| 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=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 | ||
| {{{ | | {{{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> | ||
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.