Template:City: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
{{#cargo_declare:_table=Cities|Country=Text|Date_founded=Date|Population=Integer|Coordinates=Coordinates}}
{{#cargo_declare:_table=Cities|Country=Text|Date_founded=Date|Population=Integer|Coordinates=Coordinates}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#declare:Is in country=country|Was founded in=date founded|Has population=population}}{{#cargo_store:_table=Cities|Country={{{country|}}}|Date_founded={{{date founded|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }}
{{#cargo_store:_table=Cities|Country={{{country|}}}|Date_founded={{{date founded|}}}|Population={{{population|}}}|Coordinates={{{coordinates|}}} }}
{| border=0 cellpadding=4 cellspacing=4
{| border=0 cellpadding=4 cellspacing=4
! Country
! Country

Revision as of 09:22, December 10, 2014

This is the 'City' template. It should be called in the following format:

{{City
|country=
|date founded=
|population=
|coordinates=
}}

Edit the page to see the template text. This template defines the table "Cities". View table.