This is the template sandbox page for Template:Philippine census reference (diff). See also the companion subpage for test cases. |
Usage
editThis template requires the first unnamed parameter, which is:
- where yyyy is the required year (any census year, 1903–2020)
{{PH census|yyyy}}
- or
- which returns the reference for the latest census data. Thus, new census data does not need to be updated manually on pages.
{{PH census|current}}
- NB
current
can be used only on a page whose Wikidata entry includes a population statement, complete with qualifier P585 (point-in-time). The template returns the Wikidata information for the supplied year.
An optional named parameter can be used to specify the region instead of the default, for instance, when the generic reference is needed instead of the region-specific one.
- For all Philippine places, the PSGC is included on Wikidata. Therefore, the correct region section is the first two digits of the PSGC code.
- PSGC =
rrppmmbbb
, e.g. 072228003 –rr
region = 07 (Central Visayas),pp
province = 22 (Cebu),mm
municipality / city = 28 (Madridejos),bbb
barangay = 003 (Kaongkod).
- 01 for the Ilocos Region (Region I)
- 02 for Cagayan Valley (Region II)
- 03 for Central Luzon (Region III)
- 04 for Calabarzon (Region IV-A)
- 05 for the Bicol Region (Region V)
- 06 for Western Visayas (Region VI)
- 07 for Central Visayas (Region VII)
- 08 for Eastern Visayas (Region VIII)
- 09 for Zamboanga Peninsula (Region IX)
- 10 for Northern Mindanao (Region X)
- 11 for the Davao Region (Region XI)
- 12 for Soccsksargen (Region XII)
- 13 for the National Capital Region (NCR)
- 14 for the Cordillera Administrative Region (CAR)
- 15 for the Bangsamoro Autonomous Region in Muslim Mindanao (BARMM)
- 16 for the Caraga Administrative Region (Caraga)
- 17 for the Southwestern Tagalog Region (Mimaropa)
Example:
- Regions first came into existence on September 24, 1972, when the provinces of the Philippines were organized into eleven regions. Earlier dates are extrapolated.
- Negros Island Region, also abbreviated and officially designated as NIR (unofficially Region XVIII), was an administrative region in the Philippines that comprised the provinces of Negros Occidental and Negros Oriental on the island of Negros. It existed between May 29, 2015, and August 9, 2017.
- ^ Census of Population and Housing (2010). Population and Annual Growth Rates for The Philippines and Its Regions, Provinces, and Highly Urbanized Cities (PDF). National Statistics Office. Retrieved 29 June 2016.
- ^ Census of Population (2020). Table B - Population and Annual Growth Rates by Province, City, and Municipality - By Region. Philippine Statistics Authority. Retrieved 8 July 2021.
- ^ Census of Population (2020). "Mimaropa". Total Population by Province, City, Municipality and Barangay. Philippine Statistics Authority. Retrieved 8 July 2021.
- ^ Census of Population (2015). Highlights of the Philippine Population 2015 Census of Population. Philippine Statistics Authority. Retrieved 20 June 2016.