Template:City: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Revert back to May 4 version)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "City" template.
This is the 'City' template. It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{City
{{City
|Population=
|country=
|Country=
|date founded=
|Mayors=
|population=
|coordinates=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{| class="wikitable"
{{#declare:Is in country=country|Was founded in=date founded|Has population=population|Has coordinates=coordinates}}
{| border=0 cellpadding=4 cellspacing=4
! Country
| {{{country|}}}
|-
! Date founded
| {{{date founded|}}}
|-
! Population
! Population
| [[Has population::{{{Population|}}}]]
| {{{population|}}}
|-
! Country
| {{{Country|}}}
|-
|-
! Mayor(s)
! Coordinates
| {{#arraymap:{{{Mayors|}}}|,|x|[[Has mayor::x]]}}
| {{{coordinates|}}}{{#display_point:{{{coordinates|}}}|service=yahoomaps}}
|}
|}


[[Category:City]]
[[Category:Cities]]
</includeonly>
</includeonly>

Revision as of 04:04, March 9, 2012

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.