Template:City: Difference between revisions

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


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

Revision as of 14:38, August 22, 2011

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

{{City
|Population=
}}

Edit the page to see the template text.