Jump to content

User:OWL/Demos/Infobox City Miles or Meters

From Wikipedia, the free encyclopedia

WELCOME to "Infobox City Miles or Meters"

This template can display miles first (and kilometers second), or vice versa.

A refinement of the template "Infobox City", and designed primarily -- but not exclusively -- for North American towns and cities, "Miles or Meters" is adaptable to virtually any polity of less than 500 square miles.

  • Clear - Helps user achieve attractive, accurate results the first time
  • Smart - Automatically calculates percentages and equivalents
  • Connected - Can be linked to authoritative U.S. data sources
  • Flexible - Affords maximal latitude to tailor, stylize, and "wikify"

Refer to Discussion page for further instructions and information.

Or simply cut, paste, and begin.

<!-- Start Infobox -->
{{User:OWL/Infobox City Miles or Meters 


<!-- PRIMARY MEASUREMENT UNITS -->
<!-- miles_or_meters - Sets units and display priority of measurements data.
                       Put "miles" for feet and square miles.
                       Put "meters" for meters and square kilometers.
                       (Displayed equivalents calculated automatically.) -->

|miles_or_meters        = miles



<!-- SECTION I: PLACE NAMES -->

|place_name             = 
|place_alternate_name   = 
|place_nickname         = 


<!-- SECTION II: PLACE IMAGES: Image 1 -->
<!-- (Typically a view of the place or city skyline) -->
<!-- _file - Enter filename.ext of an uploaded image file 
             Blank _file triggers jump to Images 2a-c 
     _width - Digits only. Units are pixels (px) 
              Greater than 250 not recommended 
     _border - Put "yes" for image with border, or leave it blank 
     _caption - Put any text that fits, or leave it blank -->

|place_image1_file      = 
|place_image1_width     = 250
|place_image1_border    = 
|place_image1_caption   = 


<!-- SECTION II: PLACE IMAGES: Images 2a-c (Up to 3 images in one row) -->
<!-- (Typically flag, city seal, coat of arms) -->
<!-- _file - Enter filename.ext of an uploaded image file 
             Blank _file triggers jump to Images Text 
     _width - Digits only. Units are pixels (px) 
              Sum of a, b, and c greater than 250 not recommended 
     _border - Put "yes" for image with border, or leave it blank 
     _caption - Put any text that fits, or leave it blank -->

|place_image2a_file     = 
|place_image2a_width    = 83
|place_image2a_border   = 
|place_image2a_caption  = 

|place_image2b_file     = 
|place_image2b_width    = 84
|place_image2b_border   = 
|place_image2b_caption  = 

|place_image2c_file     = 
|place_image2c_width    = 83
|place_image2c_border   = 
|place_image2c_caption  = 


<!-- SECTION II: PLACE IMAGES: Images Text -->
<!-- (A centered 'caption' displayed at this point in the infobox
      whether or not any images have been displayed above) -->
<!-- _images_text - Put any text that fits, or leave it blank
                    (Suggestion: Motto could go here.) -->

|place_images_text      = 



<!-- SECTION III: SUPERIOR POLITIES -->
<!-- _label - Examples: "Country" "State" "Province" "County" etc. 
              First blank _label triggers jump to next section -->

|superior_polity1_label = 
|superior_polity1_name  = 
|superior_polity2_label = 
|superior_polity2_name  = 
|superior_polity3_label = 
|superior_polity3_name  = 
|superior_polity4_label = 
|superior_polity4_name  = 
|superior_polity5_label = 
|superior_polity5_name  = 



<!-- SECTION IV: GEO-LOCATION: Image 1 -->
<!-- (Typically a map showing place location in state or province) -->
<!-- See PLACE SECTION: Image 1 above. Same comments apply -->

|geo_image1_file        = 
|geo_image1_width       = 250
|geo_image1_border      = 
|geo_image1_caption     = 


<!-- SECTION IV: GEO-LOCATION: Images 2a-c (Up to 3 images in one row) -->
<!-- (Typically maps) -->
<!-- See PLACE SECTION: Images 2a-c above. Same comments apply -->


|geo_image2a_file       = 
|geo_image2a_width      = 83
|geo_image2a_border     = 
|geo_image2a_caption    = 

|geo_image2b_file       = 
|geo_image2b_width      = 84
|geo_image2b_border     = 
|geo_image2b_caption    = 

|geo_image2c_file       = 
|geo_image2c_width      = 83
|geo_image2c_border     = 
|geo_image2c_caption    = 


<!-- SECTION IV: GEO-LOCATION: Images Text -->
<!-- (A centered 'caption' displayed at this point in the infobox
      whether or not any images have been displayed above) -->
<!-- _images_text - Put any text that fits, or leave it blank -->

|geo_images_text        = 


<!-- SECTION IV: GEO-LOCATION: Latitude and Longitude -->
<!-- This section not displayed if any geo_lat_ or geo_long_ is blank -->

|geo_lat_d  =  |geo_lat_m  =  |geo_lat_s  =  |geo_lat_NS  = 
|geo_long_d =  |geo_long_m =  |geo_long_s =  |geo_long_EW = 

<!-- _show_map_link - URL composed automatically 
                      from geo_lat_ and geo_long_ inputs above
                      Put "yes" to display link, or leave it blank -->

|geo_show_map_link      = yes


<!-- SECTION IV: GEO-LOCATION: Elevation -->
<!-- geo_elevation - Digits and optional decimal point only 
                     Units set by "miles_or_meters" above
                     This item not displayed if geo_elevation is blank -->

|geo_elevation          = 


<!-- SECTION IV: GEO-LOCATION: Notes -->
<!-- _notes - Put any text that fits, or leave it blank 
     _center - Put "yes" to align center, else align left -->

|geo_notes              = 
|geo_notes_center       = yes



<!-- SECTION V: CENSUS: Profile 1 -->
<!-- (_pop_num + _area_whole + _density + _notes = blank) triggers
     jump to SECTION VI
<!-- _pop_num - Population. Digits only. No commas.
     _pop_note - Typically 4 digits, such as "2001" -->

|census1_pop_num        = 
|census1_pop_note       = 

<!-- _label_prefix - Example: "City" displays "City Pop."
                     Blank displays default label "Population"
                     (Default recommended for Profile 1) -->

|census1_label_prefix   = 

<!-- _area_ - Digits and optional decimal point only
              Units set by "miles_or_meters" above -->

|census1_area_whole     = <!-- blank skips to density -->
|census1_area_water     = 
|census1_area_land      = 

<!-- _density - Digits and optional decimal point only
                Units set by "miles_or_meters" above -->

|census1_density        = 

<!-- _notes - [TBD] 
     _notes_center - Put "yes" to align center, else align left -->

|census1_notes          = 
|census1_notes_center   = yes


<!-- SECTION V: CENSUS: Profile 2 (for Urban, Metro, etc.) -->
<!-- See CENSUS: Profile 1 above. Same comments apply -->

|census2_pop_num        = 
|census2_pop_note       = 

<!-- _label_prefix - See comment for Profile 1
                     Examples for Profile 2: "Urban" "Metro" etc. -->

|census2_label_prefix   = 

|census2_area_whole     = 
|census2_area_water     = 
|census2_area_land      = 

|census2_density        = 

|census2_notes          = 
|census2_notes_center   = yes


<!-- SECTION V: CENSUS: Profile 3 (for Urban, Metro, etc.) -->
<!-- See CENSUS: Profile 1 above. Same comments apply -->

|census3_pop_num        = 
|census3_pop_note       = 

<!-- _label_prefix - See comment for Profile 1
                     Examples for Profile 3: "Urban" "Metro" etc. -->

|census3_label_prefix   = 

|census3_area_whole     = 
|census3_area_water     = 
|census3_area_land      = 

|census3_density        = 

|census3_notes          = 
|census3_notes_center   = yes



<!-- SECTION VI: CIVICS: Image 1 -->
<!-- (Typically an official seal or coat of arms) -->
<!-- See PLACE SECTION: Image 1 above. Same comments apply -->

|civics_image1_file     = 
|civics_image1_width    = 250
|civics_image1_border   = 
|civics_image1_caption  = 


<!-- SECTION VI: CIVICS: Images 2a-c (Up to 3 images in one row) -->
<!-- (Typically flag, seal, or other symbol) -->
<!-- See PLACE SECTION: Images 2a-c above. Same comments apply -->

|civics_image2a_file    = 
|civics_image2a_width   = 83
|civics_image2a_border  = 
|civics_image2a_caption = 

|civics_image2b_file    = 
|civics_image2b_width   = 84
|civics_image2b_border  = 
|civics_image2b_caption = 

|civics_image2c_file    = 
|civics_image2c_width   = 83
|civics_image2c_border  = 
|civics_image2c_caption = 


<!-- SECTION VI: CIVICS: Images Text -->
<!-- (A centered 'caption' displayed at this point in the infobox
      whether or not any images have been displayed above) -->
<!-- _images_text - Put any text that fits, or leave it blank
                    (Suggestion: Motto could go here.) -->

|civics_images_text     = 


<!-- SECTION VI: CIVICS: Historic Dates -->
<!-- _label - Examples: "Settled" "Named" "Incorporated" etc. 
              First blank _label triggers jump to next subsection -->

|historic_date1_label   = 
|historic_date1_date    = 
|historic_date2_label   = 
|historic_date2_date    = 
|historic_date3_label   = 
|historic_date3_date    = 


<!-- SECTION VI: CIVICS: Subordinate Polities -->
<!-- _label - Examples: "Boroughs" "Villages" other subdivisions, etc. 
              First blank _label triggers jump to next subsection 
     _name - Examples (eg. Boroughs): Manhattan, Brooklyn, Queens, etc. 
             First blank _name triggers jump to next _label -->

|sub_polity1_label      = 
|sub_polity1a_name      = 
|sub_polity1b_name      = 
|sub_polity1c_name      = 
|sub_polity1d_name      = 
|sub_polity1e_name      = 

|sub_polity2_label      = 
|sub_polity2a_name      = 
|sub_polity2b_name      = 
|sub_polity2c_name      = 
|sub_polity2d_name      = 
|sub_polity2e_name      = 

|sub_polity3_label      = 
|sub_polity3a_name      = 
|sub_polity3b_name      = 
|sub_polity3c_name      = 
|sub_polity3d_name      = 
|sub_polity3e_name      = 


<!-- SECTION VI: CIVICS: Government -->
<!-- form_of_government - Examples: "Council-Manager" "Town Meeting" etc. -->

|form_of_government     = 

<!-- _label - Examples: "Mayor" "First Selectman" "Supt. of Schools" etc. 
              First blank _label triggers jump to next section -->

|office1_label          = 
|office1_name           = 
|office2_label          = 
|office2_name           = 
|office3_label          = 
|office3_name           = 


<!-- SECTION VII: OFFICIAL WEB SITES -->
<!-- _url - External links only. "http://" prefix required
            First blank _url triggers jump to next section 
     _link_text - Typically, the web page title -->

|web_site1_url          = 
|web_site1_link_text    = 
|web_site2_url          = 
|web_site2_link_text    = 
|web_site3_url          = 
|web_site3_link_text    = 



<!-- SECTION VIII: TIME ZONE -->
<!-- (ST - Denotes Standard Time) 
     _ST_name -  Examples: "Eastern" "Alaska" "Central European" 
     _ST_abbrev - Examples: "EST" "AKST" "CET"
     _ST_offset - Examples: "-5" "-9" "+1" (+/- required)
                  This section not displayed if _ST_offset blank -->

|tz_ST_name             = 
|tz_ST_abbrev           = 
|tz_ST_utc_offset       = 

<!-- (DST - Denotes Summer or Daylight Saving Time) 
     _DST_alt_label - Example: "Summer"
                      Default: "Daylight Saving"
     _DST_abbrev - Examples: "EDT" "AKDT" "CEST"
     _DST_offset - Examples: "-4" "-8" "+2" (+/- required)
                   This item not displayed if _DST_offset blank -->

|tz_DST_alt_label       = 
|tz_DST_abbrev          = 
|tz_DST_utc_offset      = 

<!-- _show_clock_link - URL composed automatically from tz_ inputs above
                        Put "yes" to display link, or leave it blank -->

|tz_show_clock_link     = yes



<!-- SECTION IX: WEATHER -->
<!-- Instructions: 
      Load (in browser) http://www.crh.noaa.gov/zipcity.php 
      Disregard error message 
      Enter target 'City, ST' or Zip Code 
      Copy local forecast page URL to the right of "=" below 
     This section not displayed if _url is blank -->

|weather_url            = 



<!-- SECTION X: FOOTNOTES -->
<!-- footnotes - Put any text that fits, or leave it blank 
     _center - Put "yes" to align center, else align left -->

|footnotes              = 
|footnotes_center       = yes

}}

<!-- End Infobox -->