Template:Infobox MunicipalityPR/doc

From Wikipedia, the free encyclopedia

San Juan, Puerto Rico
Flag of San Juan, Puerto Rico
Flag
Official seal of San Juan, Puerto Rico
Seal
Nickname: The Walled City
Location of Infobox MunicipalityPR/doc within Puerto Rico.
Location of Infobox MunicipalityPR/doc within Puerto Rico.
Coordinates: 18°29′00″N 66°08′00″W / 18.483333, -66.133333
Country United States
Territory Puerto Rico
Government
 - Mayor Jorge A. Santini Padilla (PNP)
 - Senatorial dist. San Juan
 - Representative dist. 1,2,3,4 and part of 5
Area
 - Total 76.9 sq mi (199.28 km²)
 - Land Expression error: Unexpected ( operator sq mi (123.85(62.2%) km²)
 - Water Expression error: Unexpected ( operator sq mi (75.39(37.8%) km²)
Population (2000)
 - Total 442,447
 - Density 9,278.6/sq mi (3,582.5/km²)
 - Gentilic Sanjuanueros
Time zone AST (UTC-4)
Website: http://www.sanjuancapital.com

[edit] Usage

<!-- Infobox starts !-->
{{Infobox Settlement <!--more fields are available for this Infobox--See Template:Infobox Settlement-->

|settlement_type = 
|subdivision_type = [[Countries of the world|Country]]
|subdivision_name       = [[United States]]

|subdivision_type1      = [[Commonwealth (United States insular area)|Territory]]
|subdivision_name1      = [[Puerto Rico]]
|subdivision_type2      = <!--[[Municipalities of Puerto Rico|Municipality]] -->
|subdivision_name2      = 

|timezone=[[Atlantic Standard Time|AST]]
|utc_offset=-4
|timezone_DST=
|utc_offset_DST=
|unit_pref=Imperial
|map_caption =Location of {{PAGENAME}} within Puerto Rico.
|latNS=N 
|longEW=W | 
official_name = San Juan, Puerto Rico | 
nickname = The Walled City|
image_flag = Example.png| 
image_seal = Example.png| 
population_blank1 = Sanjuanueros|population_blank1_title=[[Demonym|Gentilic]]|image_map =  Map of Puerto Rico highlighting San Juan.svg| 
leader_title=[[Mayor]]|
leader_name = Jorge A. Santini Padilla | 
political party = Partido Nuevo Progresista |
leader_party = PNP |
leader_title1=Senatorial dist.|
leader_name1= San Juan |
leader_title2=Representative dist.|
leader_name2 = 1,2,3,4 and part of 5|
area_magnitude = 1 E9 | 
area_total_km2 = 199.28|
area_land_km2 = 123.85(62.2%) |
area_water_km2 =  75.39(37.8%) |
population_as_of = 2000 | 
population_note = |
population_total = 442447|population_footnotes= | 
population_density_km2 = 3582.5| 
latitude = 18°29'00" N |
longitude = 66°08'00" W | 
website =  http://www.sanjuancapital.com  | 
footnotes = | 
}}
<!-- Infobox ends !-->

[edit] Empty Syntax

<!-- Infobox starts !-->
{{Infobox Settlement <!--more fields are available for this Infobox--See Template:Infobox Settlement-->

|settlement_type = 
|subdivision_type = [[Countries of the world|Country]]
|subdivision_name       = [[United States]]

|subdivision_type1      = [[Commonwealth (United States insular area)|Territory]]
|subdivision_name1      = [[Puerto Rico]]
|subdivision_type2      = <!--[[Municipalities of Puerto Rico|Municipality]] -->
|subdivision_name2      = 

|timezone=[[Atlantic Standard Time|AST]]
|utc_offset=-4
|timezone_DST=
|utc_offset_DST=
|unit_pref=Imperial
|map_caption =Location of {{PAGENAME}} within Puerto Rico.
|latNS=N 
|longEW=W | 
official_name =  
nickname = 
image_flag =  
image_seal =  
citizen name = 
image_map =   
|leader_title=[[Mayor]]|
leader_name = 
political party = 
political party display = 
sendist_name= 
repdist_name = 
area_magnitude =  
area_total = 
area_land = 
area_water =  
population_as_of =  
population_note = 
population_total =  
population_density = 
latd=18|latm=29|lats=00| <!-- insert direct values -->
longd=66|longm=08|longs=00| <!-- insert direct values -->
website =  
footnotes = 
}}
<!-- Infobox ends !--> 

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.