Template:Cities: Difference between revisions

From Medicine GPT
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 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=String (mandatory)
|City=Page (mandatory)
|State=String
|State=Page
|State_short=String
|State_short=Page
|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

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.