Template:Philippine census reference/doc

Usage
This template requires the first unnamed parameter, which is:


 * where yyyy is the required year (any census year, 1903–2020)


 * or


 * which returns the reference for the latest census data. Thus, new census data does not need to be updated manually on pages.


 * NB   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.


 * Examples:
 * produces
 * produces

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 =  , e.g. 072228003 –
 *   region = 07 (Central Visayas),
 *   province = 22 (Cebu),
 *   municipality / city = 28 (Madridejos),
 *   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:
 * produces
 * produces
 * 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.