Template:Infobox City Canada

From Wikipedia, the free encyclopedia

City of Infobox City Canada, Canada
List of cities in Canada
 
Motto:
{{Unhide = {{{}}}}}
Use {{{Motto}}} parameter for standard Motto with motto link, use {{{motto}}} for motto without link or formatting
Location
City Information
Established: {{{Established}}}
Area: {{{scArea}}} or {{{Area}}} (use {{{Area+}}} for info after initial value, and {{{area}}} for unformatted area field) [1] km²
Population:

{{{Population description}}}


{{{Population}}}

Population density: {{{Population Density}}}/km²
Time zone: Eastern: UTC -5
{{Hide = {{{}}}}}
Postal code span:
{{Unhide = {{{}}}}}
{{Hide = {{{}}}}}
{{Unhide = {{{}}}}}
{{Hide = {{{}}}}}
Local area code:
{{Unhide = {{{}}}}}
{{Hide = {{{}}}}}
{{Unhide = {{{}}}}}

Latitude:
Longitude:

{{Canadian_City/Map_source_is:{{{CCMapSource}}}|d1|m1|N|d2|m2|W|region:CA_type:city(100,000)_}}
Elevation: XX.X m MSL
Government
Mayor:
{{Hide = {{{Disable Mayor Listing}}}}}

List of mayors of Infobox City Canada
{{Unhide = {{{Disable Mayor Listing}}}}}
Governing body: Infobox City Canada City Council
Members of Parliament:
{{{MPs}}}
Provincial Representatives:
1(sc) According to the Canada 2001 Census.
Template help Edit Template Flag of Canada

[edit] Related links


==Old Standard formatting (still supported)==
{{Canadian City|
Reference Name=City of {{PAGENAME}}|
Header Format=Flag and Coat of Arms|
Motto=City motto.|
Latitude Longitude=00° 00' N<br />00° 00' W|
Elevation=100.0|
Time zone=EST|
Postal Code=L2(A-M), L1A|
Population description=City Population (200x)<br />Metropolitan Population(325000|
Population=200 000<br />500 000|
Population Density=1000.0|
Area=100.0|
City Mayor=Mayor Name|
Governing Body=[[Canadian City Council]]|
MPs=MP Name|
MLAs=MLA Name|
website= [http://www.cityofcanada.ca Canadian City website]|
Census Year=2004|
}}

==List of all current parameters with default values (tabed in order of precedence)==
{{Canadian City|
  Reference Name=City of {{PAGENAME}}|   <!--optional-->
  Custom header link=[[List of cities in Canada]]|   <!--optional-->
  Flag Image={{PAGENAME}} Flag.jpg|   <!--optional-->
  Coat Image={{PAGENAME}} Coat of Arms.jpg|   <!--optional-->
  motto=*NO DEFAULT*|   <!--choose from either motto, Motto, or scMotto-->
    Disable Motto Link=|   <!--redundant, same effect as motto-->
    Motto=*NO DEFAULT*|                            
      scMotto=*NO DEFAULT*|                        
  Established=|
  area=*NO DEFAULT*|   <!--choose from either area, Area, or scArea-->
    Area=*NO DEFAULT*|                             
      scArea=*NO DEFAULT*|                         
  Area+=|   <!--optional adds to the end of area section-->
  Population Description=|
  Population=|
  Population Density=|
  Time zone=EST|                                   
  Postal Code=|                                    
    Hide Postal Code field=|   <!--intended to remove postal code option-->
  Latitude Longitude=|                             
   CCMapSource=|   <!--intended for Latitute Longitude that use {{coor}}, parameters can now take input from templates, so Latitude Longitude can use {{coor}} directly-->
     d1=00|
     m1=00|
     d2=00|
     m2=00|
     EP=|
  elevation={{{Elevation}}} m [[MSL]]|   <!--unformatted version of Elevation-->
    Elevation=XX.X|
  mayor={{{City Mayor}}}|
   Disable Mayor Listing=false|   <!--same function as mayor-->
    City Mayor=|   <!--City Mayor is equivalent to Mayor parameter-->
     Mayor=|
  Governing Body=[[{{PAGENAME}} City Council]]|
    MPs=|
    MLAs=|
  website=|   <!--website is equivalent to Website-->
   Website=|
  references={{{footnotes}}}|   <!--optional references parameter allows for use of [[wp:fn]] system-->
   footnotes={{{References}}}|   <!--footnotes equivalent to references-->
    Extra references=None|   <!--initially ment to make footnotes easier, but since wiki upgrades that allow for template input and optional parameters, this parameter is now obsolete-->
      References=|
       Footnotes=|
  Census Year=2001|   <!--optional, used when Statistic Canada source info is auto generated-->
}}


==New Standard usage==
{{Canadian City|
Reference Name=City of {{PAGENAME}}|
Header Format=Flag and Coat of Arms|
Motto=City motto.|
Latitude Longitude={{coor dm|00|00|N<br />|00|00|W|}}|
Elevation=?|
Time zone=EST|
Postal Code=?|
Area Code=?|
Established=dd mmm yyyy|
Population description=City Population (200x)<br />Metropolitan Population(200x)|
Population=100 000<br />500 000|
Population Density=1000.0|
scArea=100.0| <!--or Area=100.0 {{ref label|Stats_Canada|1|1(sc)}}|-->
Mayor=Mayor Name|
Governing Body=[[Canadian City Council]]|
Website= [http://www.cityofcanada.ca Canadian City website]|
Census Year=2001|
References=|
}}



----------------------------------------------------
/\/\/\NOTES:/\/\/\
==Time zone==
Time zones include: "PST" for Pacific, "MST" for Mountain, "CST" for Central, 
"EST" for Eastern, "AST" for Atlantic, and "NST" for Newfoundland Standard Time.

==Header format==
Header Format can be: "Flag and Coat of Arms", "Flag", "Coat of Arms", or "None".

Defining "Flag Image" and "Coat Image" for the names of the images

==Area==
"Area" and "Population density" fields are in km² and people/km² respectively.  
Units should not be included in the declaration (as shown above).

   "area=100.0|"     :will produce "[[Area]]: || 100.0"
while
   "Area=100.0|"     :will produce "[[Area]]: || 100.0 [[km²]]"
and 
   "scArea=100.0|"   :will produce "[[Area]]: || 100.0 {{ref label|Stats_Canada|1|1(sc)}} [[km²]]"

==Population==
"Population Density=1000.0|"     :will produce "- [[density]]:||1000.0/km²"