Template:Cities: Difference between revisions

From Medicine GPT
Jump to navigation Jump to search
No edit summary
No edit summary
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=String (mandatory)
|City=Page (mandatory)
|State=String
|State=Page
|State_short=String
|State_short=String
|Country=String
|Country=Page
|Population=Integer
|Population=Integer
|Zipcodes=Integer
|Zipcodes=List of Page
|Rating=Rating
|Rating=Rating
|Coordinates=Coordinates
|Coordinates=Coordinates
}}
}}
</noinclude><includeonly>
</noinclude>
{{#cargo_store:_table=uscities|City={{{City|}}}|State={{{State|}}}|State_short={{{State_short|}}}|Country={{{Country|}}}|Population={{{Population|}}}|Zipcodes={{{Zipcodes|}}}|Rating={{{Rating|}}}Coordinates={{{Coordinates|}}} }}
<includeonly>
{{#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

Revision as of 19:22, 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.

Error: could not parse type for field "Zipcodes".