Wikipedia
tetwiki
https://tet.wikipedia.org/wiki/P%C3%A1jina_Mahuluk
MediaWiki 1.46.0-wmf.24
first-letter
Media
Espesiál
Diskusaun
Uza-na'in
Diskusaun Uza-na'in
Wikipedia
Diskusaun Wikipedia
Imajen
Diskusaun Imajen
MediaWiki
Diskusaun MediaWiki
Template
Diskusaun Template
Ajuda
Diskusaun Ajuda
Kategoria
Diskusaun Kategoria
TimedText
TimedText talk
Módulo
Módulo Discussão
Evento
Evento Discussão
Template:Location map
10
4140
70410
50372
2026-04-25T04:15:19Z
Exec8
6243
Página substituída por "<includeonly>{{#invoke:Location map|main}}</includeonly><noinclude>{{documentation}}</noinclude>"
70410
wikitext
text/x-wiki
<includeonly>{{#invoke:Location map|main}}</includeonly><noinclude>{{documentation}}</noinclude>
dg6vj3epjyfwx0m7tx62smhp6gs0y2u
Módulo:Wd
828
6295
70348
67703
2026-04-25T03:37:41Z
Exec8
6243
70348
Scribunto
text/plain
-- Original module located at [[:en:Module:Wd]] and [[:en:Module:Wd/i18n]].
local p = {}
local arg = ...
local i18n
local function loadI18n(aliasesP, frame)
local title
if frame then
-- current module invoked by page/template, get its title from frame
title = frame:getTitle()
else
-- current module included by other module, get its title from ...
title = arg
end
if not i18n then
i18n = require(title .. "/i18n").init(aliasesP)
end
end
p.claimCommands = {
property = "property",
properties = "properties",
qualifier = "qualifier",
qualifiers = "qualifiers",
reference = "reference",
references = "references"
}
p.generalCommands = {
label = "label",
title = "title",
description = "description",
alias = "alias",
aliases = "aliases",
badge = "badge",
badges = "badges"
}
p.flags = {
linked = "linked",
short = "short",
raw = "raw",
multilanguage = "multilanguage",
unit = "unit",
-------------
preferred = "preferred",
normal = "normal",
deprecated = "deprecated",
best = "best",
future = "future",
current = "current",
former = "former",
edit = "edit",
editAtEnd = "edit@end",
mdy = "mdy",
single = "single",
sourced = "sourced"
}
p.args = {
eid = "eid",
page = "page",
date = "date"
}
local aliasesP = {
coord = "P625",
-----------------------
image = "P18",
author = "P50",
publisher = "P123",
importedFrom = "P143",
statedIn = "P248",
pages = "P304",
language = "P407",
hasPart = "P527",
publicationDate = "P577",
startTime = "P580",
endTime = "P582",
chapter = "P792",
retrieved = "P813",
referenceURL = "P854",
sectionVerseOrParagraph = "P958",
archiveURL = "P1065",
title = "P1476",
formatterURL = "P1630",
quote = "P1683",
shortName = "P1813",
definingFormula = "P2534",
archiveDate = "P2960",
inferredFrom = "P3452",
typeOfReference = "P3865",
column = "P3903"
}
local aliasesQ = {
percentage = "Q11229",
prolepticJulianCalendar = "Q1985786",
citeWeb = "Q5637226",
citeQ = "Q22321052"
}
local parameters = {
property = "%p",
qualifier = "%q",
reference = "%r",
alias = "%a",
badge = "%b",
separator = "%s",
general = "%x"
}
local formats = {
property = "%p[%s][%r]",
qualifier = "%q[%s][%r]",
reference = "%r",
propertyWithQualifier = "%p[ <span style=\"font-size:85\\%\">(%q)</span>][%s][%r]",
alias = "%a[%s]",
badge = "%b[%s]"
}
local hookNames = { -- {level_1, level_2}
[parameters.property] = {"getProperty"},
[parameters.reference] = {"getReferences", "getReference"},
[parameters.qualifier] = {"getAllQualifiers"},
[parameters.qualifier.."\\d"] = {"getQualifiers", "getQualifier"},
[parameters.alias] = {"getAlias"},
[parameters.badge] = {"getBadge"}
}
-- default value objects, should NOT be mutated but instead copied
local defaultSeparators = {
["sep"] = {" "},
["sep%s"] = {","},
["sep%q"] = {"; "},
["sep%q\\d"] = {", "},
["sep%r"] = nil, -- none
["punc"] = nil -- none
}
local rankTable = {
["preferred"] = 1,
["normal"] = 2,
["deprecated"] = 3
}
local Config = {}
-- allows for recursive calls
function Config:new()
local cfg = {}
setmetatable(cfg, self)
self.__index = self
cfg.separators = {
-- single value objects wrapped in arrays so that we can pass by reference
["sep"] = {copyTable(defaultSeparators["sep"])},
["sep%s"] = {copyTable(defaultSeparators["sep%s"])},
["sep%q"] = {copyTable(defaultSeparators["sep%q"])},
["sep%r"] = {copyTable(defaultSeparators["sep%r"])},
["punc"] = {copyTable(defaultSeparators["punc"])}
}
cfg.entity = nil
cfg.entityID = nil
cfg.propertyID = nil
cfg.propertyValue = nil
cfg.qualifierIDs = {}
cfg.qualifierIDsAndValues = {}
cfg.bestRank = true
cfg.ranks = {true, true, false} -- preferred = true, normal = true, deprecated = false
cfg.foundRank = #cfg.ranks
cfg.flagBest = false
cfg.flagRank = false
cfg.periods = {true, true, true} -- future = true, current = true, former = true
cfg.flagPeriod = false
cfg.atDate = {parseDate(os.date('!%Y-%m-%d'))} -- today as {year, month, day}
cfg.mdyDate = false
cfg.singleClaim = false
cfg.sourcedOnly = false
cfg.editable = false
cfg.editAtEnd = false
cfg.inSitelinks = false
cfg.langCode = mw.language.getContentLanguage().code
cfg.langName = mw.language.fetchLanguageName(cfg.langCode, cfg.langCode)
cfg.langObj = mw.language.new(cfg.langCode)
cfg.siteID = mw.wikibase.getGlobalSiteId()
cfg.states = {}
cfg.states.qualifiersCount = 0
cfg.curState = nil
cfg.prefetchedRefs = nil
return cfg
end
local State = {}
function State:new(cfg, type)
local stt = {}
setmetatable(stt, self)
self.__index = self
stt.conf = cfg
stt.type = type
stt.results = {}
stt.parsedFormat = {}
stt.separator = {}
stt.movSeparator = {}
stt.puncMark = {}
stt.linked = false
stt.rawValue = false
stt.shortName = false
stt.anyLanguage = false
stt.unitOnly = false
stt.singleValue = false
return stt
end
local function replaceAlias(id)
if aliasesP[id] then
id = aliasesP[id]
end
return id
end
local function errorText(code, param)
local text = i18n["errors"][code]
if param then text = mw.ustring.gsub(text, "$1", param) end
return text
end
local function throwError(errorMessage, param)
error(errorText(errorMessage, param))
end
local function replaceDecimalMark(num)
return mw.ustring.gsub(num, "[.]", i18n['numeric']['decimal-mark'], 1)
end
local function padZeros(num, numDigits)
local numZeros
local negative = false
if num < 0 then
negative = true
num = num * -1
end
num = tostring(num)
numZeros = numDigits - num:len()
for _ = 1, numZeros do
num = "0"..num
end
if negative then
num = "-"..num
end
return num
end
local function replaceSpecialChar(chr)
if chr == '_' then
-- replace underscores with spaces
return ' '
else
return chr
end
end
local function replaceSpecialChars(str)
local chr
local esc = false
local strOut = ""
for i = 1, #str do
chr = str:sub(i,i)
if not esc then
if chr == '\\' then
esc = true
else
strOut = strOut .. replaceSpecialChar(chr)
end
else
strOut = strOut .. chr
esc = false
end
end
return strOut
end
local function buildWikilink(target, label)
if not label or target == label then
return "[[" .. target .. "]]"
else
return "[[" .. target .. "|" .. label .. "]]"
end
end
-- used to make frame.args mutable, to replace #frame.args (which is always 0)
-- with the actual amount and to simply copy tables
function copyTable(tIn)
if not tIn then
return nil
end
local tOut = {}
for i, v in pairs(tIn) do
tOut[i] = v
end
return tOut
end
-- used to merge output arrays together;
-- note that it currently mutates the first input array
local function mergeArrays(a1, a2)
for i = 1, #a2 do
a1[#a1 + 1] = a2[i]
end
return a1
end
local function split(str, del)
local out = {}
local i, j = str:find(del)
if i and j then
out[1] = str:sub(1, i - 1)
out[2] = str:sub(j + 1)
else
out[1] = str
end
return out
end
local function parseWikidataURL(url)
local id
if url:match('^http[s]?://') then
id = split(url, "Q")
if id[2] then
return "Q" .. id[2]
end
end
return nil
end
function parseDate(dateStr, precision)
precision = precision or "d"
local i, j, index, ptr
local parts = {nil, nil, nil}
if dateStr == nil then
return parts[1], parts[2], parts[3] -- year, month, day
end
-- 'T' for snak values, '/' for outputs with '/Julian' attached
i, j = dateStr:find("[T/]")
if i then
dateStr = dateStr:sub(1, i-1)
end
local from = 1
if dateStr:sub(1,1) == "-" then
-- this is a negative number, look further ahead
from = 2
end
index = 1
ptr = 1
i, j = dateStr:find("-", from)
if i then
-- year
parts[index] = tonumber(mw.ustring.gsub(dateStr:sub(ptr, i-1), "^\+(.+)$", "%1"), 10) -- remove '+' sign (explicitly give base 10 to prevent error)
if parts[index] == -0 then
parts[index] = tonumber("0") -- for some reason, 'parts[index] = 0' may actually store '-0', so parse from string instead
end
if precision == "y" then
-- we're done
return parts[1], parts[2], parts[3] -- year, month, day
end
index = index + 1
ptr = i + 1
i, j = dateStr:find("-", ptr)
if i then
-- month
parts[index] = tonumber(dateStr:sub(ptr, i-1), 10)
if precision == "m" then
-- we're done
return parts[1], parts[2], parts[3] -- year, month, day
end
index = index + 1
ptr = i + 1
end
end
if dateStr:sub(ptr) ~= "" then
-- day if we have month, month if we have year, or year
parts[index] = tonumber(dateStr:sub(ptr), 10)
end
return parts[1], parts[2], parts[3] -- year, month, day
end
local function datePrecedesDate(aY, aM, aD, bY, bM, bD)
if aY == nil or bY == nil then
return nil
end
aM = aM or 1
aD = aD or 1
bM = bM or 1
bD = bD or 1
if aY < bY then
return true
end
if aY > bY then
return false
end
if aM < bM then
return true
end
if aM > bM then
return false
end
if aD < bD then
return true
end
return false
end
local function getHookName(param, index)
if hookNames[param] then
return hookNames[param][index]
elseif param:len() > 2 then
return hookNames[param:sub(1, 2).."\\d"][index]
else
return nil
end
end
local function alwaysTrue()
return true
end
-- The following function parses a format string.
--
-- The example below shows how a parsed string is structured in memory.
-- Variables other than 'str' and 'child' are left out for clarity's sake.
--
-- Example:
-- "A %p B [%s[%q1]] C [%r] D"
--
-- Structure:
-- [
-- {
-- str = "A "
-- },
-- {
-- str = "%p"
-- },
-- {
-- str = " B ",
-- child =
-- [
-- {
-- str = "%s",
-- child =
-- [
-- {
-- str = "%q1"
-- }
-- ]
-- }
-- ]
-- },
-- {
-- str = " C ",
-- child =
-- [
-- {
-- str = "%r"
-- }
-- ]
-- },
-- {
-- str = " D"
-- }
-- ]
--
local function parseFormat(str)
local chr, esc, param, root, cur, prev, new
local params = {}
local function newObject(array)
local obj = {} -- new object
obj.str = ""
array[#array + 1] = obj -- array{object}
obj.parent = array
return obj
end
local function endParam()
if param > 0 then
if cur.str ~= "" then
cur.str = "%"..cur.str
cur.param = true
params[cur.str] = true
cur.parent.req[cur.str] = true
prev = cur
cur = newObject(cur.parent)
end
param = 0
end
end
root = {} -- array
root.req = {}
cur = newObject(root)
prev = nil
esc = false
param = 0
for i = 1, #str do
chr = str:sub(i,i)
if not esc then
if chr == '\\' then
endParam()
esc = true
elseif chr == '%' then
endParam()
if cur.str ~= "" then
cur = newObject(cur.parent)
end
param = 2
elseif chr == '[' then
endParam()
if prev and cur.str == "" then
table.remove(cur.parent)
cur = prev
end
cur.child = {} -- new array
cur.child.req = {}
cur.child.parent = cur
cur = newObject(cur.child)
elseif chr == ']' then
endParam()
if cur.parent.parent then
new = newObject(cur.parent.parent.parent)
if cur.str == "" then
table.remove(cur.parent)
end
cur = new
end
else
if param > 1 then
param = param - 1
elseif param == 1 then
if not chr:match('%d') then
endParam()
end
end
cur.str = cur.str .. replaceSpecialChar(chr)
end
else
cur.str = cur.str .. chr
esc = false
end
prev = nil
end
endParam()
-- make sure that at least one required parameter has been defined
if not next(root.req) then
throwError("missing-required-parameter")
end
-- make sure that the separator parameter "%s" is not amongst the required parameters
if root.req[parameters.separator] then
throwError("extra-required-parameter", parameters.separator)
end
return root, params
end
local function sortOnRank(claims)
local rankPos
local ranks = {{}, {}, {}, {}} -- preferred, normal, deprecated, (default)
local sorted = {}
for _, v in ipairs(claims) do
rankPos = rankTable[v.rank] or 4
ranks[rankPos][#ranks[rankPos] + 1] = v
end
sorted = ranks[1]
sorted = mergeArrays(sorted, ranks[2])
sorted = mergeArrays(sorted, ranks[3])
return sorted
end
-- if id == nil then item connected to current page is used
function Config:getLabel(id, raw, link, short)
local label = nil
local title = nil
local prefix= ""
if not id then
id = mw.wikibase.getEntityIdForCurrentPage()
if not id then
return ""
end
end
id = id:upper() -- just to be sure
if raw then
-- check if given id actually exists
if mw.wikibase.isValidEntityId(id) and mw.wikibase.entityExists(id) then
label = id
if id:sub(1,1) == "P" then
prefix = "Property:"
end
end
prefix = "d:" .. prefix
title = label -- may be nil
else
-- try short name first if requested
if short then
label = p._property{aliasesP.shortName, [p.args.eid] = id} -- get short name
if label == "" then
label = nil
end
end
-- get label
if not label then
label = mw.wikibase.getLabel(id)
end
end
if not label then
label = ""
elseif link then
-- build a link if requested
if not title then
if id:sub(1,1) == "Q" then
title = mw.wikibase.getSitelink(id)
elseif id:sub(1,1) == "P" then
-- properties have no sitelink, link to Wikidata instead
title = id
prefix = "d:Property:"
end
end
if title then
label = buildWikilink(prefix .. title, label)
end
end
return label
end
function Config:getEditIcon()
local value = ""
local prefix = ""
local front = " "
local back = ""
if self.entityID:sub(1,1) == "P" then
prefix = "Property:"
end
if self.editAtEnd then
front = '<span style="float:'
if self.langObj:isRTL() then
front = front .. 'left'
else
front = front .. 'right'
end
front = front .. '">'
back = '</span>'
end
value = "[[File:OOjs UI icon edit-ltr-progressive.svg|frameless|text-top|10px|alt=" .. i18n['info']['edit-on-wikidata'] .. "|link=https://www.wikidata.org/wiki/" .. prefix .. self.entityID .. "?uselang=" .. self.langCode
if self.propertyID then
value = value .. "#" .. self.propertyID
elseif self.inSitelinks then
value = value .. "#sitelinks-wikipedia"
end
value = value .. "|" .. i18n['info']['edit-on-wikidata'] .. "]]"
return front .. value .. back
end
-- used to create the final output string when it's all done, so that for references the
-- function extensionTag("ref", ...) is only called when they really ended up in the final output
function Config:concatValues(valuesArray)
local outString = ""
local j, skip
for i = 1, #valuesArray do
-- check if this is a reference
if valuesArray[i].refHash then
j = i - 1
skip = false
-- skip this reference if it is part of a continuous row of references that already contains the exact same reference
while valuesArray[j] and valuesArray[j].refHash do
if valuesArray[i].refHash == valuesArray[j].refHash then
skip = true
break
end
j = j - 1
end
if not skip then
-- add <ref> tag with the reference's hash as its name (to deduplicate references)
outString = outString .. mw.getCurrentFrame():extensionTag("ref", valuesArray[i][1], {name = valuesArray[i].refHash})
end
else
outString = outString .. valuesArray[i][1]
end
end
return outString
end
function Config:convertUnit(unit, raw, link, short, unitOnly)
local space = " "
local label = ""
local itemID
if unit == "" or unit == "1" then
return nil
end
if unitOnly then
space = ""
end
itemID = parseWikidataURL(unit)
if itemID then
if itemID == aliasesQ.percentage then
return "%"
else
label = self:getLabel(itemID, raw, link, short)
if label ~= "" then
return space .. label
end
end
end
return ""
end
function State:getValue(snak)
return self.conf:getValue(snak, self.rawValue, self.linked, self.shortName, self.anyLanguage, self.unitOnly, false, self.type:sub(1,2))
end
function Config:getValue(snak, raw, link, short, anyLang, unitOnly, noSpecial, type)
if snak.snaktype == 'value' then
local datatype = snak.datavalue.type
local subtype = snak.datatype
local datavalue = snak.datavalue.value
if datatype == 'string' then
if subtype == 'url' and link then
-- create link explicitly
if raw then
-- will render as a linked number like [1]
return "[" .. datavalue .. "]"
else
return "[" .. datavalue .. " " .. datavalue .. "]"
end
elseif subtype == 'commonsMedia' then
if link then
return buildWikilink("c:File:" .. datavalue, datavalue)
elseif not raw then
return "[[File:" .. datavalue .. "]]"
else
return datavalue
end
elseif subtype == 'geo-shape' and link then
return buildWikilink("c:" .. datavalue, datavalue)
elseif subtype == 'math' and not raw then
local attribute = nil
if (type == parameters.property or (type == parameters.qualifier and self.propertyID == aliasesP.hasPart)) and snak.property == aliasesP.definingFormula then
attribute = {qid = self.entityID}
end
return mw.getCurrentFrame():extensionTag("math", datavalue, attribute)
elseif subtype == 'external-id' and link then
local url = p._property{aliasesP.formatterURL, [p.args.eid] = snak.property} -- get formatter URL
if url ~= "" then
url = mw.ustring.gsub(url, "$1", datavalue)
return "[" .. url .. " " .. datavalue .. "]"
else
return datavalue
end
else
return datavalue
end
elseif datatype == 'monolingualtext' then
if anyLang or datavalue['language'] == self.langCode then
return datavalue['text']
else
return nil
end
elseif datatype == 'quantity' then
local value = ""
local unit
if not unitOnly then
-- get value and strip + signs from front
value = mw.ustring.gsub(datavalue['amount'], "^\+(.+)$", "%1")
if raw then
return value
end
-- replace decimal mark based on locale
value = replaceDecimalMark(value)
-- add delimiters for readability
value = i18n.addDelimiters(value)
end
unit = self:convertUnit(datavalue['unit'], raw, link, short, unitOnly)
if unit then
value = value .. unit
end
return value
elseif datatype == 'time' then
local y, m, d, p, yDiv, yRound, yFull, value, calendarID, dateStr
local yFactor = 1
local sign = 1
local prefix = ""
local suffix = ""
local mayAddCalendar = false
local calendar = ""
local precision = datavalue['precision']
if precision == 11 then
p = "d"
elseif precision == 10 then
p = "m"
else
p = "y"
yFactor = 10^(9-precision)
end
y, m, d = parseDate(datavalue['time'], p)
if y < 0 then
sign = -1
y = y * sign
end
-- if precision is tens/hundreds/thousands/millions/billions of years
if precision <= 8 then
yDiv = y / yFactor
-- if precision is tens/hundreds/thousands of years
if precision >= 6 then
mayAddCalendar = true
if precision <= 7 then
-- round centuries/millenniums up (e.g. 20th century or 3rd millennium)
yRound = math.ceil(yDiv)
if not raw then
if precision == 6 then
suffix = i18n['datetime']['suffixes']['millennium']
else
suffix = i18n['datetime']['suffixes']['century']
end
suffix = i18n.getOrdinalSuffix(yRound) .. suffix
else
-- if not verbose, take the first year of the century/millennium
-- (e.g. 1901 for 20th century or 2001 for 3rd millennium)
yRound = (yRound - 1) * yFactor + 1
end
else
-- precision == 8
-- round decades down (e.g. 2010s)
yRound = math.floor(yDiv) * yFactor
if not raw then
prefix = i18n['datetime']['prefixes']['decade-period']
suffix = i18n['datetime']['suffixes']['decade-period']
end
end
if raw and sign < 0 then
-- if BCE then compensate for "counting backwards"
-- (e.g. -2019 for 2010s BCE, -2000 for 20th century BCE or -3000 for 3rd millennium BCE)
yRound = yRound + yFactor - 1
end
else
local yReFactor, yReDiv, yReRound
-- round to nearest for tens of thousands of years or more
yRound = math.floor(yDiv + 0.5)
if yRound == 0 then
if precision <= 2 and y ~= 0 then
yReFactor = 1e6
yReDiv = y / yReFactor
yReRound = math.floor(yReDiv + 0.5)
if yReDiv == yReRound then
-- change precision to millions of years only if we have a whole number of them
precision = 3
yFactor = yReFactor
yRound = yReRound
end
end
if yRound == 0 then
-- otherwise, take the unrounded (original) number of years
precision = 5
yFactor = 1
yRound = y
mayAddCalendar = true
end
end
if precision >= 1 and y ~= 0 then
yFull = yRound * yFactor
yReFactor = 1e9
yReDiv = yFull / yReFactor
yReRound = math.floor(yReDiv + 0.5)
if yReDiv == yReRound then
-- change precision to billions of years if we're in that range
precision = 0
yFactor = yReFactor
yRound = yReRound
else
yReFactor = 1e6
yReDiv = yFull / yReFactor
yReRound = math.floor(yReDiv + 0.5)
if yReDiv == yReRound then
-- change precision to millions of years if we're in that range
precision = 3
yFactor = yReFactor
yRound = yReRound
end
end
end
if not raw then
if precision == 3 then
suffix = i18n['datetime']['suffixes']['million-years']
elseif precision == 0 then
suffix = i18n['datetime']['suffixes']['billion-years']
else
yRound = yRound * yFactor
if yRound == 1 then
suffix = i18n['datetime']['suffixes']['year']
else
suffix = i18n['datetime']['suffixes']['years']
end
end
else
yRound = yRound * yFactor
end
end
else
yRound = y
mayAddCalendar = true
end
if mayAddCalendar then
calendarID = parseWikidataURL(datavalue['calendarmodel'])
if calendarID and calendarID == aliasesQ.prolepticJulianCalendar then
if not raw then
if link then
calendar = " ("..buildWikilink(i18n['datetime']['julian-calendar'], i18n['datetime']['julian'])..")"
else
calendar = " ("..i18n['datetime']['julian']..")"
end
else
calendar = "/"..i18n['datetime']['julian']
end
end
end
if not raw then
local ce = nil
if sign < 0 then
ce = i18n['datetime']['BCE']
elseif precision <= 5 then
ce = i18n['datetime']['CE']
end
if ce then
if link then
ce = buildWikilink(i18n['datetime']['common-era'], ce)
end
suffix = suffix .. " " .. ce
end
value = tostring(yRound)
if m then
dateStr = self.langObj:formatDate("F", "1-"..m.."-1")
if d then
if self.mdyDate then
dateStr = dateStr .. " " .. d .. ","
else
dateStr = d .. " " .. dateStr
end
end
value = dateStr .. " " .. value
end
value = prefix .. value .. suffix .. calendar
else
value = padZeros(yRound * sign, 4)
if m then
value = value .. "-" .. padZeros(m, 2)
if d then
value = value .. "-" .. padZeros(d, 2)
end
end
value = value .. calendar
end
return value
elseif datatype == 'globecoordinate' then
-- logic from https://github.com/DataValues/Geo (v4.0.1)
local precision, unitsPerDegree, numDigits, strFormat, value, globe
local latitude, latConv, latValue, latLink
local longitude, lonConv, lonValue, lonLink
local latDirection, latDirectionN, latDirectionS, latDirectionEN
local lonDirection, lonDirectionE, lonDirectionW, lonDirectionEN
local degSymbol, minSymbol, secSymbol, separator
local latDegrees = nil
local latMinutes = nil
local latSeconds = nil
local lonDegrees = nil
local lonMinutes = nil
local lonSeconds = nil
local latDegSym = ""
local latMinSym = ""
local latSecSym = ""
local lonDegSym = ""
local lonMinSym = ""
local lonSecSym = ""
local latDirectionEN_N = "N"
local latDirectionEN_S = "S"
local lonDirectionEN_E = "E"
local lonDirectionEN_W = "W"
if not raw then
latDirectionN = i18n['coord']['latitude-north']
latDirectionS = i18n['coord']['latitude-south']
lonDirectionE = i18n['coord']['longitude-east']
lonDirectionW = i18n['coord']['longitude-west']
degSymbol = i18n['coord']['degrees']
minSymbol = i18n['coord']['minutes']
secSymbol = i18n['coord']['seconds']
separator = i18n['coord']['separator']
else
latDirectionN = latDirectionEN_N
latDirectionS = latDirectionEN_S
lonDirectionE = lonDirectionEN_E
lonDirectionW = lonDirectionEN_W
degSymbol = "/"
minSymbol = "/"
secSymbol = "/"
separator = "/"
end
latitude = datavalue['latitude']
longitude = datavalue['longitude']
if latitude < 0 then
latDirection = latDirectionS
latDirectionEN = latDirectionEN_S
latitude = math.abs(latitude)
else
latDirection = latDirectionN
latDirectionEN = latDirectionEN_N
end
if longitude < 0 then
lonDirection = lonDirectionW
lonDirectionEN = lonDirectionEN_W
longitude = math.abs(longitude)
else
lonDirection = lonDirectionE
lonDirectionEN = lonDirectionEN_E
end
precision = datavalue['precision']
if not precision or precision <= 0 then
precision = 1 / 3600 -- precision not set (correctly), set to arcsecond
end
-- remove insignificant detail
latitude = math.floor(latitude / precision + 0.5) * precision
longitude = math.floor(longitude / precision + 0.5) * precision
if precision >= 1 - (1 / 60) and precision < 1 then
precision = 1
elseif precision >= (1 / 60) - (1 / 3600) and precision < (1 / 60) then
precision = 1 / 60
end
if precision >= 1 then
unitsPerDegree = 1
elseif precision >= (1 / 60) then
unitsPerDegree = 60
else
unitsPerDegree = 3600
end
numDigits = math.ceil(-math.log10(unitsPerDegree * precision))
if numDigits <= 0 then
numDigits = tonumber("0") -- for some reason, 'numDigits = 0' may actually store '-0', so parse from string instead
end
strFormat = "%." .. numDigits .. "f"
if precision >= 1 then
latDegrees = strFormat:format(latitude)
lonDegrees = strFormat:format(longitude)
if not raw then
latDegSym = replaceDecimalMark(latDegrees) .. degSymbol
lonDegSym = replaceDecimalMark(lonDegrees) .. degSymbol
else
latDegSym = latDegrees .. degSymbol
lonDegSym = lonDegrees .. degSymbol
end
else
latConv = math.floor(latitude * unitsPerDegree * 10^numDigits + 0.5) / 10^numDigits
lonConv = math.floor(longitude * unitsPerDegree * 10^numDigits + 0.5) / 10^numDigits
if precision >= (1 / 60) then
latMinutes = latConv
lonMinutes = lonConv
else
latSeconds = latConv
lonSeconds = lonConv
latMinutes = math.floor(latSeconds / 60)
lonMinutes = math.floor(lonSeconds / 60)
latSeconds = strFormat:format(latSeconds - (latMinutes * 60))
lonSeconds = strFormat:format(lonSeconds - (lonMinutes * 60))
if not raw then
latSecSym = replaceDecimalMark(latSeconds) .. secSymbol
lonSecSym = replaceDecimalMark(lonSeconds) .. secSymbol
else
latSecSym = latSeconds .. secSymbol
lonSecSym = lonSeconds .. secSymbol
end
end
latDegrees = math.floor(latMinutes / 60)
lonDegrees = math.floor(lonMinutes / 60)
latDegSym = latDegrees .. degSymbol
lonDegSym = lonDegrees .. degSymbol
latMinutes = latMinutes - (latDegrees * 60)
lonMinutes = lonMinutes - (lonDegrees * 60)
if precision >= (1 / 60) then
latMinutes = strFormat:format(latMinutes)
lonMinutes = strFormat:format(lonMinutes)
if not raw then
latMinSym = replaceDecimalMark(latMinutes) .. minSymbol
lonMinSym = replaceDecimalMark(lonMinutes) .. minSymbol
else
latMinSym = latMinutes .. minSymbol
lonMinSym = lonMinutes .. minSymbol
end
else
latMinSym = latMinutes .. minSymbol
lonMinSym = lonMinutes .. minSymbol
end
end
latValue = latDegSym .. latMinSym .. latSecSym .. latDirection
lonValue = lonDegSym .. lonMinSym .. lonSecSym .. lonDirection
value = latValue .. separator .. lonValue
if link then
globe = parseWikidataURL(datavalue['globe'])
if globe then
globe = mw.wikibase.getLabelByLang(globe, "en"):lower()
else
globe = "earth"
end
latLink = table.concat({latDegrees, latMinutes, latSeconds}, "_")
lonLink = table.concat({lonDegrees, lonMinutes, lonSeconds}, "_")
value = "[https://tools.wmflabs.org/geohack/geohack.php?language="..self.langCode.."¶ms="..latLink.."_"..latDirectionEN.."_"..lonLink.."_"..lonDirectionEN.."_globe:"..globe.." "..value.."]"
end
return value
elseif datatype == 'wikibase-entityid' then
local label
local itemID = datavalue['numeric-id']
if subtype == 'wikibase-item' then
itemID = "Q" .. itemID
elseif subtype == 'wikibase-property' then
itemID = "P" .. itemID
else
return '<strong class="error">' .. errorText('unknown-data-type', subtype) .. '</strong>'
end
label = self:getLabel(itemID, raw, link, short)
if label == "" then
label = nil
end
return label
else
return '<strong class="error">' .. errorText('unknown-data-type', datatype) .. '</strong>'
end
elseif snak.snaktype == 'somevalue' and not noSpecial then
if raw then
return " " -- single space represents 'somevalue'
else
return i18n['values']['unknown']
end
elseif snak.snaktype == 'novalue' and not noSpecial then
if raw then
return "" -- empty string represents 'novalue'
else
return i18n['values']['none']
end
else
return nil
end
end
function Config:getSingleRawQualifier(claim, qualifierID)
local qualifiers
if claim.qualifiers then qualifiers = claim.qualifiers[qualifierID] end
if qualifiers and qualifiers[1] then
return self:getValue(qualifiers[1], true) -- raw = true
else
return nil
end
end
function Config:snakEqualsValue(snak, value)
local snakValue = self:getValue(snak, true) -- raw = true
if snakValue and snak.snaktype == 'value' and snak.datavalue.type == 'wikibase-entityid' then value = value:upper() end
return snakValue == value
end
function Config:setRank(rank)
local rankPos
if rank == p.flags.best then
self.bestRank = true
self.flagBest = true -- mark that 'best' flag was given
return
end
if rank:sub(1,9) == p.flags.preferred then
rankPos = 1
elseif rank:sub(1,6) == p.flags.normal then
rankPos = 2
elseif rank:sub(1,10) == p.flags.deprecated then
rankPos = 3
else
return
end
-- one of the rank flags was given, check if another one was given before
if not self.flagRank then
self.ranks = {false, false, false} -- no other rank flag given before, so unset ranks
self.bestRank = self.flagBest -- unsets bestRank only if 'best' flag was not given before
self.flagRank = true -- mark that a rank flag was given
end
if rank:sub(-1) == "+" then
for i = rankPos, 1, -1 do
self.ranks[i] = true
end
elseif rank:sub(-1) == "-" then
for i = rankPos, #self.ranks do
self.ranks[i] = true
end
else
self.ranks[rankPos] = true
end
end
function Config:setPeriod(period)
local periodPos
if period == p.flags.future then
periodPos = 1
elseif period == p.flags.current then
periodPos = 2
elseif period == p.flags.former then
periodPos = 3
else
return
end
-- one of the period flags was given, check if another one was given before
if not self.flagPeriod then
self.periods = {false, false, false} -- no other period flag given before, so unset periods
self.flagPeriod = true -- mark that a period flag was given
end
self.periods[periodPos] = true
end
function Config:qualifierMatches(claim, id, value)
local qualifiers
if claim.qualifiers then qualifiers = claim.qualifiers[id] end
if qualifiers then
for _, v in pairs(qualifiers) do
if self:snakEqualsValue(v, value) then
return true
end
end
elseif value == "" then
-- if the qualifier is not present then treat it the same as the special value 'novalue'
return true
end
return false
end
function Config:rankMatches(rankPos)
if self.bestRank then
return (self.ranks[rankPos] and self.foundRank >= rankPos)
else
return self.ranks[rankPos]
end
end
function Config:timeMatches(claim)
local startTime = nil
local startTimeY = nil
local startTimeM = nil
local startTimeD = nil
local endTime = nil
local endTimeY = nil
local endTimeM = nil
local endTimeD = nil
if self.periods[1] and self.periods[2] and self.periods[3] then
-- any time
return true
end
startTime = self:getSingleRawQualifier(claim, aliasesP.startTime)
if startTime and startTime ~= "" and startTime ~= " " then
startTimeY, startTimeM, startTimeD = parseDate(startTime)
end
endTime = self:getSingleRawQualifier(claim, aliasesP.endTime)
if endTime and endTime ~= "" and endTime ~= " " then
endTimeY, endTimeM, endTimeD = parseDate(endTime)
end
if startTimeY ~= nil and endTimeY ~= nil and datePrecedesDate(endTimeY, endTimeM, endTimeD, startTimeY, startTimeM, startTimeD) then
-- invalidate end time if it precedes start time
endTimeY = nil
endTimeM = nil
endTimeD = nil
end
if self.periods[1] then
-- future
if startTimeY and datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], startTimeY, startTimeM, startTimeD) then
return true
end
end
if self.periods[2] then
-- current
if (startTimeY == nil or not datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], startTimeY, startTimeM, startTimeD)) and
(endTimeY == nil or datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], endTimeY, endTimeM, endTimeD)) then
return true
end
end
if self.periods[3] then
-- former
if endTimeY and not datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], endTimeY, endTimeM, endTimeD) then
return true
end
end
return false
end
function Config:processFlag(flag)
if not flag then
return false
end
if flag == p.flags.linked then
self.curState.linked = true
return true
elseif flag == p.flags.raw then
self.curState.rawValue = true
if self.curState == self.states[parameters.reference] then
-- raw reference values end with periods and require a separator (other than none)
self.separators["sep%r"][1] = {" "}
end
return true
elseif flag == p.flags.short then
self.curState.shortName = true
return true
elseif flag == p.flags.multilanguage then
self.curState.anyLanguage = true
return true
elseif flag == p.flags.unit then
self.curState.unitOnly = true
return true
elseif flag == p.flags.mdy then
self.mdyDate = true
return true
elseif flag == p.flags.single then
self.singleClaim = true
return true
elseif flag == p.flags.sourced then
self.sourcedOnly = true
return true
elseif flag == p.flags.edit then
self.editable = true
return true
elseif flag == p.flags.editAtEnd then
self.editable = true
self.editAtEnd = true
return true
elseif flag == p.flags.best or flag:match('^'..p.flags.preferred..'[+-]?$') or flag:match('^'..p.flags.normal..'[+-]?$') or flag:match('^'..p.flags.deprecated..'[+-]?$') then
self:setRank(flag)
return true
elseif flag == p.flags.future or flag == p.flags.current or flag == p.flags.former then
self:setPeriod(flag)
return true
elseif flag == "" then
-- ignore empty flags and carry on
return true
else
return false
end
end
function Config:processFlagOrCommand(flag)
local param = ""
if not flag then
return false
end
if flag == p.claimCommands.property or flag == p.claimCommands.properties then
param = parameters.property
elseif flag == p.claimCommands.qualifier or flag == p.claimCommands.qualifiers then
self.states.qualifiersCount = self.states.qualifiersCount + 1
param = parameters.qualifier .. self.states.qualifiersCount
self.separators["sep"..param] = {copyTable(defaultSeparators["sep%q\\d"])}
elseif flag == p.claimCommands.reference or flag == p.claimCommands.references then
param = parameters.reference
else
return self:processFlag(flag)
end
if self.states[param] then
return false
end
-- create a new state for each command
self.states[param] = State:new(self, param)
-- use "%x" as the general parameter name
self.states[param].parsedFormat = parseFormat(parameters.general) -- will be overwritten for param=="%p"
-- set the separator
self.states[param].separator = self.separators["sep"..param] -- will be nil for param=="%p", which will be set separately
if flag == p.claimCommands.property or flag == p.claimCommands.qualifier or flag == p.claimCommands.reference then
self.states[param].singleValue = true
end
self.curState = self.states[param]
return true
end
function Config:processSeparators(args)
local sep
for i, v in pairs(self.separators) do
if args[i] then
sep = replaceSpecialChars(args[i])
if sep ~= "" then
self.separators[i][1] = {sep}
else
self.separators[i][1] = nil
end
end
end
end
function Config:setFormatAndSeparators(state, parsedFormat)
state.parsedFormat = parsedFormat
state.separator = self.separators["sep"]
state.movSeparator = self.separators["sep"..parameters.separator]
state.puncMark = self.separators["punc"]
end
-- determines if a claim has references by prefetching them from the claim using getReferences,
-- which applies some filtering that determines if a reference is actually returned,
-- and caches the references for later use
function State:isSourced(claim)
self.conf.prefetchedRefs = self:getReferences(claim)
return (#self.conf.prefetchedRefs > 0)
end
function State:resetCaches()
-- any prefetched references of the previous claim must not be used
self.conf.prefetchedRefs = nil
end
function State:claimMatches(claim)
local matches, rankPos
-- first of all, reset any cached values used for the previous claim
self:resetCaches()
-- if a property value was given, check if it matches the claim's property value
if self.conf.propertyValue then
matches = self.conf:snakEqualsValue(claim.mainsnak, self.conf.propertyValue)
else
matches = true
end
-- if any qualifier values were given, check if each matches one of the claim's qualifier values
for i, v in pairs(self.conf.qualifierIDsAndValues) do
matches = (matches and self.conf:qualifierMatches(claim, i, v))
end
-- check if the claim's rank and time period match
rankPos = rankTable[claim.rank] or 4
matches = (matches and self.conf:rankMatches(rankPos) and self.conf:timeMatches(claim))
-- if only claims with references must be returned, check if this one has any
if self.conf.sourcedOnly then
matches = (matches and self:isSourced(claim)) -- prefetches and caches references
end
return matches, rankPos
end
function State:out()
local result -- collection of arrays with value objects
local valuesArray -- array with value objects
local sep = nil -- value object
local out = {} -- array with value objects
local function walk(formatTable, result)
local valuesArray = {} -- array with value objects
for i, v in pairs(formatTable.req) do
if not result[i] or not result[i][1] then
-- we've got no result for a parameter that is required on this level,
-- so skip this level (and its children) by returning an empty result
return {}
end
end
for _, v in ipairs(formatTable) do
if v.param then
valuesArray = mergeArrays(valuesArray, result[v.str])
elseif v.str ~= "" then
valuesArray[#valuesArray + 1] = {v.str}
end
if v.child then
valuesArray = mergeArrays(valuesArray, walk(v.child, result))
end
end
return valuesArray
end
-- iterate through the results from back to front, so that we know when to add separators
for i = #self.results, 1, -1 do
result = self.results[i]
-- if there is already some output, then add the separators
if #out > 0 then
sep = self.separator[1] -- fixed separator
result[parameters.separator] = {self.movSeparator[1]} -- movable separator
else
sep = nil
result[parameters.separator] = {self.puncMark[1]} -- optional punctuation mark
end
valuesArray = walk(self.parsedFormat, result)
if #valuesArray > 0 then
if sep then
valuesArray[#valuesArray + 1] = sep
end
out = mergeArrays(valuesArray, out)
end
end
-- reset state before next iteration
self.results = {}
return out
end
-- level 1 hook
function State:getProperty(claim)
local value = {self:getValue(claim.mainsnak)} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
-- level 1 hook
function State:getQualifiers(claim, param)
local qualifiers
if claim.qualifiers then qualifiers = claim.qualifiers[self.conf.qualifierIDs[param]] end
if qualifiers then
-- iterate through claim's qualifier statements to collect their values;
-- return array with multiple value objects
return self.conf.states[param]:iterate(qualifiers, {[parameters.general] = hookNames[parameters.qualifier.."\\d"][2], count = 1}) -- pass qualifier state with level 2 hook
else
return {} -- return empty array
end
end
-- level 2 hook
function State:getQualifier(snak)
local value = {self:getValue(snak)} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
-- level 1 hook
function State:getAllQualifiers(claim, param, result, hooks)
local out = {} -- array with value objects
local sep = self.conf.separators["sep"..parameters.qualifier][1] -- value object
-- iterate through the output of the separate "qualifier(s)" commands
for i = 1, self.conf.states.qualifiersCount do
-- if a hook has not been called yet, call it now
if not result[parameters.qualifier..i] then
self:callHook(parameters.qualifier..i, hooks, claim, result)
end
-- if there is output for this particular "qualifier(s)" command, then add it
if result[parameters.qualifier..i] and result[parameters.qualifier..i][1] then
-- if there is already some output, then add the separator
if #out > 0 and sep then
out[#out + 1] = sep
end
out = mergeArrays(out, result[parameters.qualifier..i])
end
end
return out
end
-- level 1 hook
function State:getReferences(claim)
if self.conf.prefetchedRefs then
-- return references that have been prefetched by isSourced
return self.conf.prefetchedRefs
end
if claim.references then
-- iterate through claim's reference statements to collect their values;
-- return array with multiple value objects
return self.conf.states[parameters.reference]:iterate(claim.references, {[parameters.general] = hookNames[parameters.reference][2], count = 1}) -- pass reference state with level 2 hook
else
return {} -- return empty array
end
end
-- level 2 hook
function State:getReference(statement)
local key, citeWeb, citeQ, label
local params = {}
local citeParams = {['web'] = {}, ['q'] = {}}
local citeMismatch = {}
local useCite = nil
local useParams = nil
local value = ""
local ref = {}
local version = 1 -- increment this each time the below logic is changed to avoid conflict errors
if statement.snaks then
-- don't include "imported from", which is added by a bot
if statement.snaks[aliasesP.importedFrom] then
statement.snaks[aliasesP.importedFrom] = nil
end
-- don't include "inferred from", which is added by a bot
if statement.snaks[aliasesP.inferredFrom] then
statement.snaks[aliasesP.inferredFrom] = nil
end
-- don't include "type of reference"
if statement.snaks[aliasesP.typeOfReference] then
statement.snaks[aliasesP.typeOfReference] = nil
end
-- don't include "image" to prevent littering
if statement.snaks[aliasesP.image] then
statement.snaks[aliasesP.image] = nil
end
-- don't include "language" if it is equal to the local one
if self:getReferenceDetail(statement.snaks, aliasesP.language) == self.conf.langName then
statement.snaks[aliasesP.language] = nil
end
-- retrieve all the parameters
for i in pairs(statement.snaks) do
label = ""
-- multiple authors may be given
if i == aliasesP.author then
params[i] = self:getReferenceDetails(statement.snaks, i, false, self.linked, true) -- link = true/false, anyLang = true
else
params[i] = {self:getReferenceDetail(statement.snaks, i, false, (self.linked or (i == aliasesP.statedIn)) and (statement.snaks[i][1].datatype ~= 'url'), true)} -- link = true/false, anyLang = true
end
if #params[i] == 0 then
params[i] = nil
else
if statement.snaks[i][1].datatype == 'external-id' then
key = "external-id"
label = self.conf:getLabel(i)
if label ~= "" then
label = label .. " "
end
else
key = i
end
-- add the parameter to each matching type of citation
for j in pairs(citeParams) do
-- do so if there was no mismatch with a previous parameter
if not citeMismatch[j] then
-- check if this parameter is not mismatching itself
if i18n['cite'][j][key] then
-- continue if an option is available in the corresponding cite template
if i18n['cite'][j][key] ~= "" then
citeParams[j][i18n['cite'][j][key]] = label .. params[i][1]
-- if there are multiple parameter values (authors), add those too
for k=2, #params[i] do
citeParams[j][i18n['cite'][j][key]..k] = label .. params[i][k]
end
end
else
citeMismatch[j] = true
end
end
end
end
end
-- get title of general template for citing web references
citeWeb = split(mw.wikibase.getSitelink(aliasesQ.citeWeb) or "", ":")[2] -- split off namespace from front
-- get title of template that expands stated-in references into citations
citeQ = split(mw.wikibase.getSitelink(aliasesQ.citeQ) or "", ":")[2] -- split off namespace from front
-- (1) use the general template for citing web references if there is a match and if at least both "reference URL" and "title" are present
if citeWeb and not citeMismatch['web'] and citeParams['web'][i18n['cite']['web'][aliasesP.referenceURL]] and citeParams['web'][i18n['cite']['web'][aliasesP.title]] then
useCite = citeWeb
useParams = citeParams['web']
-- (2) use the template that expands stated-in references into citations if there is a match and if at least "stated in" is present
elseif citeQ and not citeMismatch['q'] and citeParams['q'][i18n['cite']['q'][aliasesP.statedIn]] then
-- we need the raw "stated in" Q-identifier for the this template
citeParams['q'][i18n['cite']['q'][aliasesP.statedIn]] = self:getReferenceDetail(statement.snaks, aliasesP.statedIn, true) -- raw = true
useCite = citeQ
useParams = citeParams['q']
end
if useCite and useParams then
-- if this module is being substituted then build a regular template call, otherwise expand the template
if mw.isSubsting() then
for i, v in pairs(useParams) do
value = value .. "|" .. i .. "=" .. v
end
value = "{{" .. useCite .. value .. "}}"
else
value = mw.getCurrentFrame():expandTemplate{title=useCite, args=useParams}
end
-- (3) else, do some default rendering of name-value pairs, but only if at least "stated in", "reference URL" or "title" is present
elseif params[aliasesP.statedIn] or params[aliasesP.referenceURL] or params[aliasesP.title] then
citeParams['default'] = {}
-- start by adding authors up front
if params[aliasesP.author] and #params[aliasesP.author] > 0 then
citeParams['default'][#citeParams['default'] + 1] = table.concat(params[aliasesP.author], " & ")
end
-- combine "reference URL" and "title" into one link if both are present
if params[aliasesP.referenceURL] and params[aliasesP.title] then
citeParams['default'][#citeParams['default'] + 1] = '[' .. params[aliasesP.referenceURL][1] .. ' "' .. params[aliasesP.title][1] .. '"]'
elseif params[aliasesP.referenceURL] then
citeParams['default'][#citeParams['default'] + 1] = params[aliasesP.referenceURL][1]
elseif params[aliasesP.title] then
citeParams['default'][#citeParams['default'] + 1] = '"' .. params[aliasesP.title][1] .. '"'
end
-- then add "stated in"
if params[aliasesP.statedIn] then
citeParams['default'][#citeParams['default'] + 1] = "''" .. params[aliasesP.statedIn][1] .. "''"
end
-- remove previously added parameters so that they won't be added a second time
params[aliasesP.author] = nil
params[aliasesP.referenceURL] = nil
params[aliasesP.title] = nil
params[aliasesP.statedIn] = nil
-- add the rest of the parameters
for i, v in pairs(params) do
i = self.conf:getLabel(i)
if i ~= "" then
citeParams['default'][#citeParams['default'] + 1] = i .. ": " .. v[1]
end
end
value = table.concat(citeParams['default'], "; ")
if value ~= "" then
value = value .. "."
end
end
if value ~= "" then
value = {value} -- create one value object
if not self.rawValue then
-- this should become a <ref> tag, so save the reference's hash for later
value.refHash = "wikidata-" .. statement.hash .. "-v" .. (tonumber(i18n['cite']['version']) + version)
end
ref = {value} -- wrap the value object in an array
end
end
return ref
end
-- gets a detail of one particular type for a reference
function State:getReferenceDetail(snaks, dType, raw, link, anyLang)
local switchLang = anyLang
local value = nil
if not snaks[dType] then
return nil
end
-- if anyLang, first try the local language and otherwise any language
repeat
for _, v in ipairs(snaks[dType]) do
value = self.conf:getValue(v, raw, link, false, anyLang and not switchLang, false, true) -- noSpecial = true
if value then
break
end
end
if value or not anyLang then
break
end
switchLang = not switchLang
until anyLang and switchLang
return value
end
-- gets the details of one particular type for a reference
function State:getReferenceDetails(snaks, dType, raw, link, anyLang)
local values = {}
if not snaks[dType] then
return {}
end
for _, v in ipairs(snaks[dType]) do
-- if nil is returned then it will not be added to the table
values[#values + 1] = self.conf:getValue(v, raw, link, false, anyLang, false, true) -- noSpecial = true
end
return values
end
-- level 1 hook
function State:getAlias(object)
local value = object.value
local title = nil
if value and self.linked then
if self.conf.entityID:sub(1,1) == "Q" then
title = mw.wikibase.getSitelink(self.conf.entityID)
elseif self.conf.entityID:sub(1,1) == "P" then
title = "d:Property:" .. self.conf.entityID
end
if title then
value = buildWikilink(title, value)
end
end
value = {value} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
-- level 1 hook
function State:getBadge(value)
value = self.conf:getLabel(value, self.rawValue, self.linked, self.shortName)
if value == "" then
value = nil
end
value = {value} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
function State:callHook(param, hooks, statement, result)
local valuesArray, refHash
-- call a parameter's hook if it has been defined and if it has not been called before
if not result[param] and hooks[param] then
valuesArray = self[hooks[param]](self, statement, param, result, hooks) -- array with value objects
-- add to the result
if #valuesArray > 0 then
result[param] = valuesArray
result.count = result.count + 1
else
result[param] = {} -- an empty array to indicate that we've tried this hook already
return true -- miss == true
end
end
return false
end
-- iterate through claims, claim's qualifiers or claim's references to collect values
function State:iterate(statements, hooks, matchHook)
matchHook = matchHook or alwaysTrue
local matches = false
local rankPos = nil
local result, gotRequired
for _, v in ipairs(statements) do
-- rankPos will be nil for non-claim statements (e.g. qualifiers, references, etc.)
matches, rankPos = matchHook(self, v)
if matches then
result = {count = 0} -- collection of arrays with value objects
local function walk(formatTable)
local miss
for i2, v2 in pairs(formatTable.req) do
-- call a hook, adding its return value to the result
miss = self:callHook(i2, hooks, v, result)
if miss then
-- we miss a required value for this level, so return false
return false
end
if result.count == hooks.count then
-- we're done if all hooks have been called;
-- returning at this point breaks the loop
return true
end
end
for _, v2 in ipairs(formatTable) do
if result.count == hooks.count then
-- we're done if all hooks have been called;
-- returning at this point prevents further childs from being processed
return true
end
if v2.child then
walk(v2.child)
end
end
return true
end
gotRequired = walk(self.parsedFormat)
-- only append the result if we got values for all required parameters on the root level
if gotRequired then
-- if we have a rankPos (only with matchHook() for complete claims), then update the foundRank
if rankPos and self.conf.foundRank > rankPos then
self.conf.foundRank = rankPos
end
-- append the result
self.results[#self.results + 1] = result
-- break if we only need a single value
if self.singleValue then
break
end
end
end
end
return self:out()
end
local function getEntityId(arg, eid, page, allowOmitPropPrefix)
local id = nil
local prop = nil
if arg then
if arg:sub(1,1) == ":" then
page = arg
eid = nil
elseif arg:sub(1,1):upper() == "Q" or arg:sub(1,9):lower() == "property:" or allowOmitPropPrefix then
eid = arg
page = nil
else
prop = arg
end
end
if eid then
if eid:sub(1,9):lower() == "property:" then
id = replaceAlias(mw.text.trim(eid:sub(10)))
if id:sub(1,1):upper() ~= "P" then
id = ""
end
else
id = replaceAlias(eid)
end
elseif page then
if page:sub(1,1) == ":" then
page = mw.text.trim(page:sub(2))
end
id = mw.wikibase.getEntityIdForTitle(page) or ""
end
if not id then
id = mw.wikibase.getEntityIdForCurrentPage() or ""
end
id = id:upper()
if not mw.wikibase.isValidEntityId(id) then
id = ""
end
return id, prop
end
local function nextArg(args)
local arg = args[args.pointer]
if arg then
args.pointer = args.pointer + 1
return mw.text.trim(arg)
else
return nil
end
end
local function claimCommand(args, funcName)
local cfg = Config:new()
cfg:processFlagOrCommand(funcName) -- process first command (== function name)
local lastArg, parsedFormat, formatParams, claims, value
local hooks = {count = 0}
-- set the date if given;
-- must come BEFORE processing the flags
if args[p.args.date] then
cfg.atDate = {parseDate(args[p.args.date])}
cfg.periods = {false, true, false} -- change default time constraint to 'current'
end
-- process flags and commands
repeat
lastArg = nextArg(args)
until not cfg:processFlagOrCommand(lastArg)
-- get the entity ID from either the positional argument, the eid argument or the page argument
cfg.entityID, cfg.propertyID = getEntityId(lastArg, args[p.args.eid], args[p.args.page])
if cfg.entityID == "" then
return "" -- we cannot continue without a valid entity ID
end
cfg.entity = mw.wikibase.getEntity(cfg.entityID)
if not cfg.propertyID then
cfg.propertyID = nextArg(args)
end
cfg.propertyID = replaceAlias(cfg.propertyID)
if not cfg.entity or not cfg.propertyID then
return "" -- we cannot continue without an entity or a property ID
end
cfg.propertyID = cfg.propertyID:upper()
if not cfg.entity.claims or not cfg.entity.claims[cfg.propertyID] then
return "" -- there is no use to continue without any claims
end
claims = cfg.entity.claims[cfg.propertyID]
if cfg.states.qualifiersCount > 0 then
-- do further processing if "qualifier(s)" command was given
if #args - args.pointer + 1 > cfg.states.qualifiersCount then
-- claim ID or literal value has been given
cfg.propertyValue = nextArg(args)
end
for i = 1, cfg.states.qualifiersCount do
-- check if given qualifier ID is an alias and add it
cfg.qualifierIDs[parameters.qualifier..i] = replaceAlias(nextArg(args) or ""):upper()
end
elseif cfg.states[parameters.reference] then
-- do further processing if "reference(s)" command was given
cfg.propertyValue = nextArg(args)
end
-- check for special property value 'somevalue' or 'novalue'
if cfg.propertyValue then
cfg.propertyValue = replaceSpecialChars(cfg.propertyValue)
if cfg.propertyValue ~= "" and mw.text.trim(cfg.propertyValue) == "" then
cfg.propertyValue = " " -- single space represents 'somevalue', whereas empty string represents 'novalue'
else
cfg.propertyValue = mw.text.trim(cfg.propertyValue)
end
end
-- parse the desired format, or choose an appropriate format
if args["format"] then
parsedFormat, formatParams = parseFormat(args["format"])
elseif cfg.states.qualifiersCount > 0 then -- "qualifier(s)" command given
if cfg.states[parameters.property] then -- "propert(y|ies)" command given
parsedFormat, formatParams = parseFormat(formats.propertyWithQualifier)
else
parsedFormat, formatParams = parseFormat(formats.qualifier)
end
elseif cfg.states[parameters.property] then -- "propert(y|ies)" command given
parsedFormat, formatParams = parseFormat(formats.property)
else -- "reference(s)" command given
parsedFormat, formatParams = parseFormat(formats.reference)
end
-- if a "qualifier(s)" command and no "propert(y|ies)" command has been given, make the movable separator a semicolon
if cfg.states.qualifiersCount > 0 and not cfg.states[parameters.property] then
cfg.separators["sep"..parameters.separator][1] = {";"}
end
-- if only "reference(s)" has been given, set the default separator to none (except when raw)
if cfg.states[parameters.reference] and not cfg.states[parameters.property] and cfg.states.qualifiersCount == 0
and not cfg.states[parameters.reference].rawValue then
cfg.separators["sep"][1] = nil
end
-- if exactly one "qualifier(s)" command has been given, make "sep%q" point to "sep%q1" to make them equivalent
if cfg.states.qualifiersCount == 1 then
cfg.separators["sep"..parameters.qualifier] = cfg.separators["sep"..parameters.qualifier.."1"]
end
-- process overridden separator values;
-- must come AFTER tweaking the default separators
cfg:processSeparators(args)
-- define the hooks that should be called (getProperty, getQualifiers, getReferences);
-- only define a hook if both its command ("propert(y|ies)", "reference(s)", "qualifier(s)") and its parameter ("%p", "%r", "%q1", "%q2", "%q3") have been given
for i, v in pairs(cfg.states) do
-- e.g. 'formatParams["%q1"] or formatParams["%q"]' to define hook even if "%q1" was not defined to be able to build a complete value for "%q"
if formatParams[i] or formatParams[i:sub(1, 2)] then
hooks[i] = getHookName(i, 1)
hooks.count = hooks.count + 1
end
end
-- the "%q" parameter is not attached to a state, but is a collection of the results of multiple states (attached to "%q1", "%q2", "%q3", ...);
-- so if this parameter is given then this hook must be defined separately, but only if at least one "qualifier(s)" command has been given
if formatParams[parameters.qualifier] and cfg.states.qualifiersCount > 0 then
hooks[parameters.qualifier] = getHookName(parameters.qualifier, 1)
hooks.count = hooks.count + 1
end
-- create a state for "properties" if it doesn't exist yet, which will be used as a base configuration for each claim iteration;
-- must come AFTER defining the hooks
if not cfg.states[parameters.property] then
cfg.states[parameters.property] = State:new(cfg, parameters.property)
-- if the "single" flag has been given then this state should be equivalent to "property" (singular)
if cfg.singleClaim then
cfg.states[parameters.property].singleValue = true
end
end
-- if the "sourced" flag has been given then create a state for "reference" if it doesn't exist yet, using default values,
-- which must exist in order to be able to determine if a claim has any references;
-- must come AFTER defining the hooks
if cfg.sourcedOnly and not cfg.states[parameters.reference] then
cfg:processFlagOrCommand(p.claimCommands.reference) -- use singular "reference" to minimize overhead
end
-- set the parsed format and the separators (and optional punctuation mark);
-- must come AFTER creating the additonal states
cfg:setFormatAndSeparators(cfg.states[parameters.property], parsedFormat)
-- process qualifier matching values, analogous to cfg.propertyValue
for i, v in pairs(args) do
i = tostring(i)
if i:match('^[Pp]%d+$') or aliasesP[i] then
v = replaceSpecialChars(v)
-- check for special qualifier value 'somevalue'
if v ~= "" and mw.text.trim(v) == "" then
v = " " -- single space represents 'somevalue'
end
cfg.qualifierIDsAndValues[replaceAlias(i):upper()] = v
end
end
-- first sort the claims on rank to pre-define the order of output (preferred first, then normal, then deprecated)
claims = sortOnRank(claims)
-- then iterate through the claims to collect values
value = cfg:concatValues(cfg.states[parameters.property]:iterate(claims, hooks, State.claimMatches)) -- pass property state with level 1 hooks and matchHook
-- if desired, add a clickable icon that may be used to edit the returned values on Wikidata
if cfg.editable and value ~= "" then
value = value .. cfg:getEditIcon()
end
return value
end
local function generalCommand(args, funcName)
local cfg = Config:new()
cfg.curState = State:new(cfg)
local lastArg
local value = nil
repeat
lastArg = nextArg(args)
until not cfg:processFlag(lastArg)
-- get the entity ID from either the positional argument, the eid argument or the page argument
cfg.entityID = getEntityId(lastArg, args[p.args.eid], args[p.args.page], true)
if cfg.entityID == "" or not mw.wikibase.entityExists(cfg.entityID) then
return "" -- we cannot continue without an entity
end
-- serve according to the given command
if funcName == p.generalCommands.label then
value = cfg:getLabel(cfg.entityID, cfg.curState.rawValue, cfg.curState.linked, cfg.curState.shortName)
elseif funcName == p.generalCommands.title then
cfg.inSitelinks = true
if cfg.entityID:sub(1,1) == "Q" then
value = mw.wikibase.getSitelink(cfg.entityID)
end
if cfg.curState.linked and value then
value = buildWikilink(value)
end
elseif funcName == p.generalCommands.description then
value = mw.wikibase.getDescription(cfg.entityID)
else
local parsedFormat, formatParams
local hooks = {count = 0}
cfg.entity = mw.wikibase.getEntity(cfg.entityID)
if funcName == p.generalCommands.alias or funcName == p.generalCommands.badge then
cfg.curState.singleValue = true
end
if funcName == p.generalCommands.alias or funcName == p.generalCommands.aliases then
if not cfg.entity.aliases or not cfg.entity.aliases[cfg.langCode] then
return "" -- there is no use to continue without any aliasses
end
local aliases = cfg.entity.aliases[cfg.langCode]
-- parse the desired format, or parse the default aliases format
if args["format"] then
parsedFormat, formatParams = parseFormat(args["format"])
else
parsedFormat, formatParams = parseFormat(formats.alias)
end
-- process overridden separator values;
-- must come AFTER tweaking the default separators
cfg:processSeparators(args)
-- define the hook that should be called (getAlias);
-- only define the hook if the parameter ("%a") has been given
if formatParams[parameters.alias] then
hooks[parameters.alias] = getHookName(parameters.alias, 1)
hooks.count = hooks.count + 1
end
-- set the parsed format and the separators (and optional punctuation mark)
cfg:setFormatAndSeparators(cfg.curState, parsedFormat)
-- iterate to collect values
value = cfg:concatValues(cfg.curState:iterate(aliases, hooks))
elseif funcName == p.generalCommands.badge or funcName == p.generalCommands.badges then
if not cfg.entity.sitelinks or not cfg.entity.sitelinks[cfg.siteID] or not cfg.entity.sitelinks[cfg.siteID].badges then
return "" -- there is no use to continue without any badges
end
local badges = cfg.entity.sitelinks[cfg.siteID].badges
cfg.inSitelinks = true
-- parse the desired format, or parse the default aliases format
if args["format"] then
parsedFormat, formatParams = parseFormat(args["format"])
else
parsedFormat, formatParams = parseFormat(formats.badge)
end
-- process overridden separator values;
-- must come AFTER tweaking the default separators
cfg:processSeparators(args)
-- define the hook that should be called (getBadge);
-- only define the hook if the parameter ("%b") has been given
if formatParams[parameters.badge] then
hooks[parameters.badge] = getHookName(parameters.badge, 1)
hooks.count = hooks.count + 1
end
-- set the parsed format and the separators (and optional punctuation mark)
cfg:setFormatAndSeparators(cfg.curState, parsedFormat)
-- iterate to collect values
value = cfg:concatValues(cfg.curState:iterate(badges, hooks))
end
end
value = value or ""
if cfg.editable and value ~= "" then
-- if desired, add a clickable icon that may be used to edit the returned value on Wikidata
value = value .. cfg:getEditIcon()
end
return value
end
-- modules that include this module should call the functions with an underscore prepended, e.g.: p._property(args)
local function establishCommands(commandList, commandFunc)
for _, commandName in pairs(commandList) do
local function wikitextWrapper(frame)
local args = copyTable(frame.args)
args.pointer = 1
loadI18n(aliasesP, frame)
return commandFunc(args, commandName)
end
p[commandName] = wikitextWrapper
local function luaWrapper(args)
args = copyTable(args)
args.pointer = 1
loadI18n(aliasesP)
return commandFunc(args, commandName)
end
p["_" .. commandName] = luaWrapper
end
end
establishCommands(p.claimCommands, claimCommand)
establishCommands(p.generalCommands, generalCommand)
-- main function that is supposed to be used by wrapper templates
function p.main(frame)
local f, args
loadI18n(aliasesP, frame)
-- get the parent frame to take the arguments that were passed to the wrapper template
frame = frame:getParent() or frame
if not frame.args[1] then
throwError("no-function-specified")
end
f = mw.text.trim(frame.args[1])
if f == "main" then
throwError("main-called-twice")
end
assert(p["_"..f], errorText('no-such-function', f))
-- copy arguments from immutable to mutable table
args = copyTable(frame.args)
-- remove the function name from the list
table.remove(args, 1)
return p["_"..f](args)
end
return p
6ggxpmhjw0ht4csw9nf3ng5ieuzyvh4
70392
70348
2026-04-25T04:00:14Z
Exec8
6243
70392
Scribunto
text/plain
-- Original module located at [[:en:Module:Wd]] and [[:en:Module:Wd/i18n]].
require("strict")
local p = {}
local module_arg = ...
local i18n
local i18nPath
local function loadI18n(aliasesP, frame)
local title
if frame then
-- current module invoked by page/template, get its title from frame
title = frame:getTitle()
else
-- current module included by other module, get its title from ...
title = module_arg
end
if not i18n then
i18nPath = title .. "/i18n"
i18n = require(i18nPath).init(aliasesP)
end
end
p.claimCommands = {
property = "property",
properties = "properties",
qualifier = "qualifier",
qualifiers = "qualifiers",
reference = "reference",
references = "references"
}
p.generalCommands = {
label = "label",
title = "title",
description = "description",
alias = "alias",
aliases = "aliases",
badge = "badge",
badges = "badges"
}
p.flags = {
linked = "linked",
short = "short",
raw = "raw",
multilanguage = "multilanguage",
unit = "unit",
-------------
preferred = "preferred",
normal = "normal",
deprecated = "deprecated",
best = "best",
future = "future",
current = "current",
former = "former",
edit = "edit",
editAtEnd = "edit@end",
mdy = "mdy",
single = "single",
sourced = "sourced"
}
p.args = {
eid = "eid",
page = "page",
date = "date",
globalSiteId = "globalSiteId"
}
local aliasesP = {
coord = "P625",
-----------------------
image = "P18",
author = "P50",
authorNameString = "P2093",
publisher = "P123",
importedFrom = "P143",
wikimediaImportURL = "P4656",
statedIn = "P248",
pages = "P304",
language = "P407",
hasPart = "P527",
publicationDate = "P577",
startTime = "P580",
endTime = "P582",
chapter = "P792",
retrieved = "P813",
referenceURL = "P854",
sectionVerseOrParagraph = "P958",
archiveURL = "P1065",
title = "P1476",
formatterURL = "P1630",
quote = "P1683",
shortName = "P1813",
definingFormula = "P2534",
archiveDate = "P2960",
inferredFrom = "P3452",
typeOfReference = "P3865",
column = "P3903",
subjectNamedAs = "P1810",
wikidataProperty = "P1687",
publishedIn = "P1433",
lastUpdate = "P5017"
}
local aliasesQ = {
percentage = "Q11229",
prolepticJulianCalendar = "Q1985786",
citeWeb = "Q5637226",
citeQ = "Q22321052"
}
local parameters = {
property = "%p",
qualifier = "%q",
reference = "%r",
alias = "%a",
badge = "%b",
separator = "%s",
general = "%x"
}
local formats = {
property = "%p[%s][%r]",
qualifier = "%q[%s][%r]",
reference = "%r",
propertyWithQualifier = "%p[ <span style=\"font-size:85\\%\">(%q)</span>][%s][%r]",
alias = "%a[%s]",
badge = "%b[%s]"
}
local hookNames = { -- {level_1, level_2}
[parameters.property] = {"getProperty"},
[parameters.reference] = {"getReferences", "getReference"},
[parameters.qualifier] = {"getAllQualifiers"},
[parameters.qualifier.."\\d"] = {"getQualifiers", "getQualifier"},
[parameters.alias] = {"getAlias"},
[parameters.badge] = {"getBadge"}
}
-- default value objects, should NOT be mutated but instead copied
local defaultSeparators = {
["sep"] = {" "},
["sep%s"] = {","},
["sep%q"] = {"; "},
["sep%q\\d"] = {", "},
["sep%r"] = nil, -- none
["punc"] = nil -- none
}
local rankTable = {
["preferred"] = 1,
["normal"] = 2,
["deprecated"] = 3
}
local function replaceAlias(id)
if aliasesP[id] then
id = aliasesP[id]
end
return id
end
local function errorText(code, ...)
local text = i18n["errors"][code]
if arg then text = mw.ustring.format(text, unpack(arg)) end
return text
end
local function throwError(errorMessage, ...)
error(errorText(errorMessage, unpack(arg)))
end
local function replaceDecimalMark(num)
return mw.ustring.gsub(num, "[.]", i18n['numeric']['decimal-mark'], 1)
end
local function padZeros(num, numDigits)
local numZeros
local negative = false
if num < 0 then
negative = true
num = num * -1
end
num = tostring(num)
numZeros = numDigits - num:len()
for _ = 1, numZeros do
num = "0"..num
end
if negative then
num = "-"..num
end
return num
end
local function replaceSpecialChar(chr)
if chr == '_' then
-- replace underscores with spaces
return ' '
else
return chr
end
end
local function replaceSpecialChars(str)
local chr
local esc = false
local strOut = ""
for i = 1, #str do
chr = str:sub(i,i)
if not esc then
if chr == '\\' then
esc = true
else
strOut = strOut .. replaceSpecialChar(chr)
end
else
strOut = strOut .. chr
esc = false
end
end
return strOut
end
local function buildWikilink(target, label)
if not label or target == label then
return "[[" .. target .. "]]"
else
return "[[" .. target .. "|" .. label .. "]]"
end
end
-- used to make frame.args mutable, to replace #frame.args (which is always 0)
-- with the actual amount and to simply copy tables
local function copyTable(tIn)
if not tIn then
return nil
end
local tOut = {}
for i, v in pairs(tIn) do
tOut[i] = v
end
return tOut
end
-- used to merge output arrays together;
-- note that it currently mutates the first input array
local function mergeArrays(a1, a2)
for i = 1, #a2 do
a1[#a1 + 1] = a2[i]
end
return a1
end
local function split(str, del)
local out = {}
local i, j = str:find(del)
if i and j then
out[1] = str:sub(1, i - 1)
out[2] = str:sub(j + 1)
else
out[1] = str
end
return out
end
local function parseWikidataURL(url)
local id
if url:match('^http[s]?://') then
id = split(url, "Q")
if id[2] then
return "Q" .. id[2]
end
end
return nil
end
local function parseDate(dateStr, precision)
precision = precision or "d"
local i, j, index, ptr
local parts = {nil, nil, nil}
if dateStr == nil then
return parts[1], parts[2], parts[3] -- year, month, day
end
-- 'T' for snak values, '/' for outputs with '/Julian' attached
i, j = dateStr:find("[T/]")
if i then
dateStr = dateStr:sub(1, i-1)
end
local from = 1
if dateStr:sub(1,1) == "-" then
-- this is a negative number, look further ahead
from = 2
end
index = 1
ptr = 1
i, j = dateStr:find("-", from)
if i then
-- year
parts[index] = tonumber(dateStr:sub(ptr, i-1), 10) -- explicitly give base 10 to prevent error
if parts[index] == -0 then
parts[index] = tonumber("0") -- for some reason, 'parts[index] = 0' may actually store '-0', so parse from string instead
end
if precision == "y" then
-- we're done
return parts[1], parts[2], parts[3] -- year, month, day
end
index = index + 1
ptr = i + 1
i, j = dateStr:find("-", ptr)
if i then
-- month
parts[index] = tonumber(dateStr:sub(ptr, i-1), 10)
if precision == "m" then
-- we're done
return parts[1], parts[2], parts[3] -- year, month, day
end
index = index + 1
ptr = i + 1
end
end
if dateStr:sub(ptr) ~= "" then
-- day if we have month, month if we have year, or year
parts[index] = tonumber(dateStr:sub(ptr), 10)
end
return parts[1], parts[2], parts[3] -- year, month, day
end
local function datePrecedesDate(aY, aM, aD, bY, bM, bD)
if aY == nil or bY == nil then
return nil
end
aM = aM or 1
aD = aD or 1
bM = bM or 1
bD = bD or 1
if aY < bY then
return true
end
if aY > bY then
return false
end
if aM < bM then
return true
end
if aM > bM then
return false
end
if aD < bD then
return true
end
return false
end
local function getHookName(param, index)
if hookNames[param] then
return hookNames[param][index]
elseif param:len() > 2 then
return hookNames[param:sub(1, 2).."\\d"][index]
else
return nil
end
end
local function alwaysTrue()
return true
end
-- The following function parses a format string.
--
-- The example below shows how a parsed string is structured in memory.
-- Variables other than 'str' and 'child' are left out for clarity's sake.
--
-- Example:
-- "A %p B [%s[%q1]] C [%r] D"
--
-- Structure:
-- [
-- {
-- str = "A "
-- },
-- {
-- str = "%p"
-- },
-- {
-- str = " B ",
-- child =
-- [
-- {
-- str = "%s",
-- child =
-- [
-- {
-- str = "%q1"
-- }
-- ]
-- }
-- ]
-- },
-- {
-- str = " C ",
-- child =
-- [
-- {
-- str = "%r"
-- }
-- ]
-- },
-- {
-- str = " D"
-- }
-- ]
--
local function parseFormat(str)
local chr, esc, param, root, cur, prev, new
local params = {}
local function newObject(array)
local obj = {} -- new object
obj.str = ""
array[#array + 1] = obj -- array{object}
obj.parent = array
return obj
end
local function endParam()
if param > 0 then
if cur.str ~= "" then
cur.str = "%"..cur.str
cur.param = true
params[cur.str] = true
cur.parent.req[cur.str] = true
prev = cur
cur = newObject(cur.parent)
end
param = 0
end
end
root = {} -- array
root.req = {}
cur = newObject(root)
prev = nil
esc = false
param = 0
for i = 1, #str do
chr = str:sub(i,i)
if not esc then
if chr == '\\' then
endParam()
esc = true
elseif chr == '%' then
endParam()
if cur.str ~= "" then
cur = newObject(cur.parent)
end
param = 2
elseif chr == '[' then
endParam()
if prev and cur.str == "" then
table.remove(cur.parent)
cur = prev
end
cur.child = {} -- new array
cur.child.req = {}
cur.child.parent = cur
cur = newObject(cur.child)
elseif chr == ']' then
endParam()
if cur.parent.parent then
new = newObject(cur.parent.parent.parent)
if cur.str == "" then
table.remove(cur.parent)
end
cur = new
end
else
if param > 1 then
param = param - 1
elseif param == 1 then
if not chr:match('%d') then
endParam()
end
end
cur.str = cur.str .. replaceSpecialChar(chr)
end
else
cur.str = cur.str .. chr
esc = false
end
prev = nil
end
endParam()
-- make sure that at least one required parameter has been defined
if not next(root.req) then
throwError("missing-required-parameter")
end
-- make sure that the separator parameter "%s" is not amongst the required parameters
if root.req[parameters.separator] then
throwError("extra-required-parameter", parameters.separator)
end
return root, params
end
local function sortOnRank(claims)
local rankPos
local ranks = {{}, {}, {}, {}} -- preferred, normal, deprecated, (default)
local sorted = {}
for _, v in ipairs(claims) do
rankPos = rankTable[v.rank] or 4
ranks[rankPos][#ranks[rankPos] + 1] = v
end
sorted = ranks[1]
sorted = mergeArrays(sorted, ranks[2])
sorted = mergeArrays(sorted, ranks[3])
return sorted
end
local function isValueInTable(searchedItem, inputTable)
for _, item in pairs(inputTable) do
if item == searchedItem then
return true
end
end
return false
end
local Config = {}
-- allows for recursive calls
function Config:new()
local cfg = {}
setmetatable(cfg, self)
self.__index = self
cfg.separators = {
-- single value objects wrapped in arrays so that we can pass by reference
["sep"] = {copyTable(defaultSeparators["sep"])},
["sep%s"] = {copyTable(defaultSeparators["sep%s"])},
["sep%q"] = {copyTable(defaultSeparators["sep%q"])},
["sep%r"] = {copyTable(defaultSeparators["sep%r"])},
["punc"] = {copyTable(defaultSeparators["punc"])}
}
cfg.entity = nil
cfg.entityID = nil
cfg.propertyID = nil
cfg.propertyValue = nil
cfg.qualifierIDs = {}
cfg.qualifierIDsAndValues = {}
cfg.bestRank = true
cfg.ranks = {true, true, false} -- preferred = true, normal = true, deprecated = false
cfg.foundRank = #cfg.ranks
cfg.flagBest = false
cfg.flagRank = false
cfg.periods = {true, true, true} -- future = true, current = true, former = true
cfg.flagPeriod = false
cfg.atDate = {parseDate(os.date('!%Y-%m-%d'))} -- today as {year, month, day}
cfg.mdyDate = false
cfg.singleClaim = false
cfg.sourcedOnly = false
cfg.editable = false
cfg.editAtEnd = false
cfg.inSitelinks = false
cfg.langCode = mw.language.getContentLanguage().code
cfg.langName = mw.language.fetchLanguageName(cfg.langCode, cfg.langCode)
cfg.langObj = mw.language.new(cfg.langCode)
cfg.siteID = mw.wikibase.getGlobalSiteId()
cfg.states = {}
cfg.states.qualifiersCount = 0
cfg.curState = nil
cfg.prefetchedRefs = nil
return cfg
end
local State = {}
function State:new(cfg, type)
local stt = {}
setmetatable(stt, self)
self.__index = self
stt.conf = cfg
stt.type = type
stt.results = {}
stt.parsedFormat = {}
stt.separator = {}
stt.movSeparator = {}
stt.puncMark = {}
stt.linked = false
stt.rawValue = false
stt.shortName = false
stt.anyLanguage = false
stt.unitOnly = false
stt.singleValue = false
return stt
end
-- if id == nil then item connected to current page is used
function Config:getLabel(id, raw, link, short)
local label = nil
local prefix, title= "", nil
if not id then
id = mw.wikibase.getEntityIdForCurrentPage()
if not id then
return ""
end
end
id = id:upper() -- just to be sure
if raw then
-- check if given id actually exists
if mw.wikibase.isValidEntityId(id) and mw.wikibase.entityExists(id) then
label = id
end
prefix, title = "d:Special:EntityPage/", label -- may be nil
else
-- try short name first if requested
if short then
label = p._property{aliasesP.shortName, [p.args.eid] = id} -- get short name
if label == "" then
label = nil
end
end
-- get label
if not label then
label = mw.wikibase.getLabel(id)
end
end
if not label then
label = ""
elseif link then
-- build a link if requested
if not title then
if id:sub(1,1) == "Q" then
title = mw.wikibase.getSitelink(id)
elseif id:sub(1,1) == "P" then
-- properties have no sitelink, link to Wikidata instead
prefix, title = "d:Special:EntityPage/", id
end
end
label = mw.text.nowiki(label) -- escape raw label text so it cannot be wikitext markup
if title then
label = buildWikilink(prefix .. title, label)
end
end
return label
end
function Config:getEditIcon()
local value = ""
local prefix = ""
local front = " "
local back = ""
if self.entityID:sub(1,1) == "P" then
prefix = "Property:"
end
if self.editAtEnd then
front = '<span style="float:'
if self.langObj:isRTL() then
front = front .. 'left'
else
front = front .. 'right'
end
front = front .. '">'
back = '</span>'
end
value = "[[File:OOjs UI icon edit-ltr-progressive.svg|frameless|text-top|10px|alt=" .. i18n['info']['edit-on-wikidata'] .. "|link=https://www.wikidata.org/wiki/" .. prefix .. self.entityID .. "?uselang=" .. self.langCode
if self.propertyID then
value = value .. "#" .. self.propertyID
elseif self.inSitelinks then
value = value .. "#sitelinks-wikipedia"
end
value = value .. "|" .. i18n['info']['edit-on-wikidata'] .. "]]"
return front .. value .. back
end
-- used to create the final output string when it's all done, so that for references the
-- function extensionTag("ref", ...) is only called when they really ended up in the final output
function Config:concatValues(valuesArray)
local outString = ""
local j, skip
for i = 1, #valuesArray do
-- check if this is a reference
if valuesArray[i].refHash then
j = i - 1
skip = false
-- skip this reference if it is part of a continuous row of references that already contains the exact same reference
while valuesArray[j] and valuesArray[j].refHash do
if valuesArray[i].refHash == valuesArray[j].refHash then
skip = true
break
end
j = j - 1
end
if not skip then
-- add <ref> tag with the reference's hash as its name (to deduplicate references)
outString = outString .. mw.getCurrentFrame():extensionTag("ref", valuesArray[i][1], {name = valuesArray[i].refHash})
end
else
outString = outString .. valuesArray[i][1]
end
end
return outString
end
function Config:convertUnit(unit, raw, link, short, unitOnly)
local space = " "
local label = ""
local itemID
if unit == "" or unit == "1" then
return nil
end
if unitOnly then
space = ""
end
itemID = parseWikidataURL(unit)
if itemID then
if itemID == aliasesQ.percentage then
return "%"
else
label = self:getLabel(itemID, raw, link, short)
if label ~= "" then
return space .. label
end
end
end
return ""
end
function State:getValue(snak)
return self.conf:getValue(snak, self.rawValue, self.linked, self.shortName, self.anyLanguage, self.unitOnly, false, self.type:sub(1,2))
end
function Config:getValue(snak, raw, link, short, anyLang, unitOnly, noSpecial, type)
if snak.snaktype == 'value' then
local datatype = snak.datavalue.type
local subtype = snak.datatype
local datavalue = snak.datavalue.value
if datatype == 'string' then
if subtype == 'url' and link then
-- create link explicitly
if raw then
-- will render as a linked number like [1]
return "[" .. datavalue .. "]"
else
return "[" .. datavalue .. " " .. datavalue .. "]"
end
elseif subtype == 'commonsMedia' then
if link then
return buildWikilink("c:File:" .. datavalue, datavalue)
elseif not raw then
return "[[File:" .. datavalue .. "]]"
else
return datavalue
end
elseif subtype == 'geo-shape' and link then
return buildWikilink("c:" .. datavalue, datavalue)
elseif subtype == 'math' and not raw then
local attribute = nil
if (type == parameters.property or (type == parameters.qualifier and self.propertyID == aliasesP.hasPart)) and snak.property == aliasesP.definingFormula then
attribute = {qid = self.entityID}
end
return mw.getCurrentFrame():extensionTag("math", datavalue, attribute)
elseif subtype == 'external-id' and link then
local url = p._property{aliasesP.formatterURL, [p.args.eid] = snak.property} -- get formatter URL
if url ~= "" then
url = mw.ustring.gsub(url, "$1", datavalue)
return "[" .. url .. " " .. datavalue .. "]"
else
return datavalue
end
else
return datavalue
end
elseif datatype == 'monolingualtext' then
if anyLang or datavalue['language'] == self.langCode then
return datavalue['text']
else
return nil
end
elseif datatype == 'quantity' then
local value = ""
local unit
if not unitOnly then
-- get value and strip + signs from front
value = mw.ustring.gsub(datavalue['amount'], "^%+(.+)$", "%1")
if raw then
return value
end
-- replace decimal mark based on locale
value = replaceDecimalMark(value)
-- add delimiters for readability
value = i18n.addDelimiters(value)
end
unit = self:convertUnit(datavalue['unit'], raw, link, short, unitOnly)
if unit then
value = value .. unit
end
return value
elseif datatype == 'time' then
local y, m, d, p, yDiv, yRound, yFull, value, calendarID, dateStr
local yFactor = 1
local sign = 1
local prefix = ""
local suffix = ""
local mayAddCalendar = false
local calendar = ""
local precision = datavalue['precision']
if precision == 11 then
p = "d"
elseif precision == 10 then
p = "m"
else
p = "y"
yFactor = 10^(9-precision)
end
y, m, d = parseDate(datavalue['time'], p)
if y < 0 then
sign = -1
y = y * sign
end
-- if precision is tens/hundreds/thousands/millions/billions of years
if precision <= 8 then
yDiv = y / yFactor
-- if precision is tens/hundreds/thousands of years
if precision >= 6 then
mayAddCalendar = true
if precision <= 7 then
-- round centuries/millenniums up (e.g. 20th century or 3rd millennium)
yRound = math.ceil(yDiv)
if not raw then
if precision == 6 then
suffix = i18n['datetime']['suffixes']['millennium']
else
suffix = i18n['datetime']['suffixes']['century']
end
suffix = i18n.getOrdinalSuffix(yRound) .. suffix
else
-- if not verbose, take the first year of the century/millennium
-- (e.g. 1901 for 20th century or 2001 for 3rd millennium)
yRound = (yRound - 1) * yFactor + 1
end
else
-- precision == 8
-- round decades down (e.g. 2010s)
yRound = math.floor(yDiv) * yFactor
if not raw then
prefix = i18n['datetime']['prefixes']['decade-period']
suffix = i18n['datetime']['suffixes']['decade-period']
end
end
if raw and sign < 0 then
-- if BCE then compensate for "counting backwards"
-- (e.g. -2019 for 2010s BCE, -2000 for 20th century BCE or -3000 for 3rd millennium BCE)
yRound = yRound + yFactor - 1
end
else
local yReFactor, yReDiv, yReRound
-- round to nearest for tens of thousands of years or more
yRound = math.floor(yDiv + 0.5)
if yRound == 0 then
if precision <= 2 and y ~= 0 then
yReFactor = 1e6
yReDiv = y / yReFactor
yReRound = math.floor(yReDiv + 0.5)
if yReDiv == yReRound then
-- change precision to millions of years only if we have a whole number of them
precision = 3
yFactor = yReFactor
yRound = yReRound
end
end
if yRound == 0 then
-- otherwise, take the unrounded (original) number of years
precision = 5
yFactor = 1
yRound = y
mayAddCalendar = true
end
end
if precision >= 1 and y ~= 0 then
yFull = yRound * yFactor
yReFactor = 1e9
yReDiv = yFull / yReFactor
yReRound = math.floor(yReDiv + 0.5)
if yReDiv == yReRound then
-- change precision to billions of years if we're in that range
precision = 0
yFactor = yReFactor
yRound = yReRound
else
yReFactor = 1e6
yReDiv = yFull / yReFactor
yReRound = math.floor(yReDiv + 0.5)
if yReDiv == yReRound then
-- change precision to millions of years if we're in that range
precision = 3
yFactor = yReFactor
yRound = yReRound
end
end
end
if not raw then
if precision == 3 then
suffix = i18n['datetime']['suffixes']['million-years']
elseif precision == 0 then
suffix = i18n['datetime']['suffixes']['billion-years']
else
yRound = yRound * yFactor
if yRound == 1 then
suffix = i18n['datetime']['suffixes']['year']
else
suffix = i18n['datetime']['suffixes']['years']
end
end
else
yRound = yRound * yFactor
end
end
else
yRound = y
mayAddCalendar = true
end
if mayAddCalendar then
calendarID = parseWikidataURL(datavalue['calendarmodel'])
if calendarID and calendarID == aliasesQ.prolepticJulianCalendar then
if not raw then
if link then
calendar = " ("..buildWikilink(i18n['datetime']['julian-calendar'], i18n['datetime']['julian'])..")"
else
calendar = " ("..i18n['datetime']['julian']..")"
end
else
calendar = "/"..i18n['datetime']['julian']
end
end
end
if not raw then
local ce = nil
if sign < 0 then
ce = i18n['datetime']['BCE']
elseif precision <= 5 then
ce = i18n['datetime']['CE']
end
if ce then
if link then
ce = buildWikilink(i18n['datetime']['common-era'], ce)
end
suffix = suffix .. " " .. ce
end
value = tostring(yRound)
if m then
dateStr = self.langObj:formatDate("F", "1-"..m.."-1")
if d then
if self.mdyDate then
dateStr = dateStr .. " " .. d .. ","
else
dateStr = d .. " " .. dateStr
end
end
value = dateStr .. " " .. value
end
value = prefix .. value .. suffix .. calendar
else
value = padZeros(yRound * sign, 4)
if m then
value = value .. "-" .. padZeros(m, 2)
if d then
value = value .. "-" .. padZeros(d, 2)
end
end
value = value .. calendar
end
return value
elseif datatype == 'globecoordinate' then
-- logic from https://github.com/DataValues/Geo (v4.0.1)
local precision, unitsPerDegree, numDigits, strFormat, value, globe
local latitude, latConv, latValue, latLink
local longitude, lonConv, lonValue, lonLink
local latDirection, latDirectionN, latDirectionS, latDirectionEN
local lonDirection, lonDirectionE, lonDirectionW, lonDirectionEN
local degSymbol, minSymbol, secSymbol, separator
local latDegrees = nil
local latMinutes = nil
local latSeconds = nil
local lonDegrees = nil
local lonMinutes = nil
local lonSeconds = nil
local latDegSym = ""
local latMinSym = ""
local latSecSym = ""
local lonDegSym = ""
local lonMinSym = ""
local lonSecSym = ""
local latDirectionEN_N = "N"
local latDirectionEN_S = "S"
local lonDirectionEN_E = "E"
local lonDirectionEN_W = "W"
if not raw then
latDirectionN = i18n['coord']['latitude-north']
latDirectionS = i18n['coord']['latitude-south']
lonDirectionE = i18n['coord']['longitude-east']
lonDirectionW = i18n['coord']['longitude-west']
degSymbol = i18n['coord']['degrees']
minSymbol = i18n['coord']['minutes']
secSymbol = i18n['coord']['seconds']
separator = i18n['coord']['separator']
else
latDirectionN = latDirectionEN_N
latDirectionS = latDirectionEN_S
lonDirectionE = lonDirectionEN_E
lonDirectionW = lonDirectionEN_W
degSymbol = "/"
minSymbol = "/"
secSymbol = "/"
separator = "/"
end
latitude = datavalue['latitude']
longitude = datavalue['longitude']
if latitude < 0 then
latDirection = latDirectionS
latDirectionEN = latDirectionEN_S
latitude = math.abs(latitude)
else
latDirection = latDirectionN
latDirectionEN = latDirectionEN_N
end
if longitude < 0 then
lonDirection = lonDirectionW
lonDirectionEN = lonDirectionEN_W
longitude = math.abs(longitude)
else
lonDirection = lonDirectionE
lonDirectionEN = lonDirectionEN_E
end
precision = datavalue['precision']
if not precision or precision <= 0 then
precision = 1 / 3600 -- precision not set (correctly), set to arcsecond
end
-- remove insignificant detail
latitude = math.floor(latitude / precision + 0.5) * precision
longitude = math.floor(longitude / precision + 0.5) * precision
if precision >= 1 - (1 / 60) and precision < 1 then
precision = 1
elseif precision >= (1 / 60) - (1 / 3600) and precision < (1 / 60) then
precision = 1 / 60
end
if precision >= 1 then
unitsPerDegree = 1
elseif precision >= (1 / 60) then
unitsPerDegree = 60
else
unitsPerDegree = 3600
end
numDigits = math.ceil(-math.log10(unitsPerDegree * precision))
if numDigits <= 0 then
numDigits = tonumber("0") -- for some reason, 'numDigits = 0' may actually store '-0', so parse from string instead
end
strFormat = "%." .. numDigits .. "f"
if precision >= 1 then
latDegrees = strFormat:format(latitude)
lonDegrees = strFormat:format(longitude)
if not raw then
latDegSym = replaceDecimalMark(latDegrees) .. degSymbol
lonDegSym = replaceDecimalMark(lonDegrees) .. degSymbol
else
latDegSym = latDegrees .. degSymbol
lonDegSym = lonDegrees .. degSymbol
end
else
latConv = math.floor(latitude * unitsPerDegree * 10^numDigits + 0.5) / 10^numDigits
lonConv = math.floor(longitude * unitsPerDegree * 10^numDigits + 0.5) / 10^numDigits
if precision >= (1 / 60) then
latMinutes = latConv
lonMinutes = lonConv
else
latSeconds = latConv
lonSeconds = lonConv
latMinutes = math.floor(latSeconds / 60)
lonMinutes = math.floor(lonSeconds / 60)
latSeconds = strFormat:format(latSeconds - (latMinutes * 60))
lonSeconds = strFormat:format(lonSeconds - (lonMinutes * 60))
if not raw then
latSecSym = replaceDecimalMark(latSeconds) .. secSymbol
lonSecSym = replaceDecimalMark(lonSeconds) .. secSymbol
else
latSecSym = latSeconds .. secSymbol
lonSecSym = lonSeconds .. secSymbol
end
end
latDegrees = math.floor(latMinutes / 60)
lonDegrees = math.floor(lonMinutes / 60)
latDegSym = latDegrees .. degSymbol
lonDegSym = lonDegrees .. degSymbol
latMinutes = latMinutes - (latDegrees * 60)
lonMinutes = lonMinutes - (lonDegrees * 60)
if precision >= (1 / 60) then
latMinutes = strFormat:format(latMinutes)
lonMinutes = strFormat:format(lonMinutes)
if not raw then
latMinSym = replaceDecimalMark(latMinutes) .. minSymbol
lonMinSym = replaceDecimalMark(lonMinutes) .. minSymbol
else
latMinSym = latMinutes .. minSymbol
lonMinSym = lonMinutes .. minSymbol
end
else
latMinSym = latMinutes .. minSymbol
lonMinSym = lonMinutes .. minSymbol
end
end
latValue = latDegSym .. latMinSym .. latSecSym .. latDirection
lonValue = lonDegSym .. lonMinSym .. lonSecSym .. lonDirection
value = latValue .. separator .. lonValue
if link then
globe = parseWikidataURL(datavalue['globe'])
if globe then
globe = mw.wikibase.getLabelByLang(globe, "en"):lower()
else
globe = "earth"
end
latLink = table.concat({latDegrees, latMinutes, latSeconds}, "_")
lonLink = table.concat({lonDegrees, lonMinutes, lonSeconds}, "_")
value = "[https://geohack.toolforge.org/geohack.php?language="..self.langCode.."¶ms="..latLink.."_"..latDirectionEN.."_"..lonLink.."_"..lonDirectionEN.."_globe:"..globe.." "..value.."]"
end
return value
elseif datatype == 'wikibase-entityid' then
local label
local itemID = datavalue['numeric-id']
if subtype == 'wikibase-item' then
itemID = "Q" .. itemID
elseif subtype == 'wikibase-property' then
itemID = "P" .. itemID
else
return '<strong class="error">' .. errorText('unknown-data-type', subtype) .. '</strong>'
end
label = self:getLabel(itemID, raw, link, short)
if label == "" then
label = nil
end
return label
else
return '<strong class="error">' .. errorText('unknown-data-type', datatype) .. '</strong>'
end
elseif snak.snaktype == 'somevalue' and not noSpecial then
if raw then
return " " -- single space represents 'somevalue'
else
return i18n['values']['unknown']
end
elseif snak.snaktype == 'novalue' and not noSpecial then
if raw then
return "" -- empty string represents 'novalue'
else
return i18n['values']['none']
end
else
return nil
end
end
function Config:getSingleRawQualifier(claim, qualifierID)
local qualifiers
if claim.qualifiers then qualifiers = claim.qualifiers[qualifierID] end
if qualifiers and qualifiers[1] then
return self:getValue(qualifiers[1], true) -- raw = true
else
return nil
end
end
function Config:snakEqualsValue(snak, value)
local snakValue = self:getValue(snak, true) -- raw = true
if snakValue and snak.snaktype == 'value' and snak.datavalue.type == 'wikibase-entityid' then value = value:upper() end
return snakValue == value
end
function Config:setRank(rank)
local rankPos
if rank == p.flags.best then
self.bestRank = true
self.flagBest = true -- mark that 'best' flag was given
return
end
if rank:sub(1,9) == p.flags.preferred then
rankPos = 1
elseif rank:sub(1,6) == p.flags.normal then
rankPos = 2
elseif rank:sub(1,10) == p.flags.deprecated then
rankPos = 3
else
return
end
-- one of the rank flags was given, check if another one was given before
if not self.flagRank then
self.ranks = {false, false, false} -- no other rank flag given before, so unset ranks
self.bestRank = self.flagBest -- unsets bestRank only if 'best' flag was not given before
self.flagRank = true -- mark that a rank flag was given
end
if rank:sub(-1) == "+" then
for i = rankPos, 1, -1 do
self.ranks[i] = true
end
elseif rank:sub(-1) == "-" then
for i = rankPos, #self.ranks do
self.ranks[i] = true
end
else
self.ranks[rankPos] = true
end
end
function Config:setPeriod(period)
local periodPos
if period == p.flags.future then
periodPos = 1
elseif period == p.flags.current then
periodPos = 2
elseif period == p.flags.former then
periodPos = 3
else
return
end
-- one of the period flags was given, check if another one was given before
if not self.flagPeriod then
self.periods = {false, false, false} -- no other period flag given before, so unset periods
self.flagPeriod = true -- mark that a period flag was given
end
self.periods[periodPos] = true
end
function Config:qualifierMatches(claim, id, value)
local qualifiers
if claim.qualifiers then qualifiers = claim.qualifiers[id] end
if qualifiers then
for _, v in pairs(qualifiers) do
if self:snakEqualsValue(v, value) then
return true
end
end
elseif value == "" then
-- if the qualifier is not present then treat it the same as the special value 'novalue'
return true
end
return false
end
function Config:rankMatches(rankPos)
if self.bestRank then
return (self.ranks[rankPos] and self.foundRank >= rankPos)
else
return self.ranks[rankPos]
end
end
function Config:timeMatches(claim)
local startTime = nil
local startTimeY = nil
local startTimeM = nil
local startTimeD = nil
local endTime = nil
local endTimeY = nil
local endTimeM = nil
local endTimeD = nil
if self.periods[1] and self.periods[2] and self.periods[3] then
-- any time
return true
end
startTime = self:getSingleRawQualifier(claim, aliasesP.startTime)
if startTime and startTime ~= "" and startTime ~= " " then
startTimeY, startTimeM, startTimeD = parseDate(startTime)
end
endTime = self:getSingleRawQualifier(claim, aliasesP.endTime)
if endTime and endTime ~= "" and endTime ~= " " then
endTimeY, endTimeM, endTimeD = parseDate(endTime)
end
if startTimeY ~= nil and endTimeY ~= nil and datePrecedesDate(endTimeY, endTimeM, endTimeD, startTimeY, startTimeM, startTimeD) then
-- invalidate end time if it precedes start time
endTimeY = nil
endTimeM = nil
endTimeD = nil
end
if self.periods[1] then
-- future
if startTimeY and datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], startTimeY, startTimeM, startTimeD) then
return true
end
end
if self.periods[2] then
-- current
if (startTimeY == nil or not datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], startTimeY, startTimeM, startTimeD)) and
(endTimeY == nil or datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], endTimeY, endTimeM, endTimeD)) then
return true
end
end
if self.periods[3] then
-- former
if endTimeY and not datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], endTimeY, endTimeM, endTimeD) then
return true
end
end
return false
end
function Config:processFlag(flag)
if not flag then
return false
end
if flag == p.flags.linked then
self.curState.linked = true
return true
elseif flag == p.flags.raw then
self.curState.rawValue = true
if self.curState == self.states[parameters.reference] then
-- raw reference values end with periods and require a separator (other than none)
self.separators["sep%r"][1] = {" "}
end
return true
elseif flag == p.flags.short then
self.curState.shortName = true
return true
elseif flag == p.flags.multilanguage then
self.curState.anyLanguage = true
return true
elseif flag == p.flags.unit then
self.curState.unitOnly = true
return true
elseif flag == p.flags.mdy then
self.mdyDate = true
return true
elseif flag == p.flags.single then
self.singleClaim = true
return true
elseif flag == p.flags.sourced then
self.sourcedOnly = true
return true
elseif flag == p.flags.edit then
self.editable = true
return true
elseif flag == p.flags.editAtEnd then
self.editable = true
self.editAtEnd = true
return true
elseif flag == p.flags.best or flag:match('^'..p.flags.preferred..'[+-]?$') or flag:match('^'..p.flags.normal..'[+-]?$') or flag:match('^'..p.flags.deprecated..'[+-]?$') then
self:setRank(flag)
return true
elseif flag == p.flags.future or flag == p.flags.current or flag == p.flags.former then
self:setPeriod(flag)
return true
elseif flag == "" then
-- ignore empty flags and carry on
return true
else
return false
end
end
function Config:processFlagOrCommand(flag)
local param = ""
if not flag then
return false
end
if flag == p.claimCommands.property or flag == p.claimCommands.properties then
param = parameters.property
elseif flag == p.claimCommands.qualifier or flag == p.claimCommands.qualifiers then
self.states.qualifiersCount = self.states.qualifiersCount + 1
param = parameters.qualifier .. self.states.qualifiersCount
self.separators["sep"..param] = {copyTable(defaultSeparators["sep%q\\d"])}
elseif flag == p.claimCommands.reference or flag == p.claimCommands.references then
param = parameters.reference
else
return self:processFlag(flag)
end
if self.states[param] then
return false
end
-- create a new state for each command
self.states[param] = State:new(self, param)
-- use "%x" as the general parameter name
self.states[param].parsedFormat = parseFormat(parameters.general) -- will be overwritten for param=="%p"
-- set the separator
self.states[param].separator = self.separators["sep"..param] -- will be nil for param=="%p", which will be set separately
if flag == p.claimCommands.property or flag == p.claimCommands.qualifier or flag == p.claimCommands.reference then
self.states[param].singleValue = true
end
self.curState = self.states[param]
return true
end
function Config:processSeparators(args)
local sep
for i, v in pairs(self.separators) do
if args[i] then
sep = replaceSpecialChars(args[i])
if sep ~= "" then
self.separators[i][1] = {sep}
else
self.separators[i][1] = nil
end
end
end
end
function Config:setFormatAndSeparators(state, parsedFormat)
state.parsedFormat = parsedFormat
state.separator = self.separators["sep"]
state.movSeparator = self.separators["sep"..parameters.separator]
state.puncMark = self.separators["punc"]
end
-- determines if a claim has references by prefetching them from the claim using getReferences,
-- which applies some filtering that determines if a reference is actually returned,
-- and caches the references for later use
function State:isSourced(claim)
self.conf.prefetchedRefs = self:getReferences(claim)
return (#self.conf.prefetchedRefs > 0)
end
function State:resetCaches()
-- any prefetched references of the previous claim must not be used
self.conf.prefetchedRefs = nil
end
function State:claimMatches(claim)
local matches, rankPos
-- first of all, reset any cached values used for the previous claim
self:resetCaches()
-- if a property value was given, check if it matches the claim's property value
if self.conf.propertyValue then
matches = self.conf:snakEqualsValue(claim.mainsnak, self.conf.propertyValue)
else
matches = true
end
-- if any qualifier values were given, check if each matches one of the claim's qualifier values
for i, v in pairs(self.conf.qualifierIDsAndValues) do
matches = (matches and self.conf:qualifierMatches(claim, i, v))
end
-- check if the claim's rank and time period match
rankPos = rankTable[claim.rank] or 4
matches = (matches and self.conf:rankMatches(rankPos) and self.conf:timeMatches(claim))
-- if only claims with references must be returned, check if this one has any
if self.conf.sourcedOnly then
matches = (matches and self:isSourced(claim)) -- prefetches and caches references
end
return matches, rankPos
end
function State:out()
local result -- collection of arrays with value objects
local valuesArray -- array with value objects
local sep = nil -- value object
local out = {} -- array with value objects
local function walk(formatTable, result)
local valuesArray = {} -- array with value objects
for i, v in pairs(formatTable.req) do
if not result[i] or not result[i][1] then
-- we've got no result for a parameter that is required on this level,
-- so skip this level (and its children) by returning an empty result
return {}
end
end
for _, v in ipairs(formatTable) do
if v.param then
valuesArray = mergeArrays(valuesArray, result[v.str])
elseif v.str ~= "" then
valuesArray[#valuesArray + 1] = {v.str}
end
if v.child then
valuesArray = mergeArrays(valuesArray, walk(v.child, result))
end
end
return valuesArray
end
-- iterate through the results from back to front, so that we know when to add separators
for i = #self.results, 1, -1 do
result = self.results[i]
-- if there is already some output, then add the separators
if #out > 0 then
sep = self.separator[1] -- fixed separator
result[parameters.separator] = {self.movSeparator[1]} -- movable separator
else
sep = nil
result[parameters.separator] = {self.puncMark[1]} -- optional punctuation mark
end
valuesArray = walk(self.parsedFormat, result)
if #valuesArray > 0 then
if sep then
valuesArray[#valuesArray + 1] = sep
end
out = mergeArrays(valuesArray, out)
end
end
-- reset state before next iteration
self.results = {}
return out
end
-- level 1 hook
function State:getProperty(claim)
local value = {self:getValue(claim.mainsnak)} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
-- level 1 hook
function State:getQualifiers(claim, param)
local qualifiers
if claim.qualifiers then qualifiers = claim.qualifiers[self.conf.qualifierIDs[param]] end
if qualifiers then
-- iterate through claim's qualifier statements to collect their values;
-- return array with multiple value objects
return self.conf.states[param]:iterate(qualifiers, {[parameters.general] = hookNames[parameters.qualifier.."\\d"][2], count = 1}) -- pass qualifier state with level 2 hook
else
return {} -- return empty array
end
end
-- level 2 hook
function State:getQualifier(snak)
local value = {self:getValue(snak)} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
-- level 1 hook
function State:getAllQualifiers(claim, param, result, hooks)
local out = {} -- array with value objects
local sep = self.conf.separators["sep"..parameters.qualifier][1] -- value object
-- iterate through the output of the separate "qualifier(s)" commands
for i = 1, self.conf.states.qualifiersCount do
-- if a hook has not been called yet, call it now
if not result[parameters.qualifier..i] then
self:callHook(parameters.qualifier..i, hooks, claim, result)
end
-- if there is output for this particular "qualifier(s)" command, then add it
if result[parameters.qualifier..i] and result[parameters.qualifier..i][1] then
-- if there is already some output, then add the separator
if #out > 0 and sep then
out[#out + 1] = sep
end
out = mergeArrays(out, result[parameters.qualifier..i])
end
end
return out
end
-- level 1 hook
function State:getReferences(claim)
if self.conf.prefetchedRefs then
-- return references that have been prefetched by isSourced
return self.conf.prefetchedRefs
end
if claim.references then
-- iterate through claim's reference statements to collect their values;
-- return array with multiple value objects
return self.conf.states[parameters.reference]:iterate(claim.references, {[parameters.general] = hookNames[parameters.reference][2], count = 1}) -- pass reference state with level 2 hook
else
return {} -- return empty array
end
end
-- level 2 hook
function State:getReference(statement)
local citeParamMapping = i18n['cite']['param-mapping']
local citeConfig = i18n['cite']['config']
local citeTypes = i18n['cite']['output-types']
-- will hold rendered properties of the reference which are not directly from statement.snaks,
-- Namely, is URL generated from an external ID.
local additionalProcessedProperties = {}
-- for each citation type, there will be an associative array that associates lists of rendered properties
-- to citation-template parameters
local candidateParams = {}
-- like above, but only associates one rendered property to each parameter; if the above variable
-- contains more strings for a parameter, the strings will be assigned to numbered params (e.g. "author1")
local citeParams = {}
local citeErrors = {}
local referenceEmpty = true -- will be set to false if at least one parameter is left unremoved
local version = 12 -- increment this each time the below logic is changed to avoid conflict errors
if not statement.snaks then
return {}
end
-- don't use bot-added references referencing Wikimedia projects or containing "inferred from" (such references are not usable on Wikipedia)
if statement.snaks[aliasesP.importedFrom] or statement.snaks[aliasesP.wikimediaImportURL] or statement.snaks[aliasesP.inferredFrom] then
return {}
end
-- don't include "type of reference"
if statement.snaks[aliasesP.typeOfReference] then
statement.snaks[aliasesP.typeOfReference] = nil
end
-- don't include "image" to prevent littering
if statement.snaks[aliasesP.image] then
statement.snaks[aliasesP.image] = nil
end
-- don't include "language" if it is equal to the local one
if self:getReferenceDetail(statement.snaks, aliasesP.language) == self.conf.langName then
statement.snaks[aliasesP.language] = nil
end
if statement.snaks[aliasesP.statedIn] and not statement.snaks[aliasesP.referenceURL] then
-- "stated in" was given but "reference URL" was not.
-- get "Wikidata property" properties from the item in "stated in"
-- if any of the returned properties of the external-id datatype is in statement.snaks, generate a link from it and use the link in the reference
-- find the "Wikidata property" properties in the item from "stated in"
local wikidataPropertiesOfSource = mw.text.split(p._properties{p.flags.raw, aliasesP.wikidataProperty, [p.args.eid] = self.conf:getValue(statement.snaks[aliasesP.statedIn][1], true, false)}, ", ", true)
for i, wikidataPropertyOfSource in pairs(wikidataPropertiesOfSource) do
if statement.snaks[wikidataPropertyOfSource] and statement.snaks[wikidataPropertyOfSource][1].datatype == "external-id" then
local tempLink = self:getReferenceDetail(statement.snaks, wikidataPropertyOfSource, false, true) -- not raw, linked
if mw.ustring.match(tempLink, "^%[%Z- %Z+%]$") then -- getValue returned a URL in square brackets.
-- the link is in wiki markup, so strip the square brackets and the display text
-- gsub also returns another, discarted value, therefore the result is assigned to tempLink first
tempLink = mw.ustring.gsub(tempLink, "^%[(%Z-) %Z+%]$", "%1")
additionalProcessedProperties[aliasesP.referenceURL] = {tempLink}
statement.snaks[wikidataPropertyOfSource] = nil
break
end
end
end
end
-- initialize candidateParams and citeParams
for _, citeType in ipairs(citeTypes) do
candidateParams[citeType] = {}
citeParams[citeType] = {}
end
-- fill candidateParams
for _, citeType in ipairs(citeTypes) do
-- This will contain value--priority pairs for each param name.
local candidateValuesAndPriorities = {}
-- fill candidateValuesAndPriorities
for refProperty in pairs(statement.snaks) do
if citeErrors[citeType] then
break
end
repeat -- just a simple wrapper to emulate "continue"
-- set mappingKey and prefix
local mappingKey
local prefix = ""
if statement.snaks[refProperty][1].datatype == 'external-id' then
mappingKey = "external-id"
prefix = self.conf:getLabel(refProperty)
if prefix ~= "" then
prefix = prefix .. " "
end
else
mappingKey = refProperty
end
local paramName = citeParamMapping[citeType][mappingKey]
-- skip properties with empty parameter name
if paramName == "" then
break -- skip this property for this value of citeType
end
-- handle unknown properties in the reference
if not paramName then
referenceEmpty = false
local error_message = errorText("unknown-property-in-ref", refProperty)
assert(error_message) -- Should not be nil
citeErrors[citeType] = error_message
break
end
-- set processedProperty
local processedProperty
local raw = false -- if the value is wanted raw
if isValueInTable(paramName, citeConfig[citeType]["raw-value-params"] or {}) then
raw = true
end
if isValueInTable(paramName, citeConfig[citeType]["numbered-params"] or {}) then
-- Multiple values may be given.
processedProperty = self:getReferenceDetails(statement.snaks, refProperty, raw, self.linked, true) -- anyLang = true
else
-- If multiple values are given, all but the first suitable one are discarted.
processedProperty = {self:getReferenceDetail(statement.snaks, refProperty, raw, self.linked and (statement.snaks[refProperty][1].datatype ~= 'url'), true)} -- link = true/false, anyLang = true
end
if #processedProperty == 0 then
break
end
referenceEmpty = false
-- add an empty entry to candidateValuesAndPriorities, if there isn't one already
if not candidateValuesAndPriorities[paramName] then
candidateValuesAndPriorities[paramName] = {}
end
-- find the priority of refProperty
local thisPropertyPriority = -1
local thisParamPrioritization = citeConfig[citeType]["prioritization"][paramName]
if thisParamPrioritization then
for i_priority, i_property in ipairs(thisParamPrioritization) do
if i_property == refProperty then
thisPropertyPriority = i_priority
end
end
end
for _, propertyValue in pairs(processedProperty) do
table.insert(
candidateValuesAndPriorities[paramName],
{prefix .. propertyValue, thisPropertyPriority}
)
end
until true
end
-- fill candidateParams[citeType]
if not citeErrors[citeType] then
local compareValuePriorities = function(pair1, pair2)
if pair1[2] == -1 and pair2[2] ~= -1 then
return false
end
if pair1[2] ~= -1 and pair2[2] == -1 then
return true
end
return pair1[2] < pair2[2]
end
-- fill candidateParams[citeType][paramName] for each used param
for paramName, _ in pairs(candidateValuesAndPriorities) do
table.sort(candidateValuesAndPriorities[paramName], compareValuePriorities)
candidateParams[citeType][paramName] = {}
for _, valuePriorityPair in ipairs(candidateValuesAndPriorities[paramName]) do
table.insert(candidateParams[citeType][paramName], valuePriorityPair[1])
end
end
end
end
-- handle additional properties
for refProperty in pairs(additionalProcessedProperties) do
for _, citeType in ipairs(citeTypes) do
repeat
-- skip if there already have been errors
if citeErrors[citeType] then
break
end
local paramName = citeParamMapping[citeType][refProperty]
-- handle unknown properties in the reference
if not paramName then
-- Skip this additional property, but do not cause an error.
break
end
if paramName == "" then
break
end
referenceEmpty = false
if not candidateParams[citeType][paramName] then
candidateParams[citeType][paramName] = {}
end
for _, propertyValue in pairs(additionalProcessedProperties[refProperty]) do
table.insert(candidateParams[citeType][paramName], propertyValue)
end
until true
end
end
-- fill citeParams
for _, citeType in ipairs(citeTypes) do
for paramName, paramValues in pairs(candidateParams[citeType]) do
if #paramValues == 1 or not isValueInTable(paramName, citeConfig[citeType]["numbered-params"] or {}) then
citeParams[citeType][paramName] = paramValues[1]
else
-- There is more than one value for this parameter - the values will
-- go into separate numbered parameters (e.g. "author1", "author2")
for paramNum, paramValue in pairs(paramValues) do
citeParams[citeType][paramName .. paramNum] = paramValue
end
end
end
end
-- handle missing mandatory parameters for the templates
for _, citeType in ipairs(citeTypes) do
for _, requiredCiteParam in pairs(citeConfig[citeType]["mandatory-params"] or {}) do
if not citeParams[citeType][requiredCiteParam] then -- The required param is not present.
if citeErrors[citeType] then -- Do not override the previous error, if it exists.
break
end
local error_message = errorText("missing-mandatory-param", requiredCiteParam)
assert(error_message) -- Should not be nil
citeErrors[citeType] = error_message
end
end
end
local citeTypeToUse = nil
-- choose the output template
for _, citeType in ipairs(citeTypes) do
if not citeErrors[citeType] then
citeTypeToUse = citeType
break
end
end
-- set refContent
local refContent = ""
if citeTypeToUse then
local templateToUse = citeConfig[citeTypeToUse]["template"]
local paramsToUse = citeParams[citeTypeToUse]
if not templateToUse or templateToUse == "" then
throwError("no-such-reference-template", tostring(templateToUse), i18nPath, citeTypeToUse)
end
-- if this module is being substituted then build a regular template call, otherwise expand the template
if mw.isSubsting() then
for i, v in pairs(paramsToUse) do
refContent = refContent .. "|" .. i .. "=" .. v
end
refContent = "{{" .. templateToUse .. refContent .. "}}"
else
xpcall(
function () refContent = mw.getCurrentFrame():expandTemplate{title=templateToUse, args=paramsToUse} end,
function () throwError("no-such-reference-template", templateToUse, i18nPath, citeTypeToUse) end
)
end
-- If the citation couldn't be displayed using any template, but is not empty (barring ignored propeties), throw an error.
elseif not referenceEmpty then
refContent = errorText("malformed-reference-header")
for _, citeType in ipairs(citeTypes) do
refContent = refContent .. errorText("template-failure-reason", citeConfig[citeType]["template"], citeErrors[citeType])
end
refContent = refContent .. errorText("malformed-reference-footer")
end
-- wrap refContent
local ref = {}
if refContent ~= "" then
ref = {refContent}
if not self.rawValue then
-- this should become a <ref> tag, so save the reference's hash for later
ref.refHash = "wikidata-" .. statement.hash .. "-v" .. (tonumber(i18n['version']) + version)
end
return {ref}
else
return {}
end
end
-- gets a detail of one particular type for a reference
function State:getReferenceDetail(snaks, dType, raw, link, anyLang)
local switchLang = anyLang
local value = nil
if not snaks[dType] then
return nil
end
-- if anyLang, first try the local language and otherwise any language
repeat
for _, v in ipairs(snaks[dType]) do
value = self.conf:getValue(v, raw, link, false, anyLang and not switchLang, false, true) -- noSpecial = true
if value then
break
end
end
if value or not anyLang then
break
end
switchLang = not switchLang
until anyLang and switchLang
return value
end
-- gets the details of one particular type for a reference
function State:getReferenceDetails(snaks, dType, raw, link, anyLang)
local values = {}
if not snaks[dType] then
return {}
end
for _, v in ipairs(snaks[dType]) do
-- if nil is returned then it will not be added to the table
values[#values + 1] = self.conf:getValue(v, raw, link, false, anyLang, false, true) -- noSpecial = true
end
return values
end
-- level 1 hook
function State:getAlias(object)
local value = object.value
local title = nil
if value and self.linked then
if self.conf.entityID:sub(1,1) == "Q" then
title = mw.wikibase.getSitelink(self.conf.entityID)
elseif self.conf.entityID:sub(1,1) == "P" then
title = "d:Property:" .. self.conf.entityID
end
if title then
value = buildWikilink(title, value)
end
end
value = {value} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
-- level 1 hook
function State:getBadge(value)
value = self.conf:getLabel(value, self.rawValue, self.linked, self.shortName)
if value == "" then
value = nil
end
value = {value} -- create one value object
if #value > 0 then
return {value} -- wrap the value object in an array and return it
else
return {} -- return empty array if there was no value
end
end
function State:callHook(param, hooks, statement, result)
-- call a parameter's hook if it has been defined and if it has not been called before
if not result[param] and hooks[param] then
local valuesArray = self[hooks[param]](self, statement, param, result, hooks) -- array with value objects
-- add to the result
if #valuesArray > 0 then
result[param] = valuesArray
result.count = result.count + 1
else
result[param] = {} -- an empty array to indicate that we've tried this hook already
return true -- miss == true
end
end
return false
end
-- iterate through claims, claim's qualifiers or claim's references to collect values
function State:iterate(statements, hooks, matchHook)
matchHook = matchHook or alwaysTrue
local matches = false
local rankPos = nil
local result, gotRequired
for _, v in ipairs(statements) do
-- rankPos will be nil for non-claim statements (e.g. qualifiers, references, etc.)
matches, rankPos = matchHook(self, v)
if matches then
result = {count = 0} -- collection of arrays with value objects
local function walk(formatTable)
local miss
for i2, v2 in pairs(formatTable.req) do
-- call a hook, adding its return value to the result
miss = self:callHook(i2, hooks, v, result)
if miss then
-- we miss a required value for this level, so return false
return false
end
if result.count == hooks.count then
-- we're done if all hooks have been called;
-- returning at this point breaks the loop
return true
end
end
for _, v2 in ipairs(formatTable) do
if result.count == hooks.count then
-- we're done if all hooks have been called;
-- returning at this point prevents further childs from being processed
return true
end
if v2.child then
walk(v2.child)
end
end
return true
end
gotRequired = walk(self.parsedFormat)
-- only append the result if we got values for all required parameters on the root level
if gotRequired then
-- if we have a rankPos (only with matchHook() for complete claims), then update the foundRank
if rankPos and self.conf.foundRank > rankPos then
self.conf.foundRank = rankPos
end
-- append the result
self.results[#self.results + 1] = result
-- break if we only need a single value
if self.singleValue then
break
end
end
end
end
return self:out()
end
local function getEntityId(arg, eid, page, allowOmitPropPrefix, globalSiteId)
local id = nil
local prop = nil
if arg then
if arg:sub(1,1) == ":" then
page = arg
eid = nil
elseif arg:sub(1,1):upper() == "Q" or arg:sub(1,9):lower() == "property:" or allowOmitPropPrefix then
eid = arg
page = nil
else
prop = arg
end
end
if eid then
if eid:sub(1,9):lower() == "property:" then
id = replaceAlias(mw.text.trim(eid:sub(10)))
if id:sub(1,1):upper() ~= "P" then
id = ""
end
else
id = replaceAlias(eid)
end
elseif page then
if page:sub(1,1) == ":" then
page = mw.text.trim(page:sub(2))
end
id = mw.wikibase.getEntityIdForTitle(page, globalSiteId) or ""
end
if not id then
id = mw.wikibase.getEntityIdForCurrentPage() or ""
end
id = id:upper()
if not mw.wikibase.isValidEntityId(id) then
id = ""
end
return id, prop
end
local function nextArg(args)
local arg = args[args.pointer]
if arg then
args.pointer = args.pointer + 1
return mw.text.trim(arg)
else
return nil
end
end
local function claimCommand(args, funcName)
local cfg = Config:new()
cfg:processFlagOrCommand(funcName) -- process first command (== function name)
local lastArg, parsedFormat, formatParams, claims, value
local hooks = {count = 0}
-- set the date if given;
-- must come BEFORE processing the flags
if args[p.args.date] then
cfg.atDate = {parseDate(args[p.args.date])}
cfg.periods = {false, true, false} -- change default time constraint to 'current'
end
-- process flags and commands
repeat
lastArg = nextArg(args)
until not cfg:processFlagOrCommand(lastArg)
-- get the entity ID from either the positional argument, the eid argument or the page argument
cfg.entityID, cfg.propertyID = getEntityId(lastArg, args[p.args.eid], args[p.args.page], false, args[p.args.globalSiteId])
if cfg.entityID == "" then
return "" -- we cannot continue without a valid entity ID
end
cfg.entity = mw.wikibase.getEntity(cfg.entityID)
if not cfg.propertyID then
cfg.propertyID = nextArg(args)
end
cfg.propertyID = replaceAlias(cfg.propertyID)
if not cfg.entity or not cfg.propertyID then
return "" -- we cannot continue without an entity or a property ID
end
cfg.propertyID = cfg.propertyID:upper()
if not cfg.entity.claims or not cfg.entity.claims[cfg.propertyID] then
return "" -- there is no use to continue without any claims
end
claims = cfg.entity.claims[cfg.propertyID]
if cfg.states.qualifiersCount > 0 then
-- do further processing if "qualifier(s)" command was given
if #args - args.pointer + 1 > cfg.states.qualifiersCount then
-- claim ID or literal value has been given
cfg.propertyValue = nextArg(args)
end
for i = 1, cfg.states.qualifiersCount do
-- check if given qualifier ID is an alias and add it
cfg.qualifierIDs[parameters.qualifier..i] = replaceAlias(nextArg(args) or ""):upper()
end
elseif cfg.states[parameters.reference] then
-- do further processing if "reference(s)" command was given
cfg.propertyValue = nextArg(args)
end
-- check for special property value 'somevalue' or 'novalue'
if cfg.propertyValue then
cfg.propertyValue = replaceSpecialChars(cfg.propertyValue)
if cfg.propertyValue ~= "" and mw.text.trim(cfg.propertyValue) == "" then
cfg.propertyValue = " " -- single space represents 'somevalue', whereas empty string represents 'novalue'
else
cfg.propertyValue = mw.text.trim(cfg.propertyValue)
end
end
-- parse the desired format, or choose an appropriate format
if args["format"] then
parsedFormat, formatParams = parseFormat(args["format"])
elseif cfg.states.qualifiersCount > 0 then -- "qualifier(s)" command given
if cfg.states[parameters.property] then -- "propert(y|ies)" command given
parsedFormat, formatParams = parseFormat(formats.propertyWithQualifier)
else
parsedFormat, formatParams = parseFormat(formats.qualifier)
end
elseif cfg.states[parameters.property] then -- "propert(y|ies)" command given
parsedFormat, formatParams = parseFormat(formats.property)
else -- "reference(s)" command given
parsedFormat, formatParams = parseFormat(formats.reference)
end
-- if a "qualifier(s)" command and no "propert(y|ies)" command has been given, make the movable separator a semicolon
if cfg.states.qualifiersCount > 0 and not cfg.states[parameters.property] then
cfg.separators["sep"..parameters.separator][1] = {";"}
end
-- if only "reference(s)" has been given, set the default separator to none (except when raw)
if cfg.states[parameters.reference] and not cfg.states[parameters.property] and cfg.states.qualifiersCount == 0
and not cfg.states[parameters.reference].rawValue then
cfg.separators["sep"][1] = nil
end
-- if exactly one "qualifier(s)" command has been given, make "sep%q" point to "sep%q1" to make them equivalent
if cfg.states.qualifiersCount == 1 then
cfg.separators["sep"..parameters.qualifier] = cfg.separators["sep"..parameters.qualifier.."1"]
end
-- process overridden separator values;
-- must come AFTER tweaking the default separators
cfg:processSeparators(args)
-- define the hooks that should be called (getProperty, getQualifiers, getReferences);
-- only define a hook if both its command ("propert(y|ies)", "reference(s)", "qualifier(s)") and its parameter ("%p", "%r", "%q1", "%q2", "%q3") have been given
for i, v in pairs(cfg.states) do
-- e.g. 'formatParams["%q1"] or formatParams["%q"]' to define hook even if "%q1" was not defined to be able to build a complete value for "%q"
if formatParams[i] or formatParams[i:sub(1, 2)] then
hooks[i] = getHookName(i, 1)
hooks.count = hooks.count + 1
end
end
-- the "%q" parameter is not attached to a state, but is a collection of the results of multiple states (attached to "%q1", "%q2", "%q3", ...);
-- so if this parameter is given then this hook must be defined separately, but only if at least one "qualifier(s)" command has been given
if formatParams[parameters.qualifier] and cfg.states.qualifiersCount > 0 then
hooks[parameters.qualifier] = getHookName(parameters.qualifier, 1)
hooks.count = hooks.count + 1
end
-- create a state for "properties" if it doesn't exist yet, which will be used as a base configuration for each claim iteration;
-- must come AFTER defining the hooks
if not cfg.states[parameters.property] then
cfg.states[parameters.property] = State:new(cfg, parameters.property)
-- if the "single" flag has been given then this state should be equivalent to "property" (singular)
if cfg.singleClaim then
cfg.states[parameters.property].singleValue = true
end
end
-- if the "sourced" flag has been given then create a state for "reference" if it doesn't exist yet, using default values,
-- which must exist in order to be able to determine if a claim has any references;
-- must come AFTER defining the hooks
if cfg.sourcedOnly and not cfg.states[parameters.reference] then
cfg:processFlagOrCommand(p.claimCommands.reference) -- use singular "reference" to minimize overhead
end
-- set the parsed format and the separators (and optional punctuation mark);
-- must come AFTER creating the additonal states
cfg:setFormatAndSeparators(cfg.states[parameters.property], parsedFormat)
-- process qualifier matching values, analogous to cfg.propertyValue
for i, v in pairs(args) do
i = tostring(i)
if i:match('^[Pp]%d+$') or aliasesP[i] then
v = replaceSpecialChars(v)
-- check for special qualifier value 'somevalue'
if v ~= "" and mw.text.trim(v) == "" then
v = " " -- single space represents 'somevalue'
end
cfg.qualifierIDsAndValues[replaceAlias(i):upper()] = v
end
end
-- first sort the claims on rank to pre-define the order of output (preferred first, then normal, then deprecated)
claims = sortOnRank(claims)
-- then iterate through the claims to collect values
value = cfg:concatValues(cfg.states[parameters.property]:iterate(claims, hooks, State.claimMatches)) -- pass property state with level 1 hooks and matchHook
-- if desired, add a clickable icon that may be used to edit the returned values on Wikidata
if cfg.editable and value ~= "" then
value = value .. cfg:getEditIcon()
end
return value
end
local function generalCommand(args, funcName)
local cfg = Config:new()
cfg.curState = State:new(cfg)
local lastArg
local value = nil
repeat
lastArg = nextArg(args)
until not cfg:processFlag(lastArg)
-- get the entity ID from either the positional argument, the eid argument or the page argument
cfg.entityID = getEntityId(lastArg, args[p.args.eid], args[p.args.page], true, args[p.args.globalSiteId])
if cfg.entityID == "" or not mw.wikibase.entityExists(cfg.entityID) then
return "" -- we cannot continue without an entity
end
-- serve according to the given command
if funcName == p.generalCommands.label then
value = cfg:getLabel(cfg.entityID, cfg.curState.rawValue, cfg.curState.linked, cfg.curState.shortName)
elseif funcName == p.generalCommands.title then
cfg.inSitelinks = true
if cfg.entityID:sub(1,1) == "Q" then
value = mw.wikibase.getSitelink(cfg.entityID)
end
if cfg.curState.linked and value then
value = buildWikilink(value)
end
elseif funcName == p.generalCommands.description then
value = mw.wikibase.getDescription(cfg.entityID)
else
local parsedFormat, formatParams
local hooks = {count = 0}
cfg.entity = mw.wikibase.getEntity(cfg.entityID)
if funcName == p.generalCommands.alias or funcName == p.generalCommands.badge then
cfg.curState.singleValue = true
end
if funcName == p.generalCommands.alias or funcName == p.generalCommands.aliases then
if not cfg.entity.aliases or not cfg.entity.aliases[cfg.langCode] then
return "" -- there is no use to continue without any aliasses
end
local aliases = cfg.entity.aliases[cfg.langCode]
-- parse the desired format, or parse the default aliases format
if args["format"] then
parsedFormat, formatParams = parseFormat(args["format"])
else
parsedFormat, formatParams = parseFormat(formats.alias)
end
-- process overridden separator values;
-- must come AFTER tweaking the default separators
cfg:processSeparators(args)
-- define the hook that should be called (getAlias);
-- only define the hook if the parameter ("%a") has been given
if formatParams[parameters.alias] then
hooks[parameters.alias] = getHookName(parameters.alias, 1)
hooks.count = hooks.count + 1
end
-- set the parsed format and the separators (and optional punctuation mark)
cfg:setFormatAndSeparators(cfg.curState, parsedFormat)
-- iterate to collect values
value = cfg:concatValues(cfg.curState:iterate(aliases, hooks))
elseif funcName == p.generalCommands.badge or funcName == p.generalCommands.badges then
if not cfg.entity.sitelinks or not cfg.entity.sitelinks[cfg.siteID] or not cfg.entity.sitelinks[cfg.siteID].badges then
return "" -- there is no use to continue without any badges
end
local badges = cfg.entity.sitelinks[cfg.siteID].badges
cfg.inSitelinks = true
-- parse the desired format, or parse the default aliases format
if args["format"] then
parsedFormat, formatParams = parseFormat(args["format"])
else
parsedFormat, formatParams = parseFormat(formats.badge)
end
-- process overridden separator values;
-- must come AFTER tweaking the default separators
cfg:processSeparators(args)
-- define the hook that should be called (getBadge);
-- only define the hook if the parameter ("%b") has been given
if formatParams[parameters.badge] then
hooks[parameters.badge] = getHookName(parameters.badge, 1)
hooks.count = hooks.count + 1
end
-- set the parsed format and the separators (and optional punctuation mark)
cfg:setFormatAndSeparators(cfg.curState, parsedFormat)
-- iterate to collect values
value = cfg:concatValues(cfg.curState:iterate(badges, hooks))
end
end
value = value or ""
if cfg.editable and value ~= "" then
-- if desired, add a clickable icon that may be used to edit the returned value on Wikidata
value = value .. cfg:getEditIcon()
end
return value
end
-- modules that include this module should call the functions with an underscore prepended, e.g.: p._property(args)
local function establishCommands(commandList, commandFunc)
for _, commandName in pairs(commandList) do
local function wikitextWrapper(frame)
local args = copyTable(frame.args)
args.pointer = 1
loadI18n(aliasesP, frame)
return commandFunc(args, commandName)
end
p[commandName] = wikitextWrapper
local function luaWrapper(args)
args = copyTable(args)
args.pointer = 1
loadI18n(aliasesP)
return commandFunc(args, commandName)
end
p["_" .. commandName] = luaWrapper
end
end
establishCommands(p.claimCommands, claimCommand)
establishCommands(p.generalCommands, generalCommand)
-- main function that is supposed to be used by wrapper templates
function p.main(frame)
if not mw.wikibase then return nil end
local f, args
loadI18n(aliasesP, frame)
-- get the parent frame to take the arguments that were passed to the wrapper template
frame = frame:getParent() or frame
if not frame.args[1] then
throwError("no-function-specified")
end
f = mw.text.trim(frame.args[1])
if f == "main" then
throwError("main-called-twice")
end
assert(p["_"..f], errorText('no-such-function', f))
-- copy arguments from immutable to mutable table
args = copyTable(frame.args)
-- remove the function name from the list
table.remove(args, 1)
return p["_"..f](args)
end
return p
j5a6l03tjwodgrvfnv3lb4x5up93wlv
Módulo:Wd/i18n
828
6296
70391
67702
2026-04-25T03:59:11Z
Exec8
6243
70391
Scribunto
text/plain
-- The values and functions in this submodule should be localized per wiki.
local p = {}
function p.init(aliasesP)
p = {
["version"] = "8", -- increment this each time the below parameters are changed to avoid reference conflict errors
["errors"] = {
["unknown-data-type"] = "Unknown or unsupported datatype '%s'.",
["missing-required-parameter"] = "No required parameters defined, needing at least one",
["extra-required-parameter"] = "Parameter '%s' must be defined as optional",
["no-function-specified"] = "You must specify a function to call", -- equal to the standard module error message
["main-called-twice"] = 'The function "main" cannot be called twice',
["no-such-function"] = 'The function "%s" does not exist', -- equal to the standard module error message
["no-such-reference-template"] = 'Error: template "%s", which is set in %s as the output template for the citation-output type "%s", does not exist',
-- Parts of the error message signalling a malformed reference.
["malformed-reference-header"] = "<span style=\"color:#dd3333\">\nError: Unable to display the reference from Wikidata properly. Technical details:\n",
["malformed-reference-footer"] = "See [[Module:wd/doc#References|the documentation]] for further details.\n</span>\n[[Category:Module:Wd reference errors]]",
["template-failure-reason"] = "* Reason for the failure of {{tl|%s}}: %s\n",
["missing-mandatory-param"] = 'The output template call would miss the mandatory parameter <code>%s</code>.',
["unknown-property-in-ref"] = 'The Wikidata reference contains the property {{property|%s}}, which is not assigned to any parameter of this template.'
},
["info"] = {
["edit-on-wikidata"] = "Edit this on Wikidata"
},
["numeric"] = {
["decimal-mark"] = ".",
["delimiter"] = ","
},
["datetime"] = {
["prefixes"] = {
["decade-period"] = ""
},
["suffixes"] = {
["decade-period"] = "s",
["millennium"] = " millennium",
["century"] = " century",
["million-years"] = " million years",
["billion-years"] = " billion years",
["year"] = " year",
["years"] = " years"
},
["julian-calendar"] = "Julian calendar", -- linked page title
["julian"] = "Julian",
["BCE"] = "BCE",
["CE"] = "CE",
["common-era"] = "Common Era" -- linked page title
},
["coord"] = {
["latitude-north"] = "N",
["latitude-south"] = "S",
["longitude-east"] = "E",
["longitude-west"] = "W",
["degrees"] = "°",
["minutes"] = "'",
["seconds"] = '"',
["separator"] = ", "
},
["values"] = {
["unknown"] = "unknown",
["none"] = "none"
},
["cite"] = {
["output-types"] = {"web", "q"}, -- In this order, the output types will be tried
["param-mapping"] = {
["web"] = {
-- <= left side: all allowed reference properties for *web page sources* per https://www.wikidata.org/wiki/Help:Sources
-- => right side: corresponding parameter names in (equivalent of) [[:en:Template:Cite web]] (if non-existent, keep empty i.e. "")
[aliasesP.statedIn] = "website",
[aliasesP.referenceURL] = "url",
[aliasesP.publicationDate] = "date",
[aliasesP.lastUpdate] = "date",
[aliasesP.retrieved] = "access-date",
[aliasesP.title] = "title",
[aliasesP.subjectNamedAs] = "title",
[aliasesP.archiveURL] = "archive-url",
[aliasesP.archiveDate] = "archive-date",
[aliasesP.language] = "language",
[aliasesP.author] = "author",
[aliasesP.authorNameString] = "author",
[aliasesP.publisher] = "publisher",
[aliasesP.quote] = "quote",
[aliasesP.pages] = "pages", -- extra option
[aliasesP.publishedIn] = "website",
[aliasesP.sectionVerseOrParagraph] = "at"
},
["q"] = {
-- <= left side: all allowed reference properties for *sources other than web pages* per https://www.wikidata.org/wiki/Help:Sources
-- => right side: corresponding parameter names in (equivalent of) [[:en:Template:Cite Q]] (if non-existent, keep empty i.e. "")
[aliasesP.statedIn] = "1",
[aliasesP.pages] = "pages",
[aliasesP.column] = "at",
[aliasesP.chapter] = "chapter",
[aliasesP.sectionVerseOrParagraph] = "section",
["external-id"] = "id", -- used for any type of database property ID
[aliasesP.title] = "title",
[aliasesP.publicationDate] = "date",
[aliasesP.lastUpdate] = "date",
[aliasesP.retrieved] = "access-date"
}
},
["config"] = {
-- supported fields:
-- - template: name of the template used for output
-- - numbered-params: citation params accepting an arbitrary number of values by numbering the params (e.g. author1, author2)
-- - raw-value-params: params taking a raw value (which means the property is rendered with getValue with raw=true)
-- - mandatory-params: params that are required be in the template call (after potentially appending numbers to params listed in numbered-params)
-- - prioritization: table associating a list of properties, in the order in which they are preferred, to template parameters;
-- properties not mentioned here have the lowest priority;
-- prioritization of properties handled through additionalProcessedProperties is unsupported;
-- no key of this table can be from numbered-params
-- Leaving out the "template" field causes the output type to be ignored.
["web"] = {
["template"] = "Cite web",
["numbered-params"] = {"author"},
["mandatory-params"] = {"url"},
["prioritization"] = {
["date"] = {aliasesP.lastUpdate, aliasesP.publicationDate},
["title"] = {aliasesP.title, aliasesP.subjectNamedAs}
}
},
["q"] = {
["template"] = "Cite Q",
["raw-value-params"] = {"1"}, -- the first, unnamed parameter of CiteQ takes a QID, not the name of the item cited
["mandatory-params"] = {"1"},
["prioritization"] = {
["date"] = {aliasesP.lastUpdate, aliasesP.publicationDate}
}
}
}
}
}
p.getOrdinalSuffix = function(num)
if tostring(num):sub(-2,-2) == '1' then
return "th" -- 10th, 11th, 12th, 13th, ... 19th
end
num = tostring(num):sub(-1)
if num == '1' then
return "st"
elseif num == '2' then
return "nd"
elseif num == '3' then
return "rd"
else
return "th"
end
end
p.addDelimiters = function(n)
local left, num, right = string.match(n, "^([^%d]*%d)(%d*)(.-)$")
if left and num and right then
return left .. (num:reverse():gsub("(%d%d%d)", "%1" .. p['numeric']['delimiter']):reverse()) .. right
else
return n
end
end
return p
end
return p
pgkxz3kqyoyu0zj2nmtkjkdr0ntnin5
Uza-na'in:Exec8/LGU
2
6297
70448
70302
2026-04-25T05:00:29Z
Exec8
6243
70448
wikitext
text/x-wiki
{| class="wikitable sortable" style="background-color:white;font-size:80%;line-height:1.40em;"
!No!!Prov!!Wikidata!!LGU1!!LGU2
|-
|1||Abra||[[:wikidata:Q13711|Q13711]]||{{wikidata|label|linked|Q13711}}||{{wikidata|title|linked|Q13711}}
|-
|2||Agusan del Norte||[[:wikidata:Q13714|Q13714]]||{{wikidata|label|linked|Q13714}}||{{wikidata|title|linked|Q13714}}
|-
|3||Agusan del Sur||[[:wikidata:Q13721|Q13721]]||{{wikidata|label|linked|Q13721}}||{{wikidata|title|linked|Q13721}}
|-
|4||Aklan||[[:wikidata:Q13723|Q13723]]||{{wikidata|label|linked|Q13723}}||{{wikidata|title|linked|Q13723}}
|-
|5||Albay||[[:wikidata:Q13726|Q13726]]||{{wikidata|label|linked|Q13726}}||{{wikidata|title|linked|Q13726}}
|-
|6||Antique||[[:wikidata:Q13727|Q13727]]||{{wikidata|label|linked|Q13727}}||{{wikidata|title|linked|Q13727}}
|-
|7||Apayao||[[:wikidata:Q13728|Q13728]]||{{wikidata|label|linked|Q13728}}||{{wikidata|title|linked|Q13728}}
|-
|8||Aurora||[[:wikidata:Q13730|Q13730]]||{{wikidata|label|linked|Q13730}}||{{wikidata|title|linked|Q13730}}
|-
|9||Basilan||[[:wikidata:Q13737|Q13737]]||{{wikidata|label|linked|Q13737}}||{{wikidata|title|linked|Q13737}}
|-
|10||Bataan||[[:wikidata:Q13739|Q13739]]||{{wikidata|label|linked|Q13739}}||{{wikidata|title|linked|Q13739}}
|-
|11||Batanes||[[:wikidata:Q13740|Q13740]]||{{wikidata|label|linked|Q13740}}||{{wikidata|title|linked|Q13740}}
|-
|12||Batangas||[[:wikidata:Q13744|Q13744]]||{{wikidata|label|linked|Q13744}}||{{wikidata|title|linked|Q13744}}
|-
|13||Benguet||[[:wikidata:Q13750|Q13750]]||{{wikidata|label|linked|Q13750}}||{{wikidata|title|linked|Q13750}}
|-
|14||Biliran||[[:wikidata:Q13751|Q13751]]||{{wikidata|label|linked|Q13751}}||{{wikidata|title|linked|Q13751}}
|-
|15||Bohol||[[:wikidata:Q13752|Q13752]]||{{wikidata|label|linked|Q13752}}||{{wikidata|title|linked|Q13752}}
|-
|16||Bukidnon||[[:wikidata:Q13753|Q13753]]||{{wikidata|label|linked|Q13753}}||{{wikidata|title|linked|Q13753}}
|-
|17||Bulacan||[[:wikidata:Q13755|Q13755]]||{{wikidata|label|linked|Q13755}}||{{wikidata|title|linked|Q13755}}
|-
|18||Cagayan||[[:wikidata:Q13759|Q13759]]||{{wikidata|label|linked|Q13759}}||{{wikidata|title|linked|Q13759}}
|-
|19||Camarines Norte||[[:wikidata:Q13763|Q13763]]||{{wikidata|label|linked|Q13763}}||{{wikidata|title|linked|Q13763}}
|-
|20||Camarines Sur||[[:wikidata:Q13767|Q13767]]||{{wikidata|label|linked|Q13767}}||{{wikidata|title|linked|Q13767}}
|-
|21||Camiguin||[[:wikidata:Q13769|Q13769]]||{{wikidata|label|linked|Q13769}}||{{wikidata|title|linked|Q13769}}
|-
|22||Capiz||[[:wikidata:Q13772|Q13772]]||{{wikidata|label|linked|Q13772}}||{{wikidata|title|linked|Q13772}}
|-
|23||Catanduanes||[[:wikidata:Q13778|Q13778]]||{{wikidata|label|linked|Q13778}}||{{wikidata|title|linked|Q13778}}
|-
|24||Cavite||[[:wikidata:Q13785|Q13785]]||{{wikidata|label|linked|Q13785}}||{{wikidata|title|linked|Q13785}}
|-
|25||Cebu||[[:wikidata:Q13786|Q13786]]||{{wikidata|label|linked|Q13786}}||{{wikidata|title|linked|Q13786}}
|-
|26||Cotabato||[[:wikidata:Q13791|Q13791]]||{{wikidata|label|linked|Q13791}}||{{wikidata|title|linked|Q13791}}
|-
|27||Davao de Oro||[[:wikidata:Q13789|Q13789]]||{{wikidata|label|linked|Q13789}}||{{wikidata|title|linked|Q13789}}
|-
|28||Davao del Norte||[[:wikidata:Q13792|Q13792]]||{{wikidata|label|linked|Q13792}}||{{wikidata|title|linked|Q13792}}
|-
|29||Davao del Sur||[[:wikidata:Q13794|Q13794]]||{{wikidata|label|linked|Q13794}}||{{wikidata|title|linked|Q13794}}
|-
|30||Davao Occidental||[[:wikidata:Q3656379|Q3656379]]||{{wikidata|label|linked|Q3656379}}||{{wikidata|title|linked|Q3656379}}
|-
|31||Davao Oriental||[[:wikidata:Q13806|Q13806]]||{{wikidata|label|linked|Q13806}}||{{wikidata|title|linked|Q13806}}
|-
|32||Dinagat Islands||[[:wikidata:Q13807|Q13807]]||{{wikidata|label|linked|Q13807}}||{{wikidata|title|linked|Q13807}}
|-
|33||Eastern Samar||[[:wikidata:Q13809|Q13809]]||{{wikidata|label|linked|Q13809}}||{{wikidata|title|linked|Q13809}}
|-
|34||Guimaras||[[:wikidata:Q13810|Q13810]]||{{wikidata|label|linked|Q13810}}||{{wikidata|title|linked|Q13810}}
|-
|35||Ifugao||[[:wikidata:Q13812|Q13812]]||{{wikidata|label|linked|Q13812}}||{{wikidata|title|linked|Q13812}}
|-
|36||Ilocos Norte||[[:wikidata:Q13813|Q13813]]||{{wikidata|label|linked|Q13813}}||{{wikidata|title|linked|Q13813}}
|-
|37||Ilocos Sur||[[:wikidata:Q12741|Q12741]]||{{wikidata|label|linked|Q12741}}||{{wikidata|title|linked|Q12741}}
|-
|38||Iloilo||[[:wikidata:Q13825|Q13825]]||{{wikidata|label|linked|Q13825}}||{{wikidata|title|linked|Q13825}}
|-
|39||Isabela||[[:wikidata:Q13826|Q13826]]||{{wikidata|label|linked|Q13826}}||{{wikidata|title|linked|Q13826}}
|-
|40||Kalinga||[[:wikidata:Q13827|Q13827]]||{{wikidata|label|linked|Q13827}}||{{wikidata|title|linked|Q13827}}
|-
|41||La Union||[[:wikidata:Q13829|Q13829]]||{{wikidata|label|linked|Q13829}}||{{wikidata|title|linked|Q13829}}
|-
|42||Laguna||[[:wikidata:Q13840|Q13840]]||{{wikidata|label|linked|Q13840}}||{{wikidata|title|linked|Q13840}}
|-
|43||Lanao del Norte||[[:wikidata:Q13841|Q13841]]||{{wikidata|label|linked|Q13841}}||{{wikidata|title|linked|Q13841}}
|-
|44||Lanao del Sur||[[:wikidata:Q13843|Q13843]]||{{wikidata|label|linked|Q13843}}||{{wikidata|title|linked|Q13843}}
|-
|45||Leyte||[[:wikidata:Q13844|Q13844]]||{{wikidata|label|linked|Q13844}}||{{wikidata|title|linked|Q13844}}
|-
|46||Maguindanao del Norte||[[:wikidata:Q114019739|Q114019739]]||{{wikidata|label|linked|Q114019739}}||{{wikidata|title|linked|Q114019739}}
|-
|47||Maguindanao del Sur||[[:wikidata:Q114019748|Q114019748]]||{{wikidata|label|linked|Q114019748}}||{{wikidata|title|linked|Q114019748}}
|-
|48||Marinduque||[[:wikidata:Q13846|Q13846]]||{{wikidata|label|linked|Q13846}}||{{wikidata|title|linked|Q13846}}
|-
|49||Masbate||[[:wikidata:Q13847|Q13847]]||{{wikidata|label|linked|Q13847}}||{{wikidata|title|linked|Q13847}}
|-
|50||Misamis Occidental||[[:wikidata:Q13857|Q13857]]||{{wikidata|label|linked|Q13857}}||{{wikidata|title|linked|Q13857}}
|-
|51||Misamis Oriental||[[:wikidata:Q13860|Q13860]]||{{wikidata|label|linked|Q13860}}||{{wikidata|title|linked|Q13860}}
|-
|52||Mountain Province||[[:wikidata:Q13861|Q13861]]||{{wikidata|label|linked|Q13861}}||{{wikidata|title|linked|Q13861}}
|-
|53||Negros Occidental||[[:wikidata:Q13862|Q13862]]||{{wikidata|label|linked|Q13862}}||{{wikidata|title|linked|Q13862}}
|-
|54||Negros Oriental||[[:wikidata:Q13863|Q13863]]||{{wikidata|label|linked|Q13863}}||{{wikidata|title|linked|Q13863}}
|-
|55||Northern Samar||[[:wikidata:Q13864|Q13864]]||{{wikidata|label|linked|Q13864}}||{{wikidata|title|linked|Q13864}}
|-
|56||Nueva Ecija||[[:wikidata:Q13865|Q13865]]||{{wikidata|label|linked|Q13865}}||{{wikidata|title|linked|Q13865}}
|-
|57||Nueva Vizcaya||[[:wikidata:Q13866|Q13866]]||{{wikidata|label|linked|Q13866}}||{{wikidata|title|linked|Q13866}}
|-
|58||Occidental Mindoro||[[:wikidata:Q13867|Q13867]]||{{wikidata|label|linked|Q13867}}||{{wikidata|title|linked|Q13867}}
|-
|59||Oriental Mindoro||[[:wikidata:Q13868|Q13868]]||{{wikidata|label|linked|Q13868}}||{{wikidata|title|linked|Q13868}}
|-
|60||Palawan||[[:wikidata:Q13869|Q13869]]||{{wikidata|label|linked|Q13869}}||{{wikidata|title|linked|Q13869}}
|-
|61||Pampanga||[[:wikidata:Q13870|Q13870]]||{{wikidata|label|linked|Q13870}}||{{wikidata|title|linked|Q13870}}
|-
|62||Pangasinan||[[:wikidata:Q13871|Q13871]]||{{wikidata|label|linked|Q13871}}||{{wikidata|title|linked|Q13871}}
|-
|63||Quezon||[[:wikidata:Q13872|Q13872]]||{{wikidata|label|linked|Q13872}}||{{wikidata|title|linked|Q13872}}
|-
|64||Quirino||[[:wikidata:Q13873|Q13873]]||{{wikidata|label|linked|Q13873}}||{{wikidata|title|linked|Q13873}}
|-
|65||Rizal||[[:wikidata:Q13874|Q13874]]||{{wikidata|label|linked|Q13874}}||{{wikidata|title|linked|Q13874}}
|-
|66||Romblon||[[:wikidata:Q13875|Q13875]]||{{wikidata|label|linked|Q13875}}||{{wikidata|title|linked|Q13875}}
|-
|67||Samar||[[:wikidata:Q13876|Q13876]]||{{wikidata|label|linked|Q13876}}||{{wikidata|title|linked|Q13876}}
|-
|68||Sarangani||[[:wikidata:Q13877|Q13877]]||{{wikidata|label|linked|Q13877}}||{{wikidata|title|linked|Q13877}}
|-
|69||Siquijor||[[:wikidata:Q13879|Q13879]]||{{wikidata|label|linked|Q13879}}||{{wikidata|title|linked|Q13879}}
|-
|70||Sorsogon||[[:wikidata:Q13881|Q13881]]||{{wikidata|label|linked|Q13881}}||{{wikidata|title|linked|Q13881}}
|-
|71||South Cotabato||[[:wikidata:Q13882|Q13882]]||{{wikidata|label|linked|Q13882}}||{{wikidata|title|linked|Q13882}}
|-
|72||Southern Leyte||[[:wikidata:Q13884|Q13884]]||{{wikidata|label|linked|Q13884}}||{{wikidata|title|linked|Q13884}}
|-
|73||Sultan Kudarat||[[:wikidata:Q13885|Q13885]]||{{wikidata|label|linked|Q13885}}||{{wikidata|title|linked|Q13885}}
|-
|74||Sulu||[[:wikidata:Q13887|Q13887]]||{{wikidata|label|linked|Q13887}}||{{wikidata|title|linked|Q13887}}
|-
|75||Surigao del Norte||[[:wikidata:Q13889|Q13889]]||{{wikidata|label|linked|Q13889}}||{{wikidata|title|linked|Q13889}}
|-
|76||Surigao del Sur||[[:wikidata:Q13891|Q13891]]||{{wikidata|label|linked|Q13891}}||{{wikidata|title|linked|Q13891}}
|-
|77||Tarlac||[[:wikidata:Q13892|Q13892]]||{{wikidata|label|linked|Q13892}}||{{wikidata|title|linked|Q13892}}
|-
|78||Tawi-Tawi||[[:wikidata:Q13893|Q13893]]||{{wikidata|label|linked|Q13893}}||{{wikidata|title|linked|Q13893}}
|-
|79||Zambales||[[:wikidata:Q13895|Q13895]]||{{wikidata|label|linked|Q13895}}||{{wikidata|title|linked|Q13895}}
|-
|80||Zamboanga del Norte||[[:wikidata:Q13899|Q13899]]||{{wikidata|label|linked|Q13899}}||{{wikidata|title|linked|Q13899}}
|-
|81||Zamboanga del Sur||[[:wikidata:Q13900|Q13900]]||{{wikidata|label|linked|Q13900}}||{{wikidata|title|linked|Q13900}}
|-
|82||Zamboanga Sibugay||[[:wikidata:Q13902|Q13902]]||{{wikidata|label|linked|Q13902}}||{{wikidata|title|linked|Q13902}}
|}
{| class="wikitable sortable" style="background-color:white;font-size:80%;line-height:1.40em;"
!No.!!LGU!!Wikidata link!!LGU1!!LGU2!!Province!!Type
|-
|1||Kadayangan||[[:wikidata:Q31508396|Q31508396]]||{{wikidata|label|linked|Q31508396}}||{{wikidata|title|linked|Q31508396}}||SGA||Bayan
|-
|2||Kapalawan||[[:wikidata:Q31508433|Q31508433]]||{{wikidata|label|linked|Q31508433}}||{{wikidata|title|linked|Q31508433}}||SGA||Bayan
|-
|3||Ligawasan||[[:wikidata:Q31508452|Q31508452]]||{{wikidata|label|linked|Q31508452}}||{{wikidata|title|linked|Q31508452}}||SGA||Bayan
|-
|4||Malidegao||[[:wikidata:Q31508472|Q31508472]]||{{wikidata|label|linked|Q31508472}}||{{wikidata|title|linked|Q31508472}}||SGA||Bayan
|-
|5||Nabalawag||[[:wikidata:Q31508492|Q31508492]]||{{wikidata|label|linked|Q31508492}}||{{wikidata|title|linked|Q31508492}}||SGA||Bayan
|-
|6||Old Kaabakan||[[:wikidata:Q31508510|Q31508510]]||{{wikidata|label|linked|Q31508510}}||{{wikidata|title|linked|Q31508510}}||SGA||Bayan
|-
|7||Pahamuddin||[[:wikidata:Q31508528|Q31508528]]||{{wikidata|label|linked|Q31508528}}||{{wikidata|title|linked|Q31508528}}||SGA||Bayan
|-
|8||Tugunan||[[:wikidata:Q31508546|Q31508546]]||{{wikidata|label|linked|Q31508546}}||{{wikidata|title|linked|Q31508546}}||SGA||Bayan
|-
|9||Bongao||[[:wikidata:Q155195|Q155195]]||{{wikidata|label|linked|Q155195}}||{{wikidata|title|linked|Q155195}}||Tawi-Tawi||Bayan
|-
|10||Languyan||[[:wikidata:Q155221|Q155221]]||{{wikidata|label|linked|Q155221}}||{{wikidata|title|linked|Q155221}}||Tawi-Tawi||Bayan
|-
|11||Mapun||[[:wikidata:Q155241|Q155241]]||{{wikidata|label|linked|Q155241}}||{{wikidata|title|linked|Q155241}}||Tawi-Tawi||Bayan
|-
|12||Panglima Sugala||[[:wikidata:Q155259|Q155259]]||{{wikidata|label|linked|Q155259}}||{{wikidata|title|linked|Q155259}}||Tawi-Tawi||Bayan
|-
|13||Sapa-Sapa||[[:wikidata:Q155274|Q155274]]||{{wikidata|label|linked|Q155274}}||{{wikidata|title|linked|Q155274}}||Tawi-Tawi||Bayan
|-
|14||Sibutu||[[:wikidata:Q155288|Q155288]]||{{wikidata|label|linked|Q155288}}||{{wikidata|title|linked|Q155288}}||Tawi-Tawi||Bayan
|-
|15||Simunul||[[:wikidata:Q155318|Q155318]]||{{wikidata|label|linked|Q155318}}||{{wikidata|title|linked|Q155318}}||Tawi-Tawi||Bayan
|-
|16||Sitangkai||[[:wikidata:Q155334|Q155334]]||{{wikidata|label|linked|Q155334}}||{{wikidata|title|linked|Q155334}}||Tawi-Tawi||Bayan
|-
|17||South Ubian||[[:wikidata:Q155355|Q155355]]||{{wikidata|label|linked|Q155355}}||{{wikidata|title|linked|Q155355}}||Tawi-Tawi||Bayan
|-
|18||Tandubas||[[:wikidata:Q155377|Q155377]]||{{wikidata|label|linked|Q155377}}||{{wikidata|title|linked|Q155377}}||Tawi-Tawi||Bayan
|-
|19||Turtle Islands||[[:wikidata:Q155396|Q155396]]||{{wikidata|label|linked|Q155396}}||{{wikidata|title|linked|Q155396}}||Tawi-Tawi||Bayan
|-
|20||Banguingui||[[:wikidata:Q155970|Q155970]]||{{wikidata|label|linked|Q155970}}||{{wikidata|title|linked|Q155970}}||Sulu||Bayan
|-
|21||Hadji Panglima Tahil||[[:wikidata:Q155983|Q155983]]||{{wikidata|label|linked|Q155983}}||{{wikidata|title|linked|Q155983}}||Sulu||Bayan
|-
|22||Indanan||[[:wikidata:Q156008|Q156008]]||{{wikidata|label|linked|Q156008}}||{{wikidata|title|linked|Q156008}}||Sulu||Bayan
|-
|23||Jolo||[[:wikidata:Q156024|Q156024]]||{{wikidata|label|linked|Q156024}}||{{wikidata|title|linked|Q156024}}||Sulu||Bayan
|-
|24||Kalingalan Caluang||[[:wikidata:Q156042|Q156042]]||{{wikidata|label|linked|Q156042}}||{{wikidata|title|linked|Q156042}}||Sulu||Bayan
|-
|25||Lugus||[[:wikidata:Q156055|Q156055]]||{{wikidata|label|linked|Q156055}}||{{wikidata|title|linked|Q156055}}||Sulu||Bayan
|-
|26||Luuk||[[:wikidata:Q156071|Q156071]]||{{wikidata|label|linked|Q156071}}||{{wikidata|title|linked|Q156071}}||Sulu||Bayan
|-
|27||Maimbung||[[:wikidata:Q156090|Q156090]]||{{wikidata|label|linked|Q156090}}||{{wikidata|title|linked|Q156090}}||Sulu||Bayan
|-
|28||Panamao||[[:wikidata:Q156107|Q156107]]||{{wikidata|label|linked|Q156107}}||{{wikidata|title|linked|Q156107}}||Sulu||Bayan
|-
|29||Omar||[[:wikidata:Q156126|Q156126]]||{{wikidata|label|linked|Q156126}}||{{wikidata|title|linked|Q156126}}||Sulu||Bayan
|-
|30||Pandami||[[:wikidata:Q156159|Q156159]]||{{wikidata|label|linked|Q156159}}||{{wikidata|title|linked|Q156159}}||Sulu||Bayan
|-
|31||Panglima Estino||[[:wikidata:Q156180|Q156180]]||{{wikidata|label|linked|Q156180}}||{{wikidata|title|linked|Q156180}}||Sulu||Bayan
|-
|32||Pangutaran||[[:wikidata:Q156195|Q156195]]||{{wikidata|label|linked|Q156195}}||{{wikidata|title|linked|Q156195}}||Sulu||Bayan
|-
|33||Parang||[[:wikidata:Q156208|Q156208]]||{{wikidata|label|linked|Q156208}}||{{wikidata|title|linked|Q156208}}||Sulu||Bayan
|-
|34||Pata||[[:wikidata:Q156225|Q156225]]||{{wikidata|label|linked|Q156225}}||{{wikidata|title|linked|Q156225}}||Sulu||Bayan
|-
|35||Patikul||[[:wikidata:Q156244|Q156244]]||{{wikidata|label|linked|Q156244}}||{{wikidata|title|linked|Q156244}}||Sulu||Bayan
|-
|36||Siasi||[[:wikidata:Q156263|Q156263]]||{{wikidata|label|linked|Q156263}}||{{wikidata|title|linked|Q156263}}||Sulu||Bayan
|-
|37||Talipao||[[:wikidata:Q156285|Q156285]]||{{wikidata|label|linked|Q156285}}||{{wikidata|title|linked|Q156285}}||Sulu||Bayan
|-
|38||Tapul||[[:wikidata:Q156302|Q156302]]||{{wikidata|label|linked|Q156302}}||{{wikidata|title|linked|Q156302}}||Sulu||Bayan
|-
|39||Ampatuan||[[:wikidata:Q212222|Q212222]]||{{wikidata|label|linked|Q212222}}||{{wikidata|title|linked|Q212222}}||Maguindanao del Sur||Bayan
|-
|40||Buluan||[[:wikidata:Q212280|Q212280]]||{{wikidata|label|linked|Q212280}}||{{wikidata|title|linked|Q212280}}||Maguindanao del Sur||Bayan
|-
|41||Datu Abdullah Sangki||[[:wikidata:Q212310|Q212310]]||{{wikidata|label|linked|Q212310}}||{{wikidata|title|linked|Q212310}}||Maguindanao del Sur||Bayan
|-
|42||Datu Anggal Midtimbang||[[:wikidata:Q212336|Q212336]]||{{wikidata|label|linked|Q212336}}||{{wikidata|title|linked|Q212336}}||Maguindanao del Sur||Bayan
|-
|43||Datu Hoffer Ampatuan||[[:wikidata:Q212389|Q212389]]||{{wikidata|label|linked|Q212389}}||{{wikidata|title|linked|Q212389}}||Maguindanao del Sur||Bayan
|-
|44||Datu Montawal||[[:wikidata:Q212411|Q212411]]||{{wikidata|label|linked|Q212411}}||{{wikidata|title|linked|Q212411}}||Maguindanao del Sur||Bayan
|-
|45||Datu Odin Sinsuat||[[:wikidata:Q212432|Q212432]]||{{wikidata|label|linked|Q212432}}||{{wikidata|title|linked|Q212432}}||Maguindanao del Sur||Bayan
|-
|46||Datu Paglas||[[:wikidata:Q212463|Q212463]]||{{wikidata|label|linked|Q212463}}||{{wikidata|title|linked|Q212463}}||Maguindanao del Sur||Bayan
|-
|47||Datu Piang||[[:wikidata:Q212488|Q212488]]||{{wikidata|label|linked|Q212488}}||{{wikidata|title|linked|Q212488}}||Maguindanao del Sur||Bayan
|-
|48||Datu Salibo||[[:wikidata:Q212503|Q212503]]||{{wikidata|label|linked|Q212503}}||{{wikidata|title|linked|Q212503}}||Maguindanao del Sur||Bayan
|-
|49||Datu Saudi Ampatuan||[[:wikidata:Q212519|Q212519]]||{{wikidata|label|linked|Q212519}}||{{wikidata|title|linked|Q212519}}||Maguindanao del Sur||Bayan
|-
|50||Datu Unsay||[[:wikidata:Q212537|Q212537]]||{{wikidata|label|linked|Q212537}}||{{wikidata|title|linked|Q212537}}||Maguindanao del Sur||Bayan
|-
|51||General Salipada K. Pendatun||[[:wikidata:Q212557|Q212557]]||{{wikidata|label|linked|Q212557}}||{{wikidata|title|linked|Q212557}}||Maguindanao del Sur||Bayan
|-
|52||Guindulungan||[[:wikidata:Q212581|Q212581]]||{{wikidata|label|linked|Q212581}}||{{wikidata|title|linked|Q212581}}||Maguindanao del Sur||Bayan
|-
|53||Mamasapano||[[:wikidata:Q212623|Q212623]]||{{wikidata|label|linked|Q212623}}||{{wikidata|title|linked|Q212623}}||Maguindanao del Sur||Bayan
|-
|54||Mangudadatu||[[:wikidata:Q212644|Q212644]]||{{wikidata|label|linked|Q212644}}||{{wikidata|title|linked|Q212644}}||Maguindanao del Sur||Bayan
|-
|55||Pagalungan||[[:wikidata:Q212707|Q212707]]||{{wikidata|label|linked|Q212707}}||{{wikidata|title|linked|Q212707}}||Maguindanao del Sur||Bayan
|-
|56||Paglat||[[:wikidata:Q122827|Q122827]]||{{wikidata|label|linked|Q122827}}||{{wikidata|title|linked|Q122827}}||Maguindanao del Sur||Bayan
|-
|57||Pandag||[[:wikidata:Q212735|Q212735]]||{{wikidata|label|linked|Q212735}}||{{wikidata|title|linked|Q212735}}||Maguindanao del Sur||Bayan
|-
|58||Rajah Buayan||[[:wikidata:Q212759|Q212759]]||{{wikidata|label|linked|Q212759}}||{{wikidata|title|linked|Q212759}}||Maguindanao del Sur||Bayan
|-
|59||Shariff Aguak||[[:wikidata:Q212766|Q212766]]||{{wikidata|label|linked|Q212766}}||{{wikidata|title|linked|Q212766}}||Maguindanao del Sur||Bayan
|-
|60||Shariff Saydona Mustapha||[[:wikidata:Q212778|Q212778]]||{{wikidata|label|linked|Q212778}}||{{wikidata|title|linked|Q212778}}||Maguindanao del Sur||Bayan
|-
|61||South Upi||[[:wikidata:Q212784|Q212784]]||{{wikidata|label|linked|Q212784}}||{{wikidata|title|linked|Q212784}}||Maguindanao del Sur||Bayan
|-
|62||Sultan sa Barongis||[[:wikidata:Q212808|Q212808]]||{{wikidata|label|linked|Q212808}}||{{wikidata|title|linked|Q212808}}||Maguindanao del Sur||Bayan
|-
|63||Talayan||[[:wikidata:Q212823|Q212823]]||{{wikidata|label|linked|Q212823}}||{{wikidata|title|linked|Q212823}}||Maguindanao del Sur||Bayan
|-
|64||Upi||[[:wikidata:Q212843|Q212843]]||{{wikidata|label|linked|Q212843}}||{{wikidata|title|linked|Q212843}}||Maguindanao del Sur||Bayan
|-
|65||Barira||[[:wikidata:Q212240|Q212240]]||{{wikidata|label|linked|Q212240}}||{{wikidata|title|linked|Q212240}}||Maguindanao del Norte||Bayan
|-
|66||Buldon||[[:wikidata:Q212255|Q212255]]||{{wikidata|label|linked|Q212255}}||{{wikidata|title|linked|Q212255}}||Maguindanao del Norte||Bayan
|-
|67||Cotabato City||[[:wikidata:Q726993|Q726993]]||{{wikidata|label|linked|Q726993}}||{{wikidata|title|linked|Q726993}}||Maguindanao del Norte||Lungsod
|-
|68||Datu Blah T. Sinsuat||[[:wikidata:Q212366|Q212366]]||{{wikidata|label|linked|Q212366}}||{{wikidata|title|linked|Q212366}}||Maguindanao del Norte||Bayan
|-
|69||Kabuntalan||[[:wikidata:Q212603|Q212603]]||{{wikidata|label|linked|Q212603}}||{{wikidata|title|linked|Q212603}}||Maguindanao del Norte||Bayan
|-
|70||Matanog||[[:wikidata:Q212662|Q212662]]||{{wikidata|label|linked|Q212662}}||{{wikidata|title|linked|Q212662}}||Maguindanao del Norte||Bayan
|-
|71||Northern Kabuntalan||[[:wikidata:Q212684|Q212684]]||{{wikidata|label|linked|Q212684}}||{{wikidata|title|linked|Q212684}}||Maguindanao del Norte||Bayan
|-
|72||Parang||[[:wikidata:Q212748|Q212748]]||{{wikidata|label|linked|Q212748}}||{{wikidata|title|linked|Q212748}}||Maguindanao del Norte||Bayan
|-
|73||Sultan Kudarat||[[:wikidata:Q212791|Q212791]]||{{wikidata|label|linked|Q212791}}||{{wikidata|title|linked|Q212791}}||Maguindanao del Norte||Bayan
|-
|74||Sultan Mastura||[[:wikidata:Q212802|Q212802]]||{{wikidata|label|linked|Q212802}}||{{wikidata|title|linked|Q212802}}||Maguindanao del Norte||Bayan
|-
|75||Talitay||[[:wikidata:Q212830|Q212830]]||{{wikidata|label|linked|Q212830}}||{{wikidata|title|linked|Q212830}}||Maguindanao del Norte||Bayan
|-
|76||Amai Manabilang||[[:wikidata:Q273775|Q273775]]||{{wikidata|label|linked|Q273775}}||{{wikidata|title|linked|Q273775}}||Lanao del Sur||Bayan
|-
|77||Bacolod-Kalawi||[[:wikidata:Q273657|Q273657]]||{{wikidata|label|linked|Q273657}}||{{wikidata|title|linked|Q273657}}||Lanao del Sur||Bayan
|-
|78||Balabagan||[[:wikidata:Q273680|Q273680]]||{{wikidata|label|linked|Q273680}}||{{wikidata|title|linked|Q273680}}||Lanao del Sur||Bayan
|-
|79||Balindong||[[:wikidata:Q273700|Q273700]]||{{wikidata|label|linked|Q273700}}||{{wikidata|title|linked|Q273700}}||Lanao del Sur||Bayan
|-
|80||Bayang||[[:wikidata:Q273718|Q273718]]||{{wikidata|label|linked|Q273718}}||{{wikidata|title|linked|Q273718}}||Lanao del Sur||Bayan
|-
|81||Binidayan||[[:wikidata:Q273728|Q273728]]||{{wikidata|label|linked|Q273728}}||{{wikidata|title|linked|Q273728}}||Lanao del Sur||Bayan
|-
|82||Buadiposo-Buntong||[[:wikidata:Q273744|Q273744]]||{{wikidata|label|linked|Q273744}}||{{wikidata|title|linked|Q273744}}||Lanao del Sur||Bayan
|-
|83||Bubong||[[:wikidata:Q273757|Q273757]]||{{wikidata|label|linked|Q273757}}||{{wikidata|title|linked|Q273757}}||Lanao del Sur||Bayan
|-
|84||Butig||[[:wikidata:Q273796|Q273796]]||{{wikidata|label|linked|Q273796}}||{{wikidata|title|linked|Q273796}}||Lanao del Sur||Bayan
|-
|85||Calanogas||[[:wikidata:Q273813|Q273813]]||{{wikidata|label|linked|Q273813}}||{{wikidata|title|linked|Q273813}}||Lanao del Sur||Bayan
|-
|86||Ditsaan-Ramain||[[:wikidata:Q273828|Q273828]]||{{wikidata|label|linked|Q273828}}||{{wikidata|title|linked|Q273828}}||Lanao del Sur||Bayan
|-
|87||Ganassi||[[:wikidata:Q273851|Q273851]]||{{wikidata|label|linked|Q273851}}||{{wikidata|title|linked|Q273851}}||Lanao del Sur||Bayan
|-
|88||Kapai||[[:wikidata:Q273864|Q273864]]||{{wikidata|label|linked|Q273864}}||{{wikidata|title|linked|Q273864}}||Lanao del Sur||Bayan
|-
|89||Kapatagan||[[:wikidata:Q273882|Q273882]]||{{wikidata|label|linked|Q273882}}||{{wikidata|title|linked|Q273882}}||Lanao del Sur||Bayan
|-
|90||Lumba-Bayabao||[[:wikidata:Q273895|Q273895]]||{{wikidata|label|linked|Q273895}}||{{wikidata|title|linked|Q273895}}||Lanao del Sur||Bayan
|-
|91||Lumbaca-Unayan||[[:wikidata:Q273906|Q273906]]||{{wikidata|label|linked|Q273906}}||{{wikidata|title|linked|Q273906}}||Lanao del Sur||Bayan
|-
|92||Lumbatan||[[:wikidata:Q273915|Q273915]]||{{wikidata|label|linked|Q273915}}||{{wikidata|title|linked|Q273915}}||Lanao del Sur||Bayan
|-
|93||Lumbayanague||[[:wikidata:Q273928|Q273928]]||{{wikidata|label|linked|Q273928}}||{{wikidata|title|linked|Q273928}}||Lanao del Sur||Bayan
|-
|94||Madalum||[[:wikidata:Q273939|Q273939]]||{{wikidata|label|linked|Q273939}}||{{wikidata|title|linked|Q273939}}||Lanao del Sur||Bayan
|-
|95||Madamba||[[:wikidata:Q273948|Q273948]]||{{wikidata|label|linked|Q273948}}||{{wikidata|title|linked|Q273948}}||Lanao del Sur||Bayan
|-
|96||Maguing||[[:wikidata:Q273960|Q273960]]||{{wikidata|label|linked|Q273960}}||{{wikidata|title|linked|Q273960}}||Lanao del Sur||Bayan
|-
|97||Malabang||[[:wikidata:Q273970|Q273970]]||{{wikidata|label|linked|Q273970}}||{{wikidata|title|linked|Q273970}}||Lanao del Sur||Bayan
|-
|98||Marantao||[[:wikidata:Q273982|Q273982]]||{{wikidata|label|linked|Q273982}}||{{wikidata|title|linked|Q273982}}||Lanao del Sur||Bayan
|-
|99||Marawi||[[:wikidata:Q592338|Q592338]]||{{wikidata|label|linked|Q592338}}||{{wikidata|title|linked|Q592338}}||Lanao del Sur||Lungsod
|-
|100||Marogong||[[:wikidata:Q273988|Q273988]]||{{wikidata|label|linked|Q273988}}||{{wikidata|title|linked|Q273988}}||Lanao del Sur||Bayan
|-
|101||Masiu||[[:wikidata:Q273998|Q273998]]||{{wikidata|label|linked|Q273998}}||{{wikidata|title|linked|Q273998}}||Lanao del Sur||Bayan
|-
|102||Mulondo||[[:wikidata:Q177004|Q177004]]||{{wikidata|label|linked|Q177004}}||{{wikidata|title|linked|Q177004}}||Lanao del Sur||Bayan
|-
|103||Pagayawan||[[:wikidata:Q274015|Q274015]]||{{wikidata|label|linked|Q274015}}||{{wikidata|title|linked|Q274015}}||Lanao del Sur||Bayan
|-
|104||Piagapo||[[:wikidata:Q274022|Q274022]]||{{wikidata|label|linked|Q274022}}||{{wikidata|title|linked|Q274022}}||Lanao del Sur||Bayan
|-
|105||Picong||[[:wikidata:Q274031|Q274031]]||{{wikidata|label|linked|Q274031}}||{{wikidata|title|linked|Q274031}}||Lanao del Sur||Bayan
|-
|106||Poona Bayabao||[[:wikidata:Q274037|Q274037]]||{{wikidata|label|linked|Q274037}}||{{wikidata|title|linked|Q274037}}||Lanao del Sur||Bayan
|-
|107||Pualas||[[:wikidata:Q274047|Q274047]]||{{wikidata|label|linked|Q274047}}||{{wikidata|title|linked|Q274047}}||Lanao del Sur||Bayan
|-
|108||Saguiaran||[[:wikidata:Q274057|Q274057]]||{{wikidata|label|linked|Q274057}}||{{wikidata|title|linked|Q274057}}||Lanao del Sur||Bayan
|-
|109||Sultan Dumalondong||[[:wikidata:Q126297|Q126297]]||{{wikidata|label|linked|Q126297}}||{{wikidata|title|linked|Q126297}}||Lanao del Sur||Bayan
|-
|110||Tagoloan||[[:wikidata:Q274077|Q274077]]||{{wikidata|label|linked|Q274077}}||{{wikidata|title|linked|Q274077}}||Lanao del Sur||Bayan
|-
|111||Tamparan||[[:wikidata:Q274087|Q274087]]||{{wikidata|label|linked|Q274087}}||{{wikidata|title|linked|Q274087}}||Lanao del Sur||Bayan
|-
|112||Taraka||[[:wikidata:Q274097|Q274097]]||{{wikidata|label|linked|Q274097}}||{{wikidata|title|linked|Q274097}}||Lanao del Sur||Bayan
|-
|113||Tubaran||[[:wikidata:Q274114|Q274114]]||{{wikidata|label|linked|Q274114}}||{{wikidata|title|linked|Q274114}}||Lanao del Sur||Bayan
|-
|114||Tugaya||[[:wikidata:Q274124|Q274124]]||{{wikidata|label|linked|Q274124}}||{{wikidata|title|linked|Q274124}}||Lanao del Sur||Bayan
|-
|115||Wao||[[:wikidata:Q274134|Q274134]]||{{wikidata|label|linked|Q274134}}||{{wikidata|title|linked|Q274134}}||Lanao del Sur||Bayan
|-
|116||Akbar||[[:wikidata:Q42589|Q42589]]||{{wikidata|label|linked|Q42589}}||{{wikidata|title|linked|Q42589}}||Basilan||Bayan
|-
|117||Al-Barka||[[:wikidata:Q41999|Q41999]]||{{wikidata|label|linked|Q41999}}||{{wikidata|title|linked|Q41999}}||Basilan||Bayan
|-
|118||Hadji Mohammad Ajul||[[:wikidata:Q41998|Q41998]]||{{wikidata|label|linked|Q41998}}||{{wikidata|title|linked|Q41998}}||Basilan||Bayan
|-
|119||Hadji Muhtamad||[[:wikidata:Q802075|Q802075]]||{{wikidata|label|linked|Q802075}}||{{wikidata|title|linked|Q802075}}||Basilan||Bayan
|-
|120||Isabela||[[:wikidata:Q1710|Q1710]]||{{wikidata|label|linked|Q1710}}||{{wikidata|title|linked|Q1710}}||Basilan||Lungsod
|-
|121||Lamitan||[[:wikidata:Q1714|Q1714]]||{{wikidata|label|linked|Q1714}}||{{wikidata|title|linked|Q1714}}||Basilan||Lungsod
|-
|122||Lantawan||[[:wikidata:Q802107|Q802107]]||{{wikidata|label|linked|Q802107}}||{{wikidata|title|linked|Q802107}}||Basilan||Bayan
|-
|123||Maluso||[[:wikidata:Q802142|Q802142]]||{{wikidata|label|linked|Q802142}}||{{wikidata|title|linked|Q802142}}||Basilan||Bayan
|-
|124||Sumisip||[[:wikidata:Q802171|Q802171]]||{{wikidata|label|linked|Q802171}}||{{wikidata|title|linked|Q802171}}||Basilan||Bayan
|-
|125||Tabuan-Lasa||[[:wikidata:Q802202|Q802202]]||{{wikidata|label|linked|Q802202}}||{{wikidata|title|linked|Q802202}}||Basilan||Bayan
|-
|126||Tipo-Tipo||[[:wikidata:Q667595|Q667595]]||{{wikidata|label|linked|Q667595}}||{{wikidata|title|linked|Q667595}}||Basilan||Bayan
|-
|127||Tuburan||[[:wikidata:Q630096|Q630096]]||{{wikidata|label|linked|Q630096}}||{{wikidata|title|linked|Q630096}}||Basilan||Bayan
|-
|128||Ungkaya Pukan||[[:wikidata:Q204771|Q204771]]||{{wikidata|label|linked|Q204771}}||{{wikidata|title|linked|Q204771}}||Basilan||Bayan
|-
|129||Bagumbayan||[[:wikidata:Q173393|Q173393]]||{{wikidata|label|linked|Q173393}}||{{wikidata|title|linked|Q173393}}||Sultan Kudarat||Bayan
|-
|130||Columbio||[[:wikidata:Q173404|Q173404]]||{{wikidata|label|linked|Q173404}}||{{wikidata|title|linked|Q173404}}||Sultan Kudarat||Bayan
|-
|131||Esperanza||[[:wikidata:Q173414|Q173414]]||{{wikidata|label|linked|Q173414}}||{{wikidata|title|linked|Q173414}}||Sultan Kudarat||Bayan
|-
|132||Isulan||[[:wikidata:Q173428|Q173428]]||{{wikidata|label|linked|Q173428}}||{{wikidata|title|linked|Q173428}}||Sultan Kudarat||Bayan
|-
|133||Kalamansig||[[:wikidata:Q173438|Q173438]]||{{wikidata|label|linked|Q173438}}||{{wikidata|title|linked|Q173438}}||Sultan Kudarat||Bayan
|-
|134||Lambayong||[[:wikidata:Q173449|Q173449]]||{{wikidata|label|linked|Q173449}}||{{wikidata|title|linked|Q173449}}||Sultan Kudarat||Bayan
|-
|135||Lebak||[[:wikidata:Q173460|Q173460]]||{{wikidata|label|linked|Q173460}}||{{wikidata|title|linked|Q173460}}||Sultan Kudarat||Bayan
|-
|136||Lutayan||[[:wikidata:Q173468|Q173468]]||{{wikidata|label|linked|Q173468}}||{{wikidata|title|linked|Q173468}}||Sultan Kudarat||Bayan
|-
|137||Palimbang||[[:wikidata:Q173479|Q173479]]||{{wikidata|label|linked|Q173479}}||{{wikidata|title|linked|Q173479}}||Sultan Kudarat||Bayan
|-
|138||President Quirino||[[:wikidata:Q137813|Q137813]]||{{wikidata|label|linked|Q137813}}||{{wikidata|title|linked|Q137813}}||Sultan Kudarat||Bayan
|-
|139||Senator Ninoy Aquino||[[:wikidata:Q173556|Q173556]]||{{wikidata|label|linked|Q173556}}||{{wikidata|title|linked|Q173556}}||Sultan Kudarat||Bayan
|-
|140||Tacurong||[[:wikidata:Q173575|Q173575]]||{{wikidata|label|linked|Q173575}}||{{wikidata|title|linked|Q173575}}||Sultan Kudarat||Lungsod
|-
|141||Banga||[[:wikidata:Q173870|Q173870]]||{{wikidata|label|linked|Q173870}}||{{wikidata|title|linked|Q173870}}||South Cotabato||Bayan
|-
|142||General Santos||[[:wikidata:Q594275|Q594275]]||{{wikidata|label|linked|Q594275}}||{{wikidata|title|linked|Q594275}}||South Cotabato||Lungsod
|-
|143||Koronadal||[[:wikidata:Q542154|Q542154]]||{{wikidata|label|linked|Q542154}}||{{wikidata|title|linked|Q542154}}||South Cotabato||Lungsod
|-
|144||Lake Sebu||[[:wikidata:Q173898|Q173898]]||{{wikidata|label|linked|Q173898}}||{{wikidata|title|linked|Q173898}}||South Cotabato||Bayan
|-
|145||Norala||[[:wikidata:Q173922|Q173922]]||{{wikidata|label|linked|Q173922}}||{{wikidata|title|linked|Q173922}}||South Cotabato||Bayan
|-
|146||Polomolok||[[:wikidata:Q173944|Q173944]]||{{wikidata|label|linked|Q173944}}||{{wikidata|title|linked|Q173944}}||South Cotabato||Bayan
|-
|147||Santo Niño||[[:wikidata:Q173965|Q173965]]||{{wikidata|label|linked|Q173965}}||{{wikidata|title|linked|Q173965}}||South Cotabato||Bayan
|-
|148||Surallah||[[:wikidata:Q173986|Q173986]]||{{wikidata|label|linked|Q173986}}||{{wikidata|title|linked|Q173986}}||South Cotabato||Bayan
|-
|149||T'Boli||[[:wikidata:Q174003|Q174003]]||{{wikidata|label|linked|Q174003}}||{{wikidata|title|linked|Q174003}}||South Cotabato||Bayan
|-
|150||Tampakan||[[:wikidata:Q174018|Q174018]]||{{wikidata|label|linked|Q174018}}||{{wikidata|title|linked|Q174018}}||South Cotabato||Bayan
|-
|151||Tantangan||[[:wikidata:Q174039|Q174039]]||{{wikidata|label|linked|Q174039}}||{{wikidata|title|linked|Q174039}}||South Cotabato||Bayan
|-
|152||Tupi||[[:wikidata:Q174055|Q174055]]||{{wikidata|label|linked|Q174055}}||{{wikidata|title|linked|Q174055}}||South Cotabato||Bayan
|-
|153||Alabel||[[:wikidata:Q174393|Q174393]]||{{wikidata|label|linked|Q174393}}||{{wikidata|title|linked|Q174393}}||Sarangani||Bayan
|-
|154||Glan||[[:wikidata:Q174403|Q174403]]||{{wikidata|label|linked|Q174403}}||{{wikidata|title|linked|Q174403}}||Sarangani||Bayan
|-
|155||Kiamba||[[:wikidata:Q174417|Q174417]]||{{wikidata|label|linked|Q174417}}||{{wikidata|title|linked|Q174417}}||Sarangani||Bayan
|-
|156||Maasim||[[:wikidata:Q174429|Q174429]]||{{wikidata|label|linked|Q174429}}||{{wikidata|title|linked|Q174429}}||Sarangani||Bayan
|-
|157||Maitum||[[:wikidata:Q174442|Q174442]]||{{wikidata|label|linked|Q174442}}||{{wikidata|title|linked|Q174442}}||Sarangani||Bayan
|-
|158||Malapatan||[[:wikidata:Q174457|Q174457]]||{{wikidata|label|linked|Q174457}}||{{wikidata|title|linked|Q174457}}||Sarangani||Bayan
|-
|159||Malungon||[[:wikidata:Q174468|Q174468]]||{{wikidata|label|linked|Q174468}}||{{wikidata|title|linked|Q174468}}||Sarangani||Bayan
|-
|160||Alamada||[[:wikidata:Q315042|Q315042]]||{{wikidata|label|linked|Q315042}}||{{wikidata|title|linked|Q315042}}||Cotabato||Bayan
|-
|161||Aleosan||[[:wikidata:Q315061|Q315061]]||{{wikidata|label|linked|Q315061}}||{{wikidata|title|linked|Q315061}}||Cotabato||Bayan
|-
|162||Antipas||[[:wikidata:Q315081|Q315081]]||{{wikidata|label|linked|Q315081}}||{{wikidata|title|linked|Q315081}}||Cotabato||Bayan
|-
|163||Arakan||[[:wikidata:Q315098|Q315098]]||{{wikidata|label|linked|Q315098}}||{{wikidata|title|linked|Q315098}}||Cotabato||Bayan
|-
|164||Banisilan||[[:wikidata:Q315121|Q315121]]||{{wikidata|label|linked|Q315121}}||{{wikidata|title|linked|Q315121}}||Cotabato||Bayan
|-
|165||Carmen||[[:wikidata:Q315144|Q315144]]||{{wikidata|label|linked|Q315144}}||{{wikidata|title|linked|Q315144}}||Cotabato||Bayan
|-
|166||Kabacan||[[:wikidata:Q315164|Q315164]]||{{wikidata|label|linked|Q315164}}||{{wikidata|title|linked|Q315164}}||Cotabato||Bayan
|-
|167||Kidapawan||[[:wikidata:Q583137|Q583137]]||{{wikidata|label|linked|Q583137}}||{{wikidata|title|linked|Q583137}}||Cotabato||Lungsod
|-
|168||Libungan||[[:wikidata:Q315190|Q315190]]||{{wikidata|label|linked|Q315190}}||{{wikidata|title|linked|Q315190}}||Cotabato||Bayan
|-
|169||M'lang||[[:wikidata:Q315213|Q315213]]||{{wikidata|label|linked|Q315213}}||{{wikidata|title|linked|Q315213}}||Cotabato||Bayan
|-
|170||Magpet||[[:wikidata:Q267975|Q267975]]||{{wikidata|label|linked|Q267975}}||{{wikidata|title|linked|Q267975}}||Cotabato||Bayan
|-
|171||Makilala||[[:wikidata:Q315244|Q315244]]||{{wikidata|label|linked|Q315244}}||{{wikidata|title|linked|Q315244}}||Cotabato||Bayan
|-
|172||Matalam||[[:wikidata:Q315267|Q315267]]||{{wikidata|label|linked|Q315267}}||{{wikidata|title|linked|Q315267}}||Cotabato||Bayan
|-
|173||Midsayap||[[:wikidata:Q315283|Q315283]]||{{wikidata|label|linked|Q315283}}||{{wikidata|title|linked|Q315283}}||Cotabato||Bayan
|-
|174||Pigcawayan||[[:wikidata:Q304654|Q304654]]||{{wikidata|label|linked|Q304654}}||{{wikidata|title|linked|Q304654}}||Cotabato||Bayan
|-
|175||Pikit||[[:wikidata:Q315314|Q315314]]||{{wikidata|label|linked|Q315314}}||{{wikidata|title|linked|Q315314}}||Cotabato||Bayan
|-
|176||President Roxas||[[:wikidata:Q315334|Q315334]]||{{wikidata|label|linked|Q315334}}||{{wikidata|title|linked|Q315334}}||Cotabato||Bayan
|-
|177||Tulunan||[[:wikidata:Q315345|Q315345]]||{{wikidata|label|linked|Q315345}}||{{wikidata|title|linked|Q315345}}||Cotabato||Bayan
|-
|178||Baganga||[[:wikidata:Q314522|Q314522]]||{{wikidata|label|linked|Q314522}}||{{wikidata|title|linked|Q314522}}||Davao Oriental||Bayan
|-
|179||Banaybanay||[[:wikidata:Q314542|Q314542]]||{{wikidata|label|linked|Q314542}}||{{wikidata|title|linked|Q314542}}||Davao Oriental||Bayan
|-
|180||Boston||[[:wikidata:Q314574|Q314574]]||{{wikidata|label|linked|Q314574}}||{{wikidata|title|linked|Q314574}}||Davao Oriental||Bayan
|-
|181||Caraga||[[:wikidata:Q314593|Q314593]]||{{wikidata|label|linked|Q314593}}||{{wikidata|title|linked|Q314593}}||Davao Oriental||Bayan
|-
|182||Cateel||[[:wikidata:Q314619|Q314619]]||{{wikidata|label|linked|Q314619}}||{{wikidata|title|linked|Q314619}}||Davao Oriental||Bayan
|-
|183||Governor Generoso||[[:wikidata:Q314632|Q314632]]||{{wikidata|label|linked|Q314632}}||{{wikidata|title|linked|Q314632}}||Davao Oriental||Bayan
|-
|184||Lupon||[[:wikidata:Q314653|Q314653]]||{{wikidata|label|linked|Q314653}}||{{wikidata|title|linked|Q314653}}||Davao Oriental||Bayan
|-
|185||Manay||[[:wikidata:Q314671|Q314671]]||{{wikidata|label|linked|Q314671}}||{{wikidata|title|linked|Q314671}}||Davao Oriental||Bayan
|-
|186||Mati||[[:wikidata:Q314686|Q314686]]||{{wikidata|label|linked|Q314686}}||{{wikidata|title|linked|Q314686}}||Davao Oriental||Lungsod
|-
|187||San Isidro||[[:wikidata:Q314721|Q314721]]||{{wikidata|label|linked|Q314721}}||{{wikidata|title|linked|Q314721}}||Davao Oriental||Bayan
|-
|188||Tarragona||[[:wikidata:Q314745|Q314745]]||{{wikidata|label|linked|Q314745}}||{{wikidata|title|linked|Q314745}}||Davao Oriental||Bayan
|-
|189||Don Marcelino||[[:wikidata:Q314796|Q314796]]||{{wikidata|label|linked|Q314796}}||{{wikidata|title|linked|Q314796}}||Davao Occidental||Bayan
|-
|190||Jose Abad Santos||[[:wikidata:Q314824|Q314824]]||{{wikidata|label|linked|Q314824}}||{{wikidata|title|linked|Q314824}}||Davao Occidental||Bayan
|-
|191||Malita||[[:wikidata:Q314907|Q314907]]||{{wikidata|label|linked|Q314907}}||{{wikidata|title|linked|Q314907}}||Davao Occidental||Bayan
|-
|192||Santa Maria||[[:wikidata:Q314980|Q314980]]||{{wikidata|label|linked|Q314980}}||{{wikidata|title|linked|Q314980}}||Davao Occidental||Bayan
|-
|193||Sarangani||[[:wikidata:Q314999|Q314999]]||{{wikidata|label|linked|Q314999}}||{{wikidata|title|linked|Q314999}}||Davao Occidental||Bayan
|-
|194||Bansalan||[[:wikidata:Q314778|Q314778]]||{{wikidata|label|linked|Q314778}}||{{wikidata|title|linked|Q314778}}||Davao del Sur||Bayan
|-
|195||Davao City||[[:wikidata:Q1473|Q1473]]||{{wikidata|label|linked|Q1473}}||{{wikidata|title|linked|Q1473}}||Davao del Sur||Lungsod
|-
|196||Digos||[[:wikidata:Q1020939|Q1020939]]||{{wikidata|label|linked|Q1020939}}||{{wikidata|title|linked|Q1020939}}||Davao del Sur||Lungsod
|-
|197||Hagonoy||[[:wikidata:Q314808|Q314808]]||{{wikidata|label|linked|Q314808}}||{{wikidata|title|linked|Q314808}}||Davao del Sur||Bayan
|-
|198||Kiblawan||[[:wikidata:Q314844|Q314844]]||{{wikidata|label|linked|Q314844}}||{{wikidata|title|linked|Q314844}}||Davao del Sur||Bayan
|-
|199||Magsaysay||[[:wikidata:Q314864|Q314864]]||{{wikidata|label|linked|Q314864}}||{{wikidata|title|linked|Q314864}}||Davao del Sur||Bayan
|-
|200||Malalag||[[:wikidata:Q314885|Q314885]]||{{wikidata|label|linked|Q314885}}||{{wikidata|title|linked|Q314885}}||Davao del Sur||Bayan
|-
|201||Matanao||[[:wikidata:Q314923|Q314923]]||{{wikidata|label|linked|Q314923}}||{{wikidata|title|linked|Q314923}}||Davao del Sur||Bayan
|-
|202||Padada||[[:wikidata:Q314944|Q314944]]||{{wikidata|label|linked|Q314944}}||{{wikidata|title|linked|Q314944}}||Davao del Sur||Bayan
|-
|203||Santa Cruz||[[:wikidata:Q314965|Q314965]]||{{wikidata|label|linked|Q314965}}||{{wikidata|title|linked|Q314965}}||Davao del Sur||Bayan
|-
|204||Sulop||[[:wikidata:Q315014|Q315014]]||{{wikidata|label|linked|Q315014}}||{{wikidata|title|linked|Q315014}}||Davao del Sur||Bayan
|-
|205||Asuncion||[[:wikidata:Q314393|Q314393]]||{{wikidata|label|linked|Q314393}}||{{wikidata|title|linked|Q314393}}||Davao del Norte||Bayan
|-
|206||Braulio E. Dujali||[[:wikidata:Q314410|Q314410]]||{{wikidata|label|linked|Q314410}}||{{wikidata|title|linked|Q314410}}||Davao del Norte||Bayan
|-
|207||Carmen||[[:wikidata:Q314422|Q314422]]||{{wikidata|label|linked|Q314422}}||{{wikidata|title|linked|Q314422}}||Davao del Norte||Bayan
|-
|208||Kapalong||[[:wikidata:Q314438|Q314438]]||{{wikidata|label|linked|Q314438}}||{{wikidata|title|linked|Q314438}}||Davao del Norte||Bayan
|-
|209||New Corella||[[:wikidata:Q314452|Q314452]]||{{wikidata|label|linked|Q314452}}||{{wikidata|title|linked|Q314452}}||Davao del Norte||Bayan
|-
|210||Panabo||[[:wikidata:Q967367|Q967367]]||{{wikidata|label|linked|Q967367}}||{{wikidata|title|linked|Q967367}}||Davao del Norte||Lungsod
|-
|211||Samal||[[:wikidata:Q1020674|Q1020674]]||{{wikidata|label|linked|Q1020674}}||{{wikidata|title|linked|Q1020674}}||Davao del Norte||Lungsod
|-
|212||Sawata||[[:wikidata:Q314468|Q314468]]||{{wikidata|label|linked|Q314468}}||{{wikidata|title|linked|Q314468}}||Davao del Norte||Bayan
|-
|213||Santo Tomas||[[:wikidata:Q314486|Q314486]]||{{wikidata|label|linked|Q314486}}||{{wikidata|title|linked|Q314486}}||Davao del Norte||Bayan
|-
|214||Tagum||[[:wikidata:Q725168|Q725168]]||{{wikidata|label|linked|Q725168}}||{{wikidata|title|linked|Q725168}}||Davao del Norte||Lungsod
|-
|215||Talaingod||[[:wikidata:Q314501|Q314501]]||{{wikidata|label|linked|Q314501}}||{{wikidata|title|linked|Q314501}}||Davao del Norte||Bayan
|-
|216||Compostela||[[:wikidata:Q315450|Q315450]]||{{wikidata|label|linked|Q315450}}||{{wikidata|title|linked|Q315450}}||Davao de Oro||Bayan
|-
|217||Laak||[[:wikidata:Q315468|Q315468]]||{{wikidata|label|linked|Q315468}}||{{wikidata|title|linked|Q315468}}||Davao de Oro||Bayan
|-
|218||Mabini||[[:wikidata:Q187225|Q187225]]||{{wikidata|label|linked|Q187225}}||{{wikidata|title|linked|Q187225}}||Davao de Oro||Bayan
|-
|219||Maco||[[:wikidata:Q315497|Q315497]]||{{wikidata|label|linked|Q315497}}||{{wikidata|title|linked|Q315497}}||Davao de Oro||Bayan
|-
|220||Maragusan||[[:wikidata:Q315512|Q315512]]||{{wikidata|label|linked|Q315512}}||{{wikidata|title|linked|Q315512}}||Davao de Oro||Bayan
|-
|221||Mawab||[[:wikidata:Q315524|Q315524]]||{{wikidata|label|linked|Q315524}}||{{wikidata|title|linked|Q315524}}||Davao de Oro||Bayan
|-
|222||Monkayo||[[:wikidata:Q315543|Q315543]]||{{wikidata|label|linked|Q315543}}||{{wikidata|title|linked|Q315543}}||Davao de Oro||Bayan
|-
|223||Montevista||[[:wikidata:Q315557|Q315557]]||{{wikidata|label|linked|Q315557}}||{{wikidata|title|linked|Q315557}}||Davao de Oro||Bayan
|-
|224||Nabunturan||[[:wikidata:Q315570|Q315570]]||{{wikidata|label|linked|Q315570}}||{{wikidata|title|linked|Q315570}}||Davao de Oro||Bayan
|-
|225||New Bataan||[[:wikidata:Q315582|Q315582]]||{{wikidata|label|linked|Q315582}}||{{wikidata|title|linked|Q315582}}||Davao de Oro||Bayan
|-
|226||Pantukan||[[:wikidata:Q315598|Q315598]]||{{wikidata|label|linked|Q315598}}||{{wikidata|title|linked|Q315598}}||Davao de Oro||Bayan
|-
|227||Barobo||[[:wikidata:Q155471|Q155471]]||{{wikidata|label|linked|Q155471}}||{{wikidata|title|linked|Q155471}}||Surigao del Sur||Bayan
|-
|228||Bayabas||[[:wikidata:Q155499|Q155499]]||{{wikidata|label|linked|Q155499}}||{{wikidata|title|linked|Q155499}}||Surigao del Sur||Bayan
|-
|229||Bislig||[[:wikidata:Q866414|Q866414]]||{{wikidata|label|linked|Q866414}}||{{wikidata|title|linked|Q866414}}||Surigao del Sur||Lungsod
|-
|230||Cagwait||[[:wikidata:Q155524|Q155524]]||{{wikidata|label|linked|Q155524}}||{{wikidata|title|linked|Q155524}}||Surigao del Sur||Bayan
|-
|231||Cantilan||[[:wikidata:Q155536|Q155536]]||{{wikidata|label|linked|Q155536}}||{{wikidata|title|linked|Q155536}}||Surigao del Sur||Bayan
|-
|232||Carmen||[[:wikidata:Q155548|Q155548]]||{{wikidata|label|linked|Q155548}}||{{wikidata|title|linked|Q155548}}||Surigao del Sur||Bayan
|-
|233||Carrascal||[[:wikidata:Q155558|Q155558]]||{{wikidata|label|linked|Q155558}}||{{wikidata|title|linked|Q155558}}||Surigao del Sur||Bayan
|-
|234||Cortes||[[:wikidata:Q155568|Q155568]]||{{wikidata|label|linked|Q155568}}||{{wikidata|title|linked|Q155568}}||Surigao del Sur||Bayan
|-
|235||Hinatuan||[[:wikidata:Q155576|Q155576]]||{{wikidata|label|linked|Q155576}}||{{wikidata|title|linked|Q155576}}||Surigao del Sur||Bayan
|-
|236||Lanuza||[[:wikidata:Q155582|Q155582]]||{{wikidata|label|linked|Q155582}}||{{wikidata|title|linked|Q155582}}||Surigao del Sur||Bayan
|-
|237||Lianga||[[:wikidata:Q155590|Q155590]]||{{wikidata|label|linked|Q155590}}||{{wikidata|title|linked|Q155590}}||Surigao del Sur||Bayan
|-
|238||Lingig||[[:wikidata:Q155598|Q155598]]||{{wikidata|label|linked|Q155598}}||{{wikidata|title|linked|Q155598}}||Surigao del Sur||Bayan
|-
|239||Madrid||[[:wikidata:Q155605|Q155605]]||{{wikidata|label|linked|Q155605}}||{{wikidata|title|linked|Q155605}}||Surigao del Sur||Bayan
|-
|240||Marihatag||[[:wikidata:Q155611|Q155611]]||{{wikidata|label|linked|Q155611}}||{{wikidata|title|linked|Q155611}}||Surigao del Sur||Bayan
|-
|241||San Agustin||[[:wikidata:Q155618|Q155618]]||{{wikidata|label|linked|Q155618}}||{{wikidata|title|linked|Q155618}}||Surigao del Sur||Bayan
|-
|242||San Miguel||[[:wikidata:Q155625|Q155625]]||{{wikidata|label|linked|Q155625}}||{{wikidata|title|linked|Q155625}}||Surigao del Sur||Bayan
|-
|243||Tagbina||[[:wikidata:Q155633|Q155633]]||{{wikidata|label|linked|Q155633}}||{{wikidata|title|linked|Q155633}}||Surigao del Sur||Bayan
|-
|244||Tago||[[:wikidata:Q155648|Q155648]]||{{wikidata|label|linked|Q155648}}||{{wikidata|title|linked|Q155648}}||Surigao del Sur||Bayan
|-
|245||Tandag||[[:wikidata:Q155674|Q155674]]||{{wikidata|label|linked|Q155674}}||{{wikidata|title|linked|Q155674}}||Surigao del Sur||Lungsod
|-
|246||Alegria||[[:wikidata:Q155706|Q155706]]||{{wikidata|label|linked|Q155706}}||{{wikidata|title|linked|Q155706}}||Surigao del Norte||Bayan
|-
|247||Bacuag||[[:wikidata:Q155720|Q155720]]||{{wikidata|label|linked|Q155720}}||{{wikidata|title|linked|Q155720}}||Surigao del Norte||Bayan
|-
|248||Burgos||[[:wikidata:Q155735|Q155735]]||{{wikidata|label|linked|Q155735}}||{{wikidata|title|linked|Q155735}}||Surigao del Norte||Bayan
|-
|249||Claver||[[:wikidata:Q155748|Q155748]]||{{wikidata|label|linked|Q155748}}||{{wikidata|title|linked|Q155748}}||Surigao del Norte||Bayan
|-
|250||Dapa||[[:wikidata:Q155763|Q155763]]||{{wikidata|label|linked|Q155763}}||{{wikidata|title|linked|Q155763}}||Surigao del Norte||Bayan
|-
|251||Del Carmen||[[:wikidata:Q28735|Q28735]]||{{wikidata|label|linked|Q28735}}||{{wikidata|title|linked|Q28735}}||Surigao del Norte||Bayan
|-
|252||General Luna||[[:wikidata:Q155784|Q155784]]||{{wikidata|label|linked|Q155784}}||{{wikidata|title|linked|Q155784}}||Surigao del Norte||Bayan
|-
|253||Gigaquit||[[:wikidata:Q155795|Q155795]]||{{wikidata|label|linked|Q155795}}||{{wikidata|title|linked|Q155795}}||Surigao del Norte||Bayan
|-
|254||Mainit||[[:wikidata:Q155808|Q155808]]||{{wikidata|label|linked|Q155808}}||{{wikidata|title|linked|Q155808}}||Surigao del Norte||Bayan
|-
|255||Malimono||[[:wikidata:Q155819|Q155819]]||{{wikidata|label|linked|Q155819}}||{{wikidata|title|linked|Q155819}}||Surigao del Norte||Bayan
|-
|256||Pilar||[[:wikidata:Q155830|Q155830]]||{{wikidata|label|linked|Q155830}}||{{wikidata|title|linked|Q155830}}||Surigao del Norte||Bayan
|-
|257||Placer||[[:wikidata:Q155839|Q155839]]||{{wikidata|label|linked|Q155839}}||{{wikidata|title|linked|Q155839}}||Surigao del Norte||Bayan
|-
|258||San Benito||[[:wikidata:Q155849|Q155849]]||{{wikidata|label|linked|Q155849}}||{{wikidata|title|linked|Q155849}}||Surigao del Norte||Bayan
|-
|259||San Francisco||[[:wikidata:Q155864|Q155864]]||{{wikidata|label|linked|Q155864}}||{{wikidata|title|linked|Q155864}}||Surigao del Norte||Bayan
|-
|260||San Isidro||[[:wikidata:Q155876|Q155876]]||{{wikidata|label|linked|Q155876}}||{{wikidata|title|linked|Q155876}}||Surigao del Norte||Bayan
|-
|261||Santa Monica||[[:wikidata:Q28958|Q28958]]||{{wikidata|label|linked|Q28958}}||{{wikidata|title|linked|Q28958}}||Surigao del Norte||Bayan
|-
|262||Sison||[[:wikidata:Q155905|Q155905]]||{{wikidata|label|linked|Q155905}}||{{wikidata|title|linked|Q155905}}||Surigao del Norte||Bayan
|-
|263||Socorro||[[:wikidata:Q155917|Q155917]]||{{wikidata|label|linked|Q155917}}||{{wikidata|title|linked|Q155917}}||Surigao del Norte||Bayan
|-
|264||Surigao City||[[:wikidata:Q1019949|Q1019949]]||{{wikidata|label|linked|Q1019949}}||{{wikidata|title|linked|Q1019949}}||Surigao del Norte||Lungsod
|-
|265||Tagana-an||[[:wikidata:Q155934|Q155934]]||{{wikidata|label|linked|Q155934}}||{{wikidata|title|linked|Q155934}}||Surigao del Norte||Bayan
|-
|266||Tubod||[[:wikidata:Q155946|Q155946]]||{{wikidata|label|linked|Q155946}}||{{wikidata|title|linked|Q155946}}||Surigao del Norte||Bayan
|-
|267||Basilisa||[[:wikidata:Q314298|Q314298]]||{{wikidata|label|linked|Q314298}}||{{wikidata|title|linked|Q314298}}||Dinagat Islands||Bayan
|-
|268||Cagdianao||[[:wikidata:Q314318|Q314318]]||{{wikidata|label|linked|Q314318}}||{{wikidata|title|linked|Q314318}}||Dinagat Islands||Bayan
|-
|269||Dinagat||[[:wikidata:Q314336|Q314336]]||{{wikidata|label|linked|Q314336}}||{{wikidata|title|linked|Q314336}}||Dinagat Islands||Bayan
|-
|270||Libjo||[[:wikidata:Q314345|Q314345]]||{{wikidata|label|linked|Q314345}}||{{wikidata|title|linked|Q314345}}||Dinagat Islands||Bayan
|-
|271||Loreto||[[:wikidata:Q314356|Q314356]]||{{wikidata|label|linked|Q314356}}||{{wikidata|title|linked|Q314356}}||Dinagat Islands||Bayan
|-
|272||San Jose||[[:wikidata:Q251691|Q251691]]||{{wikidata|label|linked|Q251691}}||{{wikidata|title|linked|Q251691}}||Dinagat Islands||Bayan
|-
|273||Tubajon||[[:wikidata:Q314374|Q314374]]||{{wikidata|label|linked|Q314374}}||{{wikidata|title|linked|Q314374}}||Dinagat Islands||Bayan
|-
|274||Bayugan||[[:wikidata:Q1694|Q1694]]||{{wikidata|label|linked|Q1694}}||{{wikidata|title|linked|Q1694}}||Agusan del Sur||Lungsod
|-
|275||Bunawan||[[:wikidata:Q627049|Q627049]]||{{wikidata|label|linked|Q627049}}||{{wikidata|title|linked|Q627049}}||Agusan del Sur||Bayan
|-
|276||Esperanza||[[:wikidata:Q627077|Q627077]]||{{wikidata|label|linked|Q627077}}||{{wikidata|title|linked|Q627077}}||Agusan del Sur||Bayan
|-
|277||La Paz||[[:wikidata:Q627107|Q627107]]||{{wikidata|label|linked|Q627107}}||{{wikidata|title|linked|Q627107}}||Agusan del Sur||Bayan
|-
|278||Loreto||[[:wikidata:Q627120|Q627120]]||{{wikidata|label|linked|Q627120}}||{{wikidata|title|linked|Q627120}}||Agusan del Sur||Bayan
|-
|279||Prosperidad||[[:wikidata:Q627144|Q627144]]||{{wikidata|label|linked|Q627144}}||{{wikidata|title|linked|Q627144}}||Agusan del Sur||Bayan
|-
|280||Rosario||[[:wikidata:Q627167|Q627167]]||{{wikidata|label|linked|Q627167}}||{{wikidata|title|linked|Q627167}}||Agusan del Sur||Bayan
|-
|281||San Francisco||[[:wikidata:Q627190|Q627190]]||{{wikidata|label|linked|Q627190}}||{{wikidata|title|linked|Q627190}}||Agusan del Sur||Bayan
|-
|282||San Luis||[[:wikidata:Q627210|Q627210]]||{{wikidata|label|linked|Q627210}}||{{wikidata|title|linked|Q627210}}||Agusan del Sur||Bayan
|-
|283||Santa Josefa||[[:wikidata:Q627231|Q627231]]||{{wikidata|label|linked|Q627231}}||{{wikidata|title|linked|Q627231}}||Agusan del Sur||Bayan
|-
|284||Sibagat||[[:wikidata:Q627260|Q627260]]||{{wikidata|label|linked|Q627260}}||{{wikidata|title|linked|Q627260}}||Agusan del Sur||Bayan
|-
|285||Talacogon||[[:wikidata:Q627286|Q627286]]||{{wikidata|label|linked|Q627286}}||{{wikidata|title|linked|Q627286}}||Agusan del Sur||Bayan
|-
|286||Trento||[[:wikidata:Q627320|Q627320]]||{{wikidata|label|linked|Q627320}}||{{wikidata|title|linked|Q627320}}||Agusan del Sur||Bayan
|-
|287||Veruela||[[:wikidata:Q627349|Q627349]]||{{wikidata|label|linked|Q627349}}||{{wikidata|title|linked|Q627349}}||Agusan del Sur||Bayan
|-
|288||Buenavista||[[:wikidata:Q627390|Q627390]]||{{wikidata|label|linked|Q627390}}||{{wikidata|title|linked|Q627390}}||Agusan del Norte||Bayan
|-
|289||Butuan||[[:wikidata:Q1686|Q1686]]||{{wikidata|label|linked|Q1686}}||{{wikidata|title|linked|Q1686}}||Agusan del Norte||Lungsod
|-
|290||Cabadbaran||[[:wikidata:Q1692|Q1692]]||{{wikidata|label|linked|Q1692}}||{{wikidata|title|linked|Q1692}}||Agusan del Norte||Lungsod
|-
|291||Carmen||[[:wikidata:Q627434|Q627434]]||{{wikidata|label|linked|Q627434}}||{{wikidata|title|linked|Q627434}}||Agusan del Norte||Bayan
|-
|292||Jabonga||[[:wikidata:Q627461|Q627461]]||{{wikidata|label|linked|Q627461}}||{{wikidata|title|linked|Q627461}}||Agusan del Norte||Bayan
|-
|293||Kitcharao||[[:wikidata:Q627495|Q627495]]||{{wikidata|label|linked|Q627495}}||{{wikidata|title|linked|Q627495}}||Agusan del Norte||Bayan
|-
|294||Las Nieves||[[:wikidata:Q627529|Q627529]]||{{wikidata|label|linked|Q627529}}||{{wikidata|title|linked|Q627529}}||Agusan del Norte||Bayan
|-
|295||Magallanes||[[:wikidata:Q627572|Q627572]]||{{wikidata|label|linked|Q627572}}||{{wikidata|title|linked|Q627572}}||Agusan del Norte||Bayan
|-
|296||Nasipit||[[:wikidata:Q627604|Q627604]]||{{wikidata|label|linked|Q627604}}||{{wikidata|title|linked|Q627604}}||Agusan del Norte||Bayan
|-
|297||Remedios T. Romualdez||[[:wikidata:Q627638|Q627638]]||{{wikidata|label|linked|Q627638}}||{{wikidata|title|linked|Q627638}}||Agusan del Norte||Bayan
|-
|298||Santiago||[[:wikidata:Q588955|Q588955]]||{{wikidata|label|linked|Q588955}}||{{wikidata|title|linked|Q588955}}||Agusan del Norte||Bayan
|-
|299||Tubay||[[:wikidata:Q176975|Q176975]]||{{wikidata|label|linked|Q176975}}||{{wikidata|title|linked|Q176975}}||Agusan del Norte||Bayan
|-
|300||Alubijid||[[:wikidata:Q195623|Q195623]]||{{wikidata|label|linked|Q195623}}||{{wikidata|title|linked|Q195623}}||Misamis Oriental||Bayan
|-
|301||Balingasag||[[:wikidata:Q195637|Q195637]]||{{wikidata|label|linked|Q195637}}||{{wikidata|title|linked|Q195637}}||Misamis Oriental||Bayan
|-
|302||Balingoan||[[:wikidata:Q195650|Q195650]]||{{wikidata|label|linked|Q195650}}||{{wikidata|title|linked|Q195650}}||Misamis Oriental||Bayan
|-
|303||Binuangan||[[:wikidata:Q195663|Q195663]]||{{wikidata|label|linked|Q195663}}||{{wikidata|title|linked|Q195663}}||Misamis Oriental||Bayan
|-
|304||Cagayan de Oro||[[:wikidata:Q1645|Q1645]]||{{wikidata|label|linked|Q1645}}||{{wikidata|title|linked|Q1645}}||Misamis Oriental||Lungsod
|-
|305||Claveria||[[:wikidata:Q195676|Q195676]]||{{wikidata|label|linked|Q195676}}||{{wikidata|title|linked|Q195676}}||Misamis Oriental||Bayan
|-
|306||El Salvador||[[:wikidata:Q195686|Q195686]]||{{wikidata|label|linked|Q195686}}||{{wikidata|title|linked|Q195686}}||Misamis Oriental||Lungsod
|-
|307||Gingoog||[[:wikidata:Q1525029|Q1525029]]||{{wikidata|label|linked|Q1525029}}||{{wikidata|title|linked|Q1525029}}||Misamis Oriental||Lungsod
|-
|308||Gitagum||[[:wikidata:Q195696|Q195696]]||{{wikidata|label|linked|Q195696}}||{{wikidata|title|linked|Q195696}}||Misamis Oriental||Bayan
|-
|309||Initao||[[:wikidata:Q195709|Q195709]]||{{wikidata|label|linked|Q195709}}||{{wikidata|title|linked|Q195709}}||Misamis Oriental||Bayan
|-
|310||Jasaan||[[:wikidata:Q195717|Q195717]]||{{wikidata|label|linked|Q195717}}||{{wikidata|title|linked|Q195717}}||Misamis Oriental||Bayan
|-
|311||Kinoguitan||[[:wikidata:Q195726|Q195726]]||{{wikidata|label|linked|Q195726}}||{{wikidata|title|linked|Q195726}}||Misamis Oriental||Bayan
|-
|312||Lagonglong||[[:wikidata:Q195740|Q195740]]||{{wikidata|label|linked|Q195740}}||{{wikidata|title|linked|Q195740}}||Misamis Oriental||Bayan
|-
|313||Laguindingan||[[:wikidata:Q195755|Q195755]]||{{wikidata|label|linked|Q195755}}||{{wikidata|title|linked|Q195755}}||Misamis Oriental||Bayan
|-
|314||Libertad||[[:wikidata:Q195767|Q195767]]||{{wikidata|label|linked|Q195767}}||{{wikidata|title|linked|Q195767}}||Misamis Oriental||Bayan
|-
|315||Lugait||[[:wikidata:Q195780|Q195780]]||{{wikidata|label|linked|Q195780}}||{{wikidata|title|linked|Q195780}}||Misamis Oriental||Bayan
|-
|316||Magsaysay||[[:wikidata:Q195799|Q195799]]||{{wikidata|label|linked|Q195799}}||{{wikidata|title|linked|Q195799}}||Misamis Oriental||Bayan
|-
|317||Manticao||[[:wikidata:Q195815|Q195815]]||{{wikidata|label|linked|Q195815}}||{{wikidata|title|linked|Q195815}}||Misamis Oriental||Bayan
|-
|318||Medina||[[:wikidata:Q195834|Q195834]]||{{wikidata|label|linked|Q195834}}||{{wikidata|title|linked|Q195834}}||Misamis Oriental||Bayan
|-
|319||Naawan||[[:wikidata:Q195855|Q195855]]||{{wikidata|label|linked|Q195855}}||{{wikidata|title|linked|Q195855}}||Misamis Oriental||Bayan
|-
|320||Opol||[[:wikidata:Q195870|Q195870]]||{{wikidata|label|linked|Q195870}}||{{wikidata|title|linked|Q195870}}||Misamis Oriental||Bayan
|-
|321||Salay||[[:wikidata:Q195883|Q195883]]||{{wikidata|label|linked|Q195883}}||{{wikidata|title|linked|Q195883}}||Misamis Oriental||Bayan
|-
|322||Sugbongcogon||[[:wikidata:Q195899|Q195899]]||{{wikidata|label|linked|Q195899}}||{{wikidata|title|linked|Q195899}}||Misamis Oriental||Bayan
|-
|323||Tagoloan||[[:wikidata:Q1026274|Q1026274]]||{{wikidata|label|linked|Q1026274}}||{{wikidata|title|linked|Q1026274}}||Misamis Oriental||Bayan
|-
|324||Talisayan||[[:wikidata:Q195917|Q195917]]||{{wikidata|label|linked|Q195917}}||{{wikidata|title|linked|Q195917}}||Misamis Oriental||Bayan
|-
|325||Villanueva||[[:wikidata:Q195937|Q195937]]||{{wikidata|label|linked|Q195937}}||{{wikidata|title|linked|Q195937}}||Misamis Oriental||Bayan
|-
|326||Aloran||[[:wikidata:Q155502|Q155502]]||{{wikidata|label|linked|Q155502}}||{{wikidata|title|linked|Q155502}}||Misamis Occidental||Bayan
|-
|327||Baliangao||[[:wikidata:Q196056|Q196056]]||{{wikidata|label|linked|Q196056}}||{{wikidata|title|linked|Q196056}}||Misamis Occidental||Bayan
|-
|328||Bonifacio||[[:wikidata:Q196076|Q196076]]||{{wikidata|label|linked|Q196076}}||{{wikidata|title|linked|Q196076}}||Misamis Occidental||Bayan
|-
|329||Calamba||[[:wikidata:Q196097|Q196097]]||{{wikidata|label|linked|Q196097}}||{{wikidata|title|linked|Q196097}}||Misamis Occidental||Bayan
|-
|330||Clarin||[[:wikidata:Q196114|Q196114]]||{{wikidata|label|linked|Q196114}}||{{wikidata|title|linked|Q196114}}||Misamis Occidental||Bayan
|-
|331||Concepcion||[[:wikidata:Q196129|Q196129]]||{{wikidata|label|linked|Q196129}}||{{wikidata|title|linked|Q196129}}||Misamis Occidental||Bayan
|-
|332||Don Victoriano||[[:wikidata:Q196145|Q196145]]||{{wikidata|label|linked|Q196145}}||{{wikidata|title|linked|Q196145}}||Misamis Occidental||Bayan
|-
|333||Jimenez||[[:wikidata:Q196158|Q196158]]||{{wikidata|label|linked|Q196158}}||{{wikidata|title|linked|Q196158}}||Misamis Occidental||Bayan
|-
|334||Lopez Jaena||[[:wikidata:Q196173|Q196173]]||{{wikidata|label|linked|Q196173}}||{{wikidata|title|linked|Q196173}}||Misamis Occidental||Bayan
|-
|335||Oroquieta||[[:wikidata:Q1067897|Q1067897]]||{{wikidata|label|linked|Q1067897}}||{{wikidata|title|linked|Q1067897}}||Misamis Occidental||Lungsod
|-
|336||Ozamiz||[[:wikidata:Q263837|Q263837]]||{{wikidata|label|linked|Q263837}}||{{wikidata|title|linked|Q263837}}||Misamis Occidental||Lungsod
|-
|337||Panaon||[[:wikidata:Q196191|Q196191]]||{{wikidata|label|linked|Q196191}}||{{wikidata|title|linked|Q196191}}||Misamis Occidental||Bayan
|-
|338||Plaridel||[[:wikidata:Q196207|Q196207]]||{{wikidata|label|linked|Q196207}}||{{wikidata|title|linked|Q196207}}||Misamis Occidental||Bayan
|-
|339||Sapang Dalaga||[[:wikidata:Q196222|Q196222]]||{{wikidata|label|linked|Q196222}}||{{wikidata|title|linked|Q196222}}||Misamis Occidental||Bayan
|-
|340||Sinacaban||[[:wikidata:Q196233|Q196233]]||{{wikidata|label|linked|Q196233}}||{{wikidata|title|linked|Q196233}}||Misamis Occidental||Bayan
|-
|341||Tangub||[[:wikidata:Q1026277|Q1026277]]||{{wikidata|label|linked|Q1026277}}||{{wikidata|title|linked|Q1026277}}||Misamis Occidental||Lungsod
|-
|342||Tudela||[[:wikidata:Q196248|Q196248]]||{{wikidata|label|linked|Q196248}}||{{wikidata|title|linked|Q196248}}||Misamis Occidental||Bayan
|-
|343||Bacolod||[[:wikidata:Q274150|Q274150]]||{{wikidata|label|linked|Q274150}}||{{wikidata|title|linked|Q274150}}||Lanao del Norte||Bayan
|-
|344||Balo-i||[[:wikidata:Q274164|Q274164]]||{{wikidata|label|linked|Q274164}}||{{wikidata|title|linked|Q274164}}||Lanao del Norte||Bayan
|-
|345||Baroy||[[:wikidata:Q274173|Q274173]]||{{wikidata|label|linked|Q274173}}||{{wikidata|title|linked|Q274173}}||Lanao del Norte||Bayan
|-
|346||Iligan||[[:wikidata:Q285488|Q285488]]||{{wikidata|label|linked|Q285488}}||{{wikidata|title|linked|Q285488}}||Lanao del Norte||Lungsod
|-
|347||Kapatagan||[[:wikidata:Q274186|Q274186]]||{{wikidata|label|linked|Q274186}}||{{wikidata|title|linked|Q274186}}||Lanao del Norte||Bayan
|-
|348||Kauswagan||[[:wikidata:Q274197|Q274197]]||{{wikidata|label|linked|Q274197}}||{{wikidata|title|linked|Q274197}}||Lanao del Norte||Bayan
|-
|349||Kolambugan||[[:wikidata:Q274205|Q274205]]||{{wikidata|label|linked|Q274205}}||{{wikidata|title|linked|Q274205}}||Lanao del Norte||Bayan
|-
|350||Lala||[[:wikidata:Q274215|Q274215]]||{{wikidata|label|linked|Q274215}}||{{wikidata|title|linked|Q274215}}||Lanao del Norte||Bayan
|-
|351||Linamon||[[:wikidata:Q274230|Q274230]]||{{wikidata|label|linked|Q274230}}||{{wikidata|title|linked|Q274230}}||Lanao del Norte||Bayan
|-
|352||Magsaysay||[[:wikidata:Q274243|Q274243]]||{{wikidata|label|linked|Q274243}}||{{wikidata|title|linked|Q274243}}||Lanao del Norte||Bayan
|-
|353||Maigo||[[:wikidata:Q274260|Q274260]]||{{wikidata|label|linked|Q274260}}||{{wikidata|title|linked|Q274260}}||Lanao del Norte||Bayan
|-
|354||Matungao||[[:wikidata:Q274272|Q274272]]||{{wikidata|label|linked|Q274272}}||{{wikidata|title|linked|Q274272}}||Lanao del Norte||Bayan
|-
|355||Munai||[[:wikidata:Q274287|Q274287]]||{{wikidata|label|linked|Q274287}}||{{wikidata|title|linked|Q274287}}||Lanao del Norte||Bayan
|-
|356||Nunungan||[[:wikidata:Q274299|Q274299]]||{{wikidata|label|linked|Q274299}}||{{wikidata|title|linked|Q274299}}||Lanao del Norte||Bayan
|-
|357||Pantao Ragat||[[:wikidata:Q274313|Q274313]]||{{wikidata|label|linked|Q274313}}||{{wikidata|title|linked|Q274313}}||Lanao del Norte||Bayan
|-
|358||Pantar||[[:wikidata:Q274329|Q274329]]||{{wikidata|label|linked|Q274329}}||{{wikidata|title|linked|Q274329}}||Lanao del Norte||Bayan
|-
|359||Poona Piagapo||[[:wikidata:Q274343|Q274343]]||{{wikidata|label|linked|Q274343}}||{{wikidata|title|linked|Q274343}}||Lanao del Norte||Bayan
|-
|360||Salvador||[[:wikidata:Q274357|Q274357]]||{{wikidata|label|linked|Q274357}}||{{wikidata|title|linked|Q274357}}||Lanao del Norte||Bayan
|-
|361||Sapad||[[:wikidata:Q274369|Q274369]]||{{wikidata|label|linked|Q274369}}||{{wikidata|title|linked|Q274369}}||Lanao del Norte||Bayan
|-
|362||Sultan Naga Dimaporo||[[:wikidata:Q274387|Q274387]]||{{wikidata|label|linked|Q274387}}||{{wikidata|title|linked|Q274387}}||Lanao del Norte||Bayan
|-
|363||Tagoloan||[[:wikidata:Q274406|Q274406]]||{{wikidata|label|linked|Q274406}}||{{wikidata|title|linked|Q274406}}||Lanao del Norte||Bayan
|-
|364||Tangcal||[[:wikidata:Q274427|Q274427]]||{{wikidata|label|linked|Q274427}}||{{wikidata|title|linked|Q274427}}||Lanao del Norte||Bayan
|-
|365||Tubod||[[:wikidata:Q274439|Q274439]]||{{wikidata|label|linked|Q274439}}||{{wikidata|title|linked|Q274439}}||Lanao del Norte||Bayan
|-
|366||Catarman||[[:wikidata:Q356442|Q356442]]||{{wikidata|label|linked|Q356442}}||{{wikidata|title|linked|Q356442}}||Camiguin||Bayan
|-
|367||Guinsiliban||[[:wikidata:Q356472|Q356472]]||{{wikidata|label|linked|Q356472}}||{{wikidata|title|linked|Q356472}}||Camiguin||Bayan
|-
|368||Mahinog||[[:wikidata:Q176033|Q176033]]||{{wikidata|label|linked|Q176033}}||{{wikidata|title|linked|Q176033}}||Camiguin||Bayan
|-
|369||Mambajao||[[:wikidata:Q356518|Q356518]]||{{wikidata|label|linked|Q356518}}||{{wikidata|title|linked|Q356518}}||Camiguin||Bayan
|-
|370||Sagay||[[:wikidata:Q356549|Q356549]]||{{wikidata|label|linked|Q356549}}||{{wikidata|title|linked|Q356549}}||Camiguin||Bayan
|-
|371||Baungon||[[:wikidata:Q356943|Q356943]]||{{wikidata|label|linked|Q356943}}||{{wikidata|title|linked|Q356943}}||Bukidnon||Bayan
|-
|372||Cabanglasan||[[:wikidata:Q356971|Q356971]]||{{wikidata|label|linked|Q356971}}||{{wikidata|title|linked|Q356971}}||Bukidnon||Bayan
|-
|373||Damulog||[[:wikidata:Q356997|Q356997]]||{{wikidata|label|linked|Q356997}}||{{wikidata|title|linked|Q356997}}||Bukidnon||Bayan
|-
|374||Dangcagan||[[:wikidata:Q357021|Q357021]]||{{wikidata|label|linked|Q357021}}||{{wikidata|title|linked|Q357021}}||Bukidnon||Bayan
|-
|375||Don Carlos||[[:wikidata:Q357053|Q357053]]||{{wikidata|label|linked|Q357053}}||{{wikidata|title|linked|Q357053}}||Bukidnon||Bayan
|-
|376||Impasugong||[[:wikidata:Q357075|Q357075]]||{{wikidata|label|linked|Q357075}}||{{wikidata|title|linked|Q357075}}||Bukidnon||Bayan
|-
|377||Kadingilan||[[:wikidata:Q357100|Q357100]]||{{wikidata|label|linked|Q357100}}||{{wikidata|title|linked|Q357100}}||Bukidnon||Bayan
|-
|378||Kalilangan||[[:wikidata:Q357124|Q357124]]||{{wikidata|label|linked|Q357124}}||{{wikidata|title|linked|Q357124}}||Bukidnon||Bayan
|-
|379||Kibawe||[[:wikidata:Q357152|Q357152]]||{{wikidata|label|linked|Q357152}}||{{wikidata|title|linked|Q357152}}||Bukidnon||Bayan
|-
|380||Kitaotao||[[:wikidata:Q357175|Q357175]]||{{wikidata|label|linked|Q357175}}||{{wikidata|title|linked|Q357175}}||Bukidnon||Bayan
|-
|381||Lantapan||[[:wikidata:Q357198|Q357198]]||{{wikidata|label|linked|Q357198}}||{{wikidata|title|linked|Q357198}}||Bukidnon||Bayan
|-
|382||Libona||[[:wikidata:Q357226|Q357226]]||{{wikidata|label|linked|Q357226}}||{{wikidata|title|linked|Q357226}}||Bukidnon||Bayan
|-
|383||Malaybalay||[[:wikidata:Q1856|Q1856]]||{{wikidata|label|linked|Q1856}}||{{wikidata|title|linked|Q1856}}||Bukidnon||Lungsod
|-
|384||Malitbog||[[:wikidata:Q357252|Q357252]]||{{wikidata|label|linked|Q357252}}||{{wikidata|title|linked|Q357252}}||Bukidnon||Bayan
|-
|385||Manolo Fortich||[[:wikidata:Q357272|Q357272]]||{{wikidata|label|linked|Q357272}}||{{wikidata|title|linked|Q357272}}||Bukidnon||Bayan
|-
|386||Maramag||[[:wikidata:Q357299|Q357299]]||{{wikidata|label|linked|Q357299}}||{{wikidata|title|linked|Q357299}}||Bukidnon||Bayan
|-
|387||Pangantucan||[[:wikidata:Q357311|Q357311]]||{{wikidata|label|linked|Q357311}}||{{wikidata|title|linked|Q357311}}||Bukidnon||Bayan
|-
|388||Quezon||[[:wikidata:Q357342|Q357342]]||{{wikidata|label|linked|Q357342}}||{{wikidata|title|linked|Q357342}}||Bukidnon||Bayan
|-
|389||San Fernando||[[:wikidata:Q357371|Q357371]]||{{wikidata|label|linked|Q357371}}||{{wikidata|title|linked|Q357371}}||Bukidnon||Bayan
|-
|390||Sumilao||[[:wikidata:Q357396|Q357396]]||{{wikidata|label|linked|Q357396}}||{{wikidata|title|linked|Q357396}}||Bukidnon||Bayan
|-
|391||Talakag||[[:wikidata:Q357420|Q357420]]||{{wikidata|label|linked|Q357420}}||{{wikidata|title|linked|Q357420}}||Bukidnon||Bayan
|-
|392||Valencia||[[:wikidata:Q2158|Q2158]]||{{wikidata|label|linked|Q2158}}||{{wikidata|title|linked|Q2158}}||Bukidnon||Lungsod
|-
|393||Alicia||[[:wikidata:Q131797|Q131797]]||{{wikidata|label|linked|Q131797}}||{{wikidata|title|linked|Q131797}}||Zamboanga Sibugay||Bayan
|-
|394||Buug||[[:wikidata:Q131811|Q131811]]||{{wikidata|label|linked|Q131811}}||{{wikidata|title|linked|Q131811}}||Zamboanga Sibugay||Bayan
|-
|395||Diplahan||[[:wikidata:Q131816|Q131816]]||{{wikidata|label|linked|Q131816}}||{{wikidata|title|linked|Q131816}}||Zamboanga Sibugay||Bayan
|-
|396||Imelda||[[:wikidata:Q131838|Q131838]]||{{wikidata|label|linked|Q131838}}||{{wikidata|title|linked|Q131838}}||Zamboanga Sibugay||Bayan
|-
|397||Ipil||[[:wikidata:Q131850|Q131850]]||{{wikidata|label|linked|Q131850}}||{{wikidata|title|linked|Q131850}}||Zamboanga Sibugay||Bayan
|-
|398||Kabasalan||[[:wikidata:Q131870|Q131870]]||{{wikidata|label|linked|Q131870}}||{{wikidata|title|linked|Q131870}}||Zamboanga Sibugay||Bayan
|-
|399||Mabuhay||[[:wikidata:Q131892|Q131892]]||{{wikidata|label|linked|Q131892}}||{{wikidata|title|linked|Q131892}}||Zamboanga Sibugay||Bayan
|-
|400||Malangas||[[:wikidata:Q131906|Q131906]]||{{wikidata|label|linked|Q131906}}||{{wikidata|title|linked|Q131906}}||Zamboanga Sibugay||Bayan
|-
|401||Naga||[[:wikidata:Q131917|Q131917]]||{{wikidata|label|linked|Q131917}}||{{wikidata|title|linked|Q131917}}||Zamboanga Sibugay||Bayan
|-
|402||Olutanga||[[:wikidata:Q131926|Q131926]]||{{wikidata|label|linked|Q131926}}||{{wikidata|title|linked|Q131926}}||Zamboanga Sibugay||Bayan
|-
|403||Payao||[[:wikidata:Q131941|Q131941]]||{{wikidata|label|linked|Q131941}}||{{wikidata|title|linked|Q131941}}||Zamboanga Sibugay||Bayan
|-
|404||Roseller Lim||[[:wikidata:Q131954|Q131954]]||{{wikidata|label|linked|Q131954}}||{{wikidata|title|linked|Q131954}}||Zamboanga Sibugay||Bayan
|-
|405||Siay||[[:wikidata:Q124780|Q124780]]||{{wikidata|label|linked|Q124780}}||{{wikidata|title|linked|Q124780}}||Zamboanga Sibugay||Bayan
|-
|406||Talusan||[[:wikidata:Q131968|Q131968]]||{{wikidata|label|linked|Q131968}}||{{wikidata|title|linked|Q131968}}||Zamboanga Sibugay||Bayan
|-
|407||Titay||[[:wikidata:Q131975|Q131975]]||{{wikidata|label|linked|Q131975}}||{{wikidata|title|linked|Q131975}}||Zamboanga Sibugay||Bayan
|-
|408||Tungawan||[[:wikidata:Q131984|Q131984]]||{{wikidata|label|linked|Q131984}}||{{wikidata|title|linked|Q131984}}||Zamboanga Sibugay||Bayan
|-
|409||Aurora||[[:wikidata:Q132015|Q132015]]||{{wikidata|label|linked|Q132015}}||{{wikidata|title|linked|Q132015}}||Zamboanga del Sur||Bayan
|-
|410||Bayog||[[:wikidata:Q132032|Q132032]]||{{wikidata|label|linked|Q132032}}||{{wikidata|title|linked|Q132032}}||Zamboanga del Sur||Bayan
|-
|411||Dimataling||[[:wikidata:Q132057|Q132057]]||{{wikidata|label|linked|Q132057}}||{{wikidata|title|linked|Q132057}}||Zamboanga del Sur||Bayan
|-
|412||Dinas||[[:wikidata:Q132077|Q132077]]||{{wikidata|label|linked|Q132077}}||{{wikidata|title|linked|Q132077}}||Zamboanga del Sur||Bayan
|-
|413||Dumalinao||[[:wikidata:Q132104|Q132104]]||{{wikidata|label|linked|Q132104}}||{{wikidata|title|linked|Q132104}}||Zamboanga del Sur||Bayan
|-
|414||Dumingag||[[:wikidata:Q132126|Q132126]]||{{wikidata|label|linked|Q132126}}||{{wikidata|title|linked|Q132126}}||Zamboanga del Sur||Bayan
|-
|415||Guipos||[[:wikidata:Q132141|Q132141]]||{{wikidata|label|linked|Q132141}}||{{wikidata|title|linked|Q132141}}||Zamboanga del Sur||Bayan
|-
|416||Josefina||[[:wikidata:Q132155|Q132155]]||{{wikidata|label|linked|Q132155}}||{{wikidata|title|linked|Q132155}}||Zamboanga del Sur||Bayan
|-
|417||Kumalarang||[[:wikidata:Q132161|Q132161]]||{{wikidata|label|linked|Q132161}}||{{wikidata|title|linked|Q132161}}||Zamboanga del Sur||Bayan
|-
|418||Labangan||[[:wikidata:Q132184|Q132184]]||{{wikidata|label|linked|Q132184}}||{{wikidata|title|linked|Q132184}}||Zamboanga del Sur||Bayan
|-
|419||Lakewood||[[:wikidata:Q132200|Q132200]]||{{wikidata|label|linked|Q132200}}||{{wikidata|title|linked|Q132200}}||Zamboanga del Sur||Bayan
|-
|420||Lapuyan||[[:wikidata:Q132215|Q132215]]||{{wikidata|label|linked|Q132215}}||{{wikidata|title|linked|Q132215}}||Zamboanga del Sur||Bayan
|-
|421||Mahayag||[[:wikidata:Q132230|Q132230]]||{{wikidata|label|linked|Q132230}}||{{wikidata|title|linked|Q132230}}||Zamboanga del Sur||Bayan
|-
|422||Margosatubig||[[:wikidata:Q132244|Q132244]]||{{wikidata|label|linked|Q132244}}||{{wikidata|title|linked|Q132244}}||Zamboanga del Sur||Bayan
|-
|423||Midsalip||[[:wikidata:Q132262|Q132262]]||{{wikidata|label|linked|Q132262}}||{{wikidata|title|linked|Q132262}}||Zamboanga del Sur||Bayan
|-
|424||Molave||[[:wikidata:Q132271|Q132271]]||{{wikidata|label|linked|Q132271}}||{{wikidata|title|linked|Q132271}}||Zamboanga del Sur||Bayan
|-
|425||Pagadian||[[:wikidata:Q874270|Q874270]]||{{wikidata|label|linked|Q874270}}||{{wikidata|title|linked|Q874270}}||Zamboanga del Sur||Lungsod
|-
|426||Pitogo||[[:wikidata:Q132284|Q132284]]||{{wikidata|label|linked|Q132284}}||{{wikidata|title|linked|Q132284}}||Zamboanga del Sur||Bayan
|-
|427||Ramon Magsaysay||[[:wikidata:Q132301|Q132301]]||{{wikidata|label|linked|Q132301}}||{{wikidata|title|linked|Q132301}}||Zamboanga del Sur||Bayan
|-
|428||San Miguel||[[:wikidata:Q132317|Q132317]]||{{wikidata|label|linked|Q132317}}||{{wikidata|title|linked|Q132317}}||Zamboanga del Sur||Bayan
|-
|429||San Pablo||[[:wikidata:Q132337|Q132337]]||{{wikidata|label|linked|Q132337}}||{{wikidata|title|linked|Q132337}}||Zamboanga del Sur||Bayan
|-
|430||Sominot||[[:wikidata:Q132353|Q132353]]||{{wikidata|label|linked|Q132353}}||{{wikidata|title|linked|Q132353}}||Zamboanga del Sur||Bayan
|-
|431||Tabina||[[:wikidata:Q132371|Q132371]]||{{wikidata|label|linked|Q132371}}||{{wikidata|title|linked|Q132371}}||Zamboanga del Sur||Bayan
|-
|432||Tambulig||[[:wikidata:Q132391|Q132391]]||{{wikidata|label|linked|Q132391}}||{{wikidata|title|linked|Q132391}}||Zamboanga del Sur||Bayan
|-
|433||Tigbao||[[:wikidata:Q132403|Q132403]]||{{wikidata|label|linked|Q132403}}||{{wikidata|title|linked|Q132403}}||Zamboanga del Sur||Bayan
|-
|434||Tukuran||[[:wikidata:Q132417|Q132417]]||{{wikidata|label|linked|Q132417}}||{{wikidata|title|linked|Q132417}}||Zamboanga del Sur||Bayan
|-
|435||Vincenzo A. Sagun||[[:wikidata:Q132432|Q132432]]||{{wikidata|label|linked|Q132432}}||{{wikidata|title|linked|Q132432}}||Zamboanga del Sur||Bayan
|-
|436||Zamboanga City||[[:wikidata:Q1629|Q1629]]||{{wikidata|label|linked|Q1629}}||{{wikidata|title|linked|Q1629}}||Zamboanga del Sur||Lungsod
|-
|437||Baliguian||[[:wikidata:Q132482|Q132482]]||{{wikidata|label|linked|Q132482}}||{{wikidata|title|linked|Q132482}}||Zamboanga del Norte||Bayan
|-
|438||Dapitan||[[:wikidata:Q1014775|Q1014775]]||{{wikidata|label|linked|Q1014775}}||{{wikidata|title|linked|Q1014775}}||Zamboanga del Norte||Lungsod
|-
|439||Dipolog||[[:wikidata:Q432169|Q432169]]||{{wikidata|label|linked|Q432169}}||{{wikidata|title|linked|Q432169}}||Zamboanga del Norte||Lungsod
|-
|440||Godod||[[:wikidata:Q132496|Q132496]]||{{wikidata|label|linked|Q132496}}||{{wikidata|title|linked|Q132496}}||Zamboanga del Norte||Bayan
|-
|441||Gutalac||[[:wikidata:Q132507|Q132507]]||{{wikidata|label|linked|Q132507}}||{{wikidata|title|linked|Q132507}}||Zamboanga del Norte||Bayan
|-
|442||Jose Dalman||[[:wikidata:Q132520|Q132520]]||{{wikidata|label|linked|Q132520}}||{{wikidata|title|linked|Q132520}}||Zamboanga del Norte||Bayan
|-
|443||Kalawit||[[:wikidata:Q132523|Q132523]]||{{wikidata|label|linked|Q132523}}||{{wikidata|title|linked|Q132523}}||Zamboanga del Norte||Bayan
|-
|444||Katipunan||[[:wikidata:Q132527|Q132527]]||{{wikidata|label|linked|Q132527}}||{{wikidata|title|linked|Q132527}}||Zamboanga del Norte||Bayan
|-
|445||La Libertad||[[:wikidata:Q132532|Q132532]]||{{wikidata|label|linked|Q132532}}||{{wikidata|title|linked|Q132532}}||Zamboanga del Norte||Bayan
|-
|446||Labason||[[:wikidata:Q132535|Q132535]]||{{wikidata|label|linked|Q132535}}||{{wikidata|title|linked|Q132535}}||Zamboanga del Norte||Bayan
|-
|447||Leon B. Postigo||[[:wikidata:Q132540|Q132540]]||{{wikidata|label|linked|Q132540}}||{{wikidata|title|linked|Q132540}}||Zamboanga del Norte||Bayan
|-
|448||Liloy||[[:wikidata:Q132553|Q132553]]||{{wikidata|label|linked|Q132553}}||{{wikidata|title|linked|Q132553}}||Zamboanga del Norte||Bayan
|-
|449||Manukan||[[:wikidata:Q132561|Q132561]]||{{wikidata|label|linked|Q132561}}||{{wikidata|title|linked|Q132561}}||Zamboanga del Norte||Bayan
|-
|450||Mutia||[[:wikidata:Q132566|Q132566]]||{{wikidata|label|linked|Q132566}}||{{wikidata|title|linked|Q132566}}||Zamboanga del Norte||Bayan
|-
|451||Piñan||[[:wikidata:Q132570|Q132570]]||{{wikidata|label|linked|Q132570}}||{{wikidata|title|linked|Q132570}}||Zamboanga del Norte||Bayan
|-
|452||Polanco||[[:wikidata:Q132574|Q132574]]||{{wikidata|label|linked|Q132574}}||{{wikidata|title|linked|Q132574}}||Zamboanga del Norte||Bayan
|-
|453||Roxas||[[:wikidata:Q132578|Q132578]]||{{wikidata|label|linked|Q132578}}||{{wikidata|title|linked|Q132578}}||Zamboanga del Norte||Bayan
|-
|454||Rizal||[[:wikidata:Q132583|Q132583]]||{{wikidata|label|linked|Q132583}}||{{wikidata|title|linked|Q132583}}||Zamboanga del Norte||Bayan
|-
|455||Salug||[[:wikidata:Q132586|Q132586]]||{{wikidata|label|linked|Q132586}}||{{wikidata|title|linked|Q132586}}||Zamboanga del Norte||Bayan
|-
|456||Sergio Osmeña Sr.||[[:wikidata:Q132591|Q132591]]||{{wikidata|label|linked|Q132591}}||{{wikidata|title|linked|Q132591}}||Zamboanga del Norte||Bayan
|-
|457||Siayan||[[:wikidata:Q132594|Q132594]]||{{wikidata|label|linked|Q132594}}||{{wikidata|title|linked|Q132594}}||Zamboanga del Norte||Bayan
|-
|458||Sibuco||[[:wikidata:Q132599|Q132599]]||{{wikidata|label|linked|Q132599}}||{{wikidata|title|linked|Q132599}}||Zamboanga del Norte||Bayan
|-
|459||Sibutad||[[:wikidata:Q132601|Q132601]]||{{wikidata|label|linked|Q132601}}||{{wikidata|title|linked|Q132601}}||Zamboanga del Norte||Bayan
|-
|460||Sindangan||[[:wikidata:Q132605|Q132605]]||{{wikidata|label|linked|Q132605}}||{{wikidata|title|linked|Q132605}}||Zamboanga del Norte||Bayan
|-
|461||Siocon||[[:wikidata:Q132610|Q132610]]||{{wikidata|label|linked|Q132610}}||{{wikidata|title|linked|Q132610}}||Zamboanga del Norte||Bayan
|-
|462||Sirawai||[[:wikidata:Q132613|Q132613]]||{{wikidata|label|linked|Q132613}}||{{wikidata|title|linked|Q132613}}||Zamboanga del Norte||Bayan
|-
|463||Tampilisan||[[:wikidata:Q132617|Q132617]]||{{wikidata|label|linked|Q132617}}||{{wikidata|title|linked|Q132617}}||Zamboanga del Norte||Bayan
|-
|464||Anahawan||[[:wikidata:Q173608|Q173608]]||{{wikidata|label|linked|Q173608}}||{{wikidata|title|linked|Q173608}}||Southern Leyte||Bayan
|-
|465||Bontoc||[[:wikidata:Q173622|Q173622]]||{{wikidata|label|linked|Q173622}}||{{wikidata|title|linked|Q173622}}||Southern Leyte||Bayan
|-
|466||Hinunangan||[[:wikidata:Q173632|Q173632]]||{{wikidata|label|linked|Q173632}}||{{wikidata|title|linked|Q173632}}||Southern Leyte||Bayan
|-
|467||Hinundayan||[[:wikidata:Q173641|Q173641]]||{{wikidata|label|linked|Q173641}}||{{wikidata|title|linked|Q173641}}||Southern Leyte||Bayan
|-
|468||Libagon||[[:wikidata:Q173655|Q173655]]||{{wikidata|label|linked|Q173655}}||{{wikidata|title|linked|Q173655}}||Southern Leyte||Bayan
|-
|469||Liloan||[[:wikidata:Q173665|Q173665]]||{{wikidata|label|linked|Q173665}}||{{wikidata|title|linked|Q173665}}||Southern Leyte||Bayan
|-
|470||Limasawa||[[:wikidata:Q173678|Q173678]]||{{wikidata|label|linked|Q173678}}||{{wikidata|title|linked|Q173678}}||Southern Leyte||Bayan
|-
|471||Maasin||[[:wikidata:Q1025387|Q1025387]]||{{wikidata|label|linked|Q1025387}}||{{wikidata|title|linked|Q1025387}}||Southern Leyte||Lungsod
|-
|472||Macrohon||[[:wikidata:Q173688|Q173688]]||{{wikidata|label|linked|Q173688}}||{{wikidata|title|linked|Q173688}}||Southern Leyte||Bayan
|-
|473||Malitbog||[[:wikidata:Q173701|Q173701]]||{{wikidata|label|linked|Q173701}}||{{wikidata|title|linked|Q173701}}||Southern Leyte||Bayan
|-
|474||Padre Burgos||[[:wikidata:Q173713|Q173713]]||{{wikidata|label|linked|Q173713}}||{{wikidata|title|linked|Q173713}}||Southern Leyte||Bayan
|-
|475||Pintuyan||[[:wikidata:Q173723|Q173723]]||{{wikidata|label|linked|Q173723}}||{{wikidata|title|linked|Q173723}}||Southern Leyte||Bayan
|-
|476||Saint Bernard||[[:wikidata:Q173735|Q173735]]||{{wikidata|label|linked|Q173735}}||{{wikidata|title|linked|Q173735}}||Southern Leyte||Bayan
|-
|477||San Francisco||[[:wikidata:Q173745|Q173745]]||{{wikidata|label|linked|Q173745}}||{{wikidata|title|linked|Q173745}}||Southern Leyte||Bayan
|-
|478||San Juan||[[:wikidata:Q173754|Q173754]]||{{wikidata|label|linked|Q173754}}||{{wikidata|title|linked|Q173754}}||Southern Leyte||Bayan
|-
|479||San Ricardo||[[:wikidata:Q173763|Q173763]]||{{wikidata|label|linked|Q173763}}||{{wikidata|title|linked|Q173763}}||Southern Leyte||Bayan
|-
|480||Silago||[[:wikidata:Q173774|Q173774]]||{{wikidata|label|linked|Q173774}}||{{wikidata|title|linked|Q173774}}||Southern Leyte||Bayan
|-
|481||Sogod||[[:wikidata:Q173792|Q173792]]||{{wikidata|label|linked|Q173792}}||{{wikidata|title|linked|Q173792}}||Southern Leyte||Bayan
|-
|482||Tomas Oppus||[[:wikidata:Q173811|Q173811]]||{{wikidata|label|linked|Q173811}}||{{wikidata|title|linked|Q173811}}||Southern Leyte||Bayan
|-
|483||Almagro||[[:wikidata:Q816088|Q816088]]||{{wikidata|label|linked|Q816088}}||{{wikidata|title|linked|Q816088}}||Samar||Bayan
|-
|484||Basey||[[:wikidata:Q809957|Q809957]]||{{wikidata|label|linked|Q809957}}||{{wikidata|title|linked|Q809957}}||Samar||Bayan
|-
|485||Calbayog||[[:wikidata:Q577336|Q577336]]||{{wikidata|label|linked|Q577336}}||{{wikidata|title|linked|Q577336}}||Samar||Lungsod
|-
|486||Calbiga||[[:wikidata:Q816128|Q816128]]||{{wikidata|label|linked|Q816128}}||{{wikidata|title|linked|Q816128}}||Samar||Bayan
|-
|487||Catbalogan||[[:wikidata:Q1020709|Q1020709]]||{{wikidata|label|linked|Q1020709}}||{{wikidata|title|linked|Q1020709}}||Samar||Lungsod
|-
|488||Daram||[[:wikidata:Q816142|Q816142]]||{{wikidata|label|linked|Q816142}}||{{wikidata|title|linked|Q816142}}||Samar||Bayan
|-
|489||Gandara||[[:wikidata:Q816160|Q816160]]||{{wikidata|label|linked|Q816160}}||{{wikidata|title|linked|Q816160}}||Samar||Bayan
|-
|490||Hinabangan||[[:wikidata:Q816184|Q816184]]||{{wikidata|label|linked|Q816184}}||{{wikidata|title|linked|Q816184}}||Samar||Bayan
|-
|491||Jiabong||[[:wikidata:Q816207|Q816207]]||{{wikidata|label|linked|Q816207}}||{{wikidata|title|linked|Q816207}}||Samar||Bayan
|-
|492||Marabut||[[:wikidata:Q816240|Q816240]]||{{wikidata|label|linked|Q816240}}||{{wikidata|title|linked|Q816240}}||Samar||Bayan
|-
|493||Matuguinao||[[:wikidata:Q816267|Q816267]]||{{wikidata|label|linked|Q816267}}||{{wikidata|title|linked|Q816267}}||Samar||Bayan
|-
|494||Motiong||[[:wikidata:Q816296|Q816296]]||{{wikidata|label|linked|Q816296}}||{{wikidata|title|linked|Q816296}}||Samar||Bayan
|-
|495||Pagsanghan||[[:wikidata:Q816320|Q816320]]||{{wikidata|label|linked|Q816320}}||{{wikidata|title|linked|Q816320}}||Samar||Bayan
|-
|496||Paranas||[[:wikidata:Q816342|Q816342]]||{{wikidata|label|linked|Q816342}}||{{wikidata|title|linked|Q816342}}||Samar||Bayan
|-
|497||Pinabacdao||[[:wikidata:Q252184|Q252184]]||{{wikidata|label|linked|Q252184}}||{{wikidata|title|linked|Q252184}}||Samar||Bayan
|-
|498||San Jorge||[[:wikidata:Q816396|Q816396]]||{{wikidata|label|linked|Q816396}}||{{wikidata|title|linked|Q816396}}||Samar||Bayan
|-
|499||San Jose de Buan||[[:wikidata:Q816413|Q816413]]||{{wikidata|label|linked|Q816413}}||{{wikidata|title|linked|Q816413}}||Samar||Bayan
|-
|500||San Sebastian||[[:wikidata:Q816435|Q816435]]||{{wikidata|label|linked|Q816435}}||{{wikidata|title|linked|Q816435}}||Samar||Bayan
|-
|501||Santa Margarita||[[:wikidata:Q816454|Q816454]]||{{wikidata|label|linked|Q816454}}||{{wikidata|title|linked|Q816454}}||Samar||Bayan
|-
|502||Santa Rita||[[:wikidata:Q816471|Q816471]]||{{wikidata|label|linked|Q816471}}||{{wikidata|title|linked|Q816471}}||Samar||Bayan
|-
|503||Santo Niño||[[:wikidata:Q608320|Q608320]]||{{wikidata|label|linked|Q608320}}||{{wikidata|title|linked|Q608320}}||Samar||Bayan
|-
|504||Tagapul-an||[[:wikidata:Q126346|Q126346]]||{{wikidata|label|linked|Q126346}}||{{wikidata|title|linked|Q126346}}||Samar||Bayan
|-
|505||Talalora||[[:wikidata:Q816519|Q816519]]||{{wikidata|label|linked|Q816519}}||{{wikidata|title|linked|Q816519}}||Samar||Bayan
|-
|506||Tarangnan||[[:wikidata:Q816542|Q816542]]||{{wikidata|label|linked|Q816542}}||{{wikidata|title|linked|Q816542}}||Samar||Bayan
|-
|507||Villareal||[[:wikidata:Q816564|Q816564]]||{{wikidata|label|linked|Q816564}}||{{wikidata|title|linked|Q816564}}||Samar||Bayan
|-
|508||Zumarraga||[[:wikidata:Q229664|Q229664]]||{{wikidata|label|linked|Q229664}}||{{wikidata|title|linked|Q229664}}||Samar||Bayan
|-
|509||Allen||[[:wikidata:Q174784|Q174784]]||{{wikidata|label|linked|Q174784}}||{{wikidata|title|linked|Q174784}}||Northern Samar||Bayan
|-
|510||Biri||[[:wikidata:Q174801|Q174801]]||{{wikidata|label|linked|Q174801}}||{{wikidata|title|linked|Q174801}}||Northern Samar||Bayan
|-
|511||Bobon||[[:wikidata:Q174822|Q174822]]||{{wikidata|label|linked|Q174822}}||{{wikidata|title|linked|Q174822}}||Northern Samar||Bayan
|-
|512||Capul||[[:wikidata:Q174871|Q174871]]||{{wikidata|label|linked|Q174871}}||{{wikidata|title|linked|Q174871}}||Northern Samar||Bayan
|-
|513||Catarman||[[:wikidata:Q174886|Q174886]]||{{wikidata|label|linked|Q174886}}||{{wikidata|title|linked|Q174886}}||Northern Samar||Bayan
|-
|514||Catubig||[[:wikidata:Q174906|Q174906]]||{{wikidata|label|linked|Q174906}}||{{wikidata|title|linked|Q174906}}||Northern Samar||Bayan
|-
|515||Gamay||[[:wikidata:Q174919|Q174919]]||{{wikidata|label|linked|Q174919}}||{{wikidata|title|linked|Q174919}}||Northern Samar||Bayan
|-
|516||Laoang||[[:wikidata:Q174940|Q174940]]||{{wikidata|label|linked|Q174940}}||{{wikidata|title|linked|Q174940}}||Northern Samar||Bayan
|-
|517||Lapinig||[[:wikidata:Q174962|Q174962]]||{{wikidata|label|linked|Q174962}}||{{wikidata|title|linked|Q174962}}||Northern Samar||Bayan
|-
|518||Las Navas||[[:wikidata:Q174987|Q174987]]||{{wikidata|label|linked|Q174987}}||{{wikidata|title|linked|Q174987}}||Northern Samar||Bayan
|-
|519||Lavezares||[[:wikidata:Q175008|Q175008]]||{{wikidata|label|linked|Q175008}}||{{wikidata|title|linked|Q175008}}||Northern Samar||Bayan
|-
|520||Lope de Vega||[[:wikidata:Q175031|Q175031]]||{{wikidata|label|linked|Q175031}}||{{wikidata|title|linked|Q175031}}||Northern Samar||Bayan
|-
|521||Mapanas||[[:wikidata:Q175054|Q175054]]||{{wikidata|label|linked|Q175054}}||{{wikidata|title|linked|Q175054}}||Northern Samar||Bayan
|-
|522||Mondragon||[[:wikidata:Q175082|Q175082]]||{{wikidata|label|linked|Q175082}}||{{wikidata|title|linked|Q175082}}||Northern Samar||Bayan
|-
|523||Palapag||[[:wikidata:Q175100|Q175100]]||{{wikidata|label|linked|Q175100}}||{{wikidata|title|linked|Q175100}}||Northern Samar||Bayan
|-
|524||Pambujan||[[:wikidata:Q175115|Q175115]]||{{wikidata|label|linked|Q175115}}||{{wikidata|title|linked|Q175115}}||Northern Samar||Bayan
|-
|525||Rosario||[[:wikidata:Q175136|Q175136]]||{{wikidata|label|linked|Q175136}}||{{wikidata|title|linked|Q175136}}||Northern Samar||Bayan
|-
|526||San Antonio||[[:wikidata:Q175163|Q175163]]||{{wikidata|label|linked|Q175163}}||{{wikidata|title|linked|Q175163}}||Northern Samar||Bayan
|-
|527||San Isidro||[[:wikidata:Q175183|Q175183]]||{{wikidata|label|linked|Q175183}}||{{wikidata|title|linked|Q175183}}||Northern Samar||Bayan
|-
|528||San Jose||[[:wikidata:Q175203|Q175203]]||{{wikidata|label|linked|Q175203}}||{{wikidata|title|linked|Q175203}}||Northern Samar||Bayan
|-
|529||San Roque||[[:wikidata:Q175230|Q175230]]||{{wikidata|label|linked|Q175230}}||{{wikidata|title|linked|Q175230}}||Northern Samar||Bayan
|-
|530||San Vicente||[[:wikidata:Q175247|Q175247]]||{{wikidata|label|linked|Q175247}}||{{wikidata|title|linked|Q175247}}||Northern Samar||Bayan
|-
|531||Silvino Lobos||[[:wikidata:Q175267|Q175267]]||{{wikidata|label|linked|Q175267}}||{{wikidata|title|linked|Q175267}}||Northern Samar||Bayan
|-
|532||Victoria||[[:wikidata:Q175283|Q175283]]||{{wikidata|label|linked|Q175283}}||{{wikidata|title|linked|Q175283}}||Northern Samar||Bayan
|-
|533||Abuyog||[[:wikidata:Q212877|Q212877]]||{{wikidata|label|linked|Q212877}}||{{wikidata|title|linked|Q212877}}||Leyte||Bayan
|-
|534||Alangalang||[[:wikidata:Q212888|Q212888]]||{{wikidata|label|linked|Q212888}}||{{wikidata|title|linked|Q212888}}||Leyte||Bayan
|-
|535||Albuera||[[:wikidata:Q212896|Q212896]]||{{wikidata|label|linked|Q212896}}||{{wikidata|title|linked|Q212896}}||Leyte||Bayan
|-
|536||Babatngon||[[:wikidata:Q212907|Q212907]]||{{wikidata|label|linked|Q212907}}||{{wikidata|title|linked|Q212907}}||Leyte||Bayan
|-
|537||Barugo||[[:wikidata:Q212924|Q212924]]||{{wikidata|label|linked|Q212924}}||{{wikidata|title|linked|Q212924}}||Leyte||Bayan
|-
|538||Bato||[[:wikidata:Q212935|Q212935]]||{{wikidata|label|linked|Q212935}}||{{wikidata|title|linked|Q212935}}||Leyte||Bayan
|-
|539||Baybay||[[:wikidata:Q812117|Q812117]]||{{wikidata|label|linked|Q812117}}||{{wikidata|title|linked|Q812117}}||Leyte||Lungsod
|-
|540||Burauen||[[:wikidata:Q212945|Q212945]]||{{wikidata|label|linked|Q212945}}||{{wikidata|title|linked|Q212945}}||Leyte||Bayan
|-
|541||Calubian||[[:wikidata:Q212951|Q212951]]||{{wikidata|label|linked|Q212951}}||{{wikidata|title|linked|Q212951}}||Leyte||Bayan
|-
|542||Capoocan||[[:wikidata:Q212958|Q212958]]||{{wikidata|label|linked|Q212958}}||{{wikidata|title|linked|Q212958}}||Leyte||Bayan
|-
|543||Carigara||[[:wikidata:Q212969|Q212969]]||{{wikidata|label|linked|Q212969}}||{{wikidata|title|linked|Q212969}}||Leyte||Bayan
|-
|544||Dagami||[[:wikidata:Q212981|Q212981]]||{{wikidata|label|linked|Q212981}}||{{wikidata|title|linked|Q212981}}||Leyte||Bayan
|-
|545||Dulag||[[:wikidata:Q212988|Q212988]]||{{wikidata|label|linked|Q212988}}||{{wikidata|title|linked|Q212988}}||Leyte||Bayan
|-
|546||Hilongos||[[:wikidata:Q213006|Q213006]]||{{wikidata|label|linked|Q213006}}||{{wikidata|title|linked|Q213006}}||Leyte||Bayan
|-
|547||Hindang||[[:wikidata:Q213024|Q213024]]||{{wikidata|label|linked|Q213024}}||{{wikidata|title|linked|Q213024}}||Leyte||Bayan
|-
|548||Inopacan||[[:wikidata:Q213042|Q213042]]||{{wikidata|label|linked|Q213042}}||{{wikidata|title|linked|Q213042}}||Leyte||Bayan
|-
|549||Isabel||[[:wikidata:Q213060|Q213060]]||{{wikidata|label|linked|Q213060}}||{{wikidata|title|linked|Q213060}}||Leyte||Bayan
|-
|550||Jaro||[[:wikidata:Q213086|Q213086]]||{{wikidata|label|linked|Q213086}}||{{wikidata|title|linked|Q213086}}||Leyte||Bayan
|-
|551||Javier||[[:wikidata:Q213101|Q213101]]||{{wikidata|label|linked|Q213101}}||{{wikidata|title|linked|Q213101}}||Leyte||Bayan
|-
|552||Julita||[[:wikidata:Q213113|Q213113]]||{{wikidata|label|linked|Q213113}}||{{wikidata|title|linked|Q213113}}||Leyte||Bayan
|-
|553||Kananga||[[:wikidata:Q213130|Q213130]]||{{wikidata|label|linked|Q213130}}||{{wikidata|title|linked|Q213130}}||Leyte||Bayan
|-
|554||La Paz||[[:wikidata:Q213144|Q213144]]||{{wikidata|label|linked|Q213144}}||{{wikidata|title|linked|Q213144}}||Leyte||Bayan
|-
|555||Leyte||[[:wikidata:Q213160|Q213160]]||{{wikidata|label|linked|Q213160}}||{{wikidata|title|linked|Q213160}}||Leyte||Bayan
|-
|556||MacArthur||[[:wikidata:Q213174|Q213174]]||{{wikidata|label|linked|Q213174}}||{{wikidata|title|linked|Q213174}}||Leyte||Bayan
|-
|557||Mahaplag||[[:wikidata:Q213190|Q213190]]||{{wikidata|label|linked|Q213190}}||{{wikidata|title|linked|Q213190}}||Leyte||Bayan
|-
|558||Matag-ob||[[:wikidata:Q213209|Q213209]]||{{wikidata|label|linked|Q213209}}||{{wikidata|title|linked|Q213209}}||Leyte||Bayan
|-
|559||Matalom||[[:wikidata:Q213227|Q213227]]||{{wikidata|label|linked|Q213227}}||{{wikidata|title|linked|Q213227}}||Leyte||Bayan
|-
|560||Mayorga||[[:wikidata:Q213245|Q213245]]||{{wikidata|label|linked|Q213245}}||{{wikidata|title|linked|Q213245}}||Leyte||Bayan
|-
|561||Merida||[[:wikidata:Q213261|Q213261]]||{{wikidata|label|linked|Q213261}}||{{wikidata|title|linked|Q213261}}||Leyte||Bayan
|-
|562||Ormoc||[[:wikidata:Q1014782|Q1014782]]||{{wikidata|label|linked|Q1014782}}||{{wikidata|title|linked|Q1014782}}||Leyte||Lungsod
|-
|563||Palo||[[:wikidata:Q213281|Q213281]]||{{wikidata|label|linked|Q213281}}||{{wikidata|title|linked|Q213281}}||Leyte||Bayan
|-
|564||Palompon||[[:wikidata:Q213303|Q213303]]||{{wikidata|label|linked|Q213303}}||{{wikidata|title|linked|Q213303}}||Leyte||Bayan
|-
|565||Pastrana||[[:wikidata:Q213323|Q213323]]||{{wikidata|label|linked|Q213323}}||{{wikidata|title|linked|Q213323}}||Leyte||Bayan
|-
|566||San Isidro||[[:wikidata:Q213341|Q213341]]||{{wikidata|label|linked|Q213341}}||{{wikidata|title|linked|Q213341}}||Leyte||Bayan
|-
|567||San Miguel||[[:wikidata:Q213357|Q213357]]||{{wikidata|label|linked|Q213357}}||{{wikidata|title|linked|Q213357}}||Leyte||Bayan
|-
|568||Santa Fe||[[:wikidata:Q213378|Q213378]]||{{wikidata|label|linked|Q213378}}||{{wikidata|title|linked|Q213378}}||Leyte||Bayan
|-
|569||Tabango||[[:wikidata:Q213400|Q213400]]||{{wikidata|label|linked|Q213400}}||{{wikidata|title|linked|Q213400}}||Leyte||Bayan
|-
|570||Tabontabon||[[:wikidata:Q213420|Q213420]]||{{wikidata|label|linked|Q213420}}||{{wikidata|title|linked|Q213420}}||Leyte||Bayan
|-
|571||Tacloban||[[:wikidata:Q40626|Q40626]]||{{wikidata|label|linked|Q40626}}||{{wikidata|title|linked|Q40626}}||Leyte||Lungsod
|-
|572||Tanauan||[[:wikidata:Q213431|Q213431]]||{{wikidata|label|linked|Q213431}}||{{wikidata|title|linked|Q213431}}||Leyte||Bayan
|-
|573||Tolosa||[[:wikidata:Q213442|Q213442]]||{{wikidata|label|linked|Q213442}}||{{wikidata|title|linked|Q213442}}||Leyte||Bayan
|-
|574||Tunga||[[:wikidata:Q213455|Q213455]]||{{wikidata|label|linked|Q213455}}||{{wikidata|title|linked|Q213455}}||Leyte||Bayan
|-
|575||Villaba||[[:wikidata:Q213463|Q213463]]||{{wikidata|label|linked|Q213463}}||{{wikidata|title|linked|Q213463}}||Leyte||Bayan
|-
|576||Arteche||[[:wikidata:Q313880|Q313880]]||{{wikidata|label|linked|Q313880}}||{{wikidata|title|linked|Q313880}}||Eastern Samar||Bayan
|-
|577||Balangiga||[[:wikidata:Q313904|Q313904]]||{{wikidata|label|linked|Q313904}}||{{wikidata|title|linked|Q313904}}||Eastern Samar||Bayan
|-
|578||Balangkayan||[[:wikidata:Q313914|Q313914]]||{{wikidata|label|linked|Q313914}}||{{wikidata|title|linked|Q313914}}||Eastern Samar||Bayan
|-
|579||Borongan||[[:wikidata:Q894059|Q894059]]||{{wikidata|label|linked|Q894059}}||{{wikidata|title|linked|Q894059}}||Eastern Samar||Lungsod
|-
|580||Can-avid||[[:wikidata:Q313926|Q313926]]||{{wikidata|label|linked|Q313926}}||{{wikidata|title|linked|Q313926}}||Eastern Samar||Bayan
|-
|581||Dolores||[[:wikidata:Q313939|Q313939]]||{{wikidata|label|linked|Q313939}}||{{wikidata|title|linked|Q313939}}||Eastern Samar||Bayan
|-
|582||General MacArthur||[[:wikidata:Q313951|Q313951]]||{{wikidata|label|linked|Q313951}}||{{wikidata|title|linked|Q313951}}||Eastern Samar||Bayan
|-
|583||Giporlos||[[:wikidata:Q313967|Q313967]]||{{wikidata|label|linked|Q313967}}||{{wikidata|title|linked|Q313967}}||Eastern Samar||Bayan
|-
|584||Guiuan||[[:wikidata:Q313984|Q313984]]||{{wikidata|label|linked|Q313984}}||{{wikidata|title|linked|Q313984}}||Eastern Samar||Bayan
|-
|585||Hernani||[[:wikidata:Q314002|Q314002]]||{{wikidata|label|linked|Q314002}}||{{wikidata|title|linked|Q314002}}||Eastern Samar||Bayan
|-
|586||Jipapad||[[:wikidata:Q314021|Q314021]]||{{wikidata|label|linked|Q314021}}||{{wikidata|title|linked|Q314021}}||Eastern Samar||Bayan
|-
|587||Lawaan||[[:wikidata:Q314046|Q314046]]||{{wikidata|label|linked|Q314046}}||{{wikidata|title|linked|Q314046}}||Eastern Samar||Bayan
|-
|588||Llorente||[[:wikidata:Q314070|Q314070]]||{{wikidata|label|linked|Q314070}}||{{wikidata|title|linked|Q314070}}||Eastern Samar||Bayan
|-
|589||Maslog||[[:wikidata:Q314096|Q314096]]||{{wikidata|label|linked|Q314096}}||{{wikidata|title|linked|Q314096}}||Eastern Samar||Bayan
|-
|590||Maydolong||[[:wikidata:Q314117|Q314117]]||{{wikidata|label|linked|Q314117}}||{{wikidata|title|linked|Q314117}}||Eastern Samar||Bayan
|-
|591||Mercedes||[[:wikidata:Q314129|Q314129]]||{{wikidata|label|linked|Q314129}}||{{wikidata|title|linked|Q314129}}||Eastern Samar||Bayan
|-
|592||Oras||[[:wikidata:Q314154|Q314154]]||{{wikidata|label|linked|Q314154}}||{{wikidata|title|linked|Q314154}}||Eastern Samar||Bayan
|-
|593||Quinapondan||[[:wikidata:Q314175|Q314175]]||{{wikidata|label|linked|Q314175}}||{{wikidata|title|linked|Q314175}}||Eastern Samar||Bayan
|-
|594||Salcedo||[[:wikidata:Q314197|Q314197]]||{{wikidata|label|linked|Q314197}}||{{wikidata|title|linked|Q314197}}||Eastern Samar||Bayan
|-
|595||San Julian||[[:wikidata:Q314220|Q314220]]||{{wikidata|label|linked|Q314220}}||{{wikidata|title|linked|Q314220}}||Eastern Samar||Bayan
|-
|596||San Policarpo||[[:wikidata:Q314239|Q314239]]||{{wikidata|label|linked|Q314239}}||{{wikidata|title|linked|Q314239}}||Eastern Samar||Bayan
|-
|597||Sulat||[[:wikidata:Q314257|Q314257]]||{{wikidata|label|linked|Q314257}}||{{wikidata|title|linked|Q314257}}||Eastern Samar||Bayan
|-
|598||Taft||[[:wikidata:Q205677|Q205677]]||{{wikidata|label|linked|Q205677}}||{{wikidata|title|linked|Q205677}}||Eastern Samar||Bayan
|-
|599||Almeria||[[:wikidata:Q406163|Q406163]]||{{wikidata|label|linked|Q406163}}||{{wikidata|title|linked|Q406163}}||Biliran||Bayan
|-
|600||Biliran||[[:wikidata:Q406186|Q406186]]||{{wikidata|label|linked|Q406186}}||{{wikidata|title|linked|Q406186}}||Biliran||Bayan
|-
|601||Cabucgayan||[[:wikidata:Q406226|Q406226]]||{{wikidata|label|linked|Q406226}}||{{wikidata|title|linked|Q406226}}||Biliran||Bayan
|-
|602||Caibiran||[[:wikidata:Q406267|Q406267]]||{{wikidata|label|linked|Q406267}}||{{wikidata|title|linked|Q406267}}||Biliran||Bayan
|-
|603||Culaba||[[:wikidata:Q406317|Q406317]]||{{wikidata|label|linked|Q406317}}||{{wikidata|title|linked|Q406317}}||Biliran||Bayan
|-
|604||Kawayan||[[:wikidata:Q406353|Q406353]]||{{wikidata|label|linked|Q406353}}||{{wikidata|title|linked|Q406353}}||Biliran||Bayan
|-
|605||Maripipi||[[:wikidata:Q406393|Q406393]]||{{wikidata|label|linked|Q406393}}||{{wikidata|title|linked|Q406393}}||Biliran||Bayan
|-
|606||Naval||[[:wikidata:Q277211|Q277211]]||{{wikidata|label|linked|Q277211}}||{{wikidata|title|linked|Q277211}}||Biliran||Bayan
|-
|607||Alcantara||[[:wikidata:Q315636|Q315636]]||{{wikidata|label|linked|Q315636}}||{{wikidata|title|linked|Q315636}}||Cebu||Bayan
|-
|608||Alcoy||[[:wikidata:Q315655|Q315655]]||{{wikidata|label|linked|Q315655}}||{{wikidata|title|linked|Q315655}}||Cebu||Bayan
|-
|609||Alegria||[[:wikidata:Q315669|Q315669]]||{{wikidata|label|linked|Q315669}}||{{wikidata|title|linked|Q315669}}||Cebu||Bayan
|-
|610||Aloguinsan||[[:wikidata:Q315687|Q315687]]||{{wikidata|label|linked|Q315687}}||{{wikidata|title|linked|Q315687}}||Cebu||Bayan
|-
|611||Argao||[[:wikidata:Q315703|Q315703]]||{{wikidata|label|linked|Q315703}}||{{wikidata|title|linked|Q315703}}||Cebu||Bayan
|-
|612||Asturias||[[:wikidata:Q315719|Q315719]]||{{wikidata|label|linked|Q315719}}||{{wikidata|title|linked|Q315719}}||Cebu||Bayan
|-
|613||Badian||[[:wikidata:Q315733|Q315733]]||{{wikidata|label|linked|Q315733}}||{{wikidata|title|linked|Q315733}}||Cebu||Bayan
|-
|614||Balamban||[[:wikidata:Q315754|Q315754]]||{{wikidata|label|linked|Q315754}}||{{wikidata|title|linked|Q315754}}||Cebu||Bayan
|-
|615||Bantayan||[[:wikidata:Q315771|Q315771]]||{{wikidata|label|linked|Q315771}}||{{wikidata|title|linked|Q315771}}||Cebu||Bayan
|-
|616||Barili||[[:wikidata:Q315790|Q315790]]||{{wikidata|label|linked|Q315790}}||{{wikidata|title|linked|Q315790}}||Cebu||Bayan
|-
|617||Bogo||[[:wikidata:Q890623|Q890623]]||{{wikidata|label|linked|Q890623}}||{{wikidata|title|linked|Q890623}}||Cebu||Lungsod
|-
|618||Boljoon||[[:wikidata:Q315809|Q315809]]||{{wikidata|label|linked|Q315809}}||{{wikidata|title|linked|Q315809}}||Cebu||Bayan
|-
|619||Borbon||[[:wikidata:Q315827|Q315827]]||{{wikidata|label|linked|Q315827}}||{{wikidata|title|linked|Q315827}}||Cebu||Bayan
|-
|620||Carcar||[[:wikidata:Q315851|Q315851]]||{{wikidata|label|linked|Q315851}}||{{wikidata|title|linked|Q315851}}||Cebu||Lungsod
|-
|621||Carmen||[[:wikidata:Q315882|Q315882]]||{{wikidata|label|linked|Q315882}}||{{wikidata|title|linked|Q315882}}||Cebu||Bayan
|-
|622||Catmon||[[:wikidata:Q315900|Q315900]]||{{wikidata|label|linked|Q315900}}||{{wikidata|title|linked|Q315900}}||Cebu||Bayan
|-
|623||Cebu City||[[:wikidata:Q1467|Q1467]]||{{wikidata|label|linked|Q1467}}||{{wikidata|title|linked|Q1467}}||Cebu||Lungsod
|-
|624||Compostela||[[:wikidata:Q315923|Q315923]]||{{wikidata|label|linked|Q315923}}||{{wikidata|title|linked|Q315923}}||Cebu||Bayan
|-
|625||Consolacion||[[:wikidata:Q315945|Q315945]]||{{wikidata|label|linked|Q315945}}||{{wikidata|title|linked|Q315945}}||Cebu||Bayan
|-
|626||Cordova||[[:wikidata:Q315965|Q315965]]||{{wikidata|label|linked|Q315965}}||{{wikidata|title|linked|Q315965}}||Cebu||Bayan
|-
|627||Daanbantayan||[[:wikidata:Q315981|Q315981]]||{{wikidata|label|linked|Q315981}}||{{wikidata|title|linked|Q315981}}||Cebu||Bayan
|-
|628||Dalaguete||[[:wikidata:Q316001|Q316001]]||{{wikidata|label|linked|Q316001}}||{{wikidata|title|linked|Q316001}}||Cebu||Bayan
|-
|629||Danao||[[:wikidata:Q1159273|Q1159273]]||{{wikidata|label|linked|Q1159273}}||{{wikidata|title|linked|Q1159273}}||Cebu||Lungsod
|-
|630||Dumanjug||[[:wikidata:Q316019|Q316019]]||{{wikidata|label|linked|Q316019}}||{{wikidata|title|linked|Q316019}}||Cebu||Bayan
|-
|631||Ginatilan||[[:wikidata:Q316037|Q316037]]||{{wikidata|label|linked|Q316037}}||{{wikidata|title|linked|Q316037}}||Cebu||Bayan
|-
|632||Lapu-Lapu||[[:wikidata:Q574903|Q574903]]||{{wikidata|label|linked|Q574903}}||{{wikidata|title|linked|Q574903}}||Cebu||Lungsod
|-
|633||Liloan||[[:wikidata:Q316056|Q316056]]||{{wikidata|label|linked|Q316056}}||{{wikidata|title|linked|Q316056}}||Cebu||Bayan
|-
|634||Madridejos||[[:wikidata:Q316080|Q316080]]||{{wikidata|label|linked|Q316080}}||{{wikidata|title|linked|Q316080}}||Cebu||Bayan
|-
|635||Malabuyoc||[[:wikidata:Q316101|Q316101]]||{{wikidata|label|linked|Q316101}}||{{wikidata|title|linked|Q316101}}||Cebu||Bayan
|-
|636||Mandaue||[[:wikidata:Q1889017|Q1889017]]||{{wikidata|label|linked|Q1889017}}||{{wikidata|title|linked|Q1889017}}||Cebu||Lungsod
|-
|637||Medellin||[[:wikidata:Q316125|Q316125]]||{{wikidata|label|linked|Q316125}}||{{wikidata|title|linked|Q316125}}||Cebu||Bayan
|-
|638||Minglanilla||[[:wikidata:Q316146|Q316146]]||{{wikidata|label|linked|Q316146}}||{{wikidata|title|linked|Q316146}}||Cebu||Bayan
|-
|639||Moalboal||[[:wikidata:Q316171|Q316171]]||{{wikidata|label|linked|Q316171}}||{{wikidata|title|linked|Q316171}}||Cebu||Bayan
|-
|640||Naga||[[:wikidata:Q316197|Q316197]]||{{wikidata|label|linked|Q316197}}||{{wikidata|title|linked|Q316197}}||Cebu||Lungsod
|-
|641||Oslob||[[:wikidata:Q316230|Q316230]]||{{wikidata|label|linked|Q316230}}||{{wikidata|title|linked|Q316230}}||Cebu||Bayan
|-
|642||Pilar||[[:wikidata:Q316245|Q316245]]||{{wikidata|label|linked|Q316245}}||{{wikidata|title|linked|Q316245}}||Cebu||Bayan
|-
|643||Pinamungajan||[[:wikidata:Q316259|Q316259]]||{{wikidata|label|linked|Q316259}}||{{wikidata|title|linked|Q316259}}||Cebu||Bayan
|-
|644||Poro||[[:wikidata:Q316275|Q316275]]||{{wikidata|label|linked|Q316275}}||{{wikidata|title|linked|Q316275}}||Cebu||Bayan
|-
|645||Ronda||[[:wikidata:Q316289|Q316289]]||{{wikidata|label|linked|Q316289}}||{{wikidata|title|linked|Q316289}}||Cebu||Bayan
|-
|646||Samboan||[[:wikidata:Q316303|Q316303]]||{{wikidata|label|linked|Q316303}}||{{wikidata|title|linked|Q316303}}||Cebu||Bayan
|-
|647||San Fernando||[[:wikidata:Q316318|Q316318]]||{{wikidata|label|linked|Q316318}}||{{wikidata|title|linked|Q316318}}||Cebu||Lungsod
|-
|648||San Francisco||[[:wikidata:Q316332|Q316332]]||{{wikidata|label|linked|Q316332}}||{{wikidata|title|linked|Q316332}}||Cebu||Bayan
|-
|649||San Remigio||[[:wikidata:Q316350|Q316350]]||{{wikidata|label|linked|Q316350}}||{{wikidata|title|linked|Q316350}}||Cebu||Bayan
|-
|650||Santa Fe||[[:wikidata:Q316370|Q316370]]||{{wikidata|label|linked|Q316370}}||{{wikidata|title|linked|Q316370}}||Cebu||Bayan
|-
|651||Santander||[[:wikidata:Q316386|Q316386]]||{{wikidata|label|linked|Q316386}}||{{wikidata|title|linked|Q316386}}||Cebu||Bayan
|-
|652||Sibonga||[[:wikidata:Q316404|Q316404]]||{{wikidata|label|linked|Q316404}}||{{wikidata|title|linked|Q316404}}||Cebu||Bayan
|-
|653||Sogod||[[:wikidata:Q316432|Q316432]]||{{wikidata|label|linked|Q316432}}||{{wikidata|title|linked|Q316432}}||Cebu||Bayan
|-
|654||Tabogon||[[:wikidata:Q316453|Q316453]]||{{wikidata|label|linked|Q316453}}||{{wikidata|title|linked|Q316453}}||Cebu||Bayan
|-
|655||Tabuelan||[[:wikidata:Q316474|Q316474]]||{{wikidata|label|linked|Q316474}}||{{wikidata|title|linked|Q316474}}||Cebu||Bayan
|-
|656||Talisay||[[:wikidata:Q316500|Q316500]]||{{wikidata|label|linked|Q316500}}||{{wikidata|title|linked|Q316500}}||Cebu||Lungsod
|-
|657||Toledo||[[:wikidata:Q316527|Q316527]]||{{wikidata|label|linked|Q316527}}||{{wikidata|title|linked|Q316527}}||Cebu||Lungsod
|-
|658||Tuburan||[[:wikidata:Q316547|Q316547]]||{{wikidata|label|linked|Q316547}}||{{wikidata|title|linked|Q316547}}||Cebu||Bayan
|-
|659||Tudela||[[:wikidata:Q316564|Q316564]]||{{wikidata|label|linked|Q316564}}||{{wikidata|title|linked|Q316564}}||Cebu||Bayan
|-
|660||Alburquerque||[[:wikidata:Q404369|Q404369]]||{{wikidata|label|linked|Q404369}}||{{wikidata|title|linked|Q404369}}||Bohol||Bayan
|-
|661||Alicia||[[:wikidata:Q404403|Q404403]]||{{wikidata|label|linked|Q404403}}||{{wikidata|title|linked|Q404403}}||Bohol||Bayan
|-
|662||Anda||[[:wikidata:Q404434|Q404434]]||{{wikidata|label|linked|Q404434}}||{{wikidata|title|linked|Q404434}}||Bohol||Bayan
|-
|663||Antequera||[[:wikidata:Q404459|Q404459]]||{{wikidata|label|linked|Q404459}}||{{wikidata|title|linked|Q404459}}||Bohol||Bayan
|-
|664||Baclayon||[[:wikidata:Q404489|Q404489]]||{{wikidata|label|linked|Q404489}}||{{wikidata|title|linked|Q404489}}||Bohol||Bayan
|-
|665||Balilihan||[[:wikidata:Q404519|Q404519]]||{{wikidata|label|linked|Q404519}}||{{wikidata|title|linked|Q404519}}||Bohol||Bayan
|-
|666||Batuan||[[:wikidata:Q404549|Q404549]]||{{wikidata|label|linked|Q404549}}||{{wikidata|title|linked|Q404549}}||Bohol||Bayan
|-
|667||Bien Unido||[[:wikidata:Q404581|Q404581]]||{{wikidata|label|linked|Q404581}}||{{wikidata|title|linked|Q404581}}||Bohol||Bayan
|-
|668||Bilar||[[:wikidata:Q404604|Q404604]]||{{wikidata|label|linked|Q404604}}||{{wikidata|title|linked|Q404604}}||Bohol||Bayan
|-
|669||Buenavista||[[:wikidata:Q404623|Q404623]]||{{wikidata|label|linked|Q404623}}||{{wikidata|title|linked|Q404623}}||Bohol||Bayan
|-
|670||Calape||[[:wikidata:Q404652|Q404652]]||{{wikidata|label|linked|Q404652}}||{{wikidata|title|linked|Q404652}}||Bohol||Bayan
|-
|671||Candijay||[[:wikidata:Q404680|Q404680]]||{{wikidata|label|linked|Q404680}}||{{wikidata|title|linked|Q404680}}||Bohol||Bayan
|-
|672||Carmen||[[:wikidata:Q241239|Q241239]]||{{wikidata|label|linked|Q241239}}||{{wikidata|title|linked|Q241239}}||Bohol||Bayan
|-
|673||Catigbian||[[:wikidata:Q404750|Q404750]]||{{wikidata|label|linked|Q404750}}||{{wikidata|title|linked|Q404750}}||Bohol||Bayan
|-
|674||Clarin||[[:wikidata:Q404775|Q404775]]||{{wikidata|label|linked|Q404775}}||{{wikidata|title|linked|Q404775}}||Bohol||Bayan
|-
|675||Corella||[[:wikidata:Q404799|Q404799]]||{{wikidata|label|linked|Q404799}}||{{wikidata|title|linked|Q404799}}||Bohol||Bayan
|-
|676||Cortes||[[:wikidata:Q404825|Q404825]]||{{wikidata|label|linked|Q404825}}||{{wikidata|title|linked|Q404825}}||Bohol||Bayan
|-
|677||Dagohoy||[[:wikidata:Q404854|Q404854]]||{{wikidata|label|linked|Q404854}}||{{wikidata|title|linked|Q404854}}||Bohol||Bayan
|-
|678||Danao||[[:wikidata:Q404882|Q404882]]||{{wikidata|label|linked|Q404882}}||{{wikidata|title|linked|Q404882}}||Bohol||Bayan
|-
|679||Dauis||[[:wikidata:Q404908|Q404908]]||{{wikidata|label|linked|Q404908}}||{{wikidata|title|linked|Q404908}}||Bohol||Bayan
|-
|680||Dimiao||[[:wikidata:Q404930|Q404930]]||{{wikidata|label|linked|Q404930}}||{{wikidata|title|linked|Q404930}}||Bohol||Bayan
|-
|681||Duero||[[:wikidata:Q404951|Q404951]]||{{wikidata|label|linked|Q404951}}||{{wikidata|title|linked|Q404951}}||Bohol||Bayan
|-
|682||Garcia Hernandez||[[:wikidata:Q404976|Q404976]]||{{wikidata|label|linked|Q404976}}||{{wikidata|title|linked|Q404976}}||Bohol||Bayan
|-
|683||Getafe||[[:wikidata:Q405005|Q405005]]||{{wikidata|label|linked|Q405005}}||{{wikidata|title|linked|Q405005}}||Bohol||Bayan
|-
|684||Guindulman||[[:wikidata:Q405058|Q405058]]||{{wikidata|label|linked|Q405058}}||{{wikidata|title|linked|Q405058}}||Bohol||Bayan
|-
|685||Inabanga||[[:wikidata:Q405088|Q405088]]||{{wikidata|label|linked|Q405088}}||{{wikidata|title|linked|Q405088}}||Bohol||Bayan
|-
|686||Jagna||[[:wikidata:Q405110|Q405110]]||{{wikidata|label|linked|Q405110}}||{{wikidata|title|linked|Q405110}}||Bohol||Bayan
|-
|687||Lila||[[:wikidata:Q405141|Q405141]]||{{wikidata|label|linked|Q405141}}||{{wikidata|title|linked|Q405141}}||Bohol||Bayan
|-
|688||Loay||[[:wikidata:Q405171|Q405171]]||{{wikidata|label|linked|Q405171}}||{{wikidata|title|linked|Q405171}}||Bohol||Bayan
|-
|689||Loboc||[[:wikidata:Q405197|Q405197]]||{{wikidata|label|linked|Q405197}}||{{wikidata|title|linked|Q405197}}||Bohol||Bayan
|-
|690||Loon||[[:wikidata:Q405224|Q405224]]||{{wikidata|label|linked|Q405224}}||{{wikidata|title|linked|Q405224}}||Bohol||Bayan
|-
|691||Mabini||[[:wikidata:Q405268|Q405268]]||{{wikidata|label|linked|Q405268}}||{{wikidata|title|linked|Q405268}}||Bohol||Bayan
|-
|692||Maribojoc||[[:wikidata:Q405303|Q405303]]||{{wikidata|label|linked|Q405303}}||{{wikidata|title|linked|Q405303}}||Bohol||Bayan
|-
|693||Panglao||[[:wikidata:Q178330|Q178330]]||{{wikidata|label|linked|Q178330}}||{{wikidata|title|linked|Q178330}}||Bohol||Bayan
|-
|694||Pilar||[[:wikidata:Q405384|Q405384]]||{{wikidata|label|linked|Q405384}}||{{wikidata|title|linked|Q405384}}||Bohol||Bayan
|-
|695||President Carlos P. Garcia||[[:wikidata:Q405427|Q405427]]||{{wikidata|label|linked|Q405427}}||{{wikidata|title|linked|Q405427}}||Bohol||Bayan
|-
|696||Sagbayan||[[:wikidata:Q405472|Q405472]]||{{wikidata|label|linked|Q405472}}||{{wikidata|title|linked|Q405472}}||Bohol||Bayan
|-
|697||San Isidro||[[:wikidata:Q259298|Q259298]]||{{wikidata|label|linked|Q259298}}||{{wikidata|title|linked|Q259298}}||Bohol||Bayan
|-
|698||San Miguel||[[:wikidata:Q405544|Q405544]]||{{wikidata|label|linked|Q405544}}||{{wikidata|title|linked|Q405544}}||Bohol||Bayan
|-
|699||Sevilla||[[:wikidata:Q386388|Q386388]]||{{wikidata|label|linked|Q386388}}||{{wikidata|title|linked|Q386388}}||Bohol||Bayan
|-
|700||Sierra Bullones||[[:wikidata:Q405628|Q405628]]||{{wikidata|label|linked|Q405628}}||{{wikidata|title|linked|Q405628}}||Bohol||Bayan
|-
|701||Sikatuna||[[:wikidata:Q405674|Q405674]]||{{wikidata|label|linked|Q405674}}||{{wikidata|title|linked|Q405674}}||Bohol||Bayan
|-
|702||Tagbilaran||[[:wikidata:Q1826|Q1826]]||{{wikidata|label|linked|Q1826}}||{{wikidata|title|linked|Q1826}}||Bohol||Lungsod
|-
|703||Talibon||[[:wikidata:Q405714|Q405714]]||{{wikidata|label|linked|Q405714}}||{{wikidata|title|linked|Q405714}}||Bohol||Bayan
|-
|704||Trinidad||[[:wikidata:Q405749|Q405749]]||{{wikidata|label|linked|Q405749}}||{{wikidata|title|linked|Q405749}}||Bohol||Bayan
|-
|705||Tubigon||[[:wikidata:Q405980|Q405980]]||{{wikidata|label|linked|Q405980}}||{{wikidata|title|linked|Q405980}}||Bohol||Bayan
|-
|706||Ubay||[[:wikidata:Q406015|Q406015]]||{{wikidata|label|linked|Q406015}}||{{wikidata|title|linked|Q406015}}||Bohol||Bayan
|-
|707||Valencia||[[:wikidata:Q406046|Q406046]]||{{wikidata|label|linked|Q406046}}||{{wikidata|title|linked|Q406046}}||Bohol||Bayan
|-
|708||Enrique Villanueva||[[:wikidata:Q174305|Q174305]]||{{wikidata|label|linked|Q174305}}||{{wikidata|title|linked|Q174305}}||Siquijor||Bayan
|-
|709||Larena||[[:wikidata:Q174317|Q174317]]||{{wikidata|label|linked|Q174317}}||{{wikidata|title|linked|Q174317}}||Siquijor||Bayan
|-
|710||Lazi||[[:wikidata:Q174332|Q174332]]||{{wikidata|label|linked|Q174332}}||{{wikidata|title|linked|Q174332}}||Siquijor||Bayan
|-
|711||Maria||[[:wikidata:Q174343|Q174343]]||{{wikidata|label|linked|Q174343}}||{{wikidata|title|linked|Q174343}}||Siquijor||Bayan
|-
|712||San Juan||[[:wikidata:Q174354|Q174354]]||{{wikidata|label|linked|Q174354}}||{{wikidata|title|linked|Q174354}}||Siquijor||Bayan
|-
|713||Siquijor||[[:wikidata:Q174373|Q174373]]||{{wikidata|label|linked|Q174373}}||{{wikidata|title|linked|Q174373}}||Siquijor||Bayan
|-
|714||Amlan||[[:wikidata:Q194822|Q194822]]||{{wikidata|label|linked|Q194822}}||{{wikidata|title|linked|Q194822}}||Negros Oriental||Bayan
|-
|715||Ayungon||[[:wikidata:Q194854|Q194854]]||{{wikidata|label|linked|Q194854}}||{{wikidata|title|linked|Q194854}}||Negros Oriental||Bayan
|-
|716||Bacong||[[:wikidata:Q194874|Q194874]]||{{wikidata|label|linked|Q194874}}||{{wikidata|title|linked|Q194874}}||Negros Oriental||Bayan
|-
|717||Bais||[[:wikidata:Q628590|Q628590]]||{{wikidata|label|linked|Q628590}}||{{wikidata|title|linked|Q628590}}||Negros Oriental||Lungsod
|-
|718||Basay||[[:wikidata:Q194900|Q194900]]||{{wikidata|label|linked|Q194900}}||{{wikidata|title|linked|Q194900}}||Negros Oriental||Bayan
|-
|719||Bayawan||[[:wikidata:Q812113|Q812113]]||{{wikidata|label|linked|Q812113}}||{{wikidata|title|linked|Q812113}}||Negros Oriental||Lungsod
|-
|720||Bindoy||[[:wikidata:Q194916|Q194916]]||{{wikidata|label|linked|Q194916}}||{{wikidata|title|linked|Q194916}}||Negros Oriental||Bayan
|-
|721||Canlaon||[[:wikidata:Q991602|Q991602]]||{{wikidata|label|linked|Q991602}}||{{wikidata|title|linked|Q991602}}||Negros Oriental||Lungsod
|-
|722||Dauin||[[:wikidata:Q194940|Q194940]]||{{wikidata|label|linked|Q194940}}||{{wikidata|title|linked|Q194940}}||Negros Oriental||Bayan
|-
|723||Dumaguete||[[:wikidata:Q873377|Q873377]]||{{wikidata|label|linked|Q873377}}||{{wikidata|title|linked|Q873377}}||Negros Oriental||Lungsod
|-
|724||Guihulngan||[[:wikidata:Q195197|Q195197]]||{{wikidata|label|linked|Q195197}}||{{wikidata|title|linked|Q195197}}||Negros Oriental||Lungsod
|-
|725||Jimalalud||[[:wikidata:Q194967|Q194967]]||{{wikidata|label|linked|Q194967}}||{{wikidata|title|linked|Q194967}}||Negros Oriental||Bayan
|-
|726||La Libertad||[[:wikidata:Q194983|Q194983]]||{{wikidata|label|linked|Q194983}}||{{wikidata|title|linked|Q194983}}||Negros Oriental||Bayan
|-
|727||Mabinay||[[:wikidata:Q195004|Q195004]]||{{wikidata|label|linked|Q195004}}||{{wikidata|title|linked|Q195004}}||Negros Oriental||Bayan
|-
|728||Manjuyod||[[:wikidata:Q195018|Q195018]]||{{wikidata|label|linked|Q195018}}||{{wikidata|title|linked|Q195018}}||Negros Oriental||Bayan
|-
|729||Pamplona||[[:wikidata:Q195040|Q195040]]||{{wikidata|label|linked|Q195040}}||{{wikidata|title|linked|Q195040}}||Negros Oriental||Bayan
|-
|730||San Jose||[[:wikidata:Q195056|Q195056]]||{{wikidata|label|linked|Q195056}}||{{wikidata|title|linked|Q195056}}||Negros Oriental||Bayan
|-
|731||Santa Catalina||[[:wikidata:Q195074|Q195074]]||{{wikidata|label|linked|Q195074}}||{{wikidata|title|linked|Q195074}}||Negros Oriental||Bayan
|-
|732||Siaton||[[:wikidata:Q195090|Q195090]]||{{wikidata|label|linked|Q195090}}||{{wikidata|title|linked|Q195090}}||Negros Oriental||Bayan
|-
|733||Sibulan||[[:wikidata:Q195106|Q195106]]||{{wikidata|label|linked|Q195106}}||{{wikidata|title|linked|Q195106}}||Negros Oriental||Bayan
|-
|734||Tanjay||[[:wikidata:Q1020705|Q1020705]]||{{wikidata|label|linked|Q1020705}}||{{wikidata|title|linked|Q1020705}}||Negros Oriental||Lungsod
|-
|735||Tayasan||[[:wikidata:Q195121|Q195121]]||{{wikidata|label|linked|Q195121}}||{{wikidata|title|linked|Q195121}}||Negros Oriental||Bayan
|-
|736||Valencia||[[:wikidata:Q195140|Q195140]]||{{wikidata|label|linked|Q195140}}||{{wikidata|title|linked|Q195140}}||Negros Oriental||Bayan
|-
|737||Vallehermoso||[[:wikidata:Q195164|Q195164]]||{{wikidata|label|linked|Q195164}}||{{wikidata|title|linked|Q195164}}||Negros Oriental||Bayan
|-
|738||Zamboanguita||[[:wikidata:Q145673|Q145673]]||{{wikidata|label|linked|Q145673}}||{{wikidata|title|linked|Q145673}}||Negros Oriental||Bayan
|-
|739||Bacolod||[[:wikidata:Q5217|Q5217]]||{{wikidata|label|linked|Q5217}}||{{wikidata|title|linked|Q5217}}||Negros Occidental||Bayan
|-
|740||Bago||[[:wikidata:Q628297|Q628297]]||{{wikidata|label|linked|Q628297}}||{{wikidata|title|linked|Q628297}}||Negros Occidental||Lungsod
|-
|741||Binalbagan||[[:wikidata:Q195243|Q195243]]||{{wikidata|label|linked|Q195243}}||{{wikidata|title|linked|Q195243}}||Negros Occidental||Bayan
|-
|742||Cadiz||[[:wikidata:Q1020688|Q1020688]]||{{wikidata|label|linked|Q1020688}}||{{wikidata|title|linked|Q1020688}}||Negros Occidental||Lungsod
|-
|743||Calatrava||[[:wikidata:Q195258|Q195258]]||{{wikidata|label|linked|Q195258}}||{{wikidata|title|linked|Q195258}}||Negros Occidental||Bayan
|-
|744||Candoni||[[:wikidata:Q195272|Q195272]]||{{wikidata|label|linked|Q195272}}||{{wikidata|title|linked|Q195272}}||Negros Occidental||Bayan
|-
|745||Cauayan||[[:wikidata:Q195287|Q195287]]||{{wikidata|label|linked|Q195287}}||{{wikidata|title|linked|Q195287}}||Negros Occidental||Bayan
|-
|746||Enrique B. Magalona||[[:wikidata:Q195304|Q195304]]||{{wikidata|label|linked|Q195304}}||{{wikidata|title|linked|Q195304}}||Negros Occidental||Bayan
|-
|747||Escalante||[[:wikidata:Q1027743|Q1027743]]||{{wikidata|label|linked|Q1027743}}||{{wikidata|title|linked|Q1027743}}||Negros Occidental||Lungsod
|-
|748||Himamaylan||[[:wikidata:Q1423846|Q1423846]]||{{wikidata|label|linked|Q1423846}}||{{wikidata|title|linked|Q1423846}}||Negros Occidental||Lungsod
|-
|749||Hinigaran||[[:wikidata:Q195322|Q195322]]||{{wikidata|label|linked|Q195322}}||{{wikidata|title|linked|Q195322}}||Negros Occidental||Bayan
|-
|750||Hinoba-an||[[:wikidata:Q195336|Q195336]]||{{wikidata|label|linked|Q195336}}||{{wikidata|title|linked|Q195336}}||Negros Occidental||Bayan
|-
|751||Ilog||[[:wikidata:Q195352|Q195352]]||{{wikidata|label|linked|Q195352}}||{{wikidata|title|linked|Q195352}}||Negros Occidental||Bayan
|-
|752||Isabela||[[:wikidata:Q195373|Q195373]]||{{wikidata|label|linked|Q195373}}||{{wikidata|title|linked|Q195373}}||Negros Occidental||Bayan
|-
|753||Kabankalan||[[:wikidata:Q1026445|Q1026445]]||{{wikidata|label|linked|Q1026445}}||{{wikidata|title|linked|Q1026445}}||Negros Occidental||Lungsod
|-
|754||La Carlota||[[:wikidata:Q1789908|Q1789908]]||{{wikidata|label|linked|Q1789908}}||{{wikidata|title|linked|Q1789908}}||Negros Occidental||Lungsod
|-
|755||La Castellana||[[:wikidata:Q195397|Q195397]]||{{wikidata|label|linked|Q195397}}||{{wikidata|title|linked|Q195397}}||Negros Occidental||Bayan
|-
|756||Manapla||[[:wikidata:Q195418|Q195418]]||{{wikidata|label|linked|Q195418}}||{{wikidata|title|linked|Q195418}}||Negros Occidental||Bayan
|-
|757||Moises Padilla||[[:wikidata:Q195438|Q195438]]||{{wikidata|label|linked|Q195438}}||{{wikidata|title|linked|Q195438}}||Negros Occidental||Bayan
|-
|758||Murcia||[[:wikidata:Q195459|Q195459]]||{{wikidata|label|linked|Q195459}}||{{wikidata|title|linked|Q195459}}||Negros Occidental||Bayan
|-
|759||Pontevedra||[[:wikidata:Q195477|Q195477]]||{{wikidata|label|linked|Q195477}}||{{wikidata|title|linked|Q195477}}||Negros Occidental||Bayan
|-
|760||Pulupandan||[[:wikidata:Q195489|Q195489]]||{{wikidata|label|linked|Q195489}}||{{wikidata|title|linked|Q195489}}||Negros Occidental||Bayan
|-
|761||Sagay||[[:wikidata:Q1787527|Q1787527]]||{{wikidata|label|linked|Q1787527}}||{{wikidata|title|linked|Q1787527}}||Negros Occidental||Bayan
|-
|762||Don Salvador Benedicto||[[:wikidata:Q195503|Q195503]]||{{wikidata|label|linked|Q195503}}||{{wikidata|title|linked|Q195503}}||Negros Occidental||Bayan
|-
|763||San Carlos||[[:wikidata:Q1025390|Q1025390]]||{{wikidata|label|linked|Q1025390}}||{{wikidata|title|linked|Q1025390}}||Negros Occidental||Lungsod
|-
|764||San Enrique||[[:wikidata:Q195523|Q195523]]||{{wikidata|label|linked|Q195523}}||{{wikidata|title|linked|Q195523}}||Negros Occidental||Bayan
|-
|765||Silay||[[:wikidata:Q1020696|Q1020696]]||{{wikidata|label|linked|Q1020696}}||{{wikidata|title|linked|Q1020696}}||Negros Occidental||Lungsod
|-
|766||Sipalay||[[:wikidata:Q1027115|Q1027115]]||{{wikidata|label|linked|Q1027115}}||{{wikidata|title|linked|Q1027115}}||Negros Occidental||Lungsod
|-
|767||Talisay||[[:wikidata:Q1027120|Q1027120]]||{{wikidata|label|linked|Q1027120}}||{{wikidata|title|linked|Q1027120}}||Negros Occidental||Lungsod
|-
|768||Toboso||[[:wikidata:Q195549|Q195549]]||{{wikidata|label|linked|Q195549}}||{{wikidata|title|linked|Q195549}}||Negros Occidental||Bayan
|-
|769||Valladolid||[[:wikidata:Q195569|Q195569]]||{{wikidata|label|linked|Q195569}}||{{wikidata|title|linked|Q195569}}||Negros Occidental||Bayan
|-
|770||Victorias||[[:wikidata:Q1026021|Q1026021]]||{{wikidata|label|linked|Q1026021}}||{{wikidata|title|linked|Q1026021}}||Negros Occidental||Lungsod
|-
|771||Ajuy||[[:wikidata:Q274491|Q274491]]||{{wikidata|label|linked|Q274491}}||{{wikidata|title|linked|Q274491}}||Iloilo||Bayan
|-
|772||Alimodian||[[:wikidata:Q274508|Q274508]]||{{wikidata|label|linked|Q274508}}||{{wikidata|title|linked|Q274508}}||Iloilo||Bayan
|-
|773||Anilao||[[:wikidata:Q274543|Q274543]]||{{wikidata|label|linked|Q274543}}||{{wikidata|title|linked|Q274543}}||Iloilo||Bayan
|-
|774||Badiangan||[[:wikidata:Q274557|Q274557]]||{{wikidata|label|linked|Q274557}}||{{wikidata|title|linked|Q274557}}||Iloilo||Bayan
|-
|775||Balasan||[[:wikidata:Q274578|Q274578]]||{{wikidata|label|linked|Q274578}}||{{wikidata|title|linked|Q274578}}||Iloilo||Bayan
|-
|776||Banate||[[:wikidata:Q274595|Q274595]]||{{wikidata|label|linked|Q274595}}||{{wikidata|title|linked|Q274595}}||Iloilo||Bayan
|-
|777||Barotac Nuevo||[[:wikidata:Q82502|Q82502]]||{{wikidata|label|linked|Q82502}}||{{wikidata|title|linked|Q82502}}||Iloilo||Bayan
|-
|778||Barotac Viejo||[[:wikidata:Q82493|Q82493]]||{{wikidata|label|linked|Q82493}}||{{wikidata|title|linked|Q82493}}||Iloilo||Bayan
|-
|779||Batad||[[:wikidata:Q274654|Q274654]]||{{wikidata|label|linked|Q274654}}||{{wikidata|title|linked|Q274654}}||Iloilo||Bayan
|-
|780||Bingawan||[[:wikidata:Q274671|Q274671]]||{{wikidata|label|linked|Q274671}}||{{wikidata|title|linked|Q274671}}||Iloilo||Bayan
|-
|781||Cabatuan||[[:wikidata:Q274693|Q274693]]||{{wikidata|label|linked|Q274693}}||{{wikidata|title|linked|Q274693}}||Iloilo||Bayan
|-
|782||Calinog||[[:wikidata:Q274713|Q274713]]||{{wikidata|label|linked|Q274713}}||{{wikidata|title|linked|Q274713}}||Iloilo||Bayan
|-
|783||Carles||[[:wikidata:Q274731|Q274731]]||{{wikidata|label|linked|Q274731}}||{{wikidata|title|linked|Q274731}}||Iloilo||Bayan
|-
|784||Concepcion||[[:wikidata:Q274749|Q274749]]||{{wikidata|label|linked|Q274749}}||{{wikidata|title|linked|Q274749}}||Iloilo||Bayan
|-
|785||Dingle||[[:wikidata:Q274780|Q274780]]||{{wikidata|label|linked|Q274780}}||{{wikidata|title|linked|Q274780}}||Iloilo||Bayan
|-
|786||Dueñas||[[:wikidata:Q274795|Q274795]]||{{wikidata|label|linked|Q274795}}||{{wikidata|title|linked|Q274795}}||Iloilo||Bayan
|-
|787||Dumangas||[[:wikidata:Q74758|Q74758]]||{{wikidata|label|linked|Q74758}}||{{wikidata|title|linked|Q74758}}||Iloilo||Bayan
|-
|788||Estancia||[[:wikidata:Q82506|Q82506]]||{{wikidata|label|linked|Q82506}}||{{wikidata|title|linked|Q82506}}||Iloilo||Bayan
|-
|789||Guimbal||[[:wikidata:Q274847|Q274847]]||{{wikidata|label|linked|Q274847}}||{{wikidata|title|linked|Q274847}}||Iloilo||Bayan
|-
|790||Igbaras||[[:wikidata:Q74755|Q74755]]||{{wikidata|label|linked|Q74755}}||{{wikidata|title|linked|Q74755}}||Iloilo||Bayan
|-
|791||Iloilo City||[[:wikidata:Q459787|Q459787]]||{{wikidata|label|linked|Q459787}}||{{wikidata|title|linked|Q459787}}||Iloilo||Lungsod
|-
|792||Janiuay||[[:wikidata:Q82570|Q82570]]||{{wikidata|label|linked|Q82570}}||{{wikidata|title|linked|Q82570}}||Iloilo||Bayan
|-
|793||Lambunao||[[:wikidata:Q274907|Q274907]]||{{wikidata|label|linked|Q274907}}||{{wikidata|title|linked|Q274907}}||Iloilo||Bayan
|-
|794||Leganes||[[:wikidata:Q274937|Q274937]]||{{wikidata|label|linked|Q274937}}||{{wikidata|title|linked|Q274937}}||Iloilo||Bayan
|-
|795||Lemery||[[:wikidata:Q274961|Q274961]]||{{wikidata|label|linked|Q274961}}||{{wikidata|title|linked|Q274961}}||Iloilo||Bayan
|-
|796||Leon||[[:wikidata:Q274987|Q274987]]||{{wikidata|label|linked|Q274987}}||{{wikidata|title|linked|Q274987}}||Iloilo||Bayan
|-
|797||Maasin||[[:wikidata:Q275015|Q275015]]||{{wikidata|label|linked|Q275015}}||{{wikidata|title|linked|Q275015}}||Iloilo||Bayan
|-
|798||Miagao||[[:wikidata:Q74753|Q74753]]||{{wikidata|label|linked|Q74753}}||{{wikidata|title|linked|Q74753}}||Iloilo||Bayan
|-
|799||Mina||[[:wikidata:Q275071|Q275071]]||{{wikidata|label|linked|Q275071}}||{{wikidata|title|linked|Q275071}}||Iloilo||Bayan
|-
|800||New Lucena||[[:wikidata:Q275184|Q275184]]||{{wikidata|label|linked|Q275184}}||{{wikidata|title|linked|Q275184}}||Iloilo||Bayan
|-
|801||Oton||[[:wikidata:Q275199|Q275199]]||{{wikidata|label|linked|Q275199}}||{{wikidata|title|linked|Q275199}}||Iloilo||Bayan
|-
|802||Passi||[[:wikidata:Q1855693|Q1855693]]||{{wikidata|label|linked|Q1855693}}||{{wikidata|title|linked|Q1855693}}||Iloilo||Lungsod
|-
|803||Pavia||[[:wikidata:Q275221|Q275221]]||{{wikidata|label|linked|Q275221}}||{{wikidata|title|linked|Q275221}}||Iloilo||Bayan
|-
|804||Pototan||[[:wikidata:Q275243|Q275243]]||{{wikidata|label|linked|Q275243}}||{{wikidata|title|linked|Q275243}}||Iloilo||Bayan
|-
|805||San Dionisio||[[:wikidata:Q275264|Q275264]]||{{wikidata|label|linked|Q275264}}||{{wikidata|title|linked|Q275264}}||Iloilo||Bayan
|-
|806||San Enrique||[[:wikidata:Q275280|Q275280]]||{{wikidata|label|linked|Q275280}}||{{wikidata|title|linked|Q275280}}||Iloilo||Bayan
|-
|807||San Joaquin||[[:wikidata:Q275295|Q275295]]||{{wikidata|label|linked|Q275295}}||{{wikidata|title|linked|Q275295}}||Iloilo||Bayan
|-
|808||San Miguel||[[:wikidata:Q275312|Q275312]]||{{wikidata|label|linked|Q275312}}||{{wikidata|title|linked|Q275312}}||Iloilo||Bayan
|-
|809||San Rafael||[[:wikidata:Q275329|Q275329]]||{{wikidata|label|linked|Q275329}}||{{wikidata|title|linked|Q275329}}||Iloilo||Bayan
|-
|810||Santa Barbara||[[:wikidata:Q275347|Q275347]]||{{wikidata|label|linked|Q275347}}||{{wikidata|title|linked|Q275347}}||Iloilo||Bayan
|-
|811||Sara||[[:wikidata:Q275368|Q275368]]||{{wikidata|label|linked|Q275368}}||{{wikidata|title|linked|Q275368}}||Iloilo||Bayan
|-
|812||Tigbauan||[[:wikidata:Q82497|Q82497]]||{{wikidata|label|linked|Q82497}}||{{wikidata|title|linked|Q82497}}||Iloilo||Bayan
|-
|813||Tubungan||[[:wikidata:Q275417|Q275417]]||{{wikidata|label|linked|Q275417}}||{{wikidata|title|linked|Q275417}}||Iloilo||Bayan
|-
|814||Zarraga||[[:wikidata:Q148064|Q148064]]||{{wikidata|label|linked|Q148064}}||{{wikidata|title|linked|Q148064}}||Iloilo||Bayan
|-
|815||Buenavista||[[:wikidata:Q313781|Q313781]]||{{wikidata|label|linked|Q313781}}||{{wikidata|title|linked|Q313781}}||Guimaras||Bayan
|-
|816||Jordan||[[:wikidata:Q313802|Q313802]]||{{wikidata|label|linked|Q313802}}||{{wikidata|title|linked|Q313802}}||Guimaras||Bayan
|-
|817||Nueva Valencia||[[:wikidata:Q313810|Q313810]]||{{wikidata|label|linked|Q313810}}||{{wikidata|title|linked|Q313810}}||Guimaras||Bayan
|-
|818||San Lorenzo||[[:wikidata:Q313825|Q313825]]||{{wikidata|label|linked|Q313825}}||{{wikidata|title|linked|Q313825}}||Guimaras||Bayan
|-
|819||Sibunag||[[:wikidata:Q313844|Q313844]]||{{wikidata|label|linked|Q313844}}||{{wikidata|title|linked|Q313844}}||Guimaras||Bayan
|-
|820||Cuartero||[[:wikidata:Q355953|Q355953]]||{{wikidata|label|linked|Q355953}}||{{wikidata|title|linked|Q355953}}||Capiz||Bayan
|-
|821||Dao||[[:wikidata:Q355986|Q355986]]||{{wikidata|label|linked|Q355986}}||{{wikidata|title|linked|Q355986}}||Capiz||Bayan
|-
|822||Dumalag||[[:wikidata:Q356019|Q356019]]||{{wikidata|label|linked|Q356019}}||{{wikidata|title|linked|Q356019}}||Capiz||Bayan
|-
|823||Dumarao||[[:wikidata:Q356053|Q356053]]||{{wikidata|label|linked|Q356053}}||{{wikidata|title|linked|Q356053}}||Capiz||Bayan
|-
|824||Ivisan||[[:wikidata:Q356081|Q356081]]||{{wikidata|label|linked|Q356081}}||{{wikidata|title|linked|Q356081}}||Capiz||Bayan
|-
|825||Jamindan||[[:wikidata:Q356106|Q356106]]||{{wikidata|label|linked|Q356106}}||{{wikidata|title|linked|Q356106}}||Capiz||Bayan
|-
|826||Ma-ayon||[[:wikidata:Q356153|Q356153]]||{{wikidata|label|linked|Q356153}}||{{wikidata|title|linked|Q356153}}||Capiz||Bayan
|-
|827||Mambusao||[[:wikidata:Q356174|Q356174]]||{{wikidata|label|linked|Q356174}}||{{wikidata|title|linked|Q356174}}||Capiz||Bayan
|-
|828||Panay||[[:wikidata:Q356204|Q356204]]||{{wikidata|label|linked|Q356204}}||{{wikidata|title|linked|Q356204}}||Capiz||Bayan
|-
|829||Panitan||[[:wikidata:Q356231|Q356231]]||{{wikidata|label|linked|Q356231}}||{{wikidata|title|linked|Q356231}}||Capiz||Bayan
|-
|830||Pilar||[[:wikidata:Q356266|Q356266]]||{{wikidata|label|linked|Q356266}}||{{wikidata|title|linked|Q356266}}||Capiz||Bayan
|-
|831||Pontevedra||[[:wikidata:Q356292|Q356292]]||{{wikidata|label|linked|Q356292}}||{{wikidata|title|linked|Q356292}}||Capiz||Bayan
|-
|832||President Roxas||[[:wikidata:Q356313|Q356313]]||{{wikidata|label|linked|Q356313}}||{{wikidata|title|linked|Q356313}}||Capiz||Bayan
|-
|833||Roxas||[[:wikidata:Q2209|Q2209]]||{{wikidata|label|linked|Q2209}}||{{wikidata|title|linked|Q2209}}||Capiz||Lungsod
|-
|834||Sapian||[[:wikidata:Q356338|Q356338]]||{{wikidata|label|linked|Q356338}}||{{wikidata|title|linked|Q356338}}||Capiz||Bayan
|-
|835||Sigma||[[:wikidata:Q356368|Q356368]]||{{wikidata|label|linked|Q356368}}||{{wikidata|title|linked|Q356368}}||Capiz||Bayan
|-
|836||Tapaz||[[:wikidata:Q356398|Q356398]]||{{wikidata|label|linked|Q356398}}||{{wikidata|title|linked|Q356398}}||Capiz||Bayan
|-
|837||Anini-y||[[:wikidata:Q492119|Q492119]]||{{wikidata|label|linked|Q492119}}||{{wikidata|title|linked|Q492119}}||Antique||Bayan
|-
|838||Barbaza||[[:wikidata:Q492155|Q492155]]||{{wikidata|label|linked|Q492155}}||{{wikidata|title|linked|Q492155}}||Antique||Bayan
|-
|839||Belison||[[:wikidata:Q492263|Q492263]]||{{wikidata|label|linked|Q492263}}||{{wikidata|title|linked|Q492263}}||Antique||Bayan
|-
|840||Bugasong||[[:wikidata:Q492325|Q492325]]||{{wikidata|label|linked|Q492325}}||{{wikidata|title|linked|Q492325}}||Antique||Bayan
|-
|841||Caluya||[[:wikidata:Q492363|Q492363]]||{{wikidata|label|linked|Q492363}}||{{wikidata|title|linked|Q492363}}||Antique||Bayan
|-
|842||Culasi||[[:wikidata:Q492406|Q492406]]||{{wikidata|label|linked|Q492406}}||{{wikidata|title|linked|Q492406}}||Antique||Bayan
|-
|843||Hamtic||[[:wikidata:Q144779|Q144779]]||{{wikidata|label|linked|Q144779}}||{{wikidata|title|linked|Q144779}}||Antique||Bayan
|-
|844||Laua-an||[[:wikidata:Q492479|Q492479]]||{{wikidata|label|linked|Q492479}}||{{wikidata|title|linked|Q492479}}||Antique||Bayan
|-
|845||Libertad||[[:wikidata:Q492516|Q492516]]||{{wikidata|label|linked|Q492516}}||{{wikidata|title|linked|Q492516}}||Antique||Bayan
|-
|846||Pandan||[[:wikidata:Q492545|Q492545]]||{{wikidata|label|linked|Q492545}}||{{wikidata|title|linked|Q492545}}||Antique||Bayan
|-
|847||Patnongon||[[:wikidata:Q492577|Q492577]]||{{wikidata|label|linked|Q492577}}||{{wikidata|title|linked|Q492577}}||Antique||Bayan
|-
|848||San Jose de Buenavista||[[:wikidata:Q492619|Q492619]]||{{wikidata|label|linked|Q492619}}||{{wikidata|title|linked|Q492619}}||Antique||Bayan
|-
|849||San Remigio||[[:wikidata:Q492673|Q492673]]||{{wikidata|label|linked|Q492673}}||{{wikidata|title|linked|Q492673}}||Antique||Bayan
|-
|850||Sebaste||[[:wikidata:Q492707|Q492707]]||{{wikidata|label|linked|Q492707}}||{{wikidata|title|linked|Q492707}}||Antique||Bayan
|-
|851||Sibalom||[[:wikidata:Q492742|Q492742]]||{{wikidata|label|linked|Q492742}}||{{wikidata|title|linked|Q492742}}||Antique||Bayan
|-
|852||Tibiao||[[:wikidata:Q492780|Q492780]]||{{wikidata|label|linked|Q492780}}||{{wikidata|title|linked|Q492780}}||Antique||Bayan
|-
|853||Tobias Fornier||[[:wikidata:Q492817|Q492817]]||{{wikidata|label|linked|Q492817}}||{{wikidata|title|linked|Q492817}}||Antique||Bayan
|-
|854||Valderrama||[[:wikidata:Q492862|Q492862]]||{{wikidata|label|linked|Q492862}}||{{wikidata|title|linked|Q492862}}||Antique||Bayan
|-
|855||Altavas||[[:wikidata:Q434743|Q434743]]||{{wikidata|label|linked|Q434743}}||{{wikidata|title|linked|Q434743}}||Aklan||Bayan
|-
|856||Balete||[[:wikidata:Q626586|Q626586]]||{{wikidata|label|linked|Q626586}}||{{wikidata|title|linked|Q626586}}||Aklan||Bayan
|-
|857||Banga||[[:wikidata:Q569215|Q569215]]||{{wikidata|label|linked|Q569215}}||{{wikidata|title|linked|Q569215}}||Aklan||Bayan
|-
|858||Batan||[[:wikidata:Q626645|Q626645]]||{{wikidata|label|linked|Q626645}}||{{wikidata|title|linked|Q626645}}||Aklan||Bayan
|-
|859||Buruanga||[[:wikidata:Q576805|Q576805]]||{{wikidata|label|linked|Q576805}}||{{wikidata|title|linked|Q576805}}||Aklan||Bayan
|-
|860||Ibajay||[[:wikidata:Q626695|Q626695]]||{{wikidata|label|linked|Q626695}}||{{wikidata|title|linked|Q626695}}||Aklan||Bayan
|-
|861||Kalibo||[[:wikidata:Q626721|Q626721]]||{{wikidata|label|linked|Q626721}}||{{wikidata|title|linked|Q626721}}||Aklan||Bayan
|-
|862||Lezo||[[:wikidata:Q626746|Q626746]]||{{wikidata|label|linked|Q626746}}||{{wikidata|title|linked|Q626746}}||Aklan||Bayan
|-
|863||Libacao||[[:wikidata:Q626786|Q626786]]||{{wikidata|label|linked|Q626786}}||{{wikidata|title|linked|Q626786}}||Aklan||Bayan
|-
|864||Madalag||[[:wikidata:Q626820|Q626820]]||{{wikidata|label|linked|Q626820}}||{{wikidata|title|linked|Q626820}}||Aklan||Bayan
|-
|865||Makato||[[:wikidata:Q626873|Q626873]]||{{wikidata|label|linked|Q626873}}||{{wikidata|title|linked|Q626873}}||Aklan||Bayan
|-
|866||Malay||[[:wikidata:Q626905|Q626905]]||{{wikidata|label|linked|Q626905}}||{{wikidata|title|linked|Q626905}}||Aklan||Bayan
|-
|867||Malinao||[[:wikidata:Q626935|Q626935]]||{{wikidata|label|linked|Q626935}}||{{wikidata|title|linked|Q626935}}||Aklan||Bayan
|-
|868||Nabas||[[:wikidata:Q626959|Q626959]]||{{wikidata|label|linked|Q626959}}||{{wikidata|title|linked|Q626959}}||Aklan||Bayan
|-
|869||New Washington||[[:wikidata:Q626992|Q626992]]||{{wikidata|label|linked|Q626992}}||{{wikidata|title|linked|Q626992}}||Aklan||Bayan
|-
|870||Numancia||[[:wikidata:Q627008|Q627008]]||{{wikidata|label|linked|Q627008}}||{{wikidata|title|linked|Q627008}}||Aklan||Bayan
|-
|871||Tangalan||[[:wikidata:Q627028|Q627028]]||{{wikidata|label|linked|Q627028}}||{{wikidata|title|linked|Q627028}}||Aklan||Bayan
|-
|872||Barcelona||[[:wikidata:Q174114|Q174114]]||{{wikidata|label|linked|Q174114}}||{{wikidata|title|linked|Q174114}}||Sorsogon||Bayan
|-
|873||Bulan||[[:wikidata:Q174132|Q174132]]||{{wikidata|label|linked|Q174132}}||{{wikidata|title|linked|Q174132}}||Sorsogon||Bayan
|-
|874||Bulusan||[[:wikidata:Q174149|Q174149]]||{{wikidata|label|linked|Q174149}}||{{wikidata|title|linked|Q174149}}||Sorsogon||Bayan
|-
|875||Casiguran||[[:wikidata:Q174162|Q174162]]||{{wikidata|label|linked|Q174162}}||{{wikidata|title|linked|Q174162}}||Sorsogon||Bayan
|-
|876||Castilla||[[:wikidata:Q174177|Q174177]]||{{wikidata|label|linked|Q174177}}||{{wikidata|title|linked|Q174177}}||Sorsogon||Bayan
|-
|877||Donsol||[[:wikidata:Q174192|Q174192]]||{{wikidata|label|linked|Q174192}}||{{wikidata|title|linked|Q174192}}||Sorsogon||Bayan
|-
|878||Gubat||[[:wikidata:Q174201|Q174201]]||{{wikidata|label|linked|Q174201}}||{{wikidata|title|linked|Q174201}}||Sorsogon||Bayan
|-
|879||Irosin||[[:wikidata:Q174215|Q174215]]||{{wikidata|label|linked|Q174215}}||{{wikidata|title|linked|Q174215}}||Sorsogon||Bayan
|-
|880||Juban||[[:wikidata:Q174226|Q174226]]||{{wikidata|label|linked|Q174226}}||{{wikidata|title|linked|Q174226}}||Sorsogon||Bayan
|-
|881||Magallanes||[[:wikidata:Q174236|Q174236]]||{{wikidata|label|linked|Q174236}}||{{wikidata|title|linked|Q174236}}||Sorsogon||Bayan
|-
|882||Matnog||[[:wikidata:Q174246|Q174246]]||{{wikidata|label|linked|Q174246}}||{{wikidata|title|linked|Q174246}}||Sorsogon||Bayan
|-
|883||Pilar||[[:wikidata:Q174255|Q174255]]||{{wikidata|label|linked|Q174255}}||{{wikidata|title|linked|Q174255}}||Sorsogon||Bayan
|-
|884||Prieto Diaz||[[:wikidata:Q174269|Q174269]]||{{wikidata|label|linked|Q174269}}||{{wikidata|title|linked|Q174269}}||Sorsogon||Bayan
|-
|885||Santa Magdalena||[[:wikidata:Q174281|Q174281]]||{{wikidata|label|linked|Q174281}}||{{wikidata|title|linked|Q174281}}||Sorsogon||Bayan
|-
|886||Sorsogon City||[[:wikidata:Q174096|Q174096]]||{{wikidata|label|linked|Q174096}}||{{wikidata|title|linked|Q174096}}||Sorsogon||Lungsod
|-
|887||Aroroy||[[:wikidata:Q191416|Q191416]]||{{wikidata|label|linked|Q191416}}||{{wikidata|title|linked|Q191416}}||Masbate||Bayan
|-
|888||Baleno||[[:wikidata:Q191438|Q191438]]||{{wikidata|label|linked|Q191438}}||{{wikidata|title|linked|Q191438}}||Masbate||Bayan
|-
|889||Balud||[[:wikidata:Q191453|Q191453]]||{{wikidata|label|linked|Q191453}}||{{wikidata|title|linked|Q191453}}||Masbate||Bayan
|-
|890||Batuan||[[:wikidata:Q191463|Q191463]]||{{wikidata|label|linked|Q191463}}||{{wikidata|title|linked|Q191463}}||Masbate||Bayan
|-
|891||Cataingan||[[:wikidata:Q191478|Q191478]]||{{wikidata|label|linked|Q191478}}||{{wikidata|title|linked|Q191478}}||Masbate||Bayan
|-
|892||Cawayan||[[:wikidata:Q191482|Q191482]]||{{wikidata|label|linked|Q191482}}||{{wikidata|title|linked|Q191482}}||Masbate||Bayan
|-
|893||Claveria||[[:wikidata:Q191490|Q191490]]||{{wikidata|label|linked|Q191490}}||{{wikidata|title|linked|Q191490}}||Masbate||Bayan
|-
|894||Dimasalang||[[:wikidata:Q191496|Q191496]]||{{wikidata|label|linked|Q191496}}||{{wikidata|title|linked|Q191496}}||Masbate||Bayan
|-
|895||Esperanza||[[:wikidata:Q191501|Q191501]]||{{wikidata|label|linked|Q191501}}||{{wikidata|title|linked|Q191501}}||Masbate||Bayan
|-
|896||Mandaon||[[:wikidata:Q191512|Q191512]]||{{wikidata|label|linked|Q191512}}||{{wikidata|title|linked|Q191512}}||Masbate||Bayan
|-
|897||Masbate City||[[:wikidata:Q191651|Q191651]]||{{wikidata|label|linked|Q191651}}||{{wikidata|title|linked|Q191651}}||Masbate||Lungsod
|-
|898||Milagros||[[:wikidata:Q191522|Q191522]]||{{wikidata|label|linked|Q191522}}||{{wikidata|title|linked|Q191522}}||Masbate||Bayan
|-
|899||Mobo||[[:wikidata:Q191533|Q191533]]||{{wikidata|label|linked|Q191533}}||{{wikidata|title|linked|Q191533}}||Masbate||Bayan
|-
|900||Monreal||[[:wikidata:Q191544|Q191544]]||{{wikidata|label|linked|Q191544}}||{{wikidata|title|linked|Q191544}}||Masbate||Bayan
|-
|901||Palanas||[[:wikidata:Q191558|Q191558]]||{{wikidata|label|linked|Q191558}}||{{wikidata|title|linked|Q191558}}||Masbate||Bayan
|-
|902||Pio V. Corpus||[[:wikidata:Q191581|Q191581]]||{{wikidata|label|linked|Q191581}}||{{wikidata|title|linked|Q191581}}||Masbate||Bayan
|-
|903||Placer||[[:wikidata:Q191590|Q191590]]||{{wikidata|label|linked|Q191590}}||{{wikidata|title|linked|Q191590}}||Masbate||Bayan
|-
|904||San Fernando||[[:wikidata:Q191606|Q191606]]||{{wikidata|label|linked|Q191606}}||{{wikidata|title|linked|Q191606}}||Masbate||Bayan
|-
|905||San Jacinto||[[:wikidata:Q191621|Q191621]]||{{wikidata|label|linked|Q191621}}||{{wikidata|title|linked|Q191621}}||Masbate||Bayan
|-
|906||San Pascual||[[:wikidata:Q191630|Q191630]]||{{wikidata|label|linked|Q191630}}||{{wikidata|title|linked|Q191630}}||Masbate||Bayan
|-
|907||Uson||[[:wikidata:Q191636|Q191636]]||{{wikidata|label|linked|Q191636}}||{{wikidata|title|linked|Q191636}}||Masbate||Bayan
|-
|908||Bagamanoc||[[:wikidata:Q192067|Q192067]]||{{wikidata|label|linked|Q192067}}||{{wikidata|title|linked|Q192067}}||Catanduanes||Bayan
|-
|909||Baras||[[:wikidata:Q192072|Q192072]]||{{wikidata|label|linked|Q192072}}||{{wikidata|title|linked|Q192072}}||Catanduanes||Bayan
|-
|910||Bato||[[:wikidata:Q192085|Q192085]]||{{wikidata|label|linked|Q192085}}||{{wikidata|title|linked|Q192085}}||Catanduanes||Bayan
|-
|911||Caramoran||[[:wikidata:Q192091|Q192091]]||{{wikidata|label|linked|Q192091}}||{{wikidata|title|linked|Q192091}}||Catanduanes||Bayan
|-
|912||Gigmoto||[[:wikidata:Q192629|Q192629]]||{{wikidata|label|linked|Q192629}}||{{wikidata|title|linked|Q192629}}||Catanduanes||Bayan
|-
|913||Pandan||[[:wikidata:Q123163|Q123163]]||{{wikidata|label|linked|Q123163}}||{{wikidata|title|linked|Q123163}}||Catanduanes||Bayan
|-
|914||Panganiban||[[:wikidata:Q192646|Q192646]]||{{wikidata|label|linked|Q192646}}||{{wikidata|title|linked|Q192646}}||Catanduanes||Bayan
|-
|915||San Andres||[[:wikidata:Q840162|Q840162]]||{{wikidata|label|linked|Q840162}}||{{wikidata|title|linked|Q840162}}||Catanduanes||Bayan
|-
|916||San Miguel||[[:wikidata:Q192665|Q192665]]||{{wikidata|label|linked|Q192665}}||{{wikidata|title|linked|Q192665}}||Catanduanes||Bayan
|-
|917||Viga||[[:wikidata:Q192670|Q192670]]||{{wikidata|label|linked|Q192670}}||{{wikidata|title|linked|Q192670}}||Catanduanes||Bayan
|-
|918||Virac||[[:wikidata:Q192681|Q192681]]||{{wikidata|label|linked|Q192681}}||{{wikidata|title|linked|Q192681}}||Catanduanes||Bayan
|-
|919||Baao||[[:wikidata:Q208672|Q208672]]||{{wikidata|label|linked|Q208672}}||{{wikidata|title|linked|Q208672}}||Camarines Sur||Bayan
|-
|920||Balatan||[[:wikidata:Q208678|Q208678]]||{{wikidata|label|linked|Q208678}}||{{wikidata|title|linked|Q208678}}||Camarines Sur||Bayan
|-
|921||Bato||[[:wikidata:Q208683|Q208683]]||{{wikidata|label|linked|Q208683}}||{{wikidata|title|linked|Q208683}}||Camarines Sur||Bayan
|-
|922||Bombon||[[:wikidata:Q208690|Q208690]]||{{wikidata|label|linked|Q208690}}||{{wikidata|title|linked|Q208690}}||Camarines Sur||Bayan
|-
|923||Buhi||[[:wikidata:Q208699|Q208699]]||{{wikidata|label|linked|Q208699}}||{{wikidata|title|linked|Q208699}}||Camarines Sur||Bayan
|-
|924||Bula||[[:wikidata:Q208712|Q208712]]||{{wikidata|label|linked|Q208712}}||{{wikidata|title|linked|Q208712}}||Camarines Sur||Bayan
|-
|925||Cabusao||[[:wikidata:Q208717|Q208717]]||{{wikidata|label|linked|Q208717}}||{{wikidata|title|linked|Q208717}}||Camarines Sur||Bayan
|-
|926||Calabanga||[[:wikidata:Q208727|Q208727]]||{{wikidata|label|linked|Q208727}}||{{wikidata|title|linked|Q208727}}||Camarines Sur||Bayan
|-
|927||Camaligan||[[:wikidata:Q208738|Q208738]]||{{wikidata|label|linked|Q208738}}||{{wikidata|title|linked|Q208738}}||Camarines Sur||Bayan
|-
|928||Canaman||[[:wikidata:Q208749|Q208749]]||{{wikidata|label|linked|Q208749}}||{{wikidata|title|linked|Q208749}}||Camarines Sur||Bayan
|-
|929||Caramoan||[[:wikidata:Q208757|Q208757]]||{{wikidata|label|linked|Q208757}}||{{wikidata|title|linked|Q208757}}||Camarines Sur||Bayan
|-
|930||Del Gallego||[[:wikidata:Q208765|Q208765]]||{{wikidata|label|linked|Q208765}}||{{wikidata|title|linked|Q208765}}||Camarines Sur||Bayan
|-
|931||Gainza||[[:wikidata:Q208769|Q208769]]||{{wikidata|label|linked|Q208769}}||{{wikidata|title|linked|Q208769}}||Camarines Sur||Bayan
|-
|932||Garchitorena||[[:wikidata:Q208775|Q208775]]||{{wikidata|label|linked|Q208775}}||{{wikidata|title|linked|Q208775}}||Camarines Sur||Bayan
|-
|933||Goa||[[:wikidata:Q208782|Q208782]]||{{wikidata|label|linked|Q208782}}||{{wikidata|title|linked|Q208782}}||Camarines Sur||Bayan
|-
|934||Iriga||[[:wikidata:Q2205|Q2205]]||{{wikidata|label|linked|Q2205}}||{{wikidata|title|linked|Q2205}}||Camarines Sur||Lungsod
|-
|935||Lagonoy||[[:wikidata:Q208792|Q208792]]||{{wikidata|label|linked|Q208792}}||{{wikidata|title|linked|Q208792}}||Camarines Sur||Bayan
|-
|936||Libmanan||[[:wikidata:Q208814|Q208814]]||{{wikidata|label|linked|Q208814}}||{{wikidata|title|linked|Q208814}}||Camarines Sur||Bayan
|-
|937||Lupi||[[:wikidata:Q208835|Q208835]]||{{wikidata|label|linked|Q208835}}||{{wikidata|title|linked|Q208835}}||Camarines Sur||Bayan
|-
|938||Magarao||[[:wikidata:Q208845|Q208845]]||{{wikidata|label|linked|Q208845}}||{{wikidata|title|linked|Q208845}}||Camarines Sur||Bayan
|-
|939||Milaor||[[:wikidata:Q208852|Q208852]]||{{wikidata|label|linked|Q208852}}||{{wikidata|title|linked|Q208852}}||Camarines Sur||Bayan
|-
|940||Minalabac||[[:wikidata:Q208864|Q208864]]||{{wikidata|label|linked|Q208864}}||{{wikidata|title|linked|Q208864}}||Camarines Sur||Bayan
|-
|941||Nabua||[[:wikidata:Q208872|Q208872]]||{{wikidata|label|linked|Q208872}}||{{wikidata|title|linked|Q208872}}||Camarines Sur||Bayan
|-
|942||Naga||[[:wikidata:Q2207|Q2207]]||{{wikidata|label|linked|Q2207}}||{{wikidata|title|linked|Q2207}}||Camarines Sur||Bayan
|-
|943||Ocampo||[[:wikidata:Q208878|Q208878]]||{{wikidata|label|linked|Q208878}}||{{wikidata|title|linked|Q208878}}||Camarines Sur||Bayan
|-
|944||Pamplona||[[:wikidata:Q208886|Q208886]]||{{wikidata|label|linked|Q208886}}||{{wikidata|title|linked|Q208886}}||Camarines Sur||Bayan
|-
|945||Pasacao||[[:wikidata:Q208892|Q208892]]||{{wikidata|label|linked|Q208892}}||{{wikidata|title|linked|Q208892}}||Camarines Sur||Bayan
|-
|946||Pili||[[:wikidata:Q208899|Q208899]]||{{wikidata|label|linked|Q208899}}||{{wikidata|title|linked|Q208899}}||Camarines Sur||Bayan
|-
|947||Presentacion||[[:wikidata:Q208919|Q208919]]||{{wikidata|label|linked|Q208919}}||{{wikidata|title|linked|Q208919}}||Camarines Sur||Bayan
|-
|948||Ragay||[[:wikidata:Q208924|Q208924]]||{{wikidata|label|linked|Q208924}}||{{wikidata|title|linked|Q208924}}||Camarines Sur||Bayan
|-
|949||Sagñay||[[:wikidata:Q208937|Q208937]]||{{wikidata|label|linked|Q208937}}||{{wikidata|title|linked|Q208937}}||Camarines Sur||Bayan
|-
|950||San Fernando||[[:wikidata:Q208950|Q208950]]||{{wikidata|label|linked|Q208950}}||{{wikidata|title|linked|Q208950}}||Camarines Sur||Bayan
|-
|951||San Jose||[[:wikidata:Q208966|Q208966]]||{{wikidata|label|linked|Q208966}}||{{wikidata|title|linked|Q208966}}||Camarines Sur||Bayan
|-
|952||Sipocot||[[:wikidata:Q208985|Q208985]]||{{wikidata|label|linked|Q208985}}||{{wikidata|title|linked|Q208985}}||Camarines Sur||Bayan
|-
|953||Siruma||[[:wikidata:Q208995|Q208995]]||{{wikidata|label|linked|Q208995}}||{{wikidata|title|linked|Q208995}}||Camarines Sur||Bayan
|-
|954||Tigaon||[[:wikidata:Q209011|Q209011]]||{{wikidata|label|linked|Q209011}}||{{wikidata|title|linked|Q209011}}||Camarines Sur||Bayan
|-
|955||Tinambac||[[:wikidata:Q209024|Q209024]]||{{wikidata|label|linked|Q209024}}||{{wikidata|title|linked|Q209024}}||Camarines Sur||Bayan
|-
|956||Basud||[[:wikidata:Q356607|Q356607]]||{{wikidata|label|linked|Q356607}}||{{wikidata|title|linked|Q356607}}||Camarines Norte||Bayan
|-
|957||Capalonga||[[:wikidata:Q119624|Q119624]]||{{wikidata|label|linked|Q119624}}||{{wikidata|title|linked|Q119624}}||Camarines Norte||Bayan
|-
|958||Daet||[[:wikidata:Q356655|Q356655]]||{{wikidata|label|linked|Q356655}}||{{wikidata|title|linked|Q356655}}||Camarines Norte||Bayan
|-
|959||Jose Panganiban||[[:wikidata:Q356681|Q356681]]||{{wikidata|label|linked|Q356681}}||{{wikidata|title|linked|Q356681}}||Camarines Norte||Bayan
|-
|960||Labo||[[:wikidata:Q356708|Q356708]]||{{wikidata|label|linked|Q356708}}||{{wikidata|title|linked|Q356708}}||Camarines Norte||Bayan
|-
|961||Mercedes||[[:wikidata:Q356734|Q356734]]||{{wikidata|label|linked|Q356734}}||{{wikidata|title|linked|Q356734}}||Camarines Norte||Bayan
|-
|962||Paracale||[[:wikidata:Q356759|Q356759]]||{{wikidata|label|linked|Q356759}}||{{wikidata|title|linked|Q356759}}||Camarines Norte||Bayan
|-
|963||San Lorenzo Ruiz||[[:wikidata:Q356803|Q356803]]||{{wikidata|label|linked|Q356803}}||{{wikidata|title|linked|Q356803}}||Camarines Norte||Bayan
|-
|964||San Vicente||[[:wikidata:Q302791|Q302791]]||{{wikidata|label|linked|Q302791}}||{{wikidata|title|linked|Q302791}}||Camarines Norte||Bayan
|-
|965||Santa Elena||[[:wikidata:Q356853|Q356853]]||{{wikidata|label|linked|Q356853}}||{{wikidata|title|linked|Q356853}}||Camarines Norte||Bayan
|-
|966||Talisay||[[:wikidata:Q356878|Q356878]]||{{wikidata|label|linked|Q356878}}||{{wikidata|title|linked|Q356878}}||Camarines Norte||Bayan
|-
|967||Vinzons||[[:wikidata:Q356898|Q356898]]||{{wikidata|label|linked|Q356898}}||{{wikidata|title|linked|Q356898}}||Camarines Norte||Bayan
|-
|968||Bacacay||[[:wikidata:Q492912|Q492912]]||{{wikidata|label|linked|Q492912}}||{{wikidata|title|linked|Q492912}}||Albay||Bayan
|-
|969||Camalig||[[:wikidata:Q492976|Q492976]]||{{wikidata|label|linked|Q492976}}||{{wikidata|title|linked|Q492976}}||Albay||Bayan
|-
|970||Daraga||[[:wikidata:Q493008|Q493008]]||{{wikidata|label|linked|Q493008}}||{{wikidata|title|linked|Q493008}}||Albay||Bayan
|-
|971||Guinobatan||[[:wikidata:Q493032|Q493032]]||{{wikidata|label|linked|Q493032}}||{{wikidata|title|linked|Q493032}}||Albay||Bayan
|-
|972||Jovellar||[[:wikidata:Q493065|Q493065]]||{{wikidata|label|linked|Q493065}}||{{wikidata|title|linked|Q493065}}||Albay||Bayan
|-
|973||Legazpi||[[:wikidata:Q1696|Q1696]]||{{wikidata|label|linked|Q1696}}||{{wikidata|title|linked|Q1696}}||Albay||Lungsod
|-
|974||Libon||[[:wikidata:Q493095|Q493095]]||{{wikidata|label|linked|Q493095}}||{{wikidata|title|linked|Q493095}}||Albay||Bayan
|-
|975||Ligao||[[:wikidata:Q1701|Q1701]]||{{wikidata|label|linked|Q1701}}||{{wikidata|title|linked|Q1701}}||Albay||Lungsod
|-
|976||Malilipot||[[:wikidata:Q493132|Q493132]]||{{wikidata|label|linked|Q493132}}||{{wikidata|title|linked|Q493132}}||Albay||Bayan
|-
|977||Malinao||[[:wikidata:Q493178|Q493178]]||{{wikidata|label|linked|Q493178}}||{{wikidata|title|linked|Q493178}}||Albay||Bayan
|-
|978||Manito||[[:wikidata:Q493204|Q493204]]||{{wikidata|label|linked|Q493204}}||{{wikidata|title|linked|Q493204}}||Albay||Bayan
|-
|979||Oas||[[:wikidata:Q493246|Q493246]]||{{wikidata|label|linked|Q493246}}||{{wikidata|title|linked|Q493246}}||Albay||Bayan
|-
|980||Pio Duran||[[:wikidata:Q256045|Q256045]]||{{wikidata|label|linked|Q256045}}||{{wikidata|title|linked|Q256045}}||Albay||Bayan
|-
|981||Polangui||[[:wikidata:Q493326|Q493326]]||{{wikidata|label|linked|Q493326}}||{{wikidata|title|linked|Q493326}}||Albay||Bayan
|-
|982||Rapu-Rapu||[[:wikidata:Q493362|Q493362]]||{{wikidata|label|linked|Q493362}}||{{wikidata|title|linked|Q493362}}||Albay||Bayan
|-
|983||Santo Domingo||[[:wikidata:Q493409|Q493409]]||{{wikidata|label|linked|Q493409}}||{{wikidata|title|linked|Q493409}}||Albay||Bayan
|-
|984||Tabaco||[[:wikidata:Q1706|Q1706]]||{{wikidata|label|linked|Q1706}}||{{wikidata|title|linked|Q1706}}||Albay||Lungsod
|-
|985||Tiwi||[[:wikidata:Q493444|Q493444]]||{{wikidata|label|linked|Q493444}}||{{wikidata|title|linked|Q493444}}||Albay||Bayan
|-
|986||Alcantara||[[:wikidata:Q174497|Q174497]]||{{wikidata|label|linked|Q174497}}||{{wikidata|title|linked|Q174497}}||Romblon||Bayan
|-
|987||Banton||[[:wikidata:Q174511|Q174511]]||{{wikidata|label|linked|Q174511}}||{{wikidata|title|linked|Q174511}}||Romblon||Bayan
|-
|988||Cajidiocan||[[:wikidata:Q174525|Q174525]]||{{wikidata|label|linked|Q174525}}||{{wikidata|title|linked|Q174525}}||Romblon||Bayan
|-
|989||Calatrava||[[:wikidata:Q174544|Q174544]]||{{wikidata|label|linked|Q174544}}||{{wikidata|title|linked|Q174544}}||Romblon||Bayan
|-
|990||Concepcion||[[:wikidata:Q174562|Q174562]]||{{wikidata|label|linked|Q174562}}||{{wikidata|title|linked|Q174562}}||Romblon||Bayan
|-
|991||Corcuera||[[:wikidata:Q174575|Q174575]]||{{wikidata|label|linked|Q174575}}||{{wikidata|title|linked|Q174575}}||Romblon||Bayan
|-
|992||Ferrol||[[:wikidata:Q174591|Q174591]]||{{wikidata|label|linked|Q174591}}||{{wikidata|title|linked|Q174591}}||Romblon||Bayan
|-
|993||Looc||[[:wikidata:Q174607|Q174607]]||{{wikidata|label|linked|Q174607}}||{{wikidata|title|linked|Q174607}}||Romblon||Bayan
|-
|994||Magdiwang||[[:wikidata:Q174620|Q174620]]||{{wikidata|label|linked|Q174620}}||{{wikidata|title|linked|Q174620}}||Romblon||Bayan
|-
|995||Odiongan||[[:wikidata:Q174632|Q174632]]||{{wikidata|label|linked|Q174632}}||{{wikidata|title|linked|Q174632}}||Romblon||Bayan
|-
|996||Romblon||[[:wikidata:Q174649|Q174649]]||{{wikidata|label|linked|Q174649}}||{{wikidata|title|linked|Q174649}}||Romblon||Bayan
|-
|997||San Agustin||[[:wikidata:Q174659|Q174659]]||{{wikidata|label|linked|Q174659}}||{{wikidata|title|linked|Q174659}}||Romblon||Bayan
|-
|998||San Andres||[[:wikidata:Q174667|Q174667]]||{{wikidata|label|linked|Q174667}}||{{wikidata|title|linked|Q174667}}||Romblon||Bayan
|-
|999||San Fernando||[[:wikidata:Q174676|Q174676]]||{{wikidata|label|linked|Q174676}}||{{wikidata|title|linked|Q174676}}||Romblon||Bayan
|-
|1000||San Jose||[[:wikidata:Q174689|Q174689]]||{{wikidata|label|linked|Q174689}}||{{wikidata|title|linked|Q174689}}||Romblon||Bayan
|-
|1001||Santa Fe||[[:wikidata:Q174702|Q174702]]||{{wikidata|label|linked|Q174702}}||{{wikidata|title|linked|Q174702}}||Romblon||Bayan
|-
|1002||Santa Maria||[[:wikidata:Q174717|Q174717]]||{{wikidata|label|linked|Q174717}}||{{wikidata|title|linked|Q174717}}||Romblon||Bayan
|-
|1003||Aborlan||[[:wikidata:Q111338|Q111338]]||{{wikidata|label|linked|Q111338}}||{{wikidata|title|linked|Q111338}}||Palawan||Bayan
|-
|1004||Agutaya||[[:wikidata:Q111351|Q111351]]||{{wikidata|label|linked|Q111351}}||{{wikidata|title|linked|Q111351}}||Palawan||Bayan
|-
|1005||Araceli||[[:wikidata:Q111360|Q111360]]||{{wikidata|label|linked|Q111360}}||{{wikidata|title|linked|Q111360}}||Palawan||Bayan
|-
|1006||Balabac||[[:wikidata:Q111372|Q111372]]||{{wikidata|label|linked|Q111372}}||{{wikidata|title|linked|Q111372}}||Palawan||Bayan
|-
|1007||Bataraza||[[:wikidata:Q111378|Q111378]]||{{wikidata|label|linked|Q111378}}||{{wikidata|title|linked|Q111378}}||Palawan||Bayan
|-
|1008||Brooke's Point||[[:wikidata:Q111386|Q111386]]||{{wikidata|label|linked|Q111386}}||{{wikidata|title|linked|Q111386}}||Palawan||Bayan
|-
|1009||Busuanga||[[:wikidata:Q111393|Q111393]]||{{wikidata|label|linked|Q111393}}||{{wikidata|title|linked|Q111393}}||Palawan||Bayan
|-
|1010||Cagayancillo||[[:wikidata:Q111402|Q111402]]||{{wikidata|label|linked|Q111402}}||{{wikidata|title|linked|Q111402}}||Palawan||Bayan
|-
|1011||Coron||[[:wikidata:Q111414|Q111414]]||{{wikidata|label|linked|Q111414}}||{{wikidata|title|linked|Q111414}}||Palawan||Bayan
|-
|1012||Culion||[[:wikidata:Q111427|Q111427]]||{{wikidata|label|linked|Q111427}}||{{wikidata|title|linked|Q111427}}||Palawan||Bayan
|-
|1013||Cuyo||[[:wikidata:Q111438|Q111438]]||{{wikidata|label|linked|Q111438}}||{{wikidata|title|linked|Q111438}}||Palawan||Bayan
|-
|1014||Dumaran||[[:wikidata:Q111468|Q111468]]||{{wikidata|label|linked|Q111468}}||{{wikidata|title|linked|Q111468}}||Palawan||Bayan
|-
|1015||El Nido||[[:wikidata:Q111483|Q111483]]||{{wikidata|label|linked|Q111483}}||{{wikidata|title|linked|Q111483}}||Palawan||Bayan
|-
|1016||Kalayaan||[[:wikidata:Q111495|Q111495]]||{{wikidata|label|linked|Q111495}}||{{wikidata|title|linked|Q111495}}||Palawan||Bayan
|-
|1017||Linapacan||[[:wikidata:Q111506|Q111506]]||{{wikidata|label|linked|Q111506}}||{{wikidata|title|linked|Q111506}}||Palawan||Bayan
|-
|1018||Magsaysay||[[:wikidata:Q111521|Q111521]]||{{wikidata|label|linked|Q111521}}||{{wikidata|title|linked|Q111521}}||Palawan||Bayan
|-
|1019||Narra||[[:wikidata:Q111535|Q111535]]||{{wikidata|label|linked|Q111535}}||{{wikidata|title|linked|Q111535}}||Palawan||Bayan
|-
|1020||Puerto Princesa||[[:wikidata:Q111739|Q111739]]||{{wikidata|label|linked|Q111739}}||{{wikidata|title|linked|Q111739}}||Palawan||Lungsod
|-
|1021||Quezon||[[:wikidata:Q111662|Q111662]]||{{wikidata|label|linked|Q111662}}||{{wikidata|title|linked|Q111662}}||Palawan||Bayan
|-
|1022||Rizal||[[:wikidata:Q111677|Q111677]]||{{wikidata|label|linked|Q111677}}||{{wikidata|title|linked|Q111677}}||Palawan||Bayan
|-
|1023||Roxas||[[:wikidata:Q111689|Q111689]]||{{wikidata|label|linked|Q111689}}||{{wikidata|title|linked|Q111689}}||Palawan||Bayan
|-
|1024||San Vicente||[[:wikidata:Q111707|Q111707]]||{{wikidata|label|linked|Q111707}}||{{wikidata|title|linked|Q111707}}||Palawan||Bayan
|-
|1025||Sofronio Española||[[:wikidata:Q111719|Q111719]]||{{wikidata|label|linked|Q111719}}||{{wikidata|title|linked|Q111719}}||Palawan||Bayan
|-
|1026||Taytay||[[:wikidata:Q111730|Q111730]]||{{wikidata|label|linked|Q111730}}||{{wikidata|title|linked|Q111730}}||Palawan||Bayan
|-
|1027||Baco||[[:wikidata:Q107538|Q107538]]||{{wikidata|label|linked|Q107538}}||{{wikidata|title|linked|Q107538}}||Oriental Mindoro||Bayan
|-
|1028||Bansud||[[:wikidata:Q107543|Q107543]]||{{wikidata|label|linked|Q107543}}||{{wikidata|title|linked|Q107543}}||Oriental Mindoro||Bayan
|-
|1029||Bongabong||[[:wikidata:Q107550|Q107550]]||{{wikidata|label|linked|Q107550}}||{{wikidata|title|linked|Q107550}}||Oriental Mindoro||Bayan
|-
|1030||Bulalacao||[[:wikidata:Q107554|Q107554]]||{{wikidata|label|linked|Q107554}}||{{wikidata|title|linked|Q107554}}||Oriental Mindoro||Bayan
|-
|1031||Calapan||[[:wikidata:Q107624|Q107624]]||{{wikidata|label|linked|Q107624}}||{{wikidata|title|linked|Q107624}}||Oriental Mindoro||Lungsod
|-
|1032||Gloria||[[:wikidata:Q107559|Q107559]]||{{wikidata|label|linked|Q107559}}||{{wikidata|title|linked|Q107559}}||Oriental Mindoro||Bayan
|-
|1033||Mansalay||[[:wikidata:Q107567|Q107567]]||{{wikidata|label|linked|Q107567}}||{{wikidata|title|linked|Q107567}}||Oriental Mindoro||Bayan
|-
|1034||Naujan||[[:wikidata:Q107573|Q107573]]||{{wikidata|label|linked|Q107573}}||{{wikidata|title|linked|Q107573}}||Oriental Mindoro||Bayan
|-
|1035||Pinamalayan||[[:wikidata:Q107578|Q107578]]||{{wikidata|label|linked|Q107578}}||{{wikidata|title|linked|Q107578}}||Oriental Mindoro||Bayan
|-
|1036||Pola||[[:wikidata:Q107585|Q107585]]||{{wikidata|label|linked|Q107585}}||{{wikidata|title|linked|Q107585}}||Oriental Mindoro||Bayan
|-
|1037||Puerto Galera||[[:wikidata:Q107593|Q107593]]||{{wikidata|label|linked|Q107593}}||{{wikidata|title|linked|Q107593}}||Oriental Mindoro||Bayan
|-
|1038||Roxas||[[:wikidata:Q107598|Q107598]]||{{wikidata|label|linked|Q107598}}||{{wikidata|title|linked|Q107598}}||Oriental Mindoro||Bayan
|-
|1039||San Teodoro||[[:wikidata:Q107606|Q107606]]||{{wikidata|label|linked|Q107606}}||{{wikidata|title|linked|Q107606}}||Oriental Mindoro||Bayan
|-
|1040||Socorro||[[:wikidata:Q107612|Q107612]]||{{wikidata|label|linked|Q107612}}||{{wikidata|title|linked|Q107612}}||Oriental Mindoro||Bayan
|-
|1041||Victoria||[[:wikidata:Q107618|Q107618]]||{{wikidata|label|linked|Q107618}}||{{wikidata|title|linked|Q107618}}||Oriental Mindoro||Bayan
|-
|1042||Abra de Ilog||[[:wikidata:Q107454|Q107454]]||{{wikidata|label|linked|Q107454}}||{{wikidata|title|linked|Q107454}}||Occidental Mindoro||Bayan
|-
|1043||Calintaan||[[:wikidata:Q107460|Q107460]]||{{wikidata|label|linked|Q107460}}||{{wikidata|title|linked|Q107460}}||Occidental Mindoro||Bayan
|-
|1044||Looc||[[:wikidata:Q107465|Q107465]]||{{wikidata|label|linked|Q107465}}||{{wikidata|title|linked|Q107465}}||Occidental Mindoro||Bayan
|-
|1045||Lubang||[[:wikidata:Q107476|Q107476]]||{{wikidata|label|linked|Q107476}}||{{wikidata|title|linked|Q107476}}||Occidental Mindoro||Bayan
|-
|1046||Magsaysay||[[:wikidata:Q107482|Q107482]]||{{wikidata|label|linked|Q107482}}||{{wikidata|title|linked|Q107482}}||Occidental Mindoro||Bayan
|-
|1047||Mamburao||[[:wikidata:Q107488|Q107488]]||{{wikidata|label|linked|Q107488}}||{{wikidata|title|linked|Q107488}}||Occidental Mindoro||Bayan
|-
|1048||Paluan||[[:wikidata:Q107493|Q107493]]||{{wikidata|label|linked|Q107493}}||{{wikidata|title|linked|Q107493}}||Occidental Mindoro||Bayan
|-
|1049||Rizal||[[:wikidata:Q107499|Q107499]]||{{wikidata|label|linked|Q107499}}||{{wikidata|title|linked|Q107499}}||Occidental Mindoro||Bayan
|-
|1050||Sablayan||[[:wikidata:Q107505|Q107505]]||{{wikidata|label|linked|Q107505}}||{{wikidata|title|linked|Q107505}}||Occidental Mindoro||Bayan
|-
|1051||San Jose||[[:wikidata:Q107511|Q107511]]||{{wikidata|label|linked|Q107511}}||{{wikidata|title|linked|Q107511}}||Occidental Mindoro||Bayan
|-
|1052||Santa Cruz||[[:wikidata:Q107519|Q107519]]||{{wikidata|label|linked|Q107519}}||{{wikidata|title|linked|Q107519}}||Occidental Mindoro||Bayan
|-
|1053||Boac||[[:wikidata:Q107011|Q107011]]||{{wikidata|label|linked|Q107011}}||{{wikidata|title|linked|Q107011}}||Marinduque||Bayan
|-
|1054||Buenavista||[[:wikidata:Q107023|Q107023]]||{{wikidata|label|linked|Q107023}}||{{wikidata|title|linked|Q107023}}||Marinduque||Bayan
|-
|1055||Gasan||[[:wikidata:Q107029|Q107029]]||{{wikidata|label|linked|Q107029}}||{{wikidata|title|linked|Q107029}}||Marinduque||Bayan
|-
|1056||Mogpog||[[:wikidata:Q107034|Q107034]]||{{wikidata|label|linked|Q107034}}||{{wikidata|title|linked|Q107034}}||Marinduque||Bayan
|-
|1057||Santa Cruz||[[:wikidata:Q107042|Q107042]]||{{wikidata|label|linked|Q107042}}||{{wikidata|title|linked|Q107042}}||Marinduque||Bayan
|-
|1058||Torrijos||[[:wikidata:Q107048|Q107048]]||{{wikidata|label|linked|Q107048}}||{{wikidata|title|linked|Q107048}}||Marinduque||Bayan
|-
|1059||Angono||[[:wikidata:Q106758|Q106758]]||{{wikidata|label|linked|Q106758}}||{{wikidata|title|linked|Q106758}}||Rizal||Bayan
|-
|1060||Antipolo||[[:wikidata:Q1636|Q1636]]||{{wikidata|label|linked|Q1636}}||{{wikidata|title|linked|Q1636}}||Rizal||Lungsod
|-
|1061||Baras||[[:wikidata:Q106766|Q106766]]||{{wikidata|label|linked|Q106766}}||{{wikidata|title|linked|Q106766}}||Rizal||Bayan
|-
|1062||Binangonan||[[:wikidata:Q106783|Q106783]]||{{wikidata|label|linked|Q106783}}||{{wikidata|title|linked|Q106783}}||Rizal||Bayan
|-
|1063||Cainta||[[:wikidata:Q106790|Q106790]]||{{wikidata|label|linked|Q106790}}||{{wikidata|title|linked|Q106790}}||Rizal||Bayan
|-
|1064||Cardona||[[:wikidata:Q106796|Q106796]]||{{wikidata|label|linked|Q106796}}||{{wikidata|title|linked|Q106796}}||Rizal||Bayan
|-
|1065||Jalajala||[[:wikidata:Q106804|Q106804]]||{{wikidata|label|linked|Q106804}}||{{wikidata|title|linked|Q106804}}||Rizal||Bayan
|-
|1066||Morong||[[:wikidata:Q106810|Q106810]]||{{wikidata|label|linked|Q106810}}||{{wikidata|title|linked|Q106810}}||Rizal||Bayan
|-
|1067||Pililla||[[:wikidata:Q106817|Q106817]]||{{wikidata|label|linked|Q106817}}||{{wikidata|title|linked|Q106817}}||Rizal||Bayan
|-
|1068||Rodriguez||[[:wikidata:Q106825|Q106825]]||{{wikidata|label|linked|Q106825}}||{{wikidata|title|linked|Q106825}}||Rizal||Bayan
|-
|1069||San Mateo||[[:wikidata:Q106832|Q106832]]||{{wikidata|label|linked|Q106832}}||{{wikidata|title|linked|Q106832}}||Rizal||Bayan
|-
|1070||Tanay||[[:wikidata:Q106839|Q106839]]||{{wikidata|label|linked|Q106839}}||{{wikidata|title|linked|Q106839}}||Rizal||Bayan
|-
|1071||Taytay||[[:wikidata:Q373204|Q373204]]||{{wikidata|label|linked|Q373204}}||{{wikidata|title|linked|Q373204}}||Rizal||Bayan
|-
|1072||Teresa||[[:wikidata:Q106848|Q106848]]||{{wikidata|label|linked|Q106848}}||{{wikidata|title|linked|Q106848}}||Rizal||Bayan
|-
|1073||Agdangan||[[:wikidata:Q103777|Q103777]]||{{wikidata|label|linked|Q103777}}||{{wikidata|title|linked|Q103777}}||Quezon||Bayan
|-
|1074||Alabat||[[:wikidata:Q103786|Q103786]]||{{wikidata|label|linked|Q103786}}||{{wikidata|title|linked|Q103786}}||Quezon||Bayan
|-
|1075||Atimonan||[[:wikidata:Q103807|Q103807]]||{{wikidata|label|linked|Q103807}}||{{wikidata|title|linked|Q103807}}||Quezon||Bayan
|-
|1076||Buenavista||[[:wikidata:Q103815|Q103815]]||{{wikidata|label|linked|Q103815}}||{{wikidata|title|linked|Q103815}}||Quezon||Bayan
|-
|1077||Burdeos||[[:wikidata:Q103825|Q103825]]||{{wikidata|label|linked|Q103825}}||{{wikidata|title|linked|Q103825}}||Quezon||Bayan
|-
|1078||Calauag||[[:wikidata:Q103833|Q103833]]||{{wikidata|label|linked|Q103833}}||{{wikidata|title|linked|Q103833}}||Quezon||Bayan
|-
|1079||Candelaria||[[:wikidata:Q103841|Q103841]]||{{wikidata|label|linked|Q103841}}||{{wikidata|title|linked|Q103841}}||Quezon||Bayan
|-
|1080||Catanauan||[[:wikidata:Q103872|Q103872]]||{{wikidata|label|linked|Q103872}}||{{wikidata|title|linked|Q103872}}||Quezon||Bayan
|-
|1081||Dolores||[[:wikidata:Q103879|Q103879]]||{{wikidata|label|linked|Q103879}}||{{wikidata|title|linked|Q103879}}||Quezon||Bayan
|-
|1082||General Luna||[[:wikidata:Q103889|Q103889]]||{{wikidata|label|linked|Q103889}}||{{wikidata|title|linked|Q103889}}||Quezon||Bayan
|-
|1083||General Nakar||[[:wikidata:Q103899|Q103899]]||{{wikidata|label|linked|Q103899}}||{{wikidata|title|linked|Q103899}}||Quezon||Bayan
|-
|1084||Guinayangan||[[:wikidata:Q103905|Q103905]]||{{wikidata|label|linked|Q103905}}||{{wikidata|title|linked|Q103905}}||Quezon||Bayan
|-
|1085||Gumaca||[[:wikidata:Q103914|Q103914]]||{{wikidata|label|linked|Q103914}}||{{wikidata|title|linked|Q103914}}||Quezon||Bayan
|-
|1086||Infanta||[[:wikidata:Q103921|Q103921]]||{{wikidata|label|linked|Q103921}}||{{wikidata|title|linked|Q103921}}||Quezon||Bayan
|-
|1087||Jomalig||[[:wikidata:Q103928|Q103928]]||{{wikidata|label|linked|Q103928}}||{{wikidata|title|linked|Q103928}}||Quezon||Bayan
|-
|1088||Lopez||[[:wikidata:Q103935|Q103935]]||{{wikidata|label|linked|Q103935}}||{{wikidata|title|linked|Q103935}}||Quezon||Bayan
|-
|1089||Lucban||[[:wikidata:Q103941|Q103941]]||{{wikidata|label|linked|Q103941}}||{{wikidata|title|linked|Q103941}}||Quezon||Bayan
|-
|1090||Lucena||[[:wikidata:Q104125|Q104125]]||{{wikidata|label|linked|Q104125}}||{{wikidata|title|linked|Q104125}}||Quezon||Lungsod
|-
|1091||Macalelon||[[:wikidata:Q103947|Q103947]]||{{wikidata|label|linked|Q103947}}||{{wikidata|title|linked|Q103947}}||Quezon||Bayan
|-
|1092||Mauban||[[:wikidata:Q103952|Q103952]]||{{wikidata|label|linked|Q103952}}||{{wikidata|title|linked|Q103952}}||Quezon||Bayan
|-
|1093||Mulanay||[[:wikidata:Q103958|Q103958]]||{{wikidata|label|linked|Q103958}}||{{wikidata|title|linked|Q103958}}||Quezon||Bayan
|-
|1094||Padre Burgos||[[:wikidata:Q103965|Q103965]]||{{wikidata|label|linked|Q103965}}||{{wikidata|title|linked|Q103965}}||Quezon||Bayan
|-
|1095||Pagbilao||[[:wikidata:Q103971|Q103971]]||{{wikidata|label|linked|Q103971}}||{{wikidata|title|linked|Q103971}}||Quezon||Bayan
|-
|1096||Panukulan||[[:wikidata:Q103976|Q103976]]||{{wikidata|label|linked|Q103976}}||{{wikidata|title|linked|Q103976}}||Quezon||Bayan
|-
|1097||Patnanungan||[[:wikidata:Q103981|Q103981]]||{{wikidata|label|linked|Q103981}}||{{wikidata|title|linked|Q103981}}||Quezon||Bayan
|-
|1098||Perez||[[:wikidata:Q103987|Q103987]]||{{wikidata|label|linked|Q103987}}||{{wikidata|title|linked|Q103987}}||Quezon||Bayan
|-
|1099||Pitogo||[[:wikidata:Q103996|Q103996]]||{{wikidata|label|linked|Q103996}}||{{wikidata|title|linked|Q103996}}||Quezon||Bayan
|-
|1100||Plaridel||[[:wikidata:Q104005|Q104005]]||{{wikidata|label|linked|Q104005}}||{{wikidata|title|linked|Q104005}}||Quezon||Bayan
|-
|1101||Polillo||[[:wikidata:Q104011|Q104011]]||{{wikidata|label|linked|Q104011}}||{{wikidata|title|linked|Q104011}}||Quezon||Bayan
|-
|1102||Quezon||[[:wikidata:Q104020|Q104020]]||{{wikidata|label|linked|Q104020}}||{{wikidata|title|linked|Q104020}}||Quezon||Bayan
|-
|1103||Real||[[:wikidata:Q104026|Q104026]]||{{wikidata|label|linked|Q104026}}||{{wikidata|title|linked|Q104026}}||Quezon||Bayan
|-
|1104||Sampaloc||[[:wikidata:Q104037|Q104037]]||{{wikidata|label|linked|Q104037}}||{{wikidata|title|linked|Q104037}}||Quezon||Bayan
|-
|1105||San Andres||[[:wikidata:Q104044|Q104044]]||{{wikidata|label|linked|Q104044}}||{{wikidata|title|linked|Q104044}}||Quezon||Bayan
|-
|1106||San Antonio||[[:wikidata:Q104052|Q104052]]||{{wikidata|label|linked|Q104052}}||{{wikidata|title|linked|Q104052}}||Quezon||Bayan
|-
|1107||San Francisco||[[:wikidata:Q104063|Q104063]]||{{wikidata|label|linked|Q104063}}||{{wikidata|title|linked|Q104063}}||Quezon||Bayan
|-
|1108||San Narciso||[[:wikidata:Q104071|Q104071]]||{{wikidata|label|linked|Q104071}}||{{wikidata|title|linked|Q104071}}||Quezon||Bayan
|-
|1109||Sariaya||[[:wikidata:Q104078|Q104078]]||{{wikidata|label|linked|Q104078}}||{{wikidata|title|linked|Q104078}}||Quezon||Bayan
|-
|1110||Tagkawayan||[[:wikidata:Q104087|Q104087]]||{{wikidata|label|linked|Q104087}}||{{wikidata|title|linked|Q104087}}||Quezon||Bayan
|-
|1111||Tayabas||[[:wikidata:Q104113|Q104113]]||{{wikidata|label|linked|Q104113}}||{{wikidata|title|linked|Q104113}}||Quezon||Lungsod
|-
|1112||Tiaong||[[:wikidata:Q104092|Q104092]]||{{wikidata|label|linked|Q104092}}||{{wikidata|title|linked|Q104092}}||Quezon||Bayan
|-
|1113||Unisan||[[:wikidata:Q104099|Q104099]]||{{wikidata|label|linked|Q104099}}||{{wikidata|title|linked|Q104099}}||Quezon||Bayan
|-
|1114||Alaminos||[[:wikidata:Q63750|Q63750]]||{{wikidata|label|linked|Q63750}}||{{wikidata|title|linked|Q63750}}||Laguna||Bayan
|-
|1115||Bay||[[:wikidata:Q63763|Q63763]]||{{wikidata|label|linked|Q63763}}||{{wikidata|title|linked|Q63763}}||Laguna||Bayan
|-
|1116||Biñan||[[:wikidata:Q75961|Q75961]]||{{wikidata|label|linked|Q75961}}||{{wikidata|title|linked|Q75961}}||Laguna||Lungsod
|-
|1117||Cabuyao||[[:wikidata:Q25096|Q25096]]||{{wikidata|label|linked|Q25096}}||{{wikidata|title|linked|Q25096}}||Laguna||Lungsod
|-
|1118||Calamba||[[:wikidata:Q75978|Q75978]]||{{wikidata|label|linked|Q75978}}||{{wikidata|title|linked|Q75978}}||Laguna||Lungsod
|-
|1119||Calauan||[[:wikidata:Q69739|Q69739]]||{{wikidata|label|linked|Q69739}}||{{wikidata|title|linked|Q69739}}||Laguna||Bayan
|-
|1120||Cavinti||[[:wikidata:Q69749|Q69749]]||{{wikidata|label|linked|Q69749}}||{{wikidata|title|linked|Q69749}}||Laguna||Bayan
|-
|1121||Famy||[[:wikidata:Q69759|Q69759]]||{{wikidata|label|linked|Q69759}}||{{wikidata|title|linked|Q69759}}||Laguna||Bayan
|-
|1122||Kalayaan||[[:wikidata:Q69771|Q69771]]||{{wikidata|label|linked|Q69771}}||{{wikidata|title|linked|Q69771}}||Laguna||Bayan
|-
|1123||Liliw||[[:wikidata:Q69781|Q69781]]||{{wikidata|label|linked|Q69781}}||{{wikidata|title|linked|Q69781}}||Laguna||Bayan
|-
|1124||Los Baños||[[:wikidata:Q69793|Q69793]]||{{wikidata|label|linked|Q69793}}||{{wikidata|title|linked|Q69793}}||Laguna||Bayan
|-
|1125||Luisiana||[[:wikidata:Q69812|Q69812]]||{{wikidata|label|linked|Q69812}}||{{wikidata|title|linked|Q69812}}||Laguna||Bayan
|-
|1126||Lumban||[[:wikidata:Q69824|Q69824]]||{{wikidata|label|linked|Q69824}}||{{wikidata|title|linked|Q69824}}||Laguna||Bayan
|-
|1127||Mabitac||[[:wikidata:Q75875|Q75875]]||{{wikidata|label|linked|Q75875}}||{{wikidata|title|linked|Q75875}}||Laguna||Bayan
|-
|1128||Magdalena||[[:wikidata:Q75881|Q75881]]||{{wikidata|label|linked|Q75881}}||{{wikidata|title|linked|Q75881}}||Laguna||Bayan
|-
|1129||Majayjay||[[:wikidata:Q75888|Q75888]]||{{wikidata|label|linked|Q75888}}||{{wikidata|title|linked|Q75888}}||Laguna||Bayan
|-
|1130||Nagcarlan||[[:wikidata:Q75895|Q75895]]||{{wikidata|label|linked|Q75895}}||{{wikidata|title|linked|Q75895}}||Laguna||Bayan
|-
|1131||Paete||[[:wikidata:Q75899|Q75899]]||{{wikidata|label|linked|Q75899}}||{{wikidata|title|linked|Q75899}}||Laguna||Bayan
|-
|1132||Pagsanjan||[[:wikidata:Q75905|Q75905]]||{{wikidata|label|linked|Q75905}}||{{wikidata|title|linked|Q75905}}||Laguna||Bayan
|-
|1133||Pakil||[[:wikidata:Q75910|Q75910]]||{{wikidata|label|linked|Q75910}}||{{wikidata|title|linked|Q75910}}||Laguna||Bayan
|-
|1134||Pangil||[[:wikidata:Q75918|Q75918]]||{{wikidata|label|linked|Q75918}}||{{wikidata|title|linked|Q75918}}||Laguna||Bayan
|-
|1135||Pila||[[:wikidata:Q75923|Q75923]]||{{wikidata|label|linked|Q75923}}||{{wikidata|title|linked|Q75923}}||Laguna||Bayan
|-
|1136||Rizal||[[:wikidata:Q75928|Q75928]]||{{wikidata|label|linked|Q75928}}||{{wikidata|title|linked|Q75928}}||Laguna||Bayan
|-
|1137||San Pablo||[[:wikidata:Q76001|Q76001]]||{{wikidata|label|linked|Q76001}}||{{wikidata|title|linked|Q76001}}||Laguna||Lungsod
|-
|1138||San Pedro||[[:wikidata:Q75933|Q75933]]||{{wikidata|label|linked|Q75933}}||{{wikidata|title|linked|Q75933}}||Laguna||Lungsod
|-
|1139||Santa Cruz||[[:wikidata:Q75938|Q75938]]||{{wikidata|label|linked|Q75938}}||{{wikidata|title|linked|Q75938}}||Laguna||Bayan
|-
|1140||Santa Maria||[[:wikidata:Q75943|Q75943]]||{{wikidata|label|linked|Q75943}}||{{wikidata|title|linked|Q75943}}||Laguna||Bayan
|-
|1141||Santa Rosa||[[:wikidata:Q76010|Q76010]]||{{wikidata|label|linked|Q76010}}||{{wikidata|title|linked|Q76010}}||Laguna||Lungsod
|-
|1142||Siniloan||[[:wikidata:Q75948|Q75948]]||{{wikidata|label|linked|Q75948}}||{{wikidata|title|linked|Q75948}}||Laguna||Bayan
|-
|1143||Victoria||[[:wikidata:Q75953|Q75953]]||{{wikidata|label|linked|Q75953}}||{{wikidata|title|linked|Q75953}}||Laguna||Bayan
|-
|1144||Alfonso||[[:wikidata:Q62600|Q62600]]||{{wikidata|label|linked|Q62600}}||{{wikidata|title|linked|Q62600}}||Cavite||Bayan
|-
|1145||Amadeo||[[:wikidata:Q62606|Q62606]]||{{wikidata|label|linked|Q62606}}||{{wikidata|title|linked|Q62606}}||Cavite||Bayan
|-
|1146||Bacoor||[[:wikidata:Q63129|Q63129]]||{{wikidata|label|linked|Q63129}}||{{wikidata|title|linked|Q63129}}||Cavite||Lungsod
|-
|1147||Carmona||[[:wikidata:Q62611|Q62611]]||{{wikidata|label|linked|Q62611}}||{{wikidata|title|linked|Q62611}}||Cavite||Bayan
|-
|1148||Cavite City||[[:wikidata:Q1482|Q1482]]||{{wikidata|label|linked|Q1482}}||{{wikidata|title|linked|Q1482}}||Cavite||Lungsod
|-
|1149||Dasmariñas||[[:wikidata:Q63139|Q63139]]||{{wikidata|label|linked|Q63139}}||{{wikidata|title|linked|Q63139}}||Cavite||Lungsod
|-
|1150||General Emilio Aguinaldo||[[:wikidata:Q62719|Q62719]]||{{wikidata|label|linked|Q62719}}||{{wikidata|title|linked|Q62719}}||Cavite||Bayan
|-
|1151||General Mariano Alvarez||[[:wikidata:Q62638|Q62638]]||{{wikidata|label|linked|Q62638}}||{{wikidata|title|linked|Q62638}}||Cavite||Bayan
|-
|1152||General Trias||[[:wikidata:Q62723|Q62723]]||{{wikidata|label|linked|Q62723}}||{{wikidata|title|linked|Q62723}}||Cavite||Lungsod
|-
|1153||Imus||[[:wikidata:Q63145|Q63145]]||{{wikidata|label|linked|Q63145}}||{{wikidata|title|linked|Q63145}}||Cavite||Lungsod
|-
|1154||Indang||[[:wikidata:Q62729|Q62729]]||{{wikidata|label|linked|Q62729}}||{{wikidata|title|linked|Q62729}}||Cavite||Bayan
|-
|1155||Kawit||[[:wikidata:Q62755|Q62755]]||{{wikidata|label|linked|Q62755}}||{{wikidata|title|linked|Q62755}}||Cavite||Bayan
|-
|1156||Magallanes||[[:wikidata:Q62771|Q62771]]||{{wikidata|label|linked|Q62771}}||{{wikidata|title|linked|Q62771}}||Cavite||Bayan
|-
|1157||Maragondon||[[:wikidata:Q62776|Q62776]]||{{wikidata|label|linked|Q62776}}||{{wikidata|title|linked|Q62776}}||Cavite||Bayan
|-
|1158||Mendez||[[:wikidata:Q62784|Q62784]]||{{wikidata|label|linked|Q62784}}||{{wikidata|title|linked|Q62784}}||Cavite||Bayan
|-
|1159||Naic||[[:wikidata:Q62799|Q62799]]||{{wikidata|label|linked|Q62799}}||{{wikidata|title|linked|Q62799}}||Cavite||Bayan
|-
|1160||Noveleta||[[:wikidata:Q63096|Q63096]]||{{wikidata|label|linked|Q63096}}||{{wikidata|title|linked|Q63096}}||Cavite||Bayan
|-
|1161||Rosario||[[:wikidata:Q63102|Q63102]]||{{wikidata|label|linked|Q63102}}||{{wikidata|title|linked|Q63102}}||Cavite||Bayan
|-
|1162||Silang||[[:wikidata:Q63110|Q63110]]||{{wikidata|label|linked|Q63110}}||{{wikidata|title|linked|Q63110}}||Cavite||Bayan
|-
|1163||Tagaytay||[[:wikidata:Q63154|Q63154]]||{{wikidata|label|linked|Q63154}}||{{wikidata|title|linked|Q63154}}||Cavite||Lungsod
|-
|1164||Tanza||[[:wikidata:Q63115|Q63115]]||{{wikidata|label|linked|Q63115}}||{{wikidata|title|linked|Q63115}}||Cavite||Bayan
|-
|1165||Ternate||[[:wikidata:Q63124|Q63124]]||{{wikidata|label|linked|Q63124}}||{{wikidata|title|linked|Q63124}}||Cavite||Bayan
|-
|1166||Trece Martires||[[:wikidata:Q63160|Q63160]]||{{wikidata|label|linked|Q63160}}||{{wikidata|title|linked|Q63160}}||Cavite||Lungsod
|-
|1167||Agoncillo||[[:wikidata:Q59250|Q59250]]||{{wikidata|label|linked|Q59250}}||{{wikidata|title|linked|Q59250}}||Batangas||Bayan
|-
|1168||Alitagtag||[[:wikidata:Q59251|Q59251]]||{{wikidata|label|linked|Q59251}}||{{wikidata|title|linked|Q59251}}||Batangas||Bayan
|-
|1169||Balayan||[[:wikidata:Q59252|Q59252]]||{{wikidata|label|linked|Q59252}}||{{wikidata|title|linked|Q59252}}||Batangas||Bayan
|-
|1170||Balete||[[:wikidata:Q59253|Q59253]]||{{wikidata|label|linked|Q59253}}||{{wikidata|title|linked|Q59253}}||Batangas||Bayan
|-
|1171||Batangas City||[[:wikidata:Q1723|Q1723]]||{{wikidata|label|linked|Q1723}}||{{wikidata|title|linked|Q1723}}||Batangas||Lungsod
|-
|1172||Bauan||[[:wikidata:Q59272|Q59272]]||{{wikidata|label|linked|Q59272}}||{{wikidata|title|linked|Q59272}}||Batangas||Bayan
|-
|1173||Calaca||[[:wikidata:Q59276|Q59276]]||{{wikidata|label|linked|Q59276}}||{{wikidata|title|linked|Q59276}}||Batangas||Lungsod
|-
|1174||Calatagan||[[:wikidata:Q59279|Q59279]]||{{wikidata|label|linked|Q59279}}||{{wikidata|title|linked|Q59279}}||Batangas||Bayan
|-
|1175||Cuenca||[[:wikidata:Q59287|Q59287]]||{{wikidata|label|linked|Q59287}}||{{wikidata|title|linked|Q59287}}||Batangas||Bayan
|-
|1176||Ibaan||[[:wikidata:Q59304|Q59304]]||{{wikidata|label|linked|Q59304}}||{{wikidata|title|linked|Q59304}}||Batangas||Bayan
|-
|1177||Laurel||[[:wikidata:Q59308|Q59308]]||{{wikidata|label|linked|Q59308}}||{{wikidata|title|linked|Q59308}}||Batangas||Bayan
|-
|1178||Lemery||[[:wikidata:Q59311|Q59311]]||{{wikidata|label|linked|Q59311}}||{{wikidata|title|linked|Q59311}}||Batangas||Bayan
|-
|1179||Lian||[[:wikidata:Q59312|Q59312]]||{{wikidata|label|linked|Q59312}}||{{wikidata|title|linked|Q59312}}||Batangas||Bayan
|-
|1180||Lipa||[[:wikidata:Q1725|Q1725]]||{{wikidata|label|linked|Q1725}}||{{wikidata|title|linked|Q1725}}||Batangas||Lungsod
|-
|1181||Lobo||[[:wikidata:Q803199|Q803199]]||{{wikidata|label|linked|Q803199}}||{{wikidata|title|linked|Q803199}}||Batangas||Bayan
|-
|1182||Mabini||[[:wikidata:Q59313|Q59313]]||{{wikidata|label|linked|Q59313}}||{{wikidata|title|linked|Q59313}}||Batangas||Bayan
|-
|1183||Malvar||[[:wikidata:Q59731|Q59731]]||{{wikidata|label|linked|Q59731}}||{{wikidata|title|linked|Q59731}}||Batangas||Bayan
|-
|1184||Mataasnakahoy||[[:wikidata:Q59740|Q59740]]||{{wikidata|label|linked|Q59740}}||{{wikidata|title|linked|Q59740}}||Batangas||Bayan
|-
|1185||Nasugbu||[[:wikidata:Q59745|Q59745]]||{{wikidata|label|linked|Q59745}}||{{wikidata|title|linked|Q59745}}||Batangas||Bayan
|-
|1186||Padre Garcia||[[:wikidata:Q59749|Q59749]]||{{wikidata|label|linked|Q59749}}||{{wikidata|title|linked|Q59749}}||Batangas||Bayan
|-
|1187||Rosario||[[:wikidata:Q59758|Q59758]]||{{wikidata|label|linked|Q59758}}||{{wikidata|title|linked|Q59758}}||Batangas||Bayan
|-
|1188||San Jose||[[:wikidata:Q59764|Q59764]]||{{wikidata|label|linked|Q59764}}||{{wikidata|title|linked|Q59764}}||Batangas||Bayan
|-
|1189||San Juan||[[:wikidata:Q59770|Q59770]]||{{wikidata|label|linked|Q59770}}||{{wikidata|title|linked|Q59770}}||Batangas||Bayan
|-
|1190||San Luis||[[:wikidata:Q59773|Q59773]]||{{wikidata|label|linked|Q59773}}||{{wikidata|title|linked|Q59773}}||Batangas||Bayan
|-
|1191||San Nicolas||[[:wikidata:Q59777|Q59777]]||{{wikidata|label|linked|Q59777}}||{{wikidata|title|linked|Q59777}}||Batangas||Bayan
|-
|1192||San Pascual||[[:wikidata:Q59784|Q59784]]||{{wikidata|label|linked|Q59784}}||{{wikidata|title|linked|Q59784}}||Batangas||Bayan
|-
|1193||Santa Teresita||[[:wikidata:Q59788|Q59788]]||{{wikidata|label|linked|Q59788}}||{{wikidata|title|linked|Q59788}}||Batangas||Bayan
|-
|1194||Santo Tomas||[[:wikidata:Q59799|Q59799]]||{{wikidata|label|linked|Q59799}}||{{wikidata|title|linked|Q59799}}||Batangas||Lungsod
|-
|1195||Taal||[[:wikidata:Q59814|Q59814]]||{{wikidata|label|linked|Q59814}}||{{wikidata|title|linked|Q59814}}||Batangas||Bayan
|-
|1196||Talisay||[[:wikidata:Q59825|Q59825]]||{{wikidata|label|linked|Q59825}}||{{wikidata|title|linked|Q59825}}||Batangas||Bayan
|-
|1197||Tanauan||[[:wikidata:Q1730|Q1730]]||{{wikidata|label|linked|Q1730}}||{{wikidata|title|linked|Q1730}}||Batangas||Lungsod
|-
|1198||Taysan||[[:wikidata:Q59830|Q59830]]||{{wikidata|label|linked|Q59830}}||{{wikidata|title|linked|Q59830}}||Batangas||Bayan
|-
|1199||Tingloy||[[:wikidata:Q59835|Q59835]]||{{wikidata|label|linked|Q59835}}||{{wikidata|title|linked|Q59835}}||Batangas||Bayan
|-
|1200||Tuy||[[:wikidata:Q59844|Q59844]]||{{wikidata|label|linked|Q59844}}||{{wikidata|title|linked|Q59844}}||Batangas||Bayan
|-
|1201||Botolan||[[:wikidata:Q56529|Q56529]]||{{wikidata|label|linked|Q56529}}||{{wikidata|title|linked|Q56529}}||Zambales||Bayan
|-
|1202||Cabangan||[[:wikidata:Q56533|Q56533]]||{{wikidata|label|linked|Q56533}}||{{wikidata|title|linked|Q56533}}||Zambales||Bayan
|-
|1203||Candelaria||[[:wikidata:Q56538|Q56538]]||{{wikidata|label|linked|Q56538}}||{{wikidata|title|linked|Q56538}}||Zambales||Bayan
|-
|1204||Castillejos||[[:wikidata:Q56561|Q56561]]||{{wikidata|label|linked|Q56561}}||{{wikidata|title|linked|Q56561}}||Zambales||Bayan
|-
|1205||Iba||[[:wikidata:Q56566|Q56566]]||{{wikidata|label|linked|Q56566}}||{{wikidata|title|linked|Q56566}}||Zambales||Bayan
|-
|1206||Masinloc||[[:wikidata:Q56572|Q56572]]||{{wikidata|label|linked|Q56572}}||{{wikidata|title|linked|Q56572}}||Zambales||Bayan
|-
|1207||Olongapo||[[:wikidata:Q56759|Q56759]]||{{wikidata|label|linked|Q56759}}||{{wikidata|title|linked|Q56759}}||Zambales||Lungsod
|-
|1208||Palauig||[[:wikidata:Q56575|Q56575]]||{{wikidata|label|linked|Q56575}}||{{wikidata|title|linked|Q56575}}||Zambales||Bayan
|-
|1209||San Antonio||[[:wikidata:Q56581|Q56581]]||{{wikidata|label|linked|Q56581}}||{{wikidata|title|linked|Q56581}}||Zambales||Bayan
|-
|1210||San Felipe||[[:wikidata:Q56584|Q56584]]||{{wikidata|label|linked|Q56584}}||{{wikidata|title|linked|Q56584}}||Zambales||Bayan
|-
|1211||San Marcelino||[[:wikidata:Q56623|Q56623]]||{{wikidata|label|linked|Q56623}}||{{wikidata|title|linked|Q56623}}||Zambales||Bayan
|-
|1212||San Narciso||[[:wikidata:Q56647|Q56647]]||{{wikidata|label|linked|Q56647}}||{{wikidata|title|linked|Q56647}}||Zambales||Bayan
|-
|1213||Santa Cruz||[[:wikidata:Q56656|Q56656]]||{{wikidata|label|linked|Q56656}}||{{wikidata|title|linked|Q56656}}||Zambales||Bayan
|-
|1214||Subic||[[:wikidata:Q56663|Q56663]]||{{wikidata|label|linked|Q56663}}||{{wikidata|title|linked|Q56663}}||Zambales||Bayan
|-
|1215||Anao||[[:wikidata:Q56414|Q56414]]||{{wikidata|label|linked|Q56414}}||{{wikidata|title|linked|Q56414}}||Tarlac||Bayan
|-
|1216||Bamban||[[:wikidata:Q56420|Q56420]]||{{wikidata|label|linked|Q56420}}||{{wikidata|title|linked|Q56420}}||Tarlac||Bayan
|-
|1217||Camiling||[[:wikidata:Q56424|Q56424]]||{{wikidata|label|linked|Q56424}}||{{wikidata|title|linked|Q56424}}||Tarlac||Bayan
|-
|1218||Capas||[[:wikidata:Q56427|Q56427]]||{{wikidata|label|linked|Q56427}}||{{wikidata|title|linked|Q56427}}||Tarlac||Bayan
|-
|1219||Concepcion||[[:wikidata:Q30934|Q30934]]||{{wikidata|label|linked|Q30934}}||{{wikidata|title|linked|Q30934}}||Tarlac||Bayan
|-
|1220||Gerona||[[:wikidata:Q56439|Q56439]]||{{wikidata|label|linked|Q56439}}||{{wikidata|title|linked|Q56439}}||Tarlac||Bayan
|-
|1221||La Paz||[[:wikidata:Q28733|Q28733]]||{{wikidata|label|linked|Q28733}}||{{wikidata|title|linked|Q28733}}||Tarlac||Bayan
|-
|1222||Mayantoc||[[:wikidata:Q56444|Q56444]]||{{wikidata|label|linked|Q56444}}||{{wikidata|title|linked|Q56444}}||Tarlac||Bayan
|-
|1223||Moncada||[[:wikidata:Q56453|Q56453]]||{{wikidata|label|linked|Q56453}}||{{wikidata|title|linked|Q56453}}||Tarlac||Bayan
|-
|1224||Paniqui||[[:wikidata:Q56457|Q56457]]||{{wikidata|label|linked|Q56457}}||{{wikidata|title|linked|Q56457}}||Tarlac||Bayan
|-
|1225||Pura||[[:wikidata:Q56461|Q56461]]||{{wikidata|label|linked|Q56461}}||{{wikidata|title|linked|Q56461}}||Tarlac||Bayan
|-
|1226||Ramos||[[:wikidata:Q56465|Q56465]]||{{wikidata|label|linked|Q56465}}||{{wikidata|title|linked|Q56465}}||Tarlac||Bayan
|-
|1227||San Clemente||[[:wikidata:Q56471|Q56471]]||{{wikidata|label|linked|Q56471}}||{{wikidata|title|linked|Q56471}}||Tarlac||Bayan
|-
|1228||San Jose||[[:wikidata:Q56476|Q56476]]||{{wikidata|label|linked|Q56476}}||{{wikidata|title|linked|Q56476}}||Tarlac||Bayan
|-
|1229||San Manuel||[[:wikidata:Q56481|Q56481]]||{{wikidata|label|linked|Q56481}}||{{wikidata|title|linked|Q56481}}||Tarlac||Bayan
|-
|1230||Santa Ignacia||[[:wikidata:Q56486|Q56486]]||{{wikidata|label|linked|Q56486}}||{{wikidata|title|linked|Q56486}}||Tarlac||Bayan
|-
|1231||Tarlac City||[[:wikidata:Q5285|Q5285]]||{{wikidata|label|linked|Q5285}}||{{wikidata|title|linked|Q5285}}||Tarlac||Lungsod
|-
|1232||Victoria||[[:wikidata:Q56493|Q56493]]||{{wikidata|label|linked|Q56493}}||{{wikidata|title|linked|Q56493}}||Tarlac||Bayan
|-
|1233||Angeles||[[:wikidata:Q55741|Q55741]]||{{wikidata|label|linked|Q55741}}||{{wikidata|title|linked|Q55741}}||Pampanga||Lungsod
|-
|1234||Apalit||[[:wikidata:Q55693|Q55693]]||{{wikidata|label|linked|Q55693}}||{{wikidata|title|linked|Q55693}}||Pampanga||Bayan
|-
|1235||Arayat||[[:wikidata:Q55694|Q55694]]||{{wikidata|label|linked|Q55694}}||{{wikidata|title|linked|Q55694}}||Pampanga||Bayan
|-
|1236||Bacolor||[[:wikidata:Q55696|Q55696]]||{{wikidata|label|linked|Q55696}}||{{wikidata|title|linked|Q55696}}||Pampanga||Bayan
|-
|1237||Candaba||[[:wikidata:Q55699|Q55699]]||{{wikidata|label|linked|Q55699}}||{{wikidata|title|linked|Q55699}}||Pampanga||Bayan
|-
|1238||Floridablanca||[[:wikidata:Q55700|Q55700]]||{{wikidata|label|linked|Q55700}}||{{wikidata|title|linked|Q55700}}||Pampanga||Bayan
|-
|1239||Guagua||[[:wikidata:Q55702|Q55702]]||{{wikidata|label|linked|Q55702}}||{{wikidata|title|linked|Q55702}}||Pampanga||Bayan
|-
|1240||Lubao||[[:wikidata:Q55705|Q55705]]||{{wikidata|label|linked|Q55705}}||{{wikidata|title|linked|Q55705}}||Pampanga||Bayan
|-
|1241||Mabalacat||[[:wikidata:Q55737|Q55737]]||{{wikidata|label|linked|Q55737}}||{{wikidata|title|linked|Q55737}}||Pampanga||Lungsod
|-
|1242||Macabebe||[[:wikidata:Q55707|Q55707]]||{{wikidata|label|linked|Q55707}}||{{wikidata|title|linked|Q55707}}||Pampanga||Bayan
|-
|1243||Magalang||[[:wikidata:Q55709|Q55709]]||{{wikidata|label|linked|Q55709}}||{{wikidata|title|linked|Q55709}}||Pampanga||Bayan
|-
|1244||Masantol||[[:wikidata:Q55710|Q55710]]||{{wikidata|label|linked|Q55710}}||{{wikidata|title|linked|Q55710}}||Pampanga||Bayan
|-
|1245||Mexico||[[:wikidata:Q55712|Q55712]]||{{wikidata|label|linked|Q55712}}||{{wikidata|title|linked|Q55712}}||Pampanga||Bayan
|-
|1246||Minalin||[[:wikidata:Q55717|Q55717]]||{{wikidata|label|linked|Q55717}}||{{wikidata|title|linked|Q55717}}||Pampanga||Bayan
|-
|1247||Porac||[[:wikidata:Q55721|Q55721]]||{{wikidata|label|linked|Q55721}}||{{wikidata|title|linked|Q55721}}||Pampanga||Bayan
|-
|1248||San Fernando||[[:wikidata:Q55740|Q55740]]||{{wikidata|label|linked|Q55740}}||{{wikidata|title|linked|Q55740}}||Pampanga||Bayan
|-
|1249||San Luis||[[:wikidata:Q55724|Q55724]]||{{wikidata|label|linked|Q55724}}||{{wikidata|title|linked|Q55724}}||Pampanga||Bayan
|-
|1250||San Simon||[[:wikidata:Q55725|Q55725]]||{{wikidata|label|linked|Q55725}}||{{wikidata|title|linked|Q55725}}||Pampanga||Bayan
|-
|1251||Santa Ana||[[:wikidata:Q55727|Q55727]]||{{wikidata|label|linked|Q55727}}||{{wikidata|title|linked|Q55727}}||Pampanga||Bayan
|-
|1252||Santa Rita||[[:wikidata:Q55730|Q55730]]||{{wikidata|label|linked|Q55730}}||{{wikidata|title|linked|Q55730}}||Pampanga||Bayan
|-
|1253||Santo Tomas||[[:wikidata:Q55731|Q55731]]||{{wikidata|label|linked|Q55731}}||{{wikidata|title|linked|Q55731}}||Pampanga||Bayan
|-
|1254||Sasmuan||[[:wikidata:Q55734|Q55734]]||{{wikidata|label|linked|Q55734}}||{{wikidata|title|linked|Q55734}}||Pampanga||Bayan
|-
|1255||Aliaga||[[:wikidata:Q55543|Q55543]]||{{wikidata|label|linked|Q55543}}||{{wikidata|title|linked|Q55543}}||Nueva Ecija||Bayan
|-
|1256||Bongabon||[[:wikidata:Q55544|Q55544]]||{{wikidata|label|linked|Q55544}}||{{wikidata|title|linked|Q55544}}||Nueva Ecija||Bayan
|-
|1257||Cabanatuan||[[:wikidata:Q55595|Q55595]]||{{wikidata|label|linked|Q55595}}||{{wikidata|title|linked|Q55595}}||Nueva Ecija||Lungsod
|-
|1258||Cabiao||[[:wikidata:Q55545|Q55545]]||{{wikidata|label|linked|Q55545}}||{{wikidata|title|linked|Q55545}}||Nueva Ecija||Bayan
|-
|1259||Carranglan||[[:wikidata:Q55546|Q55546]]||{{wikidata|label|linked|Q55546}}||{{wikidata|title|linked|Q55546}}||Nueva Ecija||Bayan
|-
|1260||Cuyapo||[[:wikidata:Q55547|Q55547]]||{{wikidata|label|linked|Q55547}}||{{wikidata|title|linked|Q55547}}||Nueva Ecija||Bayan
|-
|1261||Gabaldon||[[:wikidata:Q55548|Q55548]]||{{wikidata|label|linked|Q55548}}||{{wikidata|title|linked|Q55548}}||Nueva Ecija||Bayan
|-
|1262||Gapan||[[:wikidata:Q55596|Q55596]]||{{wikidata|label|linked|Q55596}}||{{wikidata|title|linked|Q55596}}||Nueva Ecija||Lungsod
|-
|1263||General Mamerto Natividad||[[:wikidata:Q55549|Q55549]]||{{wikidata|label|linked|Q55549}}||{{wikidata|title|linked|Q55549}}||Nueva Ecija||Bayan
|-
|1264||General Tinio||[[:wikidata:Q55551|Q55551]]||{{wikidata|label|linked|Q55551}}||{{wikidata|title|linked|Q55551}}||Nueva Ecija||Bayan
|-
|1265||Guimba||[[:wikidata:Q55552|Q55552]]||{{wikidata|label|linked|Q55552}}||{{wikidata|title|linked|Q55552}}||Nueva Ecija||Bayan
|-
|1266||Jaen||[[:wikidata:Q30871|Q30871]]||{{wikidata|label|linked|Q30871}}||{{wikidata|title|linked|Q30871}}||Nueva Ecija||Bayan
|-
|1267||Laur||[[:wikidata:Q55556|Q55556]]||{{wikidata|label|linked|Q55556}}||{{wikidata|title|linked|Q55556}}||Nueva Ecija||Bayan
|-
|1268||Licab||[[:wikidata:Q55557|Q55557]]||{{wikidata|label|linked|Q55557}}||{{wikidata|title|linked|Q55557}}||Nueva Ecija||Bayan
|-
|1269||Llanera||[[:wikidata:Q55558|Q55558]]||{{wikidata|label|linked|Q55558}}||{{wikidata|title|linked|Q55558}}||Nueva Ecija||Bayan
|-
|1270||Lupao||[[:wikidata:Q55559|Q55559]]||{{wikidata|label|linked|Q55559}}||{{wikidata|title|linked|Q55559}}||Nueva Ecija||Bayan
|-
|1271||Muñoz||[[:wikidata:Q55597|Q55597]]||{{wikidata|label|linked|Q55597}}||{{wikidata|title|linked|Q55597}}||Nueva Ecija||Lungsod
|-
|1272||Nampicuan||[[:wikidata:Q55560|Q55560]]||{{wikidata|label|linked|Q55560}}||{{wikidata|title|linked|Q55560}}||Nueva Ecija||Bayan
|-
|1273||Palayan||[[:wikidata:Q55598|Q55598]]||{{wikidata|label|linked|Q55598}}||{{wikidata|title|linked|Q55598}}||Nueva Ecija||Lungsod
|-
|1274||Pantabangan||[[:wikidata:Q55567|Q55567]]||{{wikidata|label|linked|Q55567}}||{{wikidata|title|linked|Q55567}}||Nueva Ecija||Bayan
|-
|1275||Peñaranda||[[:wikidata:Q55568|Q55568]]||{{wikidata|label|linked|Q55568}}||{{wikidata|title|linked|Q55568}}||Nueva Ecija||Bayan
|-
|1276||Quezon||[[:wikidata:Q55569|Q55569]]||{{wikidata|label|linked|Q55569}}||{{wikidata|title|linked|Q55569}}||Nueva Ecija||Bayan
|-
|1277||Rizal||[[:wikidata:Q55570|Q55570]]||{{wikidata|label|linked|Q55570}}||{{wikidata|title|linked|Q55570}}||Nueva Ecija||Bayan
|-
|1278||San Antonio||[[:wikidata:Q30923|Q30923]]||{{wikidata|label|linked|Q30923}}||{{wikidata|title|linked|Q30923}}||Nueva Ecija||Bayan
|-
|1279||San Isidro||[[:wikidata:Q55572|Q55572]]||{{wikidata|label|linked|Q55572}}||{{wikidata|title|linked|Q55572}}||Nueva Ecija||Bayan
|-
|1280||San Jose||[[:wikidata:Q55599|Q55599]]||{{wikidata|label|linked|Q55599}}||{{wikidata|title|linked|Q55599}}||Nueva Ecija||Lungsod
|-
|1281||San Leonardo||[[:wikidata:Q55573|Q55573]]||{{wikidata|label|linked|Q55573}}||{{wikidata|title|linked|Q55573}}||Nueva Ecija||Bayan
|-
|1282||Santa Rosa||[[:wikidata:Q55590|Q55590]]||{{wikidata|label|linked|Q55590}}||{{wikidata|title|linked|Q55590}}||Nueva Ecija||Bayan
|-
|1283||Santo Domingo||[[:wikidata:Q55591|Q55591]]||{{wikidata|label|linked|Q55591}}||{{wikidata|title|linked|Q55591}}||Nueva Ecija||Bayan
|-
|1284||Talavera||[[:wikidata:Q55592|Q55592]]||{{wikidata|label|linked|Q55592}}||{{wikidata|title|linked|Q55592}}||Nueva Ecija||Bayan
|-
|1285||Talugtug||[[:wikidata:Q55593|Q55593]]||{{wikidata|label|linked|Q55593}}||{{wikidata|title|linked|Q55593}}||Nueva Ecija||Bayan
|-
|1286||Zaragoza||[[:wikidata:Q28731|Q28731]]||{{wikidata|label|linked|Q28731}}||{{wikidata|title|linked|Q28731}}||Nueva Ecija||Bayan
|-
|1287||Angat||[[:wikidata:Q54551|Q54551]]||{{wikidata|label|linked|Q54551}}||{{wikidata|title|linked|Q54551}}||Bulacan||Bayan
|-
|1288||Balagtas||[[:wikidata:Q54553|Q54553]]||{{wikidata|label|linked|Q54553}}||{{wikidata|title|linked|Q54553}}||Bulacan||Bayan
|-
|1289||Baliwag||[[:wikidata:Q54554|Q54554]]||{{wikidata|label|linked|Q54554}}||{{wikidata|title|linked|Q54554}}||Bulacan||Bayan
|-
|1290||Bocaue||[[:wikidata:Q54555|Q54555]]||{{wikidata|label|linked|Q54555}}||{{wikidata|title|linked|Q54555}}||Bulacan||Bayan
|-
|1291||Bulakan||[[:wikidata:Q54558|Q54558]]||{{wikidata|label|linked|Q54558}}||{{wikidata|title|linked|Q54558}}||Bulacan||Bayan
|-
|1292||Bustos||[[:wikidata:Q54560|Q54560]]||{{wikidata|label|linked|Q54560}}||{{wikidata|title|linked|Q54560}}||Bulacan||Bayan
|-
|1293||Calumpit||[[:wikidata:Q54564|Q54564]]||{{wikidata|label|linked|Q54564}}||{{wikidata|title|linked|Q54564}}||Bulacan||Bayan
|-
|1294||Doña Remedios Trinidad||[[:wikidata:Q54566|Q54566]]||{{wikidata|label|linked|Q54566}}||{{wikidata|title|linked|Q54566}}||Bulacan||Bayan
|-
|1295||Guiguinto||[[:wikidata:Q54589|Q54589]]||{{wikidata|label|linked|Q54589}}||{{wikidata|title|linked|Q54589}}||Bulacan||Bayan
|-
|1296||Hagonoy||[[:wikidata:Q54592|Q54592]]||{{wikidata|label|linked|Q54592}}||{{wikidata|title|linked|Q54592}}||Bulacan||Bayan
|-
|1297||Malolos||[[:wikidata:Q2180|Q2180]]||{{wikidata|label|linked|Q2180}}||{{wikidata|title|linked|Q2180}}||Bulacan||Lungsod
|-
|1298||Marilao||[[:wikidata:Q54595|Q54595]]||{{wikidata|label|linked|Q54595}}||{{wikidata|title|linked|Q54595}}||Bulacan||Bayan
|-
|1299||Meycauayan||[[:wikidata:Q2187|Q2187]]||{{wikidata|label|linked|Q2187}}||{{wikidata|title|linked|Q2187}}||Bulacan||Lungsod
|-
|1300||Norzagaray||[[:wikidata:Q54598|Q54598]]||{{wikidata|label|linked|Q54598}}||{{wikidata|title|linked|Q54598}}||Bulacan||Bayan
|-
|1301||Obando||[[:wikidata:Q54599|Q54599]]||{{wikidata|label|linked|Q54599}}||{{wikidata|title|linked|Q54599}}||Bulacan||Bayan
|-
|1302||Pandi||[[:wikidata:Q54600|Q54600]]||{{wikidata|label|linked|Q54600}}||{{wikidata|title|linked|Q54600}}||Bulacan||Bayan
|-
|1303||Paombong||[[:wikidata:Q54605|Q54605]]||{{wikidata|label|linked|Q54605}}||{{wikidata|title|linked|Q54605}}||Bulacan||Bayan
|-
|1304||Plaridel||[[:wikidata:Q54760|Q54760]]||{{wikidata|label|linked|Q54760}}||{{wikidata|title|linked|Q54760}}||Bulacan||Bayan
|-
|1305||Pulilan||[[:wikidata:Q54761|Q54761]]||{{wikidata|label|linked|Q54761}}||{{wikidata|title|linked|Q54761}}||Bulacan||Bayan
|-
|1306||San Ildefonso||[[:wikidata:Q54762|Q54762]]||{{wikidata|label|linked|Q54762}}||{{wikidata|title|linked|Q54762}}||Bulacan||Bayan
|-
|1307||San Jose del Monte||[[:wikidata:Q2193|Q2193]]||{{wikidata|label|linked|Q2193}}||{{wikidata|title|linked|Q2193}}||Bulacan||Lungsod
|-
|1308||San Miguel||[[:wikidata:Q54763|Q54763]]||{{wikidata|label|linked|Q54763}}||{{wikidata|title|linked|Q54763}}||Bulacan||Bayan
|-
|1309||San Rafael||[[:wikidata:Q54765|Q54765]]||{{wikidata|label|linked|Q54765}}||{{wikidata|title|linked|Q54765}}||Bulacan||Bayan
|-
|1310||Santa Maria||[[:wikidata:Q54768|Q54768]]||{{wikidata|label|linked|Q54768}}||{{wikidata|title|linked|Q54768}}||Bulacan||Bayan
|-
|1311||Abucay||[[:wikidata:Q54455|Q54455]]||{{wikidata|label|linked|Q54455}}||{{wikidata|title|linked|Q54455}}||Bataan||Bayan
|-
|1312||Bagac||[[:wikidata:Q54456|Q54456]]||{{wikidata|label|linked|Q54456}}||{{wikidata|title|linked|Q54456}}||Bataan||Bayan
|-
|1313||Balanga||[[:wikidata:Q1719|Q1719]]||{{wikidata|label|linked|Q1719}}||{{wikidata|title|linked|Q1719}}||Bataan||Lungsod
|-
|1314||Dinalupihan||[[:wikidata:Q54457|Q54457]]||{{wikidata|label|linked|Q54457}}||{{wikidata|title|linked|Q54457}}||Bataan||Bayan
|-
|1315||Hermosa||[[:wikidata:Q54458|Q54458]]||{{wikidata|label|linked|Q54458}}||{{wikidata|title|linked|Q54458}}||Bataan||Bayan
|-
|1316||Limay||[[:wikidata:Q54459|Q54459]]||{{wikidata|label|linked|Q54459}}||{{wikidata|title|linked|Q54459}}||Bataan||Bayan
|-
|1317||Mariveles||[[:wikidata:Q54460|Q54460]]||{{wikidata|label|linked|Q54460}}||{{wikidata|title|linked|Q54460}}||Bataan||Bayan
|-
|1318||Morong||[[:wikidata:Q54461|Q54461]]||{{wikidata|label|linked|Q54461}}||{{wikidata|title|linked|Q54461}}||Bataan||Bayan
|-
|1319||Orani||[[:wikidata:Q54462|Q54462]]||{{wikidata|label|linked|Q54462}}||{{wikidata|title|linked|Q54462}}||Bataan||Bayan
|-
|1320||Orion||[[:wikidata:Q54463|Q54463]]||{{wikidata|label|linked|Q54463}}||{{wikidata|title|linked|Q54463}}||Bataan||Bayan
|-
|1321||Pilar||[[:wikidata:Q54464|Q54464]]||{{wikidata|label|linked|Q54464}}||{{wikidata|title|linked|Q54464}}||Bataan||Bayan
|-
|1322||Samal||[[:wikidata:Q54465|Q54465]]||{{wikidata|label|linked|Q54465}}||{{wikidata|title|linked|Q54465}}||Bataan||Bayan
|-
|1323||Baler||[[:wikidata:Q53081|Q53081]]||{{wikidata|label|linked|Q53081}}||{{wikidata|title|linked|Q53081}}||Aurora||Bayan
|-
|1324||Casiguran||[[:wikidata:Q53083|Q53083]]||{{wikidata|label|linked|Q53083}}||{{wikidata|title|linked|Q53083}}||Aurora||Bayan
|-
|1325||Dilasag||[[:wikidata:Q53084|Q53084]]||{{wikidata|label|linked|Q53084}}||{{wikidata|title|linked|Q53084}}||Aurora||Bayan
|-
|1326||Dinalungan||[[:wikidata:Q53086|Q53086]]||{{wikidata|label|linked|Q53086}}||{{wikidata|title|linked|Q53086}}||Aurora||Bayan
|-
|1327||Dingalan||[[:wikidata:Q53087|Q53087]]||{{wikidata|label|linked|Q53087}}||{{wikidata|title|linked|Q53087}}||Aurora||Bayan
|-
|1328||Dipaculao||[[:wikidata:Q53089|Q53089]]||{{wikidata|label|linked|Q53089}}||{{wikidata|title|linked|Q53089}}||Aurora||Bayan
|-
|1329||Maria Aurora||[[:wikidata:Q53090|Q53090]]||{{wikidata|label|linked|Q53090}}||{{wikidata|title|linked|Q53090}}||Aurora||Bayan
|-
|1330||San Luis||[[:wikidata:Q53092|Q53092]]||{{wikidata|label|linked|Q53092}}||{{wikidata|title|linked|Q53092}}||Aurora||Bayan
|-
|1331||Barlig||[[:wikidata:Q35975|Q35975]]||{{wikidata|label|linked|Q35975}}||{{wikidata|title|linked|Q35975}}||Mountain Province||Bayan
|-
|1332||Bauko||[[:wikidata:Q35994|Q35994]]||{{wikidata|label|linked|Q35994}}||{{wikidata|title|linked|Q35994}}||Mountain Province||Bayan
|-
|1333||Besao||[[:wikidata:Q36012|Q36012]]||{{wikidata|label|linked|Q36012}}||{{wikidata|title|linked|Q36012}}||Mountain Province||Bayan
|-
|1334||Bontoc||[[:wikidata:Q36025|Q36025]]||{{wikidata|label|linked|Q36025}}||{{wikidata|title|linked|Q36025}}||Mountain Province||Bayan
|-
|1335||Natonin||[[:wikidata:Q36040|Q36040]]||{{wikidata|label|linked|Q36040}}||{{wikidata|title|linked|Q36040}}||Mountain Province||Bayan
|-
|1336||Paracelis||[[:wikidata:Q36049|Q36049]]||{{wikidata|label|linked|Q36049}}||{{wikidata|title|linked|Q36049}}||Mountain Province||Bayan
|-
|1337||Sabangan||[[:wikidata:Q36061|Q36061]]||{{wikidata|label|linked|Q36061}}||{{wikidata|title|linked|Q36061}}||Mountain Province||Bayan
|-
|1338||Sadanga||[[:wikidata:Q36076|Q36076]]||{{wikidata|label|linked|Q36076}}||{{wikidata|title|linked|Q36076}}||Mountain Province||Bayan
|-
|1339||Sagada||[[:wikidata:Q36090|Q36090]]||{{wikidata|label|linked|Q36090}}||{{wikidata|title|linked|Q36090}}||Mountain Province||Bayan
|-
|1340||Tadian||[[:wikidata:Q36099|Q36099]]||{{wikidata|label|linked|Q36099}}||{{wikidata|title|linked|Q36099}}||Mountain Province||Bayan
|-
|1341||Balbalan||[[:wikidata:Q35848|Q35848]]||{{wikidata|label|linked|Q35848}}||{{wikidata|title|linked|Q35848}}||Kalinga||Bayan
|-
|1342||Lubuagan||[[:wikidata:Q35858|Q35858]]||{{wikidata|label|linked|Q35858}}||{{wikidata|title|linked|Q35858}}||Kalinga||Bayan
|-
|1343||Pasil||[[:wikidata:Q35866|Q35866]]||{{wikidata|label|linked|Q35866}}||{{wikidata|title|linked|Q35866}}||Kalinga||Bayan
|-
|1344||Pinukpuk||[[:wikidata:Q35873|Q35873]]||{{wikidata|label|linked|Q35873}}||{{wikidata|title|linked|Q35873}}||Kalinga||Bayan
|-
|1345||Rizal||[[:wikidata:Q35884|Q35884]]||{{wikidata|label|linked|Q35884}}||{{wikidata|title|linked|Q35884}}||Kalinga||Bayan
|-
|1346||Tabuk||[[:wikidata:Q35925|Q35925]]||{{wikidata|label|linked|Q35925}}||{{wikidata|title|linked|Q35925}}||Kalinga||Lungsod
|-
|1347||Tanudan||[[:wikidata:Q35897|Q35897]]||{{wikidata|label|linked|Q35897}}||{{wikidata|title|linked|Q35897}}||Kalinga||Bayan
|-
|1348||Tinglayan||[[:wikidata:Q35909|Q35909]]||{{wikidata|label|linked|Q35909}}||{{wikidata|title|linked|Q35909}}||Kalinga||Bayan
|-
|1349||Aguinaldo||[[:wikidata:Q30365|Q30365]]||{{wikidata|label|linked|Q30365}}||{{wikidata|title|linked|Q30365}}||Ifugao||Bayan
|-
|1350||Alfonso Lista||[[:wikidata:Q30391|Q30391]]||{{wikidata|label|linked|Q30391}}||{{wikidata|title|linked|Q30391}}||Ifugao||Bayan
|-
|1351||Asipulo||[[:wikidata:Q30394|Q30394]]||{{wikidata|label|linked|Q30394}}||{{wikidata|title|linked|Q30394}}||Ifugao||Bayan
|-
|1352||Banaue||[[:wikidata:Q806138|Q806138]]||{{wikidata|label|linked|Q806138}}||{{wikidata|title|linked|Q806138}}||Ifugao||Bayan
|-
|1353||Hingyon||[[:wikidata:Q30410|Q30410]]||{{wikidata|label|linked|Q30410}}||{{wikidata|title|linked|Q30410}}||Ifugao||Bayan
|-
|1354||Hungduan||[[:wikidata:Q30413|Q30413]]||{{wikidata|label|linked|Q30413}}||{{wikidata|title|linked|Q30413}}||Ifugao||Bayan
|-
|1355||Kiangan||[[:wikidata:Q30416|Q30416]]||{{wikidata|label|linked|Q30416}}||{{wikidata|title|linked|Q30416}}||Ifugao||Bayan
|-
|1356||Lagawe||[[:wikidata:Q30419|Q30419]]||{{wikidata|label|linked|Q30419}}||{{wikidata|title|linked|Q30419}}||Ifugao||Bayan
|-
|1357||Lamut||[[:wikidata:Q30421|Q30421]]||{{wikidata|label|linked|Q30421}}||{{wikidata|title|linked|Q30421}}||Ifugao||Bayan
|-
|1358||Mayoyao||[[:wikidata:Q30425|Q30425]]||{{wikidata|label|linked|Q30425}}||{{wikidata|title|linked|Q30425}}||Ifugao||Bayan
|-
|1359||Tinoc||[[:wikidata:Q30428|Q30428]]||{{wikidata|label|linked|Q30428}}||{{wikidata|title|linked|Q30428}}||Ifugao||Bayan
|-
|1360||Atok||[[:wikidata:Q30104|Q30104]]||{{wikidata|label|linked|Q30104}}||{{wikidata|title|linked|Q30104}}||Benguet||Bayan
|-
|1361||Baguio||[[:wikidata:Q1822|Q1822]]||{{wikidata|label|linked|Q1822}}||{{wikidata|title|linked|Q1822}}||Benguet||Lungsod
|-
|1362||Bakun||[[:wikidata:Q30325|Q30325]]||{{wikidata|label|linked|Q30325}}||{{wikidata|title|linked|Q30325}}||Benguet||Bayan
|-
|1363||Bokod||[[:wikidata:Q30328|Q30328]]||{{wikidata|label|linked|Q30328}}||{{wikidata|title|linked|Q30328}}||Benguet||Bayan
|-
|1364||Buguias||[[:wikidata:Q30332|Q30332]]||{{wikidata|label|linked|Q30332}}||{{wikidata|title|linked|Q30332}}||Benguet||Bayan
|-
|1365||Itogon||[[:wikidata:Q30335|Q30335]]||{{wikidata|label|linked|Q30335}}||{{wikidata|title|linked|Q30335}}||Benguet||Bayan
|-
|1366||Kabayan||[[:wikidata:Q30338|Q30338]]||{{wikidata|label|linked|Q30338}}||{{wikidata|title|linked|Q30338}}||Benguet||Bayan
|-
|1367||Kapangan||[[:wikidata:Q30345|Q30345]]||{{wikidata|label|linked|Q30345}}||{{wikidata|title|linked|Q30345}}||Benguet||Bayan
|-
|1368||Kibungan||[[:wikidata:Q30349|Q30349]]||{{wikidata|label|linked|Q30349}}||{{wikidata|title|linked|Q30349}}||Benguet||Bayan
|-
|1369||La Trinidad||[[:wikidata:Q30351|Q30351]]||{{wikidata|label|linked|Q30351}}||{{wikidata|title|linked|Q30351}}||Benguet||Bayan
|-
|1370||Mankayan||[[:wikidata:Q30356|Q30356]]||{{wikidata|label|linked|Q30356}}||{{wikidata|title|linked|Q30356}}||Benguet||Bayan
|-
|1371||Sablan||[[:wikidata:Q30358|Q30358]]||{{wikidata|label|linked|Q30358}}||{{wikidata|title|linked|Q30358}}||Benguet||Bayan
|-
|1372||Tuba||[[:wikidata:Q30361|Q30361]]||{{wikidata|label|linked|Q30361}}||{{wikidata|title|linked|Q30361}}||Benguet||Bayan
|-
|1373||Tublay||[[:wikidata:Q30363|Q30363]]||{{wikidata|label|linked|Q30363}}||{{wikidata|title|linked|Q30363}}||Benguet||Bayan
|-
|1374||Calanasan||[[:wikidata:Q29018|Q29018]]||{{wikidata|label|linked|Q29018}}||{{wikidata|title|linked|Q29018}}||Apayao||Bayan
|-
|1375||Conner||[[:wikidata:Q30033|Q30033]]||{{wikidata|label|linked|Q30033}}||{{wikidata|title|linked|Q30033}}||Apayao||Bayan
|-
|1376||Flora||[[:wikidata:Q30042|Q30042]]||{{wikidata|label|linked|Q30042}}||{{wikidata|title|linked|Q30042}}||Apayao||Bayan
|-
|1377||Kabugao||[[:wikidata:Q30053|Q30053]]||{{wikidata|label|linked|Q30053}}||{{wikidata|title|linked|Q30053}}||Apayao||Bayan
|-
|1378||Luna||[[:wikidata:Q801777|Q801777]]||{{wikidata|label|linked|Q801777}}||{{wikidata|title|linked|Q801777}}||Apayao||Bayan
|-
|1379||Pudtol||[[:wikidata:Q30062|Q30062]]||{{wikidata|label|linked|Q30062}}||{{wikidata|title|linked|Q30062}}||Apayao||Bayan
|-
|1380||Santa Marcela||[[:wikidata:Q30073|Q30073]]||{{wikidata|label|linked|Q30073}}||{{wikidata|title|linked|Q30073}}||Apayao||Bayan
|-
|1381||Bangued||[[:wikidata:Q27995|Q27995]]||{{wikidata|label|linked|Q27995}}||{{wikidata|title|linked|Q27995}}||Abra||Bayan
|-
|1382||Boliney||[[:wikidata:Q28002|Q28002]]||{{wikidata|label|linked|Q28002}}||{{wikidata|title|linked|Q28002}}||Abra||Bayan
|-
|1383||Bucay||[[:wikidata:Q28014|Q28014]]||{{wikidata|label|linked|Q28014}}||{{wikidata|title|linked|Q28014}}||Abra||Bayan
|-
|1384||Bucloc||[[:wikidata:Q28030|Q28030]]||{{wikidata|label|linked|Q28030}}||{{wikidata|title|linked|Q28030}}||Abra||Bayan
|-
|1385||Daguioman||[[:wikidata:Q28044|Q28044]]||{{wikidata|label|linked|Q28044}}||{{wikidata|title|linked|Q28044}}||Abra||Bayan
|-
|1386||Danglas||[[:wikidata:Q28068|Q28068]]||{{wikidata|label|linked|Q28068}}||{{wikidata|title|linked|Q28068}}||Abra||Bayan
|-
|1387||Dolores||[[:wikidata:Q28096|Q28096]]||{{wikidata|label|linked|Q28096}}||{{wikidata|title|linked|Q28096}}||Abra||Bayan
|-
|1388||La Paz||[[:wikidata:Q28124|Q28124]]||{{wikidata|label|linked|Q28124}}||{{wikidata|title|linked|Q28124}}||Abra||Bayan
|-
|1389||Lacub||[[:wikidata:Q29007|Q29007]]||{{wikidata|label|linked|Q29007}}||{{wikidata|title|linked|Q29007}}||Abra||Bayan
|-
|1390||Lagangilang||[[:wikidata:Q29020|Q29020]]||{{wikidata|label|linked|Q29020}}||{{wikidata|title|linked|Q29020}}||Abra||Bayan
|-
|1391||Lagayan||[[:wikidata:Q29029|Q29029]]||{{wikidata|label|linked|Q29029}}||{{wikidata|title|linked|Q29029}}||Abra||Bayan
|-
|1392||Langiden||[[:wikidata:Q29038|Q29038]]||{{wikidata|label|linked|Q29038}}||{{wikidata|title|linked|Q29038}}||Abra||Bayan
|-
|1393||Licuan-Baay||[[:wikidata:Q29045|Q29045]]||{{wikidata|label|linked|Q29045}}||{{wikidata|title|linked|Q29045}}||Abra||Bayan
|-
|1394||Luba||[[:wikidata:Q29048|Q29048]]||{{wikidata|label|linked|Q29048}}||{{wikidata|title|linked|Q29048}}||Abra||Bayan
|-
|1395||Malibcong||[[:wikidata:Q29069|Q29069]]||{{wikidata|label|linked|Q29069}}||{{wikidata|title|linked|Q29069}}||Abra||Bayan
|-
|1396||Manabo||[[:wikidata:Q29082|Q29082]]||{{wikidata|label|linked|Q29082}}||{{wikidata|title|linked|Q29082}}||Abra||Bayan
|-
|1397||Peñarrubia||[[:wikidata:Q29094|Q29094]]||{{wikidata|label|linked|Q29094}}||{{wikidata|title|linked|Q29094}}||Abra||Bayan
|-
|1398||Pidigan||[[:wikidata:Q29102|Q29102]]||{{wikidata|label|linked|Q29102}}||{{wikidata|title|linked|Q29102}}||Abra||Bayan
|-
|1399||Pilar||[[:wikidata:Q29109|Q29109]]||{{wikidata|label|linked|Q29109}}||{{wikidata|title|linked|Q29109}}||Abra||Bayan
|-
|1400||Sallapadan||[[:wikidata:Q29116|Q29116]]||{{wikidata|label|linked|Q29116}}||{{wikidata|title|linked|Q29116}}||Abra||Bayan
|-
|1401||San Isidro||[[:wikidata:Q801530|Q801530]]||{{wikidata|label|linked|Q801530}}||{{wikidata|title|linked|Q801530}}||Abra||Bayan
|-
|1402||San Juan||[[:wikidata:Q29123|Q29123]]||{{wikidata|label|linked|Q29123}}||{{wikidata|title|linked|Q29123}}||Abra||Bayan
|-
|1403||San Quintin||[[:wikidata:Q29133|Q29133]]||{{wikidata|label|linked|Q29133}}||{{wikidata|title|linked|Q29133}}||Abra||Bayan
|-
|1404||Tayum||[[:wikidata:Q29139|Q29139]]||{{wikidata|label|linked|Q29139}}||{{wikidata|title|linked|Q29139}}||Abra||Bayan
|-
|1405||Tineg||[[:wikidata:Q29146|Q29146]]||{{wikidata|label|linked|Q29146}}||{{wikidata|title|linked|Q29146}}||Abra||Bayan
|-
|1406||Tubo||[[:wikidata:Q29153|Q29153]]||{{wikidata|label|linked|Q29153}}||{{wikidata|title|linked|Q29153}}||Abra||Bayan
|-
|1407||Villaviciosa||[[:wikidata:Q29191|Q29191]]||{{wikidata|label|linked|Q29191}}||{{wikidata|title|linked|Q29191}}||Abra||Bayan
|-
|1408||Aglipay||[[:wikidata:Q53069|Q53069]]||{{wikidata|label|linked|Q53069}}||{{wikidata|title|linked|Q53069}}||Quirino||Bayan
|-
|1409||Cabarroguis||[[:wikidata:Q53070|Q53070]]||{{wikidata|label|linked|Q53070}}||{{wikidata|title|linked|Q53070}}||Quirino||Bayan
|-
|1410||Diffun||[[:wikidata:Q53071|Q53071]]||{{wikidata|label|linked|Q53071}}||{{wikidata|title|linked|Q53071}}||Quirino||Bayan
|-
|1411||Maddela||[[:wikidata:Q53072|Q53072]]||{{wikidata|label|linked|Q53072}}||{{wikidata|title|linked|Q53072}}||Quirino||Bayan
|-
|1412||Nagtipunan||[[:wikidata:Q53073|Q53073]]||{{wikidata|label|linked|Q53073}}||{{wikidata|title|linked|Q53073}}||Quirino||Bayan
|-
|1413||Saguday||[[:wikidata:Q53074|Q53074]]||{{wikidata|label|linked|Q53074}}||{{wikidata|title|linked|Q53074}}||Quirino||Bayan
|-
|1414||Alfonso Castañeda||[[:wikidata:Q51474|Q51474]]||{{wikidata|label|linked|Q51474}}||{{wikidata|title|linked|Q51474}}||Nueva Vizcaya||Bayan
|-
|1415||Ambaguio||[[:wikidata:Q51475|Q51475]]||{{wikidata|label|linked|Q51475}}||{{wikidata|title|linked|Q51475}}||Nueva Vizcaya||Bayan
|-
|1416||Aritao||[[:wikidata:Q51477|Q51477]]||{{wikidata|label|linked|Q51477}}||{{wikidata|title|linked|Q51477}}||Nueva Vizcaya||Bayan
|-
|1417||Bagabag||[[:wikidata:Q51478|Q51478]]||{{wikidata|label|linked|Q51478}}||{{wikidata|title|linked|Q51478}}||Nueva Vizcaya||Bayan
|-
|1418||Bambang||[[:wikidata:Q51479|Q51479]]||{{wikidata|label|linked|Q51479}}||{{wikidata|title|linked|Q51479}}||Nueva Vizcaya||Bayan
|-
|1419||Bayombong||[[:wikidata:Q51480|Q51480]]||{{wikidata|label|linked|Q51480}}||{{wikidata|title|linked|Q51480}}||Nueva Vizcaya||Bayan
|-
|1420||Diadi||[[:wikidata:Q51481|Q51481]]||{{wikidata|label|linked|Q51481}}||{{wikidata|title|linked|Q51481}}||Nueva Vizcaya||Bayan
|-
|1421||Dupax del Norte||[[:wikidata:Q51483|Q51483]]||{{wikidata|label|linked|Q51483}}||{{wikidata|title|linked|Q51483}}||Nueva Vizcaya||Bayan
|-
|1422||Dupax del Sur||[[:wikidata:Q51484|Q51484]]||{{wikidata|label|linked|Q51484}}||{{wikidata|title|linked|Q51484}}||Nueva Vizcaya||Bayan
|-
|1423||Kasibu||[[:wikidata:Q51485|Q51485]]||{{wikidata|label|linked|Q51485}}||{{wikidata|title|linked|Q51485}}||Nueva Vizcaya||Bayan
|-
|1424||Kayapa||[[:wikidata:Q51486|Q51486]]||{{wikidata|label|linked|Q51486}}||{{wikidata|title|linked|Q51486}}||Nueva Vizcaya||Bayan
|-
|1425||Quezon||[[:wikidata:Q51487|Q51487]]||{{wikidata|label|linked|Q51487}}||{{wikidata|title|linked|Q51487}}||Nueva Vizcaya||Bayan
|-
|1426||Santa Fe||[[:wikidata:Q51493|Q51493]]||{{wikidata|label|linked|Q51493}}||{{wikidata|title|linked|Q51493}}||Nueva Vizcaya||Bayan
|-
|1427||Solano||[[:wikidata:Q51494|Q51494]]||{{wikidata|label|linked|Q51494}}||{{wikidata|title|linked|Q51494}}||Nueva Vizcaya||Bayan
|-
|1428||Villaverde||[[:wikidata:Q51496|Q51496]]||{{wikidata|label|linked|Q51496}}||{{wikidata|title|linked|Q51496}}||Nueva Vizcaya||Bayan
|-
|1429||Alicia||[[:wikidata:Q49354|Q49354]]||{{wikidata|label|linked|Q49354}}||{{wikidata|title|linked|Q49354}}||Isabela||Bayan
|-
|1430||Angadanan||[[:wikidata:Q49357|Q49357]]||{{wikidata|label|linked|Q49357}}||{{wikidata|title|linked|Q49357}}||Isabela||Bayan
|-
|1431||Aurora||[[:wikidata:Q49358|Q49358]]||{{wikidata|label|linked|Q49358}}||{{wikidata|title|linked|Q49358}}||Isabela||Bayan
|-
|1432||Benito Soliven||[[:wikidata:Q49359|Q49359]]||{{wikidata|label|linked|Q49359}}||{{wikidata|title|linked|Q49359}}||Isabela||Bayan
|-
|1433||Burgos||[[:wikidata:Q49360|Q49360]]||{{wikidata|label|linked|Q49360}}||{{wikidata|title|linked|Q49360}}||Isabela||Bayan
|-
|1434||Cabagan||[[:wikidata:Q49361|Q49361]]||{{wikidata|label|linked|Q49361}}||{{wikidata|title|linked|Q49361}}||Isabela||Bayan
|-
|1435||Cabatuan||[[:wikidata:Q49362|Q49362]]||{{wikidata|label|linked|Q49362}}||{{wikidata|title|linked|Q49362}}||Isabela||Bayan
|-
|1436||Cauayan||[[:wikidata:Q50178|Q50178]]||{{wikidata|label|linked|Q50178}}||{{wikidata|title|linked|Q50178}}||Isabela||Lungsod
|-
|1437||Cordon||[[:wikidata:Q49363|Q49363]]||{{wikidata|label|linked|Q49363}}||{{wikidata|title|linked|Q49363}}||Isabela||Bayan
|-
|1438||Delfin Albano||[[:wikidata:Q49365|Q49365]]||{{wikidata|label|linked|Q49365}}||{{wikidata|title|linked|Q49365}}||Isabela||Bayan
|-
|1439||Dinapigue||[[:wikidata:Q49366|Q49366]]||{{wikidata|label|linked|Q49366}}||{{wikidata|title|linked|Q49366}}||Isabela||Bayan
|-
|1440||Divilacan||[[:wikidata:Q49368|Q49368]]||{{wikidata|label|linked|Q49368}}||{{wikidata|title|linked|Q49368}}||Isabela||Bayan
|-
|1441||Echague||[[:wikidata:Q49369|Q49369]]||{{wikidata|label|linked|Q49369}}||{{wikidata|title|linked|Q49369}}||Isabela||Bayan
|-
|1442||Gamu||[[:wikidata:Q49370|Q49370]]||{{wikidata|label|linked|Q49370}}||{{wikidata|title|linked|Q49370}}||Isabela||Bayan
|-
|1443||Ilagan||[[:wikidata:Q50179|Q50179]]||{{wikidata|label|linked|Q50179}}||{{wikidata|title|linked|Q50179}}||Isabela||Lungsod
|-
|1444||Jones||[[:wikidata:Q49372|Q49372]]||{{wikidata|label|linked|Q49372}}||{{wikidata|title|linked|Q49372}}||Isabela||Bayan
|-
|1445||Luna||[[:wikidata:Q49375|Q49375]]||{{wikidata|label|linked|Q49375}}||{{wikidata|title|linked|Q49375}}||Isabela||Bayan
|-
|1446||Maconacon||[[:wikidata:Q49434|Q49434]]||{{wikidata|label|linked|Q49434}}||{{wikidata|title|linked|Q49434}}||Isabela||Bayan
|-
|1447||Mallig||[[:wikidata:Q49435|Q49435]]||{{wikidata|label|linked|Q49435}}||{{wikidata|title|linked|Q49435}}||Isabela||Bayan
|-
|1448||Naguilian||[[:wikidata:Q50066|Q50066]]||{{wikidata|label|linked|Q50066}}||{{wikidata|title|linked|Q50066}}||Isabela||Bayan
|-
|1449||Palanan||[[:wikidata:Q50102|Q50102]]||{{wikidata|label|linked|Q50102}}||{{wikidata|title|linked|Q50102}}||Isabela||Bayan
|-
|1450||Quezon||[[:wikidata:Q50145|Q50145]]||{{wikidata|label|linked|Q50145}}||{{wikidata|title|linked|Q50145}}||Isabela||Bayan
|-
|1451||Quirino||[[:wikidata:Q50149|Q50149]]||{{wikidata|label|linked|Q50149}}||{{wikidata|title|linked|Q50149}}||Isabela||Bayan
|-
|1452||Ramon||[[:wikidata:Q50152|Q50152]]||{{wikidata|label|linked|Q50152}}||{{wikidata|title|linked|Q50152}}||Isabela||Bayan
|-
|1453||Reina Mercedes||[[:wikidata:Q50153|Q50153]]||{{wikidata|label|linked|Q50153}}||{{wikidata|title|linked|Q50153}}||Isabela||Bayan
|-
|1454||Roxas||[[:wikidata:Q50154|Q50154]]||{{wikidata|label|linked|Q50154}}||{{wikidata|title|linked|Q50154}}||Isabela||Bayan
|-
|1455||San Agustin||[[:wikidata:Q50158|Q50158]]||{{wikidata|label|linked|Q50158}}||{{wikidata|title|linked|Q50158}}||Isabela||Bayan
|-
|1456||San Guillermo||[[:wikidata:Q50160|Q50160]]||{{wikidata|label|linked|Q50160}}||{{wikidata|title|linked|Q50160}}||Isabela||Bayan
|-
|1457||San Isidro||[[:wikidata:Q50163|Q50163]]||{{wikidata|label|linked|Q50163}}||{{wikidata|title|linked|Q50163}}||Isabela||Bayan
|-
|1458||San Manuel||[[:wikidata:Q50164|Q50164]]||{{wikidata|label|linked|Q50164}}||{{wikidata|title|linked|Q50164}}||Isabela||Bayan
|-
|1459||San Mariano||[[:wikidata:Q50167|Q50167]]||{{wikidata|label|linked|Q50167}}||{{wikidata|title|linked|Q50167}}||Isabela||Bayan
|-
|1460||San Mateo||[[:wikidata:Q50171|Q50171]]||{{wikidata|label|linked|Q50171}}||{{wikidata|title|linked|Q50171}}||Isabela||Bayan
|-
|1461||San Pablo||[[:wikidata:Q50174|Q50174]]||{{wikidata|label|linked|Q50174}}||{{wikidata|title|linked|Q50174}}||Isabela||Bayan
|-
|1462||Santa Maria||[[:wikidata:Q50175|Q50175]]||{{wikidata|label|linked|Q50175}}||{{wikidata|title|linked|Q50175}}||Isabela||Bayan
|-
|1463||Santiago||[[:wikidata:Q50180|Q50180]]||{{wikidata|label|linked|Q50180}}||{{wikidata|title|linked|Q50180}}||Isabela||Lungsod
|-
|1464||Santo Tomas||[[:wikidata:Q50176|Q50176]]||{{wikidata|label|linked|Q50176}}||{{wikidata|title|linked|Q50176}}||Isabela||Bayan
|-
|1465||Tumauini||[[:wikidata:Q50177|Q50177]]||{{wikidata|label|linked|Q50177}}||{{wikidata|title|linked|Q50177}}||Isabela||Bayan
|-
|1466||Abulug||[[:wikidata:Q43500|Q43500]]||{{wikidata|label|linked|Q43500}}||{{wikidata|title|linked|Q43500}}||Cagayan||Bayan
|-
|1467||Alcala||[[:wikidata:Q43503|Q43503]]||{{wikidata|label|linked|Q43503}}||{{wikidata|title|linked|Q43503}}||Cagayan||Bayan
|-
|1468||Allacapan||[[:wikidata:Q43508|Q43508]]||{{wikidata|label|linked|Q43508}}||{{wikidata|title|linked|Q43508}}||Cagayan||Bayan
|-
|1469||Amulung||[[:wikidata:Q43515|Q43515]]||{{wikidata|label|linked|Q43515}}||{{wikidata|title|linked|Q43515}}||Cagayan||Bayan
|-
|1470||Aparri||[[:wikidata:Q43517|Q43517]]||{{wikidata|label|linked|Q43517}}||{{wikidata|title|linked|Q43517}}||Cagayan||Bayan
|-
|1471||Baggao||[[:wikidata:Q43520|Q43520]]||{{wikidata|label|linked|Q43520}}||{{wikidata|title|linked|Q43520}}||Cagayan||Bayan
|-
|1472||Ballesteros||[[:wikidata:Q49058|Q49058]]||{{wikidata|label|linked|Q49058}}||{{wikidata|title|linked|Q49058}}||Cagayan||Bayan
|-
|1473||Buguey||[[:wikidata:Q49059|Q49059]]||{{wikidata|label|linked|Q49059}}||{{wikidata|title|linked|Q49059}}||Cagayan||Bayan
|-
|1474||Calayan||[[:wikidata:Q49062|Q49062]]||{{wikidata|label|linked|Q49062}}||{{wikidata|title|linked|Q49062}}||Cagayan||Bayan
|-
|1475||Camalaniugan||[[:wikidata:Q49313|Q49313]]||{{wikidata|label|linked|Q49313}}||{{wikidata|title|linked|Q49313}}||Cagayan||Bayan
|-
|1476||Claveria||[[:wikidata:Q49314|Q49314]]||{{wikidata|label|linked|Q49314}}||{{wikidata|title|linked|Q49314}}||Cagayan||Bayan
|-
|1477||Enrile||[[:wikidata:Q49315|Q49315]]||{{wikidata|label|linked|Q49315}}||{{wikidata|title|linked|Q49315}}||Cagayan||Bayan
|-
|1478||Gattaran||[[:wikidata:Q49316|Q49316]]||{{wikidata|label|linked|Q49316}}||{{wikidata|title|linked|Q49316}}||Cagayan||Bayan
|-
|1479||Gonzaga||[[:wikidata:Q49317|Q49317]]||{{wikidata|label|linked|Q49317}}||{{wikidata|title|linked|Q49317}}||Cagayan||Bayan
|-
|1480||Iguig||[[:wikidata:Q49318|Q49318]]||{{wikidata|label|linked|Q49318}}||{{wikidata|title|linked|Q49318}}||Cagayan||Bayan
|-
|1481||Lal-lo||[[:wikidata:Q49320|Q49320]]||{{wikidata|label|linked|Q49320}}||{{wikidata|title|linked|Q49320}}||Cagayan||Bayan
|-
|1482||Lasam||[[:wikidata:Q49321|Q49321]]||{{wikidata|label|linked|Q49321}}||{{wikidata|title|linked|Q49321}}||Cagayan||Bayan
|-
|1483||Pamplona||[[:wikidata:Q49324|Q49324]]||{{wikidata|label|linked|Q49324}}||{{wikidata|title|linked|Q49324}}||Cagayan||Bayan
|-
|1484||Peñablanca||[[:wikidata:Q49327|Q49327]]||{{wikidata|label|linked|Q49327}}||{{wikidata|title|linked|Q49327}}||Cagayan||Bayan
|-
|1485||Piat||[[:wikidata:Q49331|Q49331]]||{{wikidata|label|linked|Q49331}}||{{wikidata|title|linked|Q49331}}||Cagayan||Bayan
|-
|1486||Rizal||[[:wikidata:Q49333|Q49333]]||{{wikidata|label|linked|Q49333}}||{{wikidata|title|linked|Q49333}}||Cagayan||Bayan
|-
|1487||Sanchez Mira||[[:wikidata:Q49336|Q49336]]||{{wikidata|label|linked|Q49336}}||{{wikidata|title|linked|Q49336}}||Cagayan||Bayan
|-
|1488||Santa Ana||[[:wikidata:Q49337|Q49337]]||{{wikidata|label|linked|Q49337}}||{{wikidata|title|linked|Q49337}}||Cagayan||Bayan
|-
|1489||Santa Praxedes||[[:wikidata:Q49339|Q49339]]||{{wikidata|label|linked|Q49339}}||{{wikidata|title|linked|Q49339}}||Cagayan||Bayan
|-
|1490||Santa Teresita||[[:wikidata:Q49342|Q49342]]||{{wikidata|label|linked|Q49342}}||{{wikidata|title|linked|Q49342}}||Cagayan||Bayan
|-
|1491||Santo Niño||[[:wikidata:Q49346|Q49346]]||{{wikidata|label|linked|Q49346}}||{{wikidata|title|linked|Q49346}}||Cagayan||Bayan
|-
|1492||Solana||[[:wikidata:Q49348|Q49348]]||{{wikidata|label|linked|Q49348}}||{{wikidata|title|linked|Q49348}}||Cagayan||Bayan
|-
|1493||Tuao||[[:wikidata:Q49350|Q49350]]||{{wikidata|label|linked|Q49350}}||{{wikidata|title|linked|Q49350}}||Cagayan||Bayan
|-
|1494||Tuguegarao||[[:wikidata:Q2200|Q2200]]||{{wikidata|label|linked|Q2200}}||{{wikidata|title|linked|Q2200}}||Cagayan||Lungsod
|-
|1495||Basco||[[:wikidata:Q43180|Q43180]]||{{wikidata|label|linked|Q43180}}||{{wikidata|title|linked|Q43180}}||Batanes||Bayan
|-
|1496||Itbayat||[[:wikidata:Q43451|Q43451]]||{{wikidata|label|linked|Q43451}}||{{wikidata|title|linked|Q43451}}||Batanes||Bayan
|-
|1497||Ivana||[[:wikidata:Q43454|Q43454]]||{{wikidata|label|linked|Q43454}}||{{wikidata|title|linked|Q43454}}||Batanes||Bayan
|-
|1498||Mahatao||[[:wikidata:Q43458|Q43458]]||{{wikidata|label|linked|Q43458}}||{{wikidata|title|linked|Q43458}}||Batanes||Bayan
|-
|1499||Sabtang||[[:wikidata:Q43460|Q43460]]||{{wikidata|label|linked|Q43460}}||{{wikidata|title|linked|Q43460}}||Batanes||Bayan
|-
|1500||Uyugan||[[:wikidata:Q43469|Q43469]]||{{wikidata|label|linked|Q43469}}||{{wikidata|title|linked|Q43469}}||Batanes||Bayan
|-
|1501||Agno||[[:wikidata:Q41668|Q41668]]||{{wikidata|label|linked|Q41668}}||{{wikidata|title|linked|Q41668}}||Pangasinan||Bayan
|-
|1502||Aguilar||[[:wikidata:Q41686|Q41686]]||{{wikidata|label|linked|Q41686}}||{{wikidata|title|linked|Q41686}}||Pangasinan||Bayan
|-
|1503||Alaminos||[[:wikidata:Q43162|Q43162]]||{{wikidata|label|linked|Q43162}}||{{wikidata|title|linked|Q43162}}||Pangasinan||Bayan
|-
|1504||Alcala||[[:wikidata:Q41704|Q41704]]||{{wikidata|label|linked|Q41704}}||{{wikidata|title|linked|Q41704}}||Pangasinan||Bayan
|-
|1505||Anda||[[:wikidata:Q41713|Q41713]]||{{wikidata|label|linked|Q41713}}||{{wikidata|title|linked|Q41713}}||Pangasinan||Bayan
|-
|1506||Asingan||[[:wikidata:Q41721|Q41721]]||{{wikidata|label|linked|Q41721}}||{{wikidata|title|linked|Q41721}}||Pangasinan||Bayan
|-
|1507||Balungao||[[:wikidata:Q41725|Q41725]]||{{wikidata|label|linked|Q41725}}||{{wikidata|title|linked|Q41725}}||Pangasinan||Bayan
|-
|1508||Bani||[[:wikidata:Q41732|Q41732]]||{{wikidata|label|linked|Q41732}}||{{wikidata|title|linked|Q41732}}||Pangasinan||Bayan
|-
|1509||Basista||[[:wikidata:Q41737|Q41737]]||{{wikidata|label|linked|Q41737}}||{{wikidata|title|linked|Q41737}}||Pangasinan||Bayan
|-
|1510||Bautista||[[:wikidata:Q41757|Q41757]]||{{wikidata|label|linked|Q41757}}||{{wikidata|title|linked|Q41757}}||Pangasinan||Bayan
|-
|1511||Bayambang||[[:wikidata:Q41762|Q41762]]||{{wikidata|label|linked|Q41762}}||{{wikidata|title|linked|Q41762}}||Pangasinan||Bayan
|-
|1512||Binalonan||[[:wikidata:Q41771|Q41771]]||{{wikidata|label|linked|Q41771}}||{{wikidata|title|linked|Q41771}}||Pangasinan||Bayan
|-
|1513||Binmaley||[[:wikidata:Q41779|Q41779]]||{{wikidata|label|linked|Q41779}}||{{wikidata|title|linked|Q41779}}||Pangasinan||Bayan
|-
|1514||Bolinao||[[:wikidata:Q41807|Q41807]]||{{wikidata|label|linked|Q41807}}||{{wikidata|title|linked|Q41807}}||Pangasinan||Bayan
|-
|1515||Bugallon||[[:wikidata:Q41826|Q41826]]||{{wikidata|label|linked|Q41826}}||{{wikidata|title|linked|Q41826}}||Pangasinan||Bayan
|-
|1516||Burgos||[[:wikidata:Q41850|Q41850]]||{{wikidata|label|linked|Q41850}}||{{wikidata|title|linked|Q41850}}||Pangasinan||Bayan
|-
|1517||Calasiao||[[:wikidata:Q41855|Q41855]]||{{wikidata|label|linked|Q41855}}||{{wikidata|title|linked|Q41855}}||Pangasinan||Bayan
|-
|1518||Dagupan||[[:wikidata:Q875070|Q875070]]||{{wikidata|label|linked|Q875070}}||{{wikidata|title|linked|Q875070}}||Pangasinan||Lungsod
|-
|1519||Dasol||[[:wikidata:Q41917|Q41917]]||{{wikidata|label|linked|Q41917}}||{{wikidata|title|linked|Q41917}}||Pangasinan||Bayan
|-
|1520||Infanta||[[:wikidata:Q41922|Q41922]]||{{wikidata|label|linked|Q41922}}||{{wikidata|title|linked|Q41922}}||Pangasinan||Bayan
|-
|1521||Labrador||[[:wikidata:Q41942|Q41942]]||{{wikidata|label|linked|Q41942}}||{{wikidata|title|linked|Q41942}}||Pangasinan||Bayan
|-
|1522||Laoac||[[:wikidata:Q41965|Q41965]]||{{wikidata|label|linked|Q41965}}||{{wikidata|title|linked|Q41965}}||Pangasinan||Bayan
|-
|1523||Lingayen||[[:wikidata:Q41978|Q41978]]||{{wikidata|label|linked|Q41978}}||{{wikidata|title|linked|Q41978}}||Pangasinan||Bayan
|-
|1524||Mabini||[[:wikidata:Q41982|Q41982]]||{{wikidata|label|linked|Q41982}}||{{wikidata|title|linked|Q41982}}||Pangasinan||Bayan
|-
|1525||Malasiqui||[[:wikidata:Q41985|Q41985]]||{{wikidata|label|linked|Q41985}}||{{wikidata|title|linked|Q41985}}||Pangasinan||Bayan
|-
|1526||Manaoag||[[:wikidata:Q1020685|Q1020685]]||{{wikidata|label|linked|Q1020685}}||{{wikidata|title|linked|Q1020685}}||Pangasinan||Bayan
|-
|1527||Mangaldan||[[:wikidata:Q41996|Q41996]]||{{wikidata|label|linked|Q41996}}||{{wikidata|title|linked|Q41996}}||Pangasinan||Bayan
|-
|1528||Mangatarem||[[:wikidata:Q42001|Q42001]]||{{wikidata|label|linked|Q42001}}||{{wikidata|title|linked|Q42001}}||Pangasinan||Bayan
|-
|1529||Mapandan||[[:wikidata:Q42006|Q42006]]||{{wikidata|label|linked|Q42006}}||{{wikidata|title|linked|Q42006}}||Pangasinan||Bayan
|-
|1530||Natividad||[[:wikidata:Q42011|Q42011]]||{{wikidata|label|linked|Q42011}}||{{wikidata|title|linked|Q42011}}||Pangasinan||Bayan
|-
|1531||Pozorrubio||[[:wikidata:Q42017|Q42017]]||{{wikidata|label|linked|Q42017}}||{{wikidata|title|linked|Q42017}}||Pangasinan||Bayan
|-
|1532||Rosales||[[:wikidata:Q42024|Q42024]]||{{wikidata|label|linked|Q42024}}||{{wikidata|title|linked|Q42024}}||Pangasinan||Bayan
|-
|1533||San Carlos||[[:wikidata:Q43165|Q43165]]||{{wikidata|label|linked|Q43165}}||{{wikidata|title|linked|Q43165}}||Pangasinan||Lungsod
|-
|1534||San Fabian||[[:wikidata:Q42031|Q42031]]||{{wikidata|label|linked|Q42031}}||{{wikidata|title|linked|Q42031}}||Pangasinan||Bayan
|-
|1535||San Jacinto||[[:wikidata:Q42036|Q42036]]||{{wikidata|label|linked|Q42036}}||{{wikidata|title|linked|Q42036}}||Pangasinan||Bayan
|-
|1536||San Manuel||[[:wikidata:Q42039|Q42039]]||{{wikidata|label|linked|Q42039}}||{{wikidata|title|linked|Q42039}}||Pangasinan||Bayan
|-
|1537||San Nicolas||[[:wikidata:Q42043|Q42043]]||{{wikidata|label|linked|Q42043}}||{{wikidata|title|linked|Q42043}}||Pangasinan||Bayan
|-
|1538||San Quintin||[[:wikidata:Q42044|Q42044]]||{{wikidata|label|linked|Q42044}}||{{wikidata|title|linked|Q42044}}||Pangasinan||Bayan
|-
|1539||Santa Barbara||[[:wikidata:Q122401|Q122401]]||{{wikidata|label|linked|Q122401}}||{{wikidata|title|linked|Q122401}}||Pangasinan||Bayan
|-
|1540||Santa Maria||[[:wikidata:Q42055|Q42055]]||{{wikidata|label|linked|Q42055}}||{{wikidata|title|linked|Q42055}}||Pangasinan||Bayan
|-
|1541||Santo Tomas||[[:wikidata:Q43140|Q43140]]||{{wikidata|label|linked|Q43140}}||{{wikidata|title|linked|Q43140}}||Pangasinan||Bayan
|-
|1542||Sison||[[:wikidata:Q43143|Q43143]]||{{wikidata|label|linked|Q43143}}||{{wikidata|title|linked|Q43143}}||Pangasinan||Bayan
|-
|1543||Sual||[[:wikidata:Q43145|Q43145]]||{{wikidata|label|linked|Q43145}}||{{wikidata|title|linked|Q43145}}||Pangasinan||Bayan
|-
|1544||Tayug||[[:wikidata:Q43148|Q43148]]||{{wikidata|label|linked|Q43148}}||{{wikidata|title|linked|Q43148}}||Pangasinan||Bayan
|-
|1545||Umingan||[[:wikidata:Q43152|Q43152]]||{{wikidata|label|linked|Q43152}}||{{wikidata|title|linked|Q43152}}||Pangasinan||Bayan
|-
|1546||Urbiztondo||[[:wikidata:Q43154|Q43154]]||{{wikidata|label|linked|Q43154}}||{{wikidata|title|linked|Q43154}}||Pangasinan||Bayan
|-
|1547||Urdaneta||[[:wikidata:Q43168|Q43168]]||{{wikidata|label|linked|Q43168}}||{{wikidata|title|linked|Q43168}}||Pangasinan||Lungsod
|-
|1548||Villasis||[[:wikidata:Q43157|Q43157]]||{{wikidata|label|linked|Q43157}}||{{wikidata|title|linked|Q43157}}||Pangasinan||Bayan
|-
|1549||Agoo||[[:wikidata:Q40168|Q40168]]||{{wikidata|label|linked|Q40168}}||{{wikidata|title|linked|Q40168}}||La Union||Bayan
|-
|1550||Aringay||[[:wikidata:Q40239|Q40239]]||{{wikidata|label|linked|Q40239}}||{{wikidata|title|linked|Q40239}}||La Union||Bayan
|-
|1551||Bacnotan||[[:wikidata:Q40259|Q40259]]||{{wikidata|label|linked|Q40259}}||{{wikidata|title|linked|Q40259}}||La Union||Bayan
|-
|1552||Bagulin||[[:wikidata:Q40275|Q40275]]||{{wikidata|label|linked|Q40275}}||{{wikidata|title|linked|Q40275}}||La Union||Bayan
|-
|1553||Balaoan||[[:wikidata:Q40282|Q40282]]||{{wikidata|label|linked|Q40282}}||{{wikidata|title|linked|Q40282}}||La Union||Bayan
|-
|1554||Bangar||[[:wikidata:Q40298|Q40298]]||{{wikidata|label|linked|Q40298}}||{{wikidata|title|linked|Q40298}}||La Union||Bayan
|-
|1555||Bauang||[[:wikidata:Q40313|Q40313]]||{{wikidata|label|linked|Q40313}}||{{wikidata|title|linked|Q40313}}||La Union||Bayan
|-
|1556||Burgos||[[:wikidata:Q40372|Q40372]]||{{wikidata|label|linked|Q40372}}||{{wikidata|title|linked|Q40372}}||La Union||Bayan
|-
|1557||Caba||[[:wikidata:Q40393|Q40393]]||{{wikidata|label|linked|Q40393}}||{{wikidata|title|linked|Q40393}}||La Union||Bayan
|-
|1558||Luna||[[:wikidata:Q40419|Q40419]]||{{wikidata|label|linked|Q40419}}||{{wikidata|title|linked|Q40419}}||La Union||Bayan
|-
|1559||Naguilian||[[:wikidata:Q40450|Q40450]]||{{wikidata|label|linked|Q40450}}||{{wikidata|title|linked|Q40450}}||La Union||Bayan
|-
|1560||Pugo||[[:wikidata:Q40466|Q40466]]||{{wikidata|label|linked|Q40466}}||{{wikidata|title|linked|Q40466}}||La Union||Bayan
|-
|1561||Rosario||[[:wikidata:Q40486|Q40486]]||{{wikidata|label|linked|Q40486}}||{{wikidata|title|linked|Q40486}}||La Union||Bayan
|-
|1562||San Fernando||[[:wikidata:Q40584|Q40584]]||{{wikidata|label|linked|Q40584}}||{{wikidata|title|linked|Q40584}}||La Union||Lungsod
|-
|1563||San Gabriel||[[:wikidata:Q40500|Q40500]]||{{wikidata|label|linked|Q40500}}||{{wikidata|title|linked|Q40500}}||La Union||Bayan
|-
|1564||San Juan||[[:wikidata:Q40517|Q40517]]||{{wikidata|label|linked|Q40517}}||{{wikidata|title|linked|Q40517}}||La Union||Bayan
|-
|1565||Santo Tomas||[[:wikidata:Q40521|Q40521]]||{{wikidata|label|linked|Q40521}}||{{wikidata|title|linked|Q40521}}||La Union||Bayan
|-
|1566||Santol||[[:wikidata:Q40536|Q40536]]||{{wikidata|label|linked|Q40536}}||{{wikidata|title|linked|Q40536}}||La Union||Bayan
|-
|1567||Sudipen||[[:wikidata:Q40557|Q40557]]||{{wikidata|label|linked|Q40557}}||{{wikidata|title|linked|Q40557}}||La Union||Bayan
|-
|1568||Tubao||[[:wikidata:Q40562|Q40562]]||{{wikidata|label|linked|Q40562}}||{{wikidata|title|linked|Q40562}}||La Union||Bayan
|-
|1569||Alilem||[[:wikidata:Q12813|Q12813]]||{{wikidata|label|linked|Q12813}}||{{wikidata|title|linked|Q12813}}||Ilocos Sur||Bayan
|-
|1570||Banayoyo||[[:wikidata:Q12818|Q12818]]||{{wikidata|label|linked|Q12818}}||{{wikidata|title|linked|Q12818}}||Ilocos Sur||Bayan
|-
|1571||Bantay||[[:wikidata:Q12825|Q12825]]||{{wikidata|label|linked|Q12825}}||{{wikidata|title|linked|Q12825}}||Ilocos Sur||Bayan
|-
|1572||Burgos||[[:wikidata:Q12828|Q12828]]||{{wikidata|label|linked|Q12828}}||{{wikidata|title|linked|Q12828}}||Ilocos Sur||Bayan
|-
|1573||Cabugao||[[:wikidata:Q12832|Q12832]]||{{wikidata|label|linked|Q12832}}||{{wikidata|title|linked|Q12832}}||Ilocos Sur||Bayan
|-
|1574||Candon||[[:wikidata:Q205956|Q205956]]||{{wikidata|label|linked|Q205956}}||{{wikidata|title|linked|Q205956}}||Ilocos Sur||Lungsod
|-
|1575||Caoayan||[[:wikidata:Q12834|Q12834]]||{{wikidata|label|linked|Q12834}}||{{wikidata|title|linked|Q12834}}||Ilocos Sur||Bayan
|-
|1576||Cervantes||[[:wikidata:Q12835|Q12835]]||{{wikidata|label|linked|Q12835}}||{{wikidata|title|linked|Q12835}}||Ilocos Sur||Bayan
|-
|1577||Galimuyod||[[:wikidata:Q12838|Q12838]]||{{wikidata|label|linked|Q12838}}||{{wikidata|title|linked|Q12838}}||Ilocos Sur||Bayan
|-
|1578||Gregorio del Pilar||[[:wikidata:Q12840|Q12840]]||{{wikidata|label|linked|Q12840}}||{{wikidata|title|linked|Q12840}}||Ilocos Sur||Bayan
|-
|1579||Lidlidda||[[:wikidata:Q12843|Q12843]]||{{wikidata|label|linked|Q12843}}||{{wikidata|title|linked|Q12843}}||Ilocos Sur||Bayan
|-
|1580||Magsingal||[[:wikidata:Q12845|Q12845]]||{{wikidata|label|linked|Q12845}}||{{wikidata|title|linked|Q12845}}||Ilocos Sur||Bayan
|-
|1581||Nagbukel||[[:wikidata:Q12848|Q12848]]||{{wikidata|label|linked|Q12848}}||{{wikidata|title|linked|Q12848}}||Ilocos Sur||Bayan
|-
|1582||Narvacan||[[:wikidata:Q12850|Q12850]]||{{wikidata|label|linked|Q12850}}||{{wikidata|title|linked|Q12850}}||Ilocos Sur||Bayan
|-
|1583||Quirino||[[:wikidata:Q12853|Q12853]]||{{wikidata|label|linked|Q12853}}||{{wikidata|title|linked|Q12853}}||Ilocos Sur||Bayan
|-
|1584||Salcedo||[[:wikidata:Q12856|Q12856]]||{{wikidata|label|linked|Q12856}}||{{wikidata|title|linked|Q12856}}||Ilocos Sur||Bayan
|-
|1585||San Emilio||[[:wikidata:Q12859|Q12859]]||{{wikidata|label|linked|Q12859}}||{{wikidata|title|linked|Q12859}}||Ilocos Sur||Bayan
|-
|1586||San Esteban||[[:wikidata:Q12863|Q12863]]||{{wikidata|label|linked|Q12863}}||{{wikidata|title|linked|Q12863}}||Ilocos Sur||Bayan
|-
|1587||San Ildefonso||[[:wikidata:Q12864|Q12864]]||{{wikidata|label|linked|Q12864}}||{{wikidata|title|linked|Q12864}}||Ilocos Sur||Bayan
|-
|1588||San Juan||[[:wikidata:Q12867|Q12867]]||{{wikidata|label|linked|Q12867}}||{{wikidata|title|linked|Q12867}}||Ilocos Sur||Bayan
|-
|1589||San Vicente||[[:wikidata:Q12868|Q12868]]||{{wikidata|label|linked|Q12868}}||{{wikidata|title|linked|Q12868}}||Ilocos Sur||Bayan
|-
|1590||Santa||[[:wikidata:Q12873|Q12873]]||{{wikidata|label|linked|Q12873}}||{{wikidata|title|linked|Q12873}}||Ilocos Sur||Bayan
|-
|1591||Santa Catalina||[[:wikidata:Q12875|Q12875]]||{{wikidata|label|linked|Q12875}}||{{wikidata|title|linked|Q12875}}||Ilocos Sur||Bayan
|-
|1592||Santa Cruz||[[:wikidata:Q12880|Q12880]]||{{wikidata|label|linked|Q12880}}||{{wikidata|title|linked|Q12880}}||Ilocos Sur||Bayan
|-
|1593||Santa Lucia||[[:wikidata:Q12882|Q12882]]||{{wikidata|label|linked|Q12882}}||{{wikidata|title|linked|Q12882}}||Ilocos Sur||Bayan
|-
|1594||Santa Maria||[[:wikidata:Q12692|Q12692]]||{{wikidata|label|linked|Q12692}}||{{wikidata|title|linked|Q12692}}||Ilocos Sur||Bayan
|-
|1595||Santiago||[[:wikidata:Q12884|Q12884]]||{{wikidata|label|linked|Q12884}}||{{wikidata|title|linked|Q12884}}||Ilocos Sur||Bayan
|-
|1596||Santo Domingo||[[:wikidata:Q12885|Q12885]]||{{wikidata|label|linked|Q12885}}||{{wikidata|title|linked|Q12885}}||Ilocos Sur||Bayan
|-
|1597||Sigay||[[:wikidata:Q12888|Q12888]]||{{wikidata|label|linked|Q12888}}||{{wikidata|title|linked|Q12888}}||Ilocos Sur||Bayan
|-
|1598||Sinait||[[:wikidata:Q12891|Q12891]]||{{wikidata|label|linked|Q12891}}||{{wikidata|title|linked|Q12891}}||Ilocos Sur||Bayan
|-
|1599||Sugpon||[[:wikidata:Q12893|Q12893]]||{{wikidata|label|linked|Q12893}}||{{wikidata|title|linked|Q12893}}||Ilocos Sur||Bayan
|-
|1600||Suyo||[[:wikidata:Q12894|Q12894]]||{{wikidata|label|linked|Q12894}}||{{wikidata|title|linked|Q12894}}||Ilocos Sur||Bayan
|-
|1601||Tagudin||[[:wikidata:Q12895|Q12895]]||{{wikidata|label|linked|Q12895}}||{{wikidata|title|linked|Q12895}}||Ilocos Sur||Bayan
|-
|1602||Vigan||[[:wikidata:Q235004|Q235004]]||{{wikidata|label|linked|Q235004}}||{{wikidata|title|linked|Q235004}}||Ilocos Sur||Lungsod
|-
|1603||Adams||[[:wikidata:Q39241|Q39241]]||{{wikidata|label|linked|Q39241}}||{{wikidata|title|linked|Q39241}}||Ilocos Norte||Bayan
|-
|1604||Bacarra||[[:wikidata:Q39271|Q39271]]||{{wikidata|label|linked|Q39271}}||{{wikidata|title|linked|Q39271}}||Ilocos Norte||Bayan
|-
|1605||Badoc||[[:wikidata:Q39303|Q39303]]||{{wikidata|label|linked|Q39303}}||{{wikidata|title|linked|Q39303}}||Ilocos Norte||Bayan
|-
|1606||Bangui||[[:wikidata:Q39326|Q39326]]||{{wikidata|label|linked|Q39326}}||{{wikidata|title|linked|Q39326}}||Ilocos Norte||Bayan
|-
|1607||Banna||[[:wikidata:Q39346|Q39346]]||{{wikidata|label|linked|Q39346}}||{{wikidata|title|linked|Q39346}}||Ilocos Norte||Bayan
|-
|1608||Batac||[[:wikidata:Q39711|Q39711]]||{{wikidata|label|linked|Q39711}}||{{wikidata|title|linked|Q39711}}||Ilocos Norte||Lungsod
|-
|1609||Burgos||[[:wikidata:Q39368|Q39368]]||{{wikidata|label|linked|Q39368}}||{{wikidata|title|linked|Q39368}}||Ilocos Norte||Bayan
|-
|1610||Carasi||[[:wikidata:Q39393|Q39393]]||{{wikidata|label|linked|Q39393}}||{{wikidata|title|linked|Q39393}}||Ilocos Norte||Bayan
|-
|1611||Currimao||[[:wikidata:Q39416|Q39416]]||{{wikidata|label|linked|Q39416}}||{{wikidata|title|linked|Q39416}}||Ilocos Norte||Bayan
|-
|1612||Dingras||[[:wikidata:Q39429|Q39429]]||{{wikidata|label|linked|Q39429}}||{{wikidata|title|linked|Q39429}}||Ilocos Norte||Bayan
|-
|1613||Dumalneg||[[:wikidata:Q39511|Q39511]]||{{wikidata|label|linked|Q39511}}||{{wikidata|title|linked|Q39511}}||Ilocos Norte||Bayan
|-
|1614||Laoag||[[:wikidata:Q39738|Q39738]]||{{wikidata|label|linked|Q39738}}||{{wikidata|title|linked|Q39738}}||Ilocos Norte||Lungsod
|-
|1615||Marcos||[[:wikidata:Q39523|Q39523]]||{{wikidata|label|linked|Q39523}}||{{wikidata|title|linked|Q39523}}||Ilocos Norte||Bayan
|-
|1616||Nueva Era||[[:wikidata:Q39540|Q39540]]||{{wikidata|label|linked|Q39540}}||{{wikidata|title|linked|Q39540}}||Ilocos Norte||Bayan
|-
|1617||Pagudpud||[[:wikidata:Q39559|Q39559]]||{{wikidata|label|linked|Q39559}}||{{wikidata|title|linked|Q39559}}||Ilocos Norte||Bayan
|-
|1618||Paoay||[[:wikidata:Q39573|Q39573]]||{{wikidata|label|linked|Q39573}}||{{wikidata|title|linked|Q39573}}||Ilocos Norte||Bayan
|-
|1619||Pasuquin||[[:wikidata:Q39591|Q39591]]||{{wikidata|label|linked|Q39591}}||{{wikidata|title|linked|Q39591}}||Ilocos Norte||Bayan
|-
|1620||Piddig||[[:wikidata:Q39616|Q39616]]||{{wikidata|label|linked|Q39616}}||{{wikidata|title|linked|Q39616}}||Ilocos Norte||Bayan
|-
|1621||Pinili||[[:wikidata:Q39629|Q39629]]||{{wikidata|label|linked|Q39629}}||{{wikidata|title|linked|Q39629}}||Ilocos Norte||Bayan
|-
|1622||San Nicolas||[[:wikidata:Q39653|Q39653]]||{{wikidata|label|linked|Q39653}}||{{wikidata|title|linked|Q39653}}||Ilocos Norte||Bayan
|-
|1623||Sarrat||[[:wikidata:Q39673|Q39673]]||{{wikidata|label|linked|Q39673}}||{{wikidata|title|linked|Q39673}}||Ilocos Norte||Bayan
|-
|1624||Solsona||[[:wikidata:Q39677|Q39677]]||{{wikidata|label|linked|Q39677}}||{{wikidata|title|linked|Q39677}}||Ilocos Norte||Bayan
|-
|1625||Vintar||[[:wikidata:Q39694|Q39694]]||{{wikidata|label|linked|Q39694}}||{{wikidata|title|linked|Q39694}}||Ilocos Norte||Bayan
|-
|1626||Caloocan||[[:wikidata:Q1478|Q1478]]||{{wikidata|label|linked|Q1478}}||{{wikidata|title|linked|Q1478}}||Metro Manila||Lungsod
|-
|1627||Las Piñas||[[:wikidata:Q8854|Q8854]]||{{wikidata|label|linked|Q8854}}||{{wikidata|title|linked|Q8854}}||Metro Manila||Lungsod
|-
|1628||Makati||[[:wikidata:Q1508|Q1508]]||{{wikidata|label|linked|Q1508}}||{{wikidata|title|linked|Q1508}}||Metro Manila||Lungsod
|-
|1629||Malabon||[[:wikidata:Q8861|Q8861]]||{{wikidata|label|linked|Q8861}}||{{wikidata|title|linked|Q8861}}||Metro Manila||Lungsod
|-
|1630||Mandaluyong||[[:wikidata:Q9085|Q9085]]||{{wikidata|label|linked|Q9085}}||{{wikidata|title|linked|Q9085}}||Metro Manila||Lungsod
|-
|1631||Manila||[[:wikidata:Q1461|Q1461]]||{{wikidata|label|linked|Q1461}}||{{wikidata|title|linked|Q1461}}||Metro Manila||Lungsod
|-
|1632||Marikina||[[:wikidata:Q17175|Q17175]]||{{wikidata|label|linked|Q17175}}||{{wikidata|title|linked|Q17175}}||Metro Manila||Lungsod
|-
|1633||Muntinlupa||[[:wikidata:Q17176|Q17176]]||{{wikidata|label|linked|Q17176}}||{{wikidata|title|linked|Q17176}}||Metro Manila||Lungsod
|-
|1634||Navotas||[[:wikidata:Q17179|Q17179]]||{{wikidata|label|linked|Q17179}}||{{wikidata|title|linked|Q17179}}||Metro Manila||Lungsod
|-
|1635||Parañaque||[[:wikidata:Q17182|Q17182]]||{{wikidata|label|linked|Q17182}}||{{wikidata|title|linked|Q17182}}||Metro Manila||Lungsod
|-
|1636||Pasay||[[:wikidata:Q17189|Q17189]]||{{wikidata|label|linked|Q17189}}||{{wikidata|title|linked|Q17189}}||Metro Manila||Lungsod
|-
|1637||Pasig||[[:wikidata:Q1624|Q1624]]||{{wikidata|label|linked|Q1624}}||{{wikidata|title|linked|Q1624}}||Metro Manila||Lungsod
|-
|1638||Pateros||[[:wikidata:Q1017325|Q1017325]]||{{wikidata|label|linked|Q1017325}}||{{wikidata|title|linked|Q1017325}}||Metro Manila||Bayan
|-
|1639||Quezon City||[[:wikidata:Q1475|Q1475]]||{{wikidata|label|linked|Q1475}}||{{wikidata|title|linked|Q1475}}||Metro Manila||Lungsod
|-
|1640||San Juan||[[:wikidata:Q749283|Q749283]]||{{wikidata|label|linked|Q749283}}||{{wikidata|title|linked|Q749283}}||Metro Manila||Lungsod
|-
|1641||Taguig||[[:wikidata:Q1643|Q1643]]||{{wikidata|label|linked|Q1643}}||{{wikidata|title|linked|Q1643}}||Metro Manila||Lungsod
|-
|1642||Valenzuela||[[:wikidata:Q1623|Q1623]]||{{wikidata|label|linked|Q1623}}||{{wikidata|title|linked|Q1623}}||Metro Manila||Lungsod
|}
{| class="wikitable sortable" style="background-color:white;font-size:80%;line-height:1.40em;"
!No!!Prov!!Wikidata!!Template1!!Template 2
|-
|1||Abra||[[:wikidata:Q6667081|Q6667081]]||{{wikidata|label|linked|Q6667081}}||{{wikidata|title|linked|Q6667081}}
|-
|2||Agusan del Norte||[[:wikidata:Q6672367|Q6672367]]||{{wikidata|label|linked|Q6672367}}||{{wikidata|title|linked|Q6672367}}
|-
|3||Agusan del Sur||[[:wikidata:Q6672373|Q6672373]]||{{wikidata|label|linked|Q6672373}}||{{wikidata|title|linked|Q6672373}}
|-
|4||Aklan||[[:wikidata:Q9123556|Q9123556]]||{{wikidata|label|linked|Q9123556}}||{{wikidata|title|linked|Q9123556}}
|-
|5||Albay||[[:wikidata:Q6675078|Q6675078]]||{{wikidata|label|linked|Q6675078}}||{{wikidata|title|linked|Q6675078}}
|-
|6||Antique||[[:wikidata:Q10603352|Q10603352]]||{{wikidata|label|linked|Q10603352}}||{{wikidata|title|linked|Q10603352}}
|-
|7||Apayao||[[:wikidata:Q6681609|Q6681609]]||{{wikidata|label|linked|Q6681609}}||{{wikidata|title|linked|Q6681609}}
|-
|8||Aurora||[[:wikidata:Q6702159|Q6702159]]||{{wikidata|label|linked|Q6702159}}||{{wikidata|title|linked|Q6702159}}
|-
|9||Basilan||[[:wikidata:Q10567105|Q10567105]]||{{wikidata|label|linked|Q10567105}}||{{wikidata|title|linked|Q10567105}}
|-
|10||Bataan||[[:wikidata:Q10567110|Q10567110]]||{{wikidata|label|linked|Q10567110}}||{{wikidata|title|linked|Q10567110}}
|-
|11||Batanes||[[:wikidata:Q6712794|Q6712794]]||{{wikidata|label|linked|Q6712794}}||{{wikidata|title|linked|Q6712794}}
|-
|12||Batangas||[[:wikidata:Q6712771|Q6712771]]||{{wikidata|label|linked|Q6712771}}||{{wikidata|title|linked|Q6712771}}
|-
|13||Benguet||[[:wikidata:Q6715894|Q6715894]]||{{wikidata|label|linked|Q6715894}}||{{wikidata|title|linked|Q6715894}}
|-
|14||Biliran||[[:wikidata:Q6718456|Q6718456]]||{{wikidata|label|linked|Q6718456}}||{{wikidata|title|linked|Q6718456}}
|-
|15||Bohol||[[:wikidata:Q6722119|Q6722119]]||{{wikidata|label|linked|Q6722119}}||{{wikidata|title|linked|Q6722119}}
|-
|16||Bukidnon||[[:wikidata:Q6732301|Q6732301]]||{{wikidata|label|linked|Q6732301}}||{{wikidata|title|linked|Q6732301}}
|-
|17||Bulacan||[[:wikidata:Q6084786|Q6084786]]||{{wikidata|label|linked|Q6084786}}||{{wikidata|title|linked|Q6084786}}
|-
|18||Cagayan||[[:wikidata:Q6740144|Q6740144]]||{{wikidata|label|linked|Q6740144}}||{{wikidata|title|linked|Q6740144}}
|-
|19||Camarines Norte||[[:wikidata:Q10567180|Q10567180]]||{{wikidata|label|linked|Q10567180}}||{{wikidata|title|linked|Q10567180}}
|-
|20||Camarines Sur||[[:wikidata:Q10566893|Q10566893]]||{{wikidata|label|linked|Q10566893}}||{{wikidata|title|linked|Q10566893}}
|-
|21||Camiguin||[[:wikidata:Q6855053|Q6855053]]||{{wikidata|label|linked|Q6855053}}||{{wikidata|title|linked|Q6855053}}
|-
|22||Capiz||[[:wikidata:Q6863001|Q6863001]]||{{wikidata|label|linked|Q6863001}}||{{wikidata|title|linked|Q6863001}}
|-
|23||Catanduanes||[[:wikidata:Q6864702|Q6864702]]||{{wikidata|label|linked|Q6864702}}||{{wikidata|title|linked|Q6864702}}
|-
|24||Cavite||[[:wikidata:Q6866729|Q6866729]]||{{wikidata|label|linked|Q6866729}}||{{wikidata|title|linked|Q6866729}}
|-
|25||Cebu||[[:wikidata:Q10567205|Q10567205]]||{{wikidata|label|linked|Q10567205}}||{{wikidata|title|linked|Q10567205}}
|-
|26||Cotabato||[[:wikidata:Q7658126|Q7658126]]||{{wikidata|label|linked|Q7658126}}||{{wikidata|title|linked|Q7658126}}
|-
|27||Davao de Oro||[[:wikidata:Q7646238|Q7646238]]||{{wikidata|label|linked|Q7646238}}||{{wikidata|title|linked|Q7646238}}
|-
|28||Davao del Norte||[[:wikidata:Q10604243|Q10604243]]||{{wikidata|label|linked|Q10604243}}||{{wikidata|title|linked|Q10604243}}
|-
|29||Davao del Sur||[[:wikidata:Q10592691|Q10592691]]||{{wikidata|label|linked|Q10592691}}||{{wikidata|title|linked|Q10592691}}
|-
|30||Davao Occidental||[[:wikidata:Q15293293|Q15293293]]||{{wikidata|label|linked|Q15293293}}||{{wikidata|title|linked|Q15293293}}
|-
|31||Davao Oriental||[[:wikidata:Q10604433|Q10604433]]||{{wikidata|label|linked|Q10604433}}||{{wikidata|title|linked|Q10604433}}
|-
|32||Dinagat Islands||[[:wikidata:Q10604624|Q10604624]]||{{wikidata|label|linked|Q10604624}}||{{wikidata|title|linked|Q10604624}}
|-
|33||Eastern Samar||[[:wikidata:Q10604506|Q10604506]]||{{wikidata|label|linked|Q10604506}}||{{wikidata|title|linked|Q10604506}}
|-
|34||Guimaras||[[:wikidata:Q10594151|Q10594151]]||{{wikidata|label|linked|Q10594151}}||{{wikidata|title|linked|Q10594151}}
|-
|35||Ifugao||[[:wikidata:Q10604772|Q10604772]]||{{wikidata|label|linked|Q10604772}}||{{wikidata|title|linked|Q10604772}}
|-
|36||Ilocos Norte||[[:wikidata:Q10604952|Q10604952]]||{{wikidata|label|linked|Q10604952}}||{{wikidata|title|linked|Q10604952}}
|-
|37||Ilocos Sur||[[:wikidata:Q10605096|Q10605096]]||{{wikidata|label|linked|Q10605096}}||{{wikidata|title|linked|Q10605096}}
|-
|38||Iloilo||[[:wikidata:Q10605236|Q10605236]]||{{wikidata|label|linked|Q10605236}}||{{wikidata|title|linked|Q10605236}}
|-
|39||Isabela||[[:wikidata:Q10605366|Q10605366]]||{{wikidata|label|linked|Q10605366}}||{{wikidata|title|linked|Q10605366}}
|-
|40||Kalinga||[[:wikidata:Q10605506|Q10605506]]||{{wikidata|label|linked|Q10605506}}||{{wikidata|title|linked|Q10605506}}
|-
|41||La Union||[[:wikidata:Q11985049|Q11985049]]||{{wikidata|label|linked|Q11985049}}||{{wikidata|title|linked|Q11985049}}
|-
|42||Laguna||[[:wikidata:Q11985070|Q11985070]]||{{wikidata|label|linked|Q11985070}}||{{wikidata|title|linked|Q11985070}}
|-
|43||Lanao del Norte||[[:wikidata:Q11707007|Q11707007]]||{{wikidata|label|linked|Q11707007}}||{{wikidata|title|linked|Q11707007}}
|-
|44||Lanao del Sur||[[:wikidata:Q11985083|Q11985083]]||{{wikidata|label|linked|Q11985083}}||{{wikidata|title|linked|Q11985083}}
|-
|45||Leyte||[[:wikidata:Q11985059|Q11985059]]||{{wikidata|label|linked|Q11985059}}||{{wikidata|title|linked|Q11985059}}
|-
|46||Maguindanao del Norte||[[:wikidata:Q114293050|Q114293050]]||{{wikidata|label|linked|Q114293050}}||{{wikidata|title|linked|Q114293050}}
|-
|47||Maguindanao del Sur||[[:wikidata:Q114294452|Q114294452]]||{{wikidata|label|linked|Q114294452}}||{{wikidata|title|linked|Q114294452}}
|-
|48||Marinduque||[[:wikidata:Q11985062|Q11985062]]||{{wikidata|label|linked|Q11985062}}||{{wikidata|title|linked|Q11985062}}
|-
|49||Masbate||[[:wikidata:Q11985063|Q11985063]]||{{wikidata|label|linked|Q11985063}}||{{wikidata|title|linked|Q11985063}}
|-
|50||Misamis Occidental||[[:wikidata:Q11708566|Q11708566]]||{{wikidata|label|linked|Q11708566}}||{{wikidata|title|linked|Q11708566}}
|-
|51||Misamis Oriental||[[:wikidata:Q11985074|Q11985074]]||{{wikidata|label|linked|Q11985074}}||{{wikidata|title|linked|Q11985074}}
|-
|52||Mountain Province||[[:wikidata:Q10651336|Q10651336]]||{{wikidata|label|linked|Q10651336}}||{{wikidata|title|linked|Q10651336}}
|-
|53||Negros Occidental||[[:wikidata:Q11985067|Q11985067]]||{{wikidata|label|linked|Q11985067}}||{{wikidata|title|linked|Q11985067}}
|-
|54||Negros Oriental||[[:wikidata:Q11985066|Q11985066]]||{{wikidata|label|linked|Q11985066}}||{{wikidata|title|linked|Q11985066}}
|-
|55||Northern Samar||[[:wikidata:Q9123634|Q9123634]]||{{wikidata|label|linked|Q9123634}}||{{wikidata|title|linked|Q9123634}}
|-
|56||Nueva Ecija||[[:wikidata:Q6081752|Q6081752]]||{{wikidata|label|linked|Q6081752}}||{{wikidata|title|linked|Q6081752}}
|-
|57||Nueva Vizcaya||[[:wikidata:Q11985048|Q11985048]]||{{wikidata|label|linked|Q11985048}}||{{wikidata|title|linked|Q11985048}}
|-
|58||Occidental Mindoro||[[:wikidata:Q11985069|Q11985069]]||{{wikidata|label|linked|Q11985069}}||{{wikidata|title|linked|Q11985069}}
|-
|59||Oriental Mindoro||[[:wikidata:Q6081797|Q6081797]]||{{wikidata|label|linked|Q6081797}}||{{wikidata|title|linked|Q6081797}}
|-
|60||Palawan||[[:wikidata:Q11985072|Q11985072]]||{{wikidata|label|linked|Q11985072}}||{{wikidata|title|linked|Q11985072}}
|-
|61||Pampanga||[[:wikidata:Q11985061|Q11985061]]||{{wikidata|label|linked|Q11985061}}||{{wikidata|title|linked|Q11985061}}
|-
|62||Pangasinan||[[:wikidata:Q11985050|Q11985050]]||{{wikidata|label|linked|Q11985050}}||{{wikidata|title|linked|Q11985050}}
|-
|63||Quezon||[[:wikidata:Q6082606|Q6082606]]||{{wikidata|label|linked|Q6082606}}||{{wikidata|title|linked|Q6082606}}
|-
|64||Quirino||[[:wikidata:Q12015908|Q12015908]]||{{wikidata|label|linked|Q12015908}}||{{wikidata|title|linked|Q12015908}}
|-
|65||Rizal||[[:wikidata:Q6084521|Q6084521]]||{{wikidata|label|linked|Q6084521}}||{{wikidata|title|linked|Q6084521}}
|-
|66||Romblon||[[:wikidata:Q11985057|Q11985057]]||{{wikidata|label|linked|Q11985057}}||{{wikidata|title|linked|Q11985057}}
|-
|67||Samar||[[:wikidata:Q11925829|Q11925829]]||{{wikidata|label|linked|Q11925829}}||{{wikidata|title|linked|Q11925829}}
|-
|68||Sarangani||[[:wikidata:Q11985082|Q11985082]]||{{wikidata|label|linked|Q11985082}}||{{wikidata|title|linked|Q11985082}}
|-
|69||Siquijor||[[:wikidata:Q11336539|Q11336539]]||{{wikidata|label|linked|Q11336539}}||{{wikidata|title|linked|Q11336539}}
|-
|70||Sorsogon||[[:wikidata:Q11985058|Q11985058]]||{{wikidata|label|linked|Q11985058}}||{{wikidata|title|linked|Q11985058}}
|-
|71||South Cotabato||[[:wikidata:Q7762450|Q7762450]]||{{wikidata|label|linked|Q7762450}}||{{wikidata|title|linked|Q7762450}}
|-
|72||Southern Leyte||[[:wikidata:Q7761728|Q7761728]]||{{wikidata|label|linked|Q7761728}}||{{wikidata|title|linked|Q7761728}}
|-
|73||Sultan Kudarat||[[:wikidata:Q11336523|Q11336523]]||{{wikidata|label|linked|Q11336523}}||{{wikidata|title|linked|Q11336523}}
|-
|74||Sulu||[[:wikidata:Q11336511|Q11336511]]||{{wikidata|label|linked|Q11336511}}||{{wikidata|title|linked|Q11336511}}
|-
|75||Surigao del Norte||[[:wikidata:Q11336517|Q11336517]]||{{wikidata|label|linked|Q11336517}}||{{wikidata|title|linked|Q11336517}}
|-
|76||Surigao del Sur||[[:wikidata:Q11336514|Q11336514]]||{{wikidata|label|linked|Q11336514}}||{{wikidata|title|linked|Q11336514}}
|-
|77||Tarlac||[[:wikidata:Q11336497|Q11336497]]||{{wikidata|label|linked|Q11336497}}||{{wikidata|title|linked|Q11336497}}
|-
|78||Tawi-Tawi||[[:wikidata:Q11336499|Q11336499]]||{{wikidata|label|linked|Q11336499}}||{{wikidata|title|linked|Q11336499}}
|-
|79||Zambales||[[:wikidata:Q10858709|Q10858709]]||{{wikidata|label|linked|Q10858709}}||{{wikidata|title|linked|Q10858709}}
|-
|80||Zamboanga del Norte||[[:wikidata:Q10858740|Q10858740]]||{{wikidata|label|linked|Q10858740}}||{{wikidata|title|linked|Q10858740}}
|-
|81||Zamboanga del Sur||[[:wikidata:Q10858708|Q10858708]]||{{wikidata|label|linked|Q10858708}}||{{wikidata|title|linked|Q10858708}}
|-
|82||Zamboanga Sibugay||[[:wikidata:Q10858742|Q10858742]]||{{wikidata|label|linked|Q10858742}}||{{wikidata|title|linked|Q10858742}}
|}
5egqyv9nnmumpzbo9ckqjw6gt1ijtnt
70449
70448
2026-04-25T05:06:28Z
Exec8
6243
70449
wikitext
text/x-wiki
{| class="wikitable sortable" style="background-color:white;font-size:80%;line-height:1.40em;"
!No!!Prov!!Wikidata!!LGU1!!LGU2
|-
|1||Abra||[[:wikidata:Q13711|Q13711]]||[[{{wikidata|label|linked|Q13711}}]]||{{wikidata|title|linked|Q13711}}
|-
|2||Agusan del Norte||[[:wikidata:Q13714|Q13714]]||[[{{wikidata|label|linked|Q13714}}]]||{{wikidata|title|linked|Q13714}}
|-
|3||Agusan del Sur||[[:wikidata:Q13721|Q13721]]||[[{{wikidata|label|linked|Q13721}}]]||{{wikidata|title|linked|Q13721}}
|-
|4||Aklan||[[:wikidata:Q13723|Q13723]]||[[{{wikidata|label|linked|Q13723}}]]||{{wikidata|title|linked|Q13723}}
|-
|5||Albay||[[:wikidata:Q13726|Q13726]]||[[{{wikidata|label|linked|Q13726}}]]||{{wikidata|title|linked|Q13726}}
|-
|6||Antique||[[:wikidata:Q13727|Q13727]]||[[{{wikidata|label|linked|Q13727}}]]||{{wikidata|title|linked|Q13727}}
|-
|7||Apayao||[[:wikidata:Q13728|Q13728]]||[[{{wikidata|label|linked|Q13728}}]]||{{wikidata|title|linked|Q13728}}
|-
|8||Aurora||[[:wikidata:Q13730|Q13730]]||[[{{wikidata|label|linked|Q13730}}]]||{{wikidata|title|linked|Q13730}}
|-
|9||Basilan||[[:wikidata:Q13737|Q13737]]||[[{{wikidata|label|linked|Q13737}}]]||{{wikidata|title|linked|Q13737}}
|-
|10||Bataan||[[:wikidata:Q13739|Q13739]]||[[{{wikidata|label|linked|Q13739}}]]||{{wikidata|title|linked|Q13739}}
|-
|11||Batanes||[[:wikidata:Q13740|Q13740]]||[[{{wikidata|label|linked|Q13740}}]]||{{wikidata|title|linked|Q13740}}
|-
|12||Batangas||[[:wikidata:Q13744|Q13744]]||[[{{wikidata|label|linked|Q13744}}]]||{{wikidata|title|linked|Q13744}}
|-
|13||Benguet||[[:wikidata:Q13750|Q13750]]||[[{{wikidata|label|linked|Q13750}}]]||{{wikidata|title|linked|Q13750}}
|-
|14||Biliran||[[:wikidata:Q13751|Q13751]]||[[{{wikidata|label|linked|Q13751}}]]||{{wikidata|title|linked|Q13751}}
|-
|15||Bohol||[[:wikidata:Q13752|Q13752]]||[[{{wikidata|label|linked|Q13752}}]]||{{wikidata|title|linked|Q13752}}
|-
|16||Bukidnon||[[:wikidata:Q13753|Q13753]]||[[{{wikidata|label|linked|Q13753}}]]||{{wikidata|title|linked|Q13753}}
|-
|17||Bulacan||[[:wikidata:Q13755|Q13755]]||[[{{wikidata|label|linked|Q13755}}]]||{{wikidata|title|linked|Q13755}}
|-
|18||Cagayan||[[:wikidata:Q13759|Q13759]]||[[{{wikidata|label|linked|Q13759}}]]||{{wikidata|title|linked|Q13759}}
|-
|19||Camarines Norte||[[:wikidata:Q13763|Q13763]]||[[{{wikidata|label|linked|Q13763}}]]||{{wikidata|title|linked|Q13763}}
|-
|20||Camarines Sur||[[:wikidata:Q13767|Q13767]]||[[{{wikidata|label|linked|Q13767}}]]||{{wikidata|title|linked|Q13767}}
|-
|21||Camiguin||[[:wikidata:Q13769|Q13769]]||[[{{wikidata|label|linked|Q13769}}]]||{{wikidata|title|linked|Q13769}}
|-
|22||Capiz||[[:wikidata:Q13772|Q13772]]||[[{{wikidata|label|linked|Q13772}}]]||{{wikidata|title|linked|Q13772}}
|-
|23||Catanduanes||[[:wikidata:Q13778|Q13778]]||[[{{wikidata|label|linked|Q13778}}]]||{{wikidata|title|linked|Q13778}}
|-
|24||Cavite||[[:wikidata:Q13785|Q13785]]||[[{{wikidata|label|linked|Q13785}}]]||{{wikidata|title|linked|Q13785}}
|-
|25||Cebu||[[:wikidata:Q13786|Q13786]]||[[{{wikidata|label|linked|Q13786}}]]||{{wikidata|title|linked|Q13786}}
|-
|26||Cotabato||[[:wikidata:Q13791|Q13791]]||[[{{wikidata|label|linked|Q13791}}]]||{{wikidata|title|linked|Q13791}}
|-
|27||Davao de Oro||[[:wikidata:Q13789|Q13789]]||[[{{wikidata|label|linked|Q13789}}]]||{{wikidata|title|linked|Q13789}}
|-
|28||Davao del Norte||[[:wikidata:Q13792|Q13792]]||[[{{wikidata|label|linked|Q13792}}]]||{{wikidata|title|linked|Q13792}}
|-
|29||Davao del Sur||[[:wikidata:Q13794|Q13794]]||[[{{wikidata|label|linked|Q13794}}]]||{{wikidata|title|linked|Q13794}}
|-
|30||Davao Occidental||[[:wikidata:Q3656379|Q3656379]]||[[{{wikidata|label|linked|Q3656379}}]]||{{wikidata|title|linked|Q3656379}}
|-
|31||Davao Oriental||[[:wikidata:Q13806|Q13806]]||[[{{wikidata|label|linked|Q13806}}]]||{{wikidata|title|linked|Q13806}}
|-
|32||Dinagat Islands||[[:wikidata:Q13807|Q13807]]||[[{{wikidata|label|linked|Q13807}}]]||{{wikidata|title|linked|Q13807}}
|-
|33||Eastern Samar||[[:wikidata:Q13809|Q13809]]||[[{{wikidata|label|linked|Q13809}}]]||{{wikidata|title|linked|Q13809}}
|-
|34||Guimaras||[[:wikidata:Q13810|Q13810]]||[[{{wikidata|label|linked|Q13810}}]]||{{wikidata|title|linked|Q13810}}
|-
|35||Ifugao||[[:wikidata:Q13812|Q13812]]||[[{{wikidata|label|linked|Q13812}}]]||{{wikidata|title|linked|Q13812}}
|-
|36||Ilocos Norte||[[:wikidata:Q13813|Q13813]]||[[{{wikidata|label|linked|Q13813}}]]||{{wikidata|title|linked|Q13813}}
|-
|37||Ilocos Sur||[[:wikidata:Q12741|Q12741]]||[[{{wikidata|label|linked|Q12741}}]]||{{wikidata|title|linked|Q12741}}
|-
|38||Iloilo||[[:wikidata:Q13825|Q13825]]||[[{{wikidata|label|linked|Q13825}}]]||{{wikidata|title|linked|Q13825}}
|-
|39||Isabela||[[:wikidata:Q13826|Q13826]]||[[{{wikidata|label|linked|Q13826}}]]||{{wikidata|title|linked|Q13826}}
|-
|40||Kalinga||[[:wikidata:Q13827|Q13827]]||[[{{wikidata|label|linked|Q13827}}]]||{{wikidata|title|linked|Q13827}}
|-
|41||La Union||[[:wikidata:Q13829|Q13829]]||[[{{wikidata|label|linked|Q13829}}]]||{{wikidata|title|linked|Q13829}}
|-
|42||Laguna||[[:wikidata:Q13840|Q13840]]||[[{{wikidata|label|linked|Q13840}}]]||{{wikidata|title|linked|Q13840}}
|-
|43||Lanao del Norte||[[:wikidata:Q13841|Q13841]]||[[{{wikidata|label|linked|Q13841}}]]||{{wikidata|title|linked|Q13841}}
|-
|44||Lanao del Sur||[[:wikidata:Q13843|Q13843]]||[[{{wikidata|label|linked|Q13843}}]]||{{wikidata|title|linked|Q13843}}
|-
|45||Leyte||[[:wikidata:Q13844|Q13844]]||[[{{wikidata|label|linked|Q13844}}]]||{{wikidata|title|linked|Q13844}}
|-
|46||Maguindanao del Norte||[[:wikidata:Q114019739|Q114019739]]||[[{{wikidata|label|linked|Q114019739}}]]||{{wikidata|title|linked|Q114019739}}
|-
|47||Maguindanao del Sur||[[:wikidata:Q114019748|Q114019748]]||[[{{wikidata|label|linked|Q114019748}}]]||{{wikidata|title|linked|Q114019748}}
|-
|48||Marinduque||[[:wikidata:Q13846|Q13846]]||[[{{wikidata|label|linked|Q13846}}]]||{{wikidata|title|linked|Q13846}}
|-
|49||Masbate||[[:wikidata:Q13847|Q13847]]||[[{{wikidata|label|linked|Q13847}}]]||{{wikidata|title|linked|Q13847}}
|-
|50||Misamis Occidental||[[:wikidata:Q13857|Q13857]]||[[{{wikidata|label|linked|Q13857}}]]||{{wikidata|title|linked|Q13857}}
|-
|51||Misamis Oriental||[[:wikidata:Q13860|Q13860]]||[[{{wikidata|label|linked|Q13860}}]]||{{wikidata|title|linked|Q13860}}
|-
|52||Mountain Province||[[:wikidata:Q13861|Q13861]]||[[{{wikidata|label|linked|Q13861}}]]||{{wikidata|title|linked|Q13861}}
|-
|53||Negros Occidental||[[:wikidata:Q13862|Q13862]]||[[{{wikidata|label|linked|Q13862}}]]||{{wikidata|title|linked|Q13862}}
|-
|54||Negros Oriental||[[:wikidata:Q13863|Q13863]]||[[{{wikidata|label|linked|Q13863}}]]||{{wikidata|title|linked|Q13863}}
|-
|55||Northern Samar||[[:wikidata:Q13864|Q13864]]||[[{{wikidata|label|linked|Q13864}}]]||{{wikidata|title|linked|Q13864}}
|-
|56||Nueva Ecija||[[:wikidata:Q13865|Q13865]]||[[{{wikidata|label|linked|Q13865}}]]||{{wikidata|title|linked|Q13865}}
|-
|57||Nueva Vizcaya||[[:wikidata:Q13866|Q13866]]||[[{{wikidata|label|linked|Q13866}}]]||{{wikidata|title|linked|Q13866}}
|-
|58||Occidental Mindoro||[[:wikidata:Q13867|Q13867]]||[[{{wikidata|label|linked|Q13867}}]]||{{wikidata|title|linked|Q13867}}
|-
|59||Oriental Mindoro||[[:wikidata:Q13868|Q13868]]||[[{{wikidata|label|linked|Q13868}}]]||{{wikidata|title|linked|Q13868}}
|-
|60||Palawan||[[:wikidata:Q13869|Q13869]]||[[{{wikidata|label|linked|Q13869}}]]||{{wikidata|title|linked|Q13869}}
|-
|61||Pampanga||[[:wikidata:Q13870|Q13870]]||[[{{wikidata|label|linked|Q13870}}]]||{{wikidata|title|linked|Q13870}}
|-
|62||Pangasinan||[[:wikidata:Q13871|Q13871]]||[[{{wikidata|label|linked|Q13871}}]]||{{wikidata|title|linked|Q13871}}
|-
|63||Quezon||[[:wikidata:Q13872|Q13872]]||[[{{wikidata|label|linked|Q13872}}]]||{{wikidata|title|linked|Q13872}}
|-
|64||Quirino||[[:wikidata:Q13873|Q13873]]||[[{{wikidata|label|linked|Q13873}}]]||{{wikidata|title|linked|Q13873}}
|-
|65||Rizal||[[:wikidata:Q13874|Q13874]]||[[{{wikidata|label|linked|Q13874}}]]||{{wikidata|title|linked|Q13874}}
|-
|66||Romblon||[[:wikidata:Q13875|Q13875]]||[[{{wikidata|label|linked|Q13875}}]]||{{wikidata|title|linked|Q13875}}
|-
|67||Samar||[[:wikidata:Q13876|Q13876]]||[[{{wikidata|label|linked|Q13876}}]]||{{wikidata|title|linked|Q13876}}
|-
|68||Sarangani||[[:wikidata:Q13877|Q13877]]||[[{{wikidata|label|linked|Q13877}}]]||{{wikidata|title|linked|Q13877}}
|-
|69||Siquijor||[[:wikidata:Q13879|Q13879]]||[[{{wikidata|label|linked|Q13879}}]]||{{wikidata|title|linked|Q13879}}
|-
|70||Sorsogon||[[:wikidata:Q13881|Q13881]]||[[{{wikidata|label|linked|Q13881}}]]||{{wikidata|title|linked|Q13881}}
|-
|71||South Cotabato||[[:wikidata:Q13882|Q13882]]||[[{{wikidata|label|linked|Q13882}}]]||{{wikidata|title|linked|Q13882}}
|-
|72||Southern Leyte||[[:wikidata:Q13884|Q13884]]||[[{{wikidata|label|linked|Q13884}}]]||{{wikidata|title|linked|Q13884}}
|-
|73||Sultan Kudarat||[[:wikidata:Q13885|Q13885]]||[[{{wikidata|label|linked|Q13885}}]]||{{wikidata|title|linked|Q13885}}
|-
|74||Sulu||[[:wikidata:Q13887|Q13887]]||[[{{wikidata|label|linked|Q13887}}]]||{{wikidata|title|linked|Q13887}}
|-
|75||Surigao del Norte||[[:wikidata:Q13889|Q13889]]||[[{{wikidata|label|linked|Q13889}}]]||{{wikidata|title|linked|Q13889}}
|-
|76||Surigao del Sur||[[:wikidata:Q13891|Q13891]]||[[{{wikidata|label|linked|Q13891}}]]||{{wikidata|title|linked|Q13891}}
|-
|77||Tarlac||[[:wikidata:Q13892|Q13892]]||[[{{wikidata|label|linked|Q13892}}]]||{{wikidata|title|linked|Q13892}}
|-
|78||Tawi-Tawi||[[:wikidata:Q13893|Q13893]]||[[{{wikidata|label|linked|Q13893}}]]||{{wikidata|title|linked|Q13893}}
|-
|79||Zambales||[[:wikidata:Q13895|Q13895]]||[[{{wikidata|label|linked|Q13895}}]]||{{wikidata|title|linked|Q13895}}
|-
|80||Zamboanga del Norte||[[:wikidata:Q13899|Q13899]]||[[{{wikidata|label|linked|Q13899}}]]||{{wikidata|title|linked|Q13899}}
|-
|81||Zamboanga del Sur||[[:wikidata:Q13900|Q13900]]||[[{{wikidata|label|linked|Q13900}}]]||{{wikidata|title|linked|Q13900}}
|-
|82||Zamboanga Sibugay||[[:wikidata:Q13902|Q13902]]||[[{{wikidata|label|linked|Q13902}}]]||{{wikidata|title|linked|Q13902}}
|}
{| class="wikitable sortable" style="background-color:white;font-size:80%;line-height:1.40em;"
!No.!!LGU!!Wikidata link!!LGU1!!LGU2!!Province!!Type
|-
|1||Kadayangan||[[:wikidata:Q31508396|Q31508396]]||[[{{wikidata|label|linked|Q31508396}}]]||{{wikidata|title|linked|Q31508396}}||SGA||Bayan
|-
|2||Kapalawan||[[:wikidata:Q31508433|Q31508433]]||[[{{wikidata|label|linked|Q31508433}}]]||{{wikidata|title|linked|Q31508433}}||SGA||Bayan
|-
|3||Ligawasan||[[:wikidata:Q31508452|Q31508452]]||[[{{wikidata|label|linked|Q31508452}}]]||{{wikidata|title|linked|Q31508452}}||SGA||Bayan
|-
|4||Malidegao||[[:wikidata:Q31508472|Q31508472]]||[[{{wikidata|label|linked|Q31508472}}]]||{{wikidata|title|linked|Q31508472}}||SGA||Bayan
|-
|5||Nabalawag||[[:wikidata:Q31508492|Q31508492]]||[[{{wikidata|label|linked|Q31508492}}]]||{{wikidata|title|linked|Q31508492}}||SGA||Bayan
|-
|6||Old Kaabakan||[[:wikidata:Q31508510|Q31508510]]||[[{{wikidata|label|linked|Q31508510}}]]||{{wikidata|title|linked|Q31508510}}||SGA||Bayan
|-
|7||Pahamuddin||[[:wikidata:Q31508528|Q31508528]]||[[{{wikidata|label|linked|Q31508528}}]]||{{wikidata|title|linked|Q31508528}}||SGA||Bayan
|-
|8||Tugunan||[[:wikidata:Q31508546|Q31508546]]||[[{{wikidata|label|linked|Q31508546}}]]||{{wikidata|title|linked|Q31508546}}||SGA||Bayan
|-
|9||Bongao||[[:wikidata:Q155195|Q155195]]||[[{{wikidata|label|linked|Q155195}}]]||{{wikidata|title|linked|Q155195}}||Tawi-Tawi||Bayan
|-
|10||Languyan||[[:wikidata:Q155221|Q155221]]||[[{{wikidata|label|linked|Q155221}}]]||{{wikidata|title|linked|Q155221}}||Tawi-Tawi||Bayan
|-
|11||Mapun||[[:wikidata:Q155241|Q155241]]||[[{{wikidata|label|linked|Q155241}}]]||{{wikidata|title|linked|Q155241}}||Tawi-Tawi||Bayan
|-
|12||Panglima Sugala||[[:wikidata:Q155259|Q155259]]||[[{{wikidata|label|linked|Q155259}}]]||{{wikidata|title|linked|Q155259}}||Tawi-Tawi||Bayan
|-
|13||Sapa-Sapa||[[:wikidata:Q155274|Q155274]]||[[{{wikidata|label|linked|Q155274}}]]||{{wikidata|title|linked|Q155274}}||Tawi-Tawi||Bayan
|-
|14||Sibutu||[[:wikidata:Q155288|Q155288]]||[[{{wikidata|label|linked|Q155288}}]]||{{wikidata|title|linked|Q155288}}||Tawi-Tawi||Bayan
|-
|15||Simunul||[[:wikidata:Q155318|Q155318]]||[[{{wikidata|label|linked|Q155318}}]]||{{wikidata|title|linked|Q155318}}||Tawi-Tawi||Bayan
|-
|16||Sitangkai||[[:wikidata:Q155334|Q155334]]||[[{{wikidata|label|linked|Q155334}}]]||{{wikidata|title|linked|Q155334}}||Tawi-Tawi||Bayan
|-
|17||South Ubian||[[:wikidata:Q155355|Q155355]]||[[{{wikidata|label|linked|Q155355}}]]||{{wikidata|title|linked|Q155355}}||Tawi-Tawi||Bayan
|-
|18||Tandubas||[[:wikidata:Q155377|Q155377]]||[[{{wikidata|label|linked|Q155377}}]]||{{wikidata|title|linked|Q155377}}||Tawi-Tawi||Bayan
|-
|19||Turtle Islands||[[:wikidata:Q155396|Q155396]]||[[{{wikidata|label|linked|Q155396}}]]||{{wikidata|title|linked|Q155396}}||Tawi-Tawi||Bayan
|-
|20||Banguingui||[[:wikidata:Q155970|Q155970]]||[[{{wikidata|label|linked|Q155970}}]]||{{wikidata|title|linked|Q155970}}||Sulu||Bayan
|-
|21||Hadji Panglima Tahil||[[:wikidata:Q155983|Q155983]]||[[{{wikidata|label|linked|Q155983}}]]||{{wikidata|title|linked|Q155983}}||Sulu||Bayan
|-
|22||Indanan||[[:wikidata:Q156008|Q156008]]||[[{{wikidata|label|linked|Q156008}}]]||{{wikidata|title|linked|Q156008}}||Sulu||Bayan
|-
|23||Jolo||[[:wikidata:Q156024|Q156024]]||[[{{wikidata|label|linked|Q156024}}]]||{{wikidata|title|linked|Q156024}}||Sulu||Bayan
|-
|24||Kalingalan Caluang||[[:wikidata:Q156042|Q156042]]||[[{{wikidata|label|linked|Q156042}}]]||{{wikidata|title|linked|Q156042}}||Sulu||Bayan
|-
|25||Lugus||[[:wikidata:Q156055|Q156055]]||[[{{wikidata|label|linked|Q156055}}]]||{{wikidata|title|linked|Q156055}}||Sulu||Bayan
|-
|26||Luuk||[[:wikidata:Q156071|Q156071]]||[[{{wikidata|label|linked|Q156071}}]]||{{wikidata|title|linked|Q156071}}||Sulu||Bayan
|-
|27||Maimbung||[[:wikidata:Q156090|Q156090]]||[[{{wikidata|label|linked|Q156090}}]]||{{wikidata|title|linked|Q156090}}||Sulu||Bayan
|-
|28||Panamao||[[:wikidata:Q156107|Q156107]]||[[{{wikidata|label|linked|Q156107}}]]||{{wikidata|title|linked|Q156107}}||Sulu||Bayan
|-
|29||Omar||[[:wikidata:Q156126|Q156126]]||[[{{wikidata|label|linked|Q156126}}]]||{{wikidata|title|linked|Q156126}}||Sulu||Bayan
|-
|30||Pandami||[[:wikidata:Q156159|Q156159]]||[[{{wikidata|label|linked|Q156159}}]]||{{wikidata|title|linked|Q156159}}||Sulu||Bayan
|-
|31||Panglima Estino||[[:wikidata:Q156180|Q156180]]||[[{{wikidata|label|linked|Q156180}}]]||{{wikidata|title|linked|Q156180}}||Sulu||Bayan
|-
|32||Pangutaran||[[:wikidata:Q156195|Q156195]]||[[{{wikidata|label|linked|Q156195}}]]||{{wikidata|title|linked|Q156195}}||Sulu||Bayan
|-
|33||Parang||[[:wikidata:Q156208|Q156208]]||[[{{wikidata|label|linked|Q156208}}]]||{{wikidata|title|linked|Q156208}}||Sulu||Bayan
|-
|34||Pata||[[:wikidata:Q156225|Q156225]]||[[{{wikidata|label|linked|Q156225}}]]||{{wikidata|title|linked|Q156225}}||Sulu||Bayan
|-
|35||Patikul||[[:wikidata:Q156244|Q156244]]||[[{{wikidata|label|linked|Q156244}}]]||{{wikidata|title|linked|Q156244}}||Sulu||Bayan
|-
|36||Siasi||[[:wikidata:Q156263|Q156263]]||[[{{wikidata|label|linked|Q156263}}]]||{{wikidata|title|linked|Q156263}}||Sulu||Bayan
|-
|37||Talipao||[[:wikidata:Q156285|Q156285]]||[[{{wikidata|label|linked|Q156285}}]]||{{wikidata|title|linked|Q156285}}||Sulu||Bayan
|-
|38||Tapul||[[:wikidata:Q156302|Q156302]]||[[{{wikidata|label|linked|Q156302}}]]||{{wikidata|title|linked|Q156302}}||Sulu||Bayan
|-
|39||Ampatuan||[[:wikidata:Q212222|Q212222]]||[[{{wikidata|label|linked|Q212222}}]]||{{wikidata|title|linked|Q212222}}||Maguindanao del Sur||Bayan
|-
|40||Buluan||[[:wikidata:Q212280|Q212280]]||[[{{wikidata|label|linked|Q212280}}]]||{{wikidata|title|linked|Q212280}}||Maguindanao del Sur||Bayan
|-
|41||Datu Abdullah Sangki||[[:wikidata:Q212310|Q212310]]||[[{{wikidata|label|linked|Q212310}}]]||{{wikidata|title|linked|Q212310}}||Maguindanao del Sur||Bayan
|-
|42||Datu Anggal Midtimbang||[[:wikidata:Q212336|Q212336]]||[[{{wikidata|label|linked|Q212336}}]]||{{wikidata|title|linked|Q212336}}||Maguindanao del Sur||Bayan
|-
|43||Datu Hoffer Ampatuan||[[:wikidata:Q212389|Q212389]]||[[{{wikidata|label|linked|Q212389}}]]||{{wikidata|title|linked|Q212389}}||Maguindanao del Sur||Bayan
|-
|44||Datu Montawal||[[:wikidata:Q212411|Q212411]]||[[{{wikidata|label|linked|Q212411}}]]||{{wikidata|title|linked|Q212411}}||Maguindanao del Sur||Bayan
|-
|45||Datu Odin Sinsuat||[[:wikidata:Q212432|Q212432]]||[[{{wikidata|label|linked|Q212432}}]]||{{wikidata|title|linked|Q212432}}||Maguindanao del Sur||Bayan
|-
|46||Datu Paglas||[[:wikidata:Q212463|Q212463]]||[[{{wikidata|label|linked|Q212463}}]]||{{wikidata|title|linked|Q212463}}||Maguindanao del Sur||Bayan
|-
|47||Datu Piang||[[:wikidata:Q212488|Q212488]]||[[{{wikidata|label|linked|Q212488}}]]||{{wikidata|title|linked|Q212488}}||Maguindanao del Sur||Bayan
|-
|48||Datu Salibo||[[:wikidata:Q212503|Q212503]]||[[{{wikidata|label|linked|Q212503}}]]||{{wikidata|title|linked|Q212503}}||Maguindanao del Sur||Bayan
|-
|49||Datu Saudi Ampatuan||[[:wikidata:Q212519|Q212519]]||[[{{wikidata|label|linked|Q212519}}]]||{{wikidata|title|linked|Q212519}}||Maguindanao del Sur||Bayan
|-
|50||Datu Unsay||[[:wikidata:Q212537|Q212537]]||[[{{wikidata|label|linked|Q212537}}]]||{{wikidata|title|linked|Q212537}}||Maguindanao del Sur||Bayan
|-
|51||General Salipada K. Pendatun||[[:wikidata:Q212557|Q212557]]||[[{{wikidata|label|linked|Q212557}}]]||{{wikidata|title|linked|Q212557}}||Maguindanao del Sur||Bayan
|-
|52||Guindulungan||[[:wikidata:Q212581|Q212581]]||[[{{wikidata|label|linked|Q212581}}]]||{{wikidata|title|linked|Q212581}}||Maguindanao del Sur||Bayan
|-
|53||Mamasapano||[[:wikidata:Q212623|Q212623]]||[[{{wikidata|label|linked|Q212623}}]]||{{wikidata|title|linked|Q212623}}||Maguindanao del Sur||Bayan
|-
|54||Mangudadatu||[[:wikidata:Q212644|Q212644]]||[[{{wikidata|label|linked|Q212644}}]]||{{wikidata|title|linked|Q212644}}||Maguindanao del Sur||Bayan
|-
|55||Pagalungan||[[:wikidata:Q212707|Q212707]]||[[{{wikidata|label|linked|Q212707}}]]||{{wikidata|title|linked|Q212707}}||Maguindanao del Sur||Bayan
|-
|56||Paglat||[[:wikidata:Q122827|Q122827]]||[[{{wikidata|label|linked|Q122827}}]]||{{wikidata|title|linked|Q122827}}||Maguindanao del Sur||Bayan
|-
|57||Pandag||[[:wikidata:Q212735|Q212735]]||[[{{wikidata|label|linked|Q212735}}]]||{{wikidata|title|linked|Q212735}}||Maguindanao del Sur||Bayan
|-
|58||Rajah Buayan||[[:wikidata:Q212759|Q212759]]||[[{{wikidata|label|linked|Q212759}}]]||{{wikidata|title|linked|Q212759}}||Maguindanao del Sur||Bayan
|-
|59||Shariff Aguak||[[:wikidata:Q212766|Q212766]]||[[{{wikidata|label|linked|Q212766}}]]||{{wikidata|title|linked|Q212766}}||Maguindanao del Sur||Bayan
|-
|60||Shariff Saydona Mustapha||[[:wikidata:Q212778|Q212778]]||[[{{wikidata|label|linked|Q212778}}]]||{{wikidata|title|linked|Q212778}}||Maguindanao del Sur||Bayan
|-
|61||South Upi||[[:wikidata:Q212784|Q212784]]||[[{{wikidata|label|linked|Q212784}}]]||{{wikidata|title|linked|Q212784}}||Maguindanao del Sur||Bayan
|-
|62||Sultan sa Barongis||[[:wikidata:Q212808|Q212808]]||[[{{wikidata|label|linked|Q212808}}]]||{{wikidata|title|linked|Q212808}}||Maguindanao del Sur||Bayan
|-
|63||Talayan||[[:wikidata:Q212823|Q212823]]||[[{{wikidata|label|linked|Q212823}}]]||{{wikidata|title|linked|Q212823}}||Maguindanao del Sur||Bayan
|-
|64||Upi||[[:wikidata:Q212843|Q212843]]||[[{{wikidata|label|linked|Q212843}}]]||{{wikidata|title|linked|Q212843}}||Maguindanao del Sur||Bayan
|-
|65||Barira||[[:wikidata:Q212240|Q212240]]||[[{{wikidata|label|linked|Q212240}}]]||{{wikidata|title|linked|Q212240}}||Maguindanao del Norte||Bayan
|-
|66||Buldon||[[:wikidata:Q212255|Q212255]]||[[{{wikidata|label|linked|Q212255}}]]||{{wikidata|title|linked|Q212255}}||Maguindanao del Norte||Bayan
|-
|67||Cotabato City||[[:wikidata:Q726993|Q726993]]||[[{{wikidata|label|linked|Q726993}}]]||{{wikidata|title|linked|Q726993}}||Maguindanao del Norte||Lungsod
|-
|68||Datu Blah T. Sinsuat||[[:wikidata:Q212366|Q212366]]||[[{{wikidata|label|linked|Q212366}}]]||{{wikidata|title|linked|Q212366}}||Maguindanao del Norte||Bayan
|-
|69||Kabuntalan||[[:wikidata:Q212603|Q212603]]||[[{{wikidata|label|linked|Q212603}}]]||{{wikidata|title|linked|Q212603}}||Maguindanao del Norte||Bayan
|-
|70||Matanog||[[:wikidata:Q212662|Q212662]]||[[{{wikidata|label|linked|Q212662}}]]||{{wikidata|title|linked|Q212662}}||Maguindanao del Norte||Bayan
|-
|71||Northern Kabuntalan||[[:wikidata:Q212684|Q212684]]||[[{{wikidata|label|linked|Q212684}}]]||{{wikidata|title|linked|Q212684}}||Maguindanao del Norte||Bayan
|-
|72||Parang||[[:wikidata:Q212748|Q212748]]||[[{{wikidata|label|linked|Q212748}}]]||{{wikidata|title|linked|Q212748}}||Maguindanao del Norte||Bayan
|-
|73||Sultan Kudarat||[[:wikidata:Q212791|Q212791]]||[[{{wikidata|label|linked|Q212791}}]]||{{wikidata|title|linked|Q212791}}||Maguindanao del Norte||Bayan
|-
|74||Sultan Mastura||[[:wikidata:Q212802|Q212802]]||[[{{wikidata|label|linked|Q212802}}]]||{{wikidata|title|linked|Q212802}}||Maguindanao del Norte||Bayan
|-
|75||Talitay||[[:wikidata:Q212830|Q212830]]||[[{{wikidata|label|linked|Q212830}}]]||{{wikidata|title|linked|Q212830}}||Maguindanao del Norte||Bayan
|-
|76||Amai Manabilang||[[:wikidata:Q273775|Q273775]]||[[{{wikidata|label|linked|Q273775}}]]||{{wikidata|title|linked|Q273775}}||Lanao del Sur||Bayan
|-
|77||Bacolod-Kalawi||[[:wikidata:Q273657|Q273657]]||[[{{wikidata|label|linked|Q273657}}]]||{{wikidata|title|linked|Q273657}}||Lanao del Sur||Bayan
|-
|78||Balabagan||[[:wikidata:Q273680|Q273680]]||[[{{wikidata|label|linked|Q273680}}]]||{{wikidata|title|linked|Q273680}}||Lanao del Sur||Bayan
|-
|79||Balindong||[[:wikidata:Q273700|Q273700]]||[[{{wikidata|label|linked|Q273700}}]]||{{wikidata|title|linked|Q273700}}||Lanao del Sur||Bayan
|-
|80||Bayang||[[:wikidata:Q273718|Q273718]]||[[{{wikidata|label|linked|Q273718}}]]||{{wikidata|title|linked|Q273718}}||Lanao del Sur||Bayan
|-
|81||Binidayan||[[:wikidata:Q273728|Q273728]]||[[{{wikidata|label|linked|Q273728}}]]||{{wikidata|title|linked|Q273728}}||Lanao del Sur||Bayan
|-
|82||Buadiposo-Buntong||[[:wikidata:Q273744|Q273744]]||[[{{wikidata|label|linked|Q273744}}]]||{{wikidata|title|linked|Q273744}}||Lanao del Sur||Bayan
|-
|83||Bubong||[[:wikidata:Q273757|Q273757]]||[[{{wikidata|label|linked|Q273757}}]]||{{wikidata|title|linked|Q273757}}||Lanao del Sur||Bayan
|-
|84||Butig||[[:wikidata:Q273796|Q273796]]||[[{{wikidata|label|linked|Q273796}}]]||{{wikidata|title|linked|Q273796}}||Lanao del Sur||Bayan
|-
|85||Calanogas||[[:wikidata:Q273813|Q273813]]||[[{{wikidata|label|linked|Q273813}}]]||{{wikidata|title|linked|Q273813}}||Lanao del Sur||Bayan
|-
|86||Ditsaan-Ramain||[[:wikidata:Q273828|Q273828]]||[[{{wikidata|label|linked|Q273828}}]]||{{wikidata|title|linked|Q273828}}||Lanao del Sur||Bayan
|-
|87||Ganassi||[[:wikidata:Q273851|Q273851]]||[[{{wikidata|label|linked|Q273851}}]]||{{wikidata|title|linked|Q273851}}||Lanao del Sur||Bayan
|-
|88||Kapai||[[:wikidata:Q273864|Q273864]]||[[{{wikidata|label|linked|Q273864}}]]||{{wikidata|title|linked|Q273864}}||Lanao del Sur||Bayan
|-
|89||Kapatagan||[[:wikidata:Q273882|Q273882]]||[[{{wikidata|label|linked|Q273882}}]]||{{wikidata|title|linked|Q273882}}||Lanao del Sur||Bayan
|-
|90||Lumba-Bayabao||[[:wikidata:Q273895|Q273895]]||[[{{wikidata|label|linked|Q273895}}]]||{{wikidata|title|linked|Q273895}}||Lanao del Sur||Bayan
|-
|91||Lumbaca-Unayan||[[:wikidata:Q273906|Q273906]]||[[{{wikidata|label|linked|Q273906}}]]||{{wikidata|title|linked|Q273906}}||Lanao del Sur||Bayan
|-
|92||Lumbatan||[[:wikidata:Q273915|Q273915]]||[[{{wikidata|label|linked|Q273915}}]]||{{wikidata|title|linked|Q273915}}||Lanao del Sur||Bayan
|-
|93||Lumbayanague||[[:wikidata:Q273928|Q273928]]||[[{{wikidata|label|linked|Q273928}}]]||{{wikidata|title|linked|Q273928}}||Lanao del Sur||Bayan
|-
|94||Madalum||[[:wikidata:Q273939|Q273939]]||[[{{wikidata|label|linked|Q273939}}]]||{{wikidata|title|linked|Q273939}}||Lanao del Sur||Bayan
|-
|95||Madamba||[[:wikidata:Q273948|Q273948]]||[[{{wikidata|label|linked|Q273948}}]]||{{wikidata|title|linked|Q273948}}||Lanao del Sur||Bayan
|-
|96||Maguing||[[:wikidata:Q273960|Q273960]]||[[{{wikidata|label|linked|Q273960}}]]||{{wikidata|title|linked|Q273960}}||Lanao del Sur||Bayan
|-
|97||Malabang||[[:wikidata:Q273970|Q273970]]||[[{{wikidata|label|linked|Q273970}}]]||{{wikidata|title|linked|Q273970}}||Lanao del Sur||Bayan
|-
|98||Marantao||[[:wikidata:Q273982|Q273982]]||[[{{wikidata|label|linked|Q273982}}]]||{{wikidata|title|linked|Q273982}}||Lanao del Sur||Bayan
|-
|99||Marawi||[[:wikidata:Q592338|Q592338]]||[[{{wikidata|label|linked|Q592338}}]]||{{wikidata|title|linked|Q592338}}||Lanao del Sur||Lungsod
|-
|100||Marogong||[[:wikidata:Q273988|Q273988]]||[[{{wikidata|label|linked|Q273988}}]]||{{wikidata|title|linked|Q273988}}||Lanao del Sur||Bayan
|-
|101||Masiu||[[:wikidata:Q273998|Q273998]]||[[{{wikidata|label|linked|Q273998}}]]||{{wikidata|title|linked|Q273998}}||Lanao del Sur||Bayan
|-
|102||Mulondo||[[:wikidata:Q177004|Q177004]]||[[{{wikidata|label|linked|Q177004}}]]||{{wikidata|title|linked|Q177004}}||Lanao del Sur||Bayan
|-
|103||Pagayawan||[[:wikidata:Q274015|Q274015]]||[[{{wikidata|label|linked|Q274015}}]]||{{wikidata|title|linked|Q274015}}||Lanao del Sur||Bayan
|-
|104||Piagapo||[[:wikidata:Q274022|Q274022]]||[[{{wikidata|label|linked|Q274022}}]]||{{wikidata|title|linked|Q274022}}||Lanao del Sur||Bayan
|-
|105||Picong||[[:wikidata:Q274031|Q274031]]||[[{{wikidata|label|linked|Q274031}}]]||{{wikidata|title|linked|Q274031}}||Lanao del Sur||Bayan
|-
|106||Poona Bayabao||[[:wikidata:Q274037|Q274037]]||[[{{wikidata|label|linked|Q274037}}]]||{{wikidata|title|linked|Q274037}}||Lanao del Sur||Bayan
|-
|107||Pualas||[[:wikidata:Q274047|Q274047]]||[[{{wikidata|label|linked|Q274047}}]]||{{wikidata|title|linked|Q274047}}||Lanao del Sur||Bayan
|-
|108||Saguiaran||[[:wikidata:Q274057|Q274057]]||[[{{wikidata|label|linked|Q274057}}]]||{{wikidata|title|linked|Q274057}}||Lanao del Sur||Bayan
|-
|109||Sultan Dumalondong||[[:wikidata:Q126297|Q126297]]||[[{{wikidata|label|linked|Q126297}}]]||{{wikidata|title|linked|Q126297}}||Lanao del Sur||Bayan
|-
|110||Tagoloan||[[:wikidata:Q274077|Q274077]]||[[{{wikidata|label|linked|Q274077}}]]||{{wikidata|title|linked|Q274077}}||Lanao del Sur||Bayan
|-
|111||Tamparan||[[:wikidata:Q274087|Q274087]]||[[{{wikidata|label|linked|Q274087}}]]||{{wikidata|title|linked|Q274087}}||Lanao del Sur||Bayan
|-
|112||Taraka||[[:wikidata:Q274097|Q274097]]||[[{{wikidata|label|linked|Q274097}}]]||{{wikidata|title|linked|Q274097}}||Lanao del Sur||Bayan
|-
|113||Tubaran||[[:wikidata:Q274114|Q274114]]||[[{{wikidata|label|linked|Q274114}}]]||{{wikidata|title|linked|Q274114}}||Lanao del Sur||Bayan
|-
|114||Tugaya||[[:wikidata:Q274124|Q274124]]||[[{{wikidata|label|linked|Q274124}}]]||{{wikidata|title|linked|Q274124}}||Lanao del Sur||Bayan
|-
|115||Wao||[[:wikidata:Q274134|Q274134]]||[[{{wikidata|label|linked|Q274134}}]]||{{wikidata|title|linked|Q274134}}||Lanao del Sur||Bayan
|-
|116||Akbar||[[:wikidata:Q42589|Q42589]]||[[{{wikidata|label|linked|Q42589}}]]||{{wikidata|title|linked|Q42589}}||Basilan||Bayan
|-
|117||Al-Barka||[[:wikidata:Q41999|Q41999]]||[[{{wikidata|label|linked|Q41999}}]]||{{wikidata|title|linked|Q41999}}||Basilan||Bayan
|-
|118||Hadji Mohammad Ajul||[[:wikidata:Q41998|Q41998]]||[[{{wikidata|label|linked|Q41998}}]]||{{wikidata|title|linked|Q41998}}||Basilan||Bayan
|-
|119||Hadji Muhtamad||[[:wikidata:Q802075|Q802075]]||[[{{wikidata|label|linked|Q802075}}]]||{{wikidata|title|linked|Q802075}}||Basilan||Bayan
|-
|120||Isabela||[[:wikidata:Q1710|Q1710]]||[[{{wikidata|label|linked|Q1710}}]]||{{wikidata|title|linked|Q1710}}||Basilan||Lungsod
|-
|121||Lamitan||[[:wikidata:Q1714|Q1714]]||[[{{wikidata|label|linked|Q1714}}]]||{{wikidata|title|linked|Q1714}}||Basilan||Lungsod
|-
|122||Lantawan||[[:wikidata:Q802107|Q802107]]||[[{{wikidata|label|linked|Q802107}}]]||{{wikidata|title|linked|Q802107}}||Basilan||Bayan
|-
|123||Maluso||[[:wikidata:Q802142|Q802142]]||[[{{wikidata|label|linked|Q802142}}]]||{{wikidata|title|linked|Q802142}}||Basilan||Bayan
|-
|124||Sumisip||[[:wikidata:Q802171|Q802171]]||[[{{wikidata|label|linked|Q802171}}]]||{{wikidata|title|linked|Q802171}}||Basilan||Bayan
|-
|125||Tabuan-Lasa||[[:wikidata:Q802202|Q802202]]||[[{{wikidata|label|linked|Q802202}}]]||{{wikidata|title|linked|Q802202}}||Basilan||Bayan
|-
|126||Tipo-Tipo||[[:wikidata:Q667595|Q667595]]||[[{{wikidata|label|linked|Q667595}}]]||{{wikidata|title|linked|Q667595}}||Basilan||Bayan
|-
|127||Tuburan||[[:wikidata:Q630096|Q630096]]||[[{{wikidata|label|linked|Q630096}}]]||{{wikidata|title|linked|Q630096}}||Basilan||Bayan
|-
|128||Ungkaya Pukan||[[:wikidata:Q204771|Q204771]]||[[{{wikidata|label|linked|Q204771}}]]||{{wikidata|title|linked|Q204771}}||Basilan||Bayan
|-
|129||Bagumbayan||[[:wikidata:Q173393|Q173393]]||[[{{wikidata|label|linked|Q173393}}]]||{{wikidata|title|linked|Q173393}}||Sultan Kudarat||Bayan
|-
|130||Columbio||[[:wikidata:Q173404|Q173404]]||[[{{wikidata|label|linked|Q173404}}]]||{{wikidata|title|linked|Q173404}}||Sultan Kudarat||Bayan
|-
|131||Esperanza||[[:wikidata:Q173414|Q173414]]||[[{{wikidata|label|linked|Q173414}}]]||{{wikidata|title|linked|Q173414}}||Sultan Kudarat||Bayan
|-
|132||Isulan||[[:wikidata:Q173428|Q173428]]||[[{{wikidata|label|linked|Q173428}}]]||{{wikidata|title|linked|Q173428}}||Sultan Kudarat||Bayan
|-
|133||Kalamansig||[[:wikidata:Q173438|Q173438]]||[[{{wikidata|label|linked|Q173438}}]]||{{wikidata|title|linked|Q173438}}||Sultan Kudarat||Bayan
|-
|134||Lambayong||[[:wikidata:Q173449|Q173449]]||[[{{wikidata|label|linked|Q173449}}]]||{{wikidata|title|linked|Q173449}}||Sultan Kudarat||Bayan
|-
|135||Lebak||[[:wikidata:Q173460|Q173460]]||[[{{wikidata|label|linked|Q173460}}]]||{{wikidata|title|linked|Q173460}}||Sultan Kudarat||Bayan
|-
|136||Lutayan||[[:wikidata:Q173468|Q173468]]||[[{{wikidata|label|linked|Q173468}}]]||{{wikidata|title|linked|Q173468}}||Sultan Kudarat||Bayan
|-
|137||Palimbang||[[:wikidata:Q173479|Q173479]]||[[{{wikidata|label|linked|Q173479}}]]||{{wikidata|title|linked|Q173479}}||Sultan Kudarat||Bayan
|-
|138||President Quirino||[[:wikidata:Q137813|Q137813]]||[[{{wikidata|label|linked|Q137813}}]]||{{wikidata|title|linked|Q137813}}||Sultan Kudarat||Bayan
|-
|139||Senator Ninoy Aquino||[[:wikidata:Q173556|Q173556]]||[[{{wikidata|label|linked|Q173556}}]]||{{wikidata|title|linked|Q173556}}||Sultan Kudarat||Bayan
|-
|140||Tacurong||[[:wikidata:Q173575|Q173575]]||[[{{wikidata|label|linked|Q173575}}]]||{{wikidata|title|linked|Q173575}}||Sultan Kudarat||Lungsod
|-
|141||Banga||[[:wikidata:Q173870|Q173870]]||[[{{wikidata|label|linked|Q173870}}]]||{{wikidata|title|linked|Q173870}}||South Cotabato||Bayan
|-
|142||General Santos||[[:wikidata:Q594275|Q594275]]||[[{{wikidata|label|linked|Q594275}}]]||{{wikidata|title|linked|Q594275}}||South Cotabato||Lungsod
|-
|143||Koronadal||[[:wikidata:Q542154|Q542154]]||[[{{wikidata|label|linked|Q542154}}]]||{{wikidata|title|linked|Q542154}}||South Cotabato||Lungsod
|-
|144||Lake Sebu||[[:wikidata:Q173898|Q173898]]||[[{{wikidata|label|linked|Q173898}}]]||{{wikidata|title|linked|Q173898}}||South Cotabato||Bayan
|-
|145||Norala||[[:wikidata:Q173922|Q173922]]||[[{{wikidata|label|linked|Q173922}}]]||{{wikidata|title|linked|Q173922}}||South Cotabato||Bayan
|-
|146||Polomolok||[[:wikidata:Q173944|Q173944]]||[[{{wikidata|label|linked|Q173944}}]]||{{wikidata|title|linked|Q173944}}||South Cotabato||Bayan
|-
|147||Santo Niño||[[:wikidata:Q173965|Q173965]]||[[{{wikidata|label|linked|Q173965}}]]||{{wikidata|title|linked|Q173965}}||South Cotabato||Bayan
|-
|148||Surallah||[[:wikidata:Q173986|Q173986]]||[[{{wikidata|label|linked|Q173986}}]]||{{wikidata|title|linked|Q173986}}||South Cotabato||Bayan
|-
|149||T'Boli||[[:wikidata:Q174003|Q174003]]||[[{{wikidata|label|linked|Q174003}}]]||{{wikidata|title|linked|Q174003}}||South Cotabato||Bayan
|-
|150||Tampakan||[[:wikidata:Q174018|Q174018]]||[[{{wikidata|label|linked|Q174018}}]]||{{wikidata|title|linked|Q174018}}||South Cotabato||Bayan
|-
|151||Tantangan||[[:wikidata:Q174039|Q174039]]||[[{{wikidata|label|linked|Q174039}}]]||{{wikidata|title|linked|Q174039}}||South Cotabato||Bayan
|-
|152||Tupi||[[:wikidata:Q174055|Q174055]]||[[{{wikidata|label|linked|Q174055}}]]||{{wikidata|title|linked|Q174055}}||South Cotabato||Bayan
|-
|153||Alabel||[[:wikidata:Q174393|Q174393]]||[[{{wikidata|label|linked|Q174393}}]]||{{wikidata|title|linked|Q174393}}||Sarangani||Bayan
|-
|154||Glan||[[:wikidata:Q174403|Q174403]]||[[{{wikidata|label|linked|Q174403}}]]||{{wikidata|title|linked|Q174403}}||Sarangani||Bayan
|-
|155||Kiamba||[[:wikidata:Q174417|Q174417]]||[[{{wikidata|label|linked|Q174417}}]]||{{wikidata|title|linked|Q174417}}||Sarangani||Bayan
|-
|156||Maasim||[[:wikidata:Q174429|Q174429]]||[[{{wikidata|label|linked|Q174429}}]]||{{wikidata|title|linked|Q174429}}||Sarangani||Bayan
|-
|157||Maitum||[[:wikidata:Q174442|Q174442]]||[[{{wikidata|label|linked|Q174442}}]]||{{wikidata|title|linked|Q174442}}||Sarangani||Bayan
|-
|158||Malapatan||[[:wikidata:Q174457|Q174457]]||[[{{wikidata|label|linked|Q174457}}]]||{{wikidata|title|linked|Q174457}}||Sarangani||Bayan
|-
|159||Malungon||[[:wikidata:Q174468|Q174468]]||[[{{wikidata|label|linked|Q174468}}]]||{{wikidata|title|linked|Q174468}}||Sarangani||Bayan
|-
|160||Alamada||[[:wikidata:Q315042|Q315042]]||[[{{wikidata|label|linked|Q315042}}]]||{{wikidata|title|linked|Q315042}}||Cotabato||Bayan
|-
|161||Aleosan||[[:wikidata:Q315061|Q315061]]||[[{{wikidata|label|linked|Q315061}}]]||{{wikidata|title|linked|Q315061}}||Cotabato||Bayan
|-
|162||Antipas||[[:wikidata:Q315081|Q315081]]||[[{{wikidata|label|linked|Q315081}}]]||{{wikidata|title|linked|Q315081}}||Cotabato||Bayan
|-
|163||Arakan||[[:wikidata:Q315098|Q315098]]||[[{{wikidata|label|linked|Q315098}}]]||{{wikidata|title|linked|Q315098}}||Cotabato||Bayan
|-
|164||Banisilan||[[:wikidata:Q315121|Q315121]]||[[{{wikidata|label|linked|Q315121}}]]||{{wikidata|title|linked|Q315121}}||Cotabato||Bayan
|-
|165||Carmen||[[:wikidata:Q315144|Q315144]]||[[{{wikidata|label|linked|Q315144}}]]||{{wikidata|title|linked|Q315144}}||Cotabato||Bayan
|-
|166||Kabacan||[[:wikidata:Q315164|Q315164]]||[[{{wikidata|label|linked|Q315164}}]]||{{wikidata|title|linked|Q315164}}||Cotabato||Bayan
|-
|167||Kidapawan||[[:wikidata:Q583137|Q583137]]||[[{{wikidata|label|linked|Q583137}}]]||{{wikidata|title|linked|Q583137}}||Cotabato||Lungsod
|-
|168||Libungan||[[:wikidata:Q315190|Q315190]]||[[{{wikidata|label|linked|Q315190}}]]||{{wikidata|title|linked|Q315190}}||Cotabato||Bayan
|-
|169||M'lang||[[:wikidata:Q315213|Q315213]]||[[{{wikidata|label|linked|Q315213}}]]||{{wikidata|title|linked|Q315213}}||Cotabato||Bayan
|-
|170||Magpet||[[:wikidata:Q267975|Q267975]]||[[{{wikidata|label|linked|Q267975}}]]||{{wikidata|title|linked|Q267975}}||Cotabato||Bayan
|-
|171||Makilala||[[:wikidata:Q315244|Q315244]]||[[{{wikidata|label|linked|Q315244}}]]||{{wikidata|title|linked|Q315244}}||Cotabato||Bayan
|-
|172||Matalam||[[:wikidata:Q315267|Q315267]]||[[{{wikidata|label|linked|Q315267}}]]||{{wikidata|title|linked|Q315267}}||Cotabato||Bayan
|-
|173||Midsayap||[[:wikidata:Q315283|Q315283]]||[[{{wikidata|label|linked|Q315283}}]]||{{wikidata|title|linked|Q315283}}||Cotabato||Bayan
|-
|174||Pigcawayan||[[:wikidata:Q304654|Q304654]]||[[{{wikidata|label|linked|Q304654}}]]||{{wikidata|title|linked|Q304654}}||Cotabato||Bayan
|-
|175||Pikit||[[:wikidata:Q315314|Q315314]]||[[{{wikidata|label|linked|Q315314}}]]||{{wikidata|title|linked|Q315314}}||Cotabato||Bayan
|-
|176||President Roxas||[[:wikidata:Q315334|Q315334]]||[[{{wikidata|label|linked|Q315334}}]]||{{wikidata|title|linked|Q315334}}||Cotabato||Bayan
|-
|177||Tulunan||[[:wikidata:Q315345|Q315345]]||[[{{wikidata|label|linked|Q315345}}]]||{{wikidata|title|linked|Q315345}}||Cotabato||Bayan
|-
|178||Baganga||[[:wikidata:Q314522|Q314522]]||[[{{wikidata|label|linked|Q314522}}]]||{{wikidata|title|linked|Q314522}}||Davao Oriental||Bayan
|-
|179||Banaybanay||[[:wikidata:Q314542|Q314542]]||[[{{wikidata|label|linked|Q314542}}]]||{{wikidata|title|linked|Q314542}}||Davao Oriental||Bayan
|-
|180||Boston||[[:wikidata:Q314574|Q314574]]||[[{{wikidata|label|linked|Q314574}}]]||{{wikidata|title|linked|Q314574}}||Davao Oriental||Bayan
|-
|181||Caraga||[[:wikidata:Q314593|Q314593]]||[[{{wikidata|label|linked|Q314593}}]]||{{wikidata|title|linked|Q314593}}||Davao Oriental||Bayan
|-
|182||Cateel||[[:wikidata:Q314619|Q314619]]||[[{{wikidata|label|linked|Q314619}}]]||{{wikidata|title|linked|Q314619}}||Davao Oriental||Bayan
|-
|183||Governor Generoso||[[:wikidata:Q314632|Q314632]]||[[{{wikidata|label|linked|Q314632}}]]||{{wikidata|title|linked|Q314632}}||Davao Oriental||Bayan
|-
|184||Lupon||[[:wikidata:Q314653|Q314653]]||[[{{wikidata|label|linked|Q314653}}]]||{{wikidata|title|linked|Q314653}}||Davao Oriental||Bayan
|-
|185||Manay||[[:wikidata:Q314671|Q314671]]||[[{{wikidata|label|linked|Q314671}}]]||{{wikidata|title|linked|Q314671}}||Davao Oriental||Bayan
|-
|186||Mati||[[:wikidata:Q314686|Q314686]]||[[{{wikidata|label|linked|Q314686}}]]||{{wikidata|title|linked|Q314686}}||Davao Oriental||Lungsod
|-
|187||San Isidro||[[:wikidata:Q314721|Q314721]]||[[{{wikidata|label|linked|Q314721}}]]||{{wikidata|title|linked|Q314721}}||Davao Oriental||Bayan
|-
|188||Tarragona||[[:wikidata:Q314745|Q314745]]||[[{{wikidata|label|linked|Q314745}}]]||{{wikidata|title|linked|Q314745}}||Davao Oriental||Bayan
|-
|189||Don Marcelino||[[:wikidata:Q314796|Q314796]]||[[{{wikidata|label|linked|Q314796}}]]||{{wikidata|title|linked|Q314796}}||Davao Occidental||Bayan
|-
|190||Jose Abad Santos||[[:wikidata:Q314824|Q314824]]||[[{{wikidata|label|linked|Q314824}}]]||{{wikidata|title|linked|Q314824}}||Davao Occidental||Bayan
|-
|191||Malita||[[:wikidata:Q314907|Q314907]]||[[{{wikidata|label|linked|Q314907}}]]||{{wikidata|title|linked|Q314907}}||Davao Occidental||Bayan
|-
|192||Santa Maria||[[:wikidata:Q314980|Q314980]]||[[{{wikidata|label|linked|Q314980}}]]||{{wikidata|title|linked|Q314980}}||Davao Occidental||Bayan
|-
|193||Sarangani||[[:wikidata:Q314999|Q314999]]||[[{{wikidata|label|linked|Q314999}}]]||{{wikidata|title|linked|Q314999}}||Davao Occidental||Bayan
|-
|194||Bansalan||[[:wikidata:Q314778|Q314778]]||[[{{wikidata|label|linked|Q314778}}]]||{{wikidata|title|linked|Q314778}}||Davao del Sur||Bayan
|-
|195||Davao City||[[:wikidata:Q1473|Q1473]]||[[{{wikidata|label|linked|Q1473}}]]||{{wikidata|title|linked|Q1473}}||Davao del Sur||Lungsod
|-
|196||Digos||[[:wikidata:Q1020939|Q1020939]]||[[{{wikidata|label|linked|Q1020939}}]]||{{wikidata|title|linked|Q1020939}}||Davao del Sur||Lungsod
|-
|197||Hagonoy||[[:wikidata:Q314808|Q314808]]||[[{{wikidata|label|linked|Q314808}}]]||{{wikidata|title|linked|Q314808}}||Davao del Sur||Bayan
|-
|198||Kiblawan||[[:wikidata:Q314844|Q314844]]||[[{{wikidata|label|linked|Q314844}}]]||{{wikidata|title|linked|Q314844}}||Davao del Sur||Bayan
|-
|199||Magsaysay||[[:wikidata:Q314864|Q314864]]||[[{{wikidata|label|linked|Q314864}}]]||{{wikidata|title|linked|Q314864}}||Davao del Sur||Bayan
|-
|200||Malalag||[[:wikidata:Q314885|Q314885]]||[[{{wikidata|label|linked|Q314885}}]]||{{wikidata|title|linked|Q314885}}||Davao del Sur||Bayan
|-
|201||Matanao||[[:wikidata:Q314923|Q314923]]||[[{{wikidata|label|linked|Q314923}}]]||{{wikidata|title|linked|Q314923}}||Davao del Sur||Bayan
|-
|202||Padada||[[:wikidata:Q314944|Q314944]]||[[{{wikidata|label|linked|Q314944}}]]||{{wikidata|title|linked|Q314944}}||Davao del Sur||Bayan
|-
|203||Santa Cruz||[[:wikidata:Q314965|Q314965]]||[[{{wikidata|label|linked|Q314965}}]]||{{wikidata|title|linked|Q314965}}||Davao del Sur||Bayan
|-
|204||Sulop||[[:wikidata:Q315014|Q315014]]||[[{{wikidata|label|linked|Q315014}}]]||{{wikidata|title|linked|Q315014}}||Davao del Sur||Bayan
|-
|205||Asuncion||[[:wikidata:Q314393|Q314393]]||[[{{wikidata|label|linked|Q314393}}]]||{{wikidata|title|linked|Q314393}}||Davao del Norte||Bayan
|-
|206||Braulio E. Dujali||[[:wikidata:Q314410|Q314410]]||[[{{wikidata|label|linked|Q314410}}]]||{{wikidata|title|linked|Q314410}}||Davao del Norte||Bayan
|-
|207||Carmen||[[:wikidata:Q314422|Q314422]]||[[{{wikidata|label|linked|Q314422}}]]||{{wikidata|title|linked|Q314422}}||Davao del Norte||Bayan
|-
|208||Kapalong||[[:wikidata:Q314438|Q314438]]||[[{{wikidata|label|linked|Q314438}}]]||{{wikidata|title|linked|Q314438}}||Davao del Norte||Bayan
|-
|209||New Corella||[[:wikidata:Q314452|Q314452]]||[[{{wikidata|label|linked|Q314452}}]]||{{wikidata|title|linked|Q314452}}||Davao del Norte||Bayan
|-
|210||Panabo||[[:wikidata:Q967367|Q967367]]||[[{{wikidata|label|linked|Q967367}}]]||{{wikidata|title|linked|Q967367}}||Davao del Norte||Lungsod
|-
|211||Samal||[[:wikidata:Q1020674|Q1020674]]||[[{{wikidata|label|linked|Q1020674}}]]||{{wikidata|title|linked|Q1020674}}||Davao del Norte||Lungsod
|-
|212||Sawata||[[:wikidata:Q314468|Q314468]]||[[{{wikidata|label|linked|Q314468}}]]||{{wikidata|title|linked|Q314468}}||Davao del Norte||Bayan
|-
|213||Santo Tomas||[[:wikidata:Q314486|Q314486]]||[[{{wikidata|label|linked|Q314486}}]]||{{wikidata|title|linked|Q314486}}||Davao del Norte||Bayan
|-
|214||Tagum||[[:wikidata:Q725168|Q725168]]||[[{{wikidata|label|linked|Q725168}}]]||{{wikidata|title|linked|Q725168}}||Davao del Norte||Lungsod
|-
|215||Talaingod||[[:wikidata:Q314501|Q314501]]||[[{{wikidata|label|linked|Q314501}}]]||{{wikidata|title|linked|Q314501}}||Davao del Norte||Bayan
|-
|216||Compostela||[[:wikidata:Q315450|Q315450]]||[[{{wikidata|label|linked|Q315450}}]]||{{wikidata|title|linked|Q315450}}||Davao de Oro||Bayan
|-
|217||Laak||[[:wikidata:Q315468|Q315468]]||[[{{wikidata|label|linked|Q315468}}]]||{{wikidata|title|linked|Q315468}}||Davao de Oro||Bayan
|-
|218||Mabini||[[:wikidata:Q187225|Q187225]]||[[{{wikidata|label|linked|Q187225}}]]||{{wikidata|title|linked|Q187225}}||Davao de Oro||Bayan
|-
|219||Maco||[[:wikidata:Q315497|Q315497]]||[[{{wikidata|label|linked|Q315497}}]]||{{wikidata|title|linked|Q315497}}||Davao de Oro||Bayan
|-
|220||Maragusan||[[:wikidata:Q315512|Q315512]]||[[{{wikidata|label|linked|Q315512}}]]||{{wikidata|title|linked|Q315512}}||Davao de Oro||Bayan
|-
|221||Mawab||[[:wikidata:Q315524|Q315524]]||[[{{wikidata|label|linked|Q315524}}]]||{{wikidata|title|linked|Q315524}}||Davao de Oro||Bayan
|-
|222||Monkayo||[[:wikidata:Q315543|Q315543]]||[[{{wikidata|label|linked|Q315543}}]]||{{wikidata|title|linked|Q315543}}||Davao de Oro||Bayan
|-
|223||Montevista||[[:wikidata:Q315557|Q315557]]||[[{{wikidata|label|linked|Q315557}}]]||{{wikidata|title|linked|Q315557}}||Davao de Oro||Bayan
|-
|224||Nabunturan||[[:wikidata:Q315570|Q315570]]||[[{{wikidata|label|linked|Q315570}}]]||{{wikidata|title|linked|Q315570}}||Davao de Oro||Bayan
|-
|225||New Bataan||[[:wikidata:Q315582|Q315582]]||[[{{wikidata|label|linked|Q315582}}]]||{{wikidata|title|linked|Q315582}}||Davao de Oro||Bayan
|-
|226||Pantukan||[[:wikidata:Q315598|Q315598]]||[[{{wikidata|label|linked|Q315598}}]]||{{wikidata|title|linked|Q315598}}||Davao de Oro||Bayan
|-
|227||Barobo||[[:wikidata:Q155471|Q155471]]||[[{{wikidata|label|linked|Q155471}}]]||{{wikidata|title|linked|Q155471}}||Surigao del Sur||Bayan
|-
|228||Bayabas||[[:wikidata:Q155499|Q155499]]||[[{{wikidata|label|linked|Q155499}}]]||{{wikidata|title|linked|Q155499}}||Surigao del Sur||Bayan
|-
|229||Bislig||[[:wikidata:Q866414|Q866414]]||[[{{wikidata|label|linked|Q866414}}]]||{{wikidata|title|linked|Q866414}}||Surigao del Sur||Lungsod
|-
|230||Cagwait||[[:wikidata:Q155524|Q155524]]||[[{{wikidata|label|linked|Q155524}}]]||{{wikidata|title|linked|Q155524}}||Surigao del Sur||Bayan
|-
|231||Cantilan||[[:wikidata:Q155536|Q155536]]||[[{{wikidata|label|linked|Q155536}}]]||{{wikidata|title|linked|Q155536}}||Surigao del Sur||Bayan
|-
|232||Carmen||[[:wikidata:Q155548|Q155548]]||[[{{wikidata|label|linked|Q155548}}]]||{{wikidata|title|linked|Q155548}}||Surigao del Sur||Bayan
|-
|233||Carrascal||[[:wikidata:Q155558|Q155558]]||[[{{wikidata|label|linked|Q155558}}]]||{{wikidata|title|linked|Q155558}}||Surigao del Sur||Bayan
|-
|234||Cortes||[[:wikidata:Q155568|Q155568]]||[[{{wikidata|label|linked|Q155568}}]]||{{wikidata|title|linked|Q155568}}||Surigao del Sur||Bayan
|-
|235||Hinatuan||[[:wikidata:Q155576|Q155576]]||[[{{wikidata|label|linked|Q155576}}]]||{{wikidata|title|linked|Q155576}}||Surigao del Sur||Bayan
|-
|236||Lanuza||[[:wikidata:Q155582|Q155582]]||[[{{wikidata|label|linked|Q155582}}]]||{{wikidata|title|linked|Q155582}}||Surigao del Sur||Bayan
|-
|237||Lianga||[[:wikidata:Q155590|Q155590]]||[[{{wikidata|label|linked|Q155590}}]]||{{wikidata|title|linked|Q155590}}||Surigao del Sur||Bayan
|-
|238||Lingig||[[:wikidata:Q155598|Q155598]]||[[{{wikidata|label|linked|Q155598}}]]||{{wikidata|title|linked|Q155598}}||Surigao del Sur||Bayan
|-
|239||Madrid||[[:wikidata:Q155605|Q155605]]||[[{{wikidata|label|linked|Q155605}}]]||{{wikidata|title|linked|Q155605}}||Surigao del Sur||Bayan
|-
|240||Marihatag||[[:wikidata:Q155611|Q155611]]||[[{{wikidata|label|linked|Q155611}}]]||{{wikidata|title|linked|Q155611}}||Surigao del Sur||Bayan
|-
|241||San Agustin||[[:wikidata:Q155618|Q155618]]||[[{{wikidata|label|linked|Q155618}}]]||{{wikidata|title|linked|Q155618}}||Surigao del Sur||Bayan
|-
|242||San Miguel||[[:wikidata:Q155625|Q155625]]||[[{{wikidata|label|linked|Q155625}}]]||{{wikidata|title|linked|Q155625}}||Surigao del Sur||Bayan
|-
|243||Tagbina||[[:wikidata:Q155633|Q155633]]||[[{{wikidata|label|linked|Q155633}}]]||{{wikidata|title|linked|Q155633}}||Surigao del Sur||Bayan
|-
|244||Tago||[[:wikidata:Q155648|Q155648]]||[[{{wikidata|label|linked|Q155648}}]]||{{wikidata|title|linked|Q155648}}||Surigao del Sur||Bayan
|-
|245||Tandag||[[:wikidata:Q155674|Q155674]]||[[{{wikidata|label|linked|Q155674}}]]||{{wikidata|title|linked|Q155674}}||Surigao del Sur||Lungsod
|-
|246||Alegria||[[:wikidata:Q155706|Q155706]]||[[{{wikidata|label|linked|Q155706}}]]||{{wikidata|title|linked|Q155706}}||Surigao del Norte||Bayan
|-
|247||Bacuag||[[:wikidata:Q155720|Q155720]]||[[{{wikidata|label|linked|Q155720}}]]||{{wikidata|title|linked|Q155720}}||Surigao del Norte||Bayan
|-
|248||Burgos||[[:wikidata:Q155735|Q155735]]||[[{{wikidata|label|linked|Q155735}}]]||{{wikidata|title|linked|Q155735}}||Surigao del Norte||Bayan
|-
|249||Claver||[[:wikidata:Q155748|Q155748]]||[[{{wikidata|label|linked|Q155748}}]]||{{wikidata|title|linked|Q155748}}||Surigao del Norte||Bayan
|-
|250||Dapa||[[:wikidata:Q155763|Q155763]]||[[{{wikidata|label|linked|Q155763}}]]||{{wikidata|title|linked|Q155763}}||Surigao del Norte||Bayan
|-
|251||Del Carmen||[[:wikidata:Q28735|Q28735]]||[[{{wikidata|label|linked|Q28735}}]]||{{wikidata|title|linked|Q28735}}||Surigao del Norte||Bayan
|-
|252||General Luna||[[:wikidata:Q155784|Q155784]]||[[{{wikidata|label|linked|Q155784}}]]||{{wikidata|title|linked|Q155784}}||Surigao del Norte||Bayan
|-
|253||Gigaquit||[[:wikidata:Q155795|Q155795]]||[[{{wikidata|label|linked|Q155795}}]]||{{wikidata|title|linked|Q155795}}||Surigao del Norte||Bayan
|-
|254||Mainit||[[:wikidata:Q155808|Q155808]]||[[{{wikidata|label|linked|Q155808}}]]||{{wikidata|title|linked|Q155808}}||Surigao del Norte||Bayan
|-
|255||Malimono||[[:wikidata:Q155819|Q155819]]||[[{{wikidata|label|linked|Q155819}}]]||{{wikidata|title|linked|Q155819}}||Surigao del Norte||Bayan
|-
|256||Pilar||[[:wikidata:Q155830|Q155830]]||[[{{wikidata|label|linked|Q155830}}]]||{{wikidata|title|linked|Q155830}}||Surigao del Norte||Bayan
|-
|257||Placer||[[:wikidata:Q155839|Q155839]]||[[{{wikidata|label|linked|Q155839}}]]||{{wikidata|title|linked|Q155839}}||Surigao del Norte||Bayan
|-
|258||San Benito||[[:wikidata:Q155849|Q155849]]||[[{{wikidata|label|linked|Q155849}}]]||{{wikidata|title|linked|Q155849}}||Surigao del Norte||Bayan
|-
|259||San Francisco||[[:wikidata:Q155864|Q155864]]||[[{{wikidata|label|linked|Q155864}}]]||{{wikidata|title|linked|Q155864}}||Surigao del Norte||Bayan
|-
|260||San Isidro||[[:wikidata:Q155876|Q155876]]||[[{{wikidata|label|linked|Q155876}}]]||{{wikidata|title|linked|Q155876}}||Surigao del Norte||Bayan
|-
|261||Santa Monica||[[:wikidata:Q28958|Q28958]]||[[{{wikidata|label|linked|Q28958}}]]||{{wikidata|title|linked|Q28958}}||Surigao del Norte||Bayan
|-
|262||Sison||[[:wikidata:Q155905|Q155905]]||[[{{wikidata|label|linked|Q155905}}]]||{{wikidata|title|linked|Q155905}}||Surigao del Norte||Bayan
|-
|263||Socorro||[[:wikidata:Q155917|Q155917]]||[[{{wikidata|label|linked|Q155917}}]]||{{wikidata|title|linked|Q155917}}||Surigao del Norte||Bayan
|-
|264||Surigao City||[[:wikidata:Q1019949|Q1019949]]||[[{{wikidata|label|linked|Q1019949}}]]||{{wikidata|title|linked|Q1019949}}||Surigao del Norte||Lungsod
|-
|265||Tagana-an||[[:wikidata:Q155934|Q155934]]||[[{{wikidata|label|linked|Q155934}}]]||{{wikidata|title|linked|Q155934}}||Surigao del Norte||Bayan
|-
|266||Tubod||[[:wikidata:Q155946|Q155946]]||[[{{wikidata|label|linked|Q155946}}]]||{{wikidata|title|linked|Q155946}}||Surigao del Norte||Bayan
|-
|267||Basilisa||[[:wikidata:Q314298|Q314298]]||[[{{wikidata|label|linked|Q314298}}]]||{{wikidata|title|linked|Q314298}}||Dinagat Islands||Bayan
|-
|268||Cagdianao||[[:wikidata:Q314318|Q314318]]||[[{{wikidata|label|linked|Q314318}}]]||{{wikidata|title|linked|Q314318}}||Dinagat Islands||Bayan
|-
|269||Dinagat||[[:wikidata:Q314336|Q314336]]||[[{{wikidata|label|linked|Q314336}}]]||{{wikidata|title|linked|Q314336}}||Dinagat Islands||Bayan
|-
|270||Libjo||[[:wikidata:Q314345|Q314345]]||[[{{wikidata|label|linked|Q314345}}]]||{{wikidata|title|linked|Q314345}}||Dinagat Islands||Bayan
|-
|271||Loreto||[[:wikidata:Q314356|Q314356]]||[[{{wikidata|label|linked|Q314356}}]]||{{wikidata|title|linked|Q314356}}||Dinagat Islands||Bayan
|-
|272||San Jose||[[:wikidata:Q251691|Q251691]]||[[{{wikidata|label|linked|Q251691}}]]||{{wikidata|title|linked|Q251691}}||Dinagat Islands||Bayan
|-
|273||Tubajon||[[:wikidata:Q314374|Q314374]]||[[{{wikidata|label|linked|Q314374}}]]||{{wikidata|title|linked|Q314374}}||Dinagat Islands||Bayan
|-
|274||Bayugan||[[:wikidata:Q1694|Q1694]]||[[{{wikidata|label|linked|Q1694}}]]||{{wikidata|title|linked|Q1694}}||Agusan del Sur||Lungsod
|-
|275||Bunawan||[[:wikidata:Q627049|Q627049]]||[[{{wikidata|label|linked|Q627049}}]]||{{wikidata|title|linked|Q627049}}||Agusan del Sur||Bayan
|-
|276||Esperanza||[[:wikidata:Q627077|Q627077]]||[[{{wikidata|label|linked|Q627077}}]]||{{wikidata|title|linked|Q627077}}||Agusan del Sur||Bayan
|-
|277||La Paz||[[:wikidata:Q627107|Q627107]]||[[{{wikidata|label|linked|Q627107}}]]||{{wikidata|title|linked|Q627107}}||Agusan del Sur||Bayan
|-
|278||Loreto||[[:wikidata:Q627120|Q627120]]||[[{{wikidata|label|linked|Q627120}}]]||{{wikidata|title|linked|Q627120}}||Agusan del Sur||Bayan
|-
|279||Prosperidad||[[:wikidata:Q627144|Q627144]]||[[{{wikidata|label|linked|Q627144}}]]||{{wikidata|title|linked|Q627144}}||Agusan del Sur||Bayan
|-
|280||Rosario||[[:wikidata:Q627167|Q627167]]||[[{{wikidata|label|linked|Q627167}}]]||{{wikidata|title|linked|Q627167}}||Agusan del Sur||Bayan
|-
|281||San Francisco||[[:wikidata:Q627190|Q627190]]||[[{{wikidata|label|linked|Q627190}}]]||{{wikidata|title|linked|Q627190}}||Agusan del Sur||Bayan
|-
|282||San Luis||[[:wikidata:Q627210|Q627210]]||[[{{wikidata|label|linked|Q627210}}]]||{{wikidata|title|linked|Q627210}}||Agusan del Sur||Bayan
|-
|283||Santa Josefa||[[:wikidata:Q627231|Q627231]]||[[{{wikidata|label|linked|Q627231}}]]||{{wikidata|title|linked|Q627231}}||Agusan del Sur||Bayan
|-
|284||Sibagat||[[:wikidata:Q627260|Q627260]]||[[{{wikidata|label|linked|Q627260}}]]||{{wikidata|title|linked|Q627260}}||Agusan del Sur||Bayan
|-
|285||Talacogon||[[:wikidata:Q627286|Q627286]]||[[{{wikidata|label|linked|Q627286}}]]||{{wikidata|title|linked|Q627286}}||Agusan del Sur||Bayan
|-
|286||Trento||[[:wikidata:Q627320|Q627320]]||[[{{wikidata|label|linked|Q627320}}]]||{{wikidata|title|linked|Q627320}}||Agusan del Sur||Bayan
|-
|287||Veruela||[[:wikidata:Q627349|Q627349]]||[[{{wikidata|label|linked|Q627349}}]]||{{wikidata|title|linked|Q627349}}||Agusan del Sur||Bayan
|-
|288||Buenavista||[[:wikidata:Q627390|Q627390]]||[[{{wikidata|label|linked|Q627390}}]]||{{wikidata|title|linked|Q627390}}||Agusan del Norte||Bayan
|-
|289||Butuan||[[:wikidata:Q1686|Q1686]]||[[{{wikidata|label|linked|Q1686}}]]||{{wikidata|title|linked|Q1686}}||Agusan del Norte||Lungsod
|-
|290||Cabadbaran||[[:wikidata:Q1692|Q1692]]||[[{{wikidata|label|linked|Q1692}}]]||{{wikidata|title|linked|Q1692}}||Agusan del Norte||Lungsod
|-
|291||Carmen||[[:wikidata:Q627434|Q627434]]||[[{{wikidata|label|linked|Q627434}}]]||{{wikidata|title|linked|Q627434}}||Agusan del Norte||Bayan
|-
|292||Jabonga||[[:wikidata:Q627461|Q627461]]||[[{{wikidata|label|linked|Q627461}}]]||{{wikidata|title|linked|Q627461}}||Agusan del Norte||Bayan
|-
|293||Kitcharao||[[:wikidata:Q627495|Q627495]]||[[{{wikidata|label|linked|Q627495}}]]||{{wikidata|title|linked|Q627495}}||Agusan del Norte||Bayan
|-
|294||Las Nieves||[[:wikidata:Q627529|Q627529]]||[[{{wikidata|label|linked|Q627529}}]]||{{wikidata|title|linked|Q627529}}||Agusan del Norte||Bayan
|-
|295||Magallanes||[[:wikidata:Q627572|Q627572]]||[[{{wikidata|label|linked|Q627572}}]]||{{wikidata|title|linked|Q627572}}||Agusan del Norte||Bayan
|-
|296||Nasipit||[[:wikidata:Q627604|Q627604]]||[[{{wikidata|label|linked|Q627604}}]]||{{wikidata|title|linked|Q627604}}||Agusan del Norte||Bayan
|-
|297||Remedios T. Romualdez||[[:wikidata:Q627638|Q627638]]||[[{{wikidata|label|linked|Q627638}}]]||{{wikidata|title|linked|Q627638}}||Agusan del Norte||Bayan
|-
|298||Santiago||[[:wikidata:Q588955|Q588955]]||[[{{wikidata|label|linked|Q588955}}]]||{{wikidata|title|linked|Q588955}}||Agusan del Norte||Bayan
|-
|299||Tubay||[[:wikidata:Q176975|Q176975]]||[[{{wikidata|label|linked|Q176975}}]]||{{wikidata|title|linked|Q176975}}||Agusan del Norte||Bayan
|-
|300||Alubijid||[[:wikidata:Q195623|Q195623]]||[[{{wikidata|label|linked|Q195623}}]]||{{wikidata|title|linked|Q195623}}||Misamis Oriental||Bayan
|-
|301||Balingasag||[[:wikidata:Q195637|Q195637]]||[[{{wikidata|label|linked|Q195637}}]]||{{wikidata|title|linked|Q195637}}||Misamis Oriental||Bayan
|-
|302||Balingoan||[[:wikidata:Q195650|Q195650]]||[[{{wikidata|label|linked|Q195650}}]]||{{wikidata|title|linked|Q195650}}||Misamis Oriental||Bayan
|-
|303||Binuangan||[[:wikidata:Q195663|Q195663]]||[[{{wikidata|label|linked|Q195663}}]]||{{wikidata|title|linked|Q195663}}||Misamis Oriental||Bayan
|-
|304||Cagayan de Oro||[[:wikidata:Q1645|Q1645]]||[[{{wikidata|label|linked|Q1645}}]]||{{wikidata|title|linked|Q1645}}||Misamis Oriental||Lungsod
|-
|305||Claveria||[[:wikidata:Q195676|Q195676]]||[[{{wikidata|label|linked|Q195676}}]]||{{wikidata|title|linked|Q195676}}||Misamis Oriental||Bayan
|-
|306||El Salvador||[[:wikidata:Q195686|Q195686]]||[[{{wikidata|label|linked|Q195686}}]]||{{wikidata|title|linked|Q195686}}||Misamis Oriental||Lungsod
|-
|307||Gingoog||[[:wikidata:Q1525029|Q1525029]]||[[{{wikidata|label|linked|Q1525029}}]]||{{wikidata|title|linked|Q1525029}}||Misamis Oriental||Lungsod
|-
|308||Gitagum||[[:wikidata:Q195696|Q195696]]||[[{{wikidata|label|linked|Q195696}}]]||{{wikidata|title|linked|Q195696}}||Misamis Oriental||Bayan
|-
|309||Initao||[[:wikidata:Q195709|Q195709]]||[[{{wikidata|label|linked|Q195709}}]]||{{wikidata|title|linked|Q195709}}||Misamis Oriental||Bayan
|-
|310||Jasaan||[[:wikidata:Q195717|Q195717]]||[[{{wikidata|label|linked|Q195717}}]]||{{wikidata|title|linked|Q195717}}||Misamis Oriental||Bayan
|-
|311||Kinoguitan||[[:wikidata:Q195726|Q195726]]||[[{{wikidata|label|linked|Q195726}}]]||{{wikidata|title|linked|Q195726}}||Misamis Oriental||Bayan
|-
|312||Lagonglong||[[:wikidata:Q195740|Q195740]]||[[{{wikidata|label|linked|Q195740}}]]||{{wikidata|title|linked|Q195740}}||Misamis Oriental||Bayan
|-
|313||Laguindingan||[[:wikidata:Q195755|Q195755]]||[[{{wikidata|label|linked|Q195755}}]]||{{wikidata|title|linked|Q195755}}||Misamis Oriental||Bayan
|-
|314||Libertad||[[:wikidata:Q195767|Q195767]]||[[{{wikidata|label|linked|Q195767}}]]||{{wikidata|title|linked|Q195767}}||Misamis Oriental||Bayan
|-
|315||Lugait||[[:wikidata:Q195780|Q195780]]||[[{{wikidata|label|linked|Q195780}}]]||{{wikidata|title|linked|Q195780}}||Misamis Oriental||Bayan
|-
|316||Magsaysay||[[:wikidata:Q195799|Q195799]]||[[{{wikidata|label|linked|Q195799}}]]||{{wikidata|title|linked|Q195799}}||Misamis Oriental||Bayan
|-
|317||Manticao||[[:wikidata:Q195815|Q195815]]||[[{{wikidata|label|linked|Q195815}}]]||{{wikidata|title|linked|Q195815}}||Misamis Oriental||Bayan
|-
|318||Medina||[[:wikidata:Q195834|Q195834]]||[[{{wikidata|label|linked|Q195834}}]]||{{wikidata|title|linked|Q195834}}||Misamis Oriental||Bayan
|-
|319||Naawan||[[:wikidata:Q195855|Q195855]]||[[{{wikidata|label|linked|Q195855}}]]||{{wikidata|title|linked|Q195855}}||Misamis Oriental||Bayan
|-
|320||Opol||[[:wikidata:Q195870|Q195870]]||[[{{wikidata|label|linked|Q195870}}]]||{{wikidata|title|linked|Q195870}}||Misamis Oriental||Bayan
|-
|321||Salay||[[:wikidata:Q195883|Q195883]]||[[{{wikidata|label|linked|Q195883}}]]||{{wikidata|title|linked|Q195883}}||Misamis Oriental||Bayan
|-
|322||Sugbongcogon||[[:wikidata:Q195899|Q195899]]||[[{{wikidata|label|linked|Q195899}}]]||{{wikidata|title|linked|Q195899}}||Misamis Oriental||Bayan
|-
|323||Tagoloan||[[:wikidata:Q1026274|Q1026274]]||[[{{wikidata|label|linked|Q1026274}}]]||{{wikidata|title|linked|Q1026274}}||Misamis Oriental||Bayan
|-
|324||Talisayan||[[:wikidata:Q195917|Q195917]]||[[{{wikidata|label|linked|Q195917}}]]||{{wikidata|title|linked|Q195917}}||Misamis Oriental||Bayan
|-
|325||Villanueva||[[:wikidata:Q195937|Q195937]]||[[{{wikidata|label|linked|Q195937}}]]||{{wikidata|title|linked|Q195937}}||Misamis Oriental||Bayan
|-
|326||Aloran||[[:wikidata:Q155502|Q155502]]||[[{{wikidata|label|linked|Q155502}}]]||{{wikidata|title|linked|Q155502}}||Misamis Occidental||Bayan
|-
|327||Baliangao||[[:wikidata:Q196056|Q196056]]||[[{{wikidata|label|linked|Q196056}}]]||{{wikidata|title|linked|Q196056}}||Misamis Occidental||Bayan
|-
|328||Bonifacio||[[:wikidata:Q196076|Q196076]]||[[{{wikidata|label|linked|Q196076}}]]||{{wikidata|title|linked|Q196076}}||Misamis Occidental||Bayan
|-
|329||Calamba||[[:wikidata:Q196097|Q196097]]||[[{{wikidata|label|linked|Q196097}}]]||{{wikidata|title|linked|Q196097}}||Misamis Occidental||Bayan
|-
|330||Clarin||[[:wikidata:Q196114|Q196114]]||[[{{wikidata|label|linked|Q196114}}]]||{{wikidata|title|linked|Q196114}}||Misamis Occidental||Bayan
|-
|331||Concepcion||[[:wikidata:Q196129|Q196129]]||[[{{wikidata|label|linked|Q196129}}]]||{{wikidata|title|linked|Q196129}}||Misamis Occidental||Bayan
|-
|332||Don Victoriano||[[:wikidata:Q196145|Q196145]]||[[{{wikidata|label|linked|Q196145}}]]||{{wikidata|title|linked|Q196145}}||Misamis Occidental||Bayan
|-
|333||Jimenez||[[:wikidata:Q196158|Q196158]]||[[{{wikidata|label|linked|Q196158}}]]||{{wikidata|title|linked|Q196158}}||Misamis Occidental||Bayan
|-
|334||Lopez Jaena||[[:wikidata:Q196173|Q196173]]||[[{{wikidata|label|linked|Q196173}}]]||{{wikidata|title|linked|Q196173}}||Misamis Occidental||Bayan
|-
|335||Oroquieta||[[:wikidata:Q1067897|Q1067897]]||[[{{wikidata|label|linked|Q1067897}}]]||{{wikidata|title|linked|Q1067897}}||Misamis Occidental||Lungsod
|-
|336||Ozamiz||[[:wikidata:Q263837|Q263837]]||[[{{wikidata|label|linked|Q263837}}]]||{{wikidata|title|linked|Q263837}}||Misamis Occidental||Lungsod
|-
|337||Panaon||[[:wikidata:Q196191|Q196191]]||[[{{wikidata|label|linked|Q196191}}]]||{{wikidata|title|linked|Q196191}}||Misamis Occidental||Bayan
|-
|338||Plaridel||[[:wikidata:Q196207|Q196207]]||[[{{wikidata|label|linked|Q196207}}]]||{{wikidata|title|linked|Q196207}}||Misamis Occidental||Bayan
|-
|339||Sapang Dalaga||[[:wikidata:Q196222|Q196222]]||[[{{wikidata|label|linked|Q196222}}]]||{{wikidata|title|linked|Q196222}}||Misamis Occidental||Bayan
|-
|340||Sinacaban||[[:wikidata:Q196233|Q196233]]||[[{{wikidata|label|linked|Q196233}}]]||{{wikidata|title|linked|Q196233}}||Misamis Occidental||Bayan
|-
|341||Tangub||[[:wikidata:Q1026277|Q1026277]]||[[{{wikidata|label|linked|Q1026277}}]]||{{wikidata|title|linked|Q1026277}}||Misamis Occidental||Lungsod
|-
|342||Tudela||[[:wikidata:Q196248|Q196248]]||[[{{wikidata|label|linked|Q196248}}]]||{{wikidata|title|linked|Q196248}}||Misamis Occidental||Bayan
|-
|343||Bacolod||[[:wikidata:Q274150|Q274150]]||[[{{wikidata|label|linked|Q274150}}]]||{{wikidata|title|linked|Q274150}}||Lanao del Norte||Bayan
|-
|344||Balo-i||[[:wikidata:Q274164|Q274164]]||[[{{wikidata|label|linked|Q274164}}]]||{{wikidata|title|linked|Q274164}}||Lanao del Norte||Bayan
|-
|345||Baroy||[[:wikidata:Q274173|Q274173]]||[[{{wikidata|label|linked|Q274173}}]]||{{wikidata|title|linked|Q274173}}||Lanao del Norte||Bayan
|-
|346||Iligan||[[:wikidata:Q285488|Q285488]]||[[{{wikidata|label|linked|Q285488}}]]||{{wikidata|title|linked|Q285488}}||Lanao del Norte||Lungsod
|-
|347||Kapatagan||[[:wikidata:Q274186|Q274186]]||[[{{wikidata|label|linked|Q274186}}]]||{{wikidata|title|linked|Q274186}}||Lanao del Norte||Bayan
|-
|348||Kauswagan||[[:wikidata:Q274197|Q274197]]||[[{{wikidata|label|linked|Q274197}}]]||{{wikidata|title|linked|Q274197}}||Lanao del Norte||Bayan
|-
|349||Kolambugan||[[:wikidata:Q274205|Q274205]]||[[{{wikidata|label|linked|Q274205}}]]||{{wikidata|title|linked|Q274205}}||Lanao del Norte||Bayan
|-
|350||Lala||[[:wikidata:Q274215|Q274215]]||[[{{wikidata|label|linked|Q274215}}]]||{{wikidata|title|linked|Q274215}}||Lanao del Norte||Bayan
|-
|351||Linamon||[[:wikidata:Q274230|Q274230]]||[[{{wikidata|label|linked|Q274230}}]]||{{wikidata|title|linked|Q274230}}||Lanao del Norte||Bayan
|-
|352||Magsaysay||[[:wikidata:Q274243|Q274243]]||[[{{wikidata|label|linked|Q274243}}]]||{{wikidata|title|linked|Q274243}}||Lanao del Norte||Bayan
|-
|353||Maigo||[[:wikidata:Q274260|Q274260]]||[[{{wikidata|label|linked|Q274260}}]]||{{wikidata|title|linked|Q274260}}||Lanao del Norte||Bayan
|-
|354||Matungao||[[:wikidata:Q274272|Q274272]]||[[{{wikidata|label|linked|Q274272}}]]||{{wikidata|title|linked|Q274272}}||Lanao del Norte||Bayan
|-
|355||Munai||[[:wikidata:Q274287|Q274287]]||[[{{wikidata|label|linked|Q274287}}]]||{{wikidata|title|linked|Q274287}}||Lanao del Norte||Bayan
|-
|356||Nunungan||[[:wikidata:Q274299|Q274299]]||[[{{wikidata|label|linked|Q274299}}]]||{{wikidata|title|linked|Q274299}}||Lanao del Norte||Bayan
|-
|357||Pantao Ragat||[[:wikidata:Q274313|Q274313]]||[[{{wikidata|label|linked|Q274313}}]]||{{wikidata|title|linked|Q274313}}||Lanao del Norte||Bayan
|-
|358||Pantar||[[:wikidata:Q274329|Q274329]]||[[{{wikidata|label|linked|Q274329}}]]||{{wikidata|title|linked|Q274329}}||Lanao del Norte||Bayan
|-
|359||Poona Piagapo||[[:wikidata:Q274343|Q274343]]||[[{{wikidata|label|linked|Q274343}}]]||{{wikidata|title|linked|Q274343}}||Lanao del Norte||Bayan
|-
|360||Salvador||[[:wikidata:Q274357|Q274357]]||[[{{wikidata|label|linked|Q274357}}]]||{{wikidata|title|linked|Q274357}}||Lanao del Norte||Bayan
|-
|361||Sapad||[[:wikidata:Q274369|Q274369]]||[[{{wikidata|label|linked|Q274369}}]]||{{wikidata|title|linked|Q274369}}||Lanao del Norte||Bayan
|-
|362||Sultan Naga Dimaporo||[[:wikidata:Q274387|Q274387]]||[[{{wikidata|label|linked|Q274387}}]]||{{wikidata|title|linked|Q274387}}||Lanao del Norte||Bayan
|-
|363||Tagoloan||[[:wikidata:Q274406|Q274406]]||[[{{wikidata|label|linked|Q274406}}]]||{{wikidata|title|linked|Q274406}}||Lanao del Norte||Bayan
|-
|364||Tangcal||[[:wikidata:Q274427|Q274427]]||[[{{wikidata|label|linked|Q274427}}]]||{{wikidata|title|linked|Q274427}}||Lanao del Norte||Bayan
|-
|365||Tubod||[[:wikidata:Q274439|Q274439]]||[[{{wikidata|label|linked|Q274439}}]]||{{wikidata|title|linked|Q274439}}||Lanao del Norte||Bayan
|-
|366||Catarman||[[:wikidata:Q356442|Q356442]]||[[{{wikidata|label|linked|Q356442}}]]||{{wikidata|title|linked|Q356442}}||Camiguin||Bayan
|-
|367||Guinsiliban||[[:wikidata:Q356472|Q356472]]||[[{{wikidata|label|linked|Q356472}}]]||{{wikidata|title|linked|Q356472}}||Camiguin||Bayan
|-
|368||Mahinog||[[:wikidata:Q176033|Q176033]]||[[{{wikidata|label|linked|Q176033}}]]||{{wikidata|title|linked|Q176033}}||Camiguin||Bayan
|-
|369||Mambajao||[[:wikidata:Q356518|Q356518]]||[[{{wikidata|label|linked|Q356518}}]]||{{wikidata|title|linked|Q356518}}||Camiguin||Bayan
|-
|370||Sagay||[[:wikidata:Q356549|Q356549]]||[[{{wikidata|label|linked|Q356549}}]]||{{wikidata|title|linked|Q356549}}||Camiguin||Bayan
|-
|371||Baungon||[[:wikidata:Q356943|Q356943]]||[[{{wikidata|label|linked|Q356943}}]]||{{wikidata|title|linked|Q356943}}||Bukidnon||Bayan
|-
|372||Cabanglasan||[[:wikidata:Q356971|Q356971]]||[[{{wikidata|label|linked|Q356971}}]]||{{wikidata|title|linked|Q356971}}||Bukidnon||Bayan
|-
|373||Damulog||[[:wikidata:Q356997|Q356997]]||[[{{wikidata|label|linked|Q356997}}]]||{{wikidata|title|linked|Q356997}}||Bukidnon||Bayan
|-
|374||Dangcagan||[[:wikidata:Q357021|Q357021]]||[[{{wikidata|label|linked|Q357021}}]]||{{wikidata|title|linked|Q357021}}||Bukidnon||Bayan
|-
|375||Don Carlos||[[:wikidata:Q357053|Q357053]]||[[{{wikidata|label|linked|Q357053}}]]||{{wikidata|title|linked|Q357053}}||Bukidnon||Bayan
|-
|376||Impasugong||[[:wikidata:Q357075|Q357075]]||[[{{wikidata|label|linked|Q357075}}]]||{{wikidata|title|linked|Q357075}}||Bukidnon||Bayan
|-
|377||Kadingilan||[[:wikidata:Q357100|Q357100]]||[[{{wikidata|label|linked|Q357100}}]]||{{wikidata|title|linked|Q357100}}||Bukidnon||Bayan
|-
|378||Kalilangan||[[:wikidata:Q357124|Q357124]]||[[{{wikidata|label|linked|Q357124}}]]||{{wikidata|title|linked|Q357124}}||Bukidnon||Bayan
|-
|379||Kibawe||[[:wikidata:Q357152|Q357152]]||[[{{wikidata|label|linked|Q357152}}]]||{{wikidata|title|linked|Q357152}}||Bukidnon||Bayan
|-
|380||Kitaotao||[[:wikidata:Q357175|Q357175]]||[[{{wikidata|label|linked|Q357175}}]]||{{wikidata|title|linked|Q357175}}||Bukidnon||Bayan
|-
|381||Lantapan||[[:wikidata:Q357198|Q357198]]||[[{{wikidata|label|linked|Q357198}}]]||{{wikidata|title|linked|Q357198}}||Bukidnon||Bayan
|-
|382||Libona||[[:wikidata:Q357226|Q357226]]||[[{{wikidata|label|linked|Q357226}}]]||{{wikidata|title|linked|Q357226}}||Bukidnon||Bayan
|-
|383||Malaybalay||[[:wikidata:Q1856|Q1856]]||[[{{wikidata|label|linked|Q1856}}]]||{{wikidata|title|linked|Q1856}}||Bukidnon||Lungsod
|-
|384||Malitbog||[[:wikidata:Q357252|Q357252]]||[[{{wikidata|label|linked|Q357252}}]]||{{wikidata|title|linked|Q357252}}||Bukidnon||Bayan
|-
|385||Manolo Fortich||[[:wikidata:Q357272|Q357272]]||[[{{wikidata|label|linked|Q357272}}]]||{{wikidata|title|linked|Q357272}}||Bukidnon||Bayan
|-
|386||Maramag||[[:wikidata:Q357299|Q357299]]||[[{{wikidata|label|linked|Q357299}}]]||{{wikidata|title|linked|Q357299}}||Bukidnon||Bayan
|-
|387||Pangantucan||[[:wikidata:Q357311|Q357311]]||[[{{wikidata|label|linked|Q357311}}]]||{{wikidata|title|linked|Q357311}}||Bukidnon||Bayan
|-
|388||Quezon||[[:wikidata:Q357342|Q357342]]||[[{{wikidata|label|linked|Q357342}}]]||{{wikidata|title|linked|Q357342}}||Bukidnon||Bayan
|-
|389||San Fernando||[[:wikidata:Q357371|Q357371]]||[[{{wikidata|label|linked|Q357371}}]]||{{wikidata|title|linked|Q357371}}||Bukidnon||Bayan
|-
|390||Sumilao||[[:wikidata:Q357396|Q357396]]||[[{{wikidata|label|linked|Q357396}}]]||{{wikidata|title|linked|Q357396}}||Bukidnon||Bayan
|-
|391||Talakag||[[:wikidata:Q357420|Q357420]]||[[{{wikidata|label|linked|Q357420}}]]||{{wikidata|title|linked|Q357420}}||Bukidnon||Bayan
|-
|392||Valencia||[[:wikidata:Q2158|Q2158]]||[[{{wikidata|label|linked|Q2158}}]]||{{wikidata|title|linked|Q2158}}||Bukidnon||Lungsod
|-
|393||Alicia||[[:wikidata:Q131797|Q131797]]||[[{{wikidata|label|linked|Q131797}}]]||{{wikidata|title|linked|Q131797}}||Zamboanga Sibugay||Bayan
|-
|394||Buug||[[:wikidata:Q131811|Q131811]]||[[{{wikidata|label|linked|Q131811}}]]||{{wikidata|title|linked|Q131811}}||Zamboanga Sibugay||Bayan
|-
|395||Diplahan||[[:wikidata:Q131816|Q131816]]||[[{{wikidata|label|linked|Q131816}}]]||{{wikidata|title|linked|Q131816}}||Zamboanga Sibugay||Bayan
|-
|396||Imelda||[[:wikidata:Q131838|Q131838]]||[[{{wikidata|label|linked|Q131838}}]]||{{wikidata|title|linked|Q131838}}||Zamboanga Sibugay||Bayan
|-
|397||Ipil||[[:wikidata:Q131850|Q131850]]||[[{{wikidata|label|linked|Q131850}}]]||{{wikidata|title|linked|Q131850}}||Zamboanga Sibugay||Bayan
|-
|398||Kabasalan||[[:wikidata:Q131870|Q131870]]||[[{{wikidata|label|linked|Q131870}}]]||{{wikidata|title|linked|Q131870}}||Zamboanga Sibugay||Bayan
|-
|399||Mabuhay||[[:wikidata:Q131892|Q131892]]||[[{{wikidata|label|linked|Q131892}}]]||{{wikidata|title|linked|Q131892}}||Zamboanga Sibugay||Bayan
|-
|400||Malangas||[[:wikidata:Q131906|Q131906]]||[[{{wikidata|label|linked|Q131906}}]]||{{wikidata|title|linked|Q131906}}||Zamboanga Sibugay||Bayan
|-
|401||Naga||[[:wikidata:Q131917|Q131917]]||[[{{wikidata|label|linked|Q131917}}]]||{{wikidata|title|linked|Q131917}}||Zamboanga Sibugay||Bayan
|-
|402||Olutanga||[[:wikidata:Q131926|Q131926]]||[[{{wikidata|label|linked|Q131926}}]]||{{wikidata|title|linked|Q131926}}||Zamboanga Sibugay||Bayan
|-
|403||Payao||[[:wikidata:Q131941|Q131941]]||[[{{wikidata|label|linked|Q131941}}]]||{{wikidata|title|linked|Q131941}}||Zamboanga Sibugay||Bayan
|-
|404||Roseller Lim||[[:wikidata:Q131954|Q131954]]||[[{{wikidata|label|linked|Q131954}}]]||{{wikidata|title|linked|Q131954}}||Zamboanga Sibugay||Bayan
|-
|405||Siay||[[:wikidata:Q124780|Q124780]]||[[{{wikidata|label|linked|Q124780}}]]||{{wikidata|title|linked|Q124780}}||Zamboanga Sibugay||Bayan
|-
|406||Talusan||[[:wikidata:Q131968|Q131968]]||[[{{wikidata|label|linked|Q131968}}]]||{{wikidata|title|linked|Q131968}}||Zamboanga Sibugay||Bayan
|-
|407||Titay||[[:wikidata:Q131975|Q131975]]||[[{{wikidata|label|linked|Q131975}}]]||{{wikidata|title|linked|Q131975}}||Zamboanga Sibugay||Bayan
|-
|408||Tungawan||[[:wikidata:Q131984|Q131984]]||[[{{wikidata|label|linked|Q131984}}]]||{{wikidata|title|linked|Q131984}}||Zamboanga Sibugay||Bayan
|-
|409||Aurora||[[:wikidata:Q132015|Q132015]]||[[{{wikidata|label|linked|Q132015}}]]||{{wikidata|title|linked|Q132015}}||Zamboanga del Sur||Bayan
|-
|410||Bayog||[[:wikidata:Q132032|Q132032]]||[[{{wikidata|label|linked|Q132032}}]]||{{wikidata|title|linked|Q132032}}||Zamboanga del Sur||Bayan
|-
|411||Dimataling||[[:wikidata:Q132057|Q132057]]||[[{{wikidata|label|linked|Q132057}}]]||{{wikidata|title|linked|Q132057}}||Zamboanga del Sur||Bayan
|-
|412||Dinas||[[:wikidata:Q132077|Q132077]]||[[{{wikidata|label|linked|Q132077}}]]||{{wikidata|title|linked|Q132077}}||Zamboanga del Sur||Bayan
|-
|413||Dumalinao||[[:wikidata:Q132104|Q132104]]||[[{{wikidata|label|linked|Q132104}}]]||{{wikidata|title|linked|Q132104}}||Zamboanga del Sur||Bayan
|-
|414||Dumingag||[[:wikidata:Q132126|Q132126]]||[[{{wikidata|label|linked|Q132126}}]]||{{wikidata|title|linked|Q132126}}||Zamboanga del Sur||Bayan
|-
|415||Guipos||[[:wikidata:Q132141|Q132141]]||[[{{wikidata|label|linked|Q132141}}]]||{{wikidata|title|linked|Q132141}}||Zamboanga del Sur||Bayan
|-
|416||Josefina||[[:wikidata:Q132155|Q132155]]||[[{{wikidata|label|linked|Q132155}}]]||{{wikidata|title|linked|Q132155}}||Zamboanga del Sur||Bayan
|-
|417||Kumalarang||[[:wikidata:Q132161|Q132161]]||[[{{wikidata|label|linked|Q132161}}]]||{{wikidata|title|linked|Q132161}}||Zamboanga del Sur||Bayan
|-
|418||Labangan||[[:wikidata:Q132184|Q132184]]||[[{{wikidata|label|linked|Q132184}}]]||{{wikidata|title|linked|Q132184}}||Zamboanga del Sur||Bayan
|-
|419||Lakewood||[[:wikidata:Q132200|Q132200]]||[[{{wikidata|label|linked|Q132200}}]]||{{wikidata|title|linked|Q132200}}||Zamboanga del Sur||Bayan
|-
|420||Lapuyan||[[:wikidata:Q132215|Q132215]]||[[{{wikidata|label|linked|Q132215}}]]||{{wikidata|title|linked|Q132215}}||Zamboanga del Sur||Bayan
|-
|421||Mahayag||[[:wikidata:Q132230|Q132230]]||[[{{wikidata|label|linked|Q132230}}]]||{{wikidata|title|linked|Q132230}}||Zamboanga del Sur||Bayan
|-
|422||Margosatubig||[[:wikidata:Q132244|Q132244]]||[[{{wikidata|label|linked|Q132244}}]]||{{wikidata|title|linked|Q132244}}||Zamboanga del Sur||Bayan
|-
|423||Midsalip||[[:wikidata:Q132262|Q132262]]||[[{{wikidata|label|linked|Q132262}}]]||{{wikidata|title|linked|Q132262}}||Zamboanga del Sur||Bayan
|-
|424||Molave||[[:wikidata:Q132271|Q132271]]||[[{{wikidata|label|linked|Q132271}}]]||{{wikidata|title|linked|Q132271}}||Zamboanga del Sur||Bayan
|-
|425||Pagadian||[[:wikidata:Q874270|Q874270]]||[[{{wikidata|label|linked|Q874270}}]]||{{wikidata|title|linked|Q874270}}||Zamboanga del Sur||Lungsod
|-
|426||Pitogo||[[:wikidata:Q132284|Q132284]]||[[{{wikidata|label|linked|Q132284}}]]||{{wikidata|title|linked|Q132284}}||Zamboanga del Sur||Bayan
|-
|427||Ramon Magsaysay||[[:wikidata:Q132301|Q132301]]||[[{{wikidata|label|linked|Q132301}}]]||{{wikidata|title|linked|Q132301}}||Zamboanga del Sur||Bayan
|-
|428||San Miguel||[[:wikidata:Q132317|Q132317]]||[[{{wikidata|label|linked|Q132317}}]]||{{wikidata|title|linked|Q132317}}||Zamboanga del Sur||Bayan
|-
|429||San Pablo||[[:wikidata:Q132337|Q132337]]||[[{{wikidata|label|linked|Q132337}}]]||{{wikidata|title|linked|Q132337}}||Zamboanga del Sur||Bayan
|-
|430||Sominot||[[:wikidata:Q132353|Q132353]]||[[{{wikidata|label|linked|Q132353}}]]||{{wikidata|title|linked|Q132353}}||Zamboanga del Sur||Bayan
|-
|431||Tabina||[[:wikidata:Q132371|Q132371]]||[[{{wikidata|label|linked|Q132371}}]]||{{wikidata|title|linked|Q132371}}||Zamboanga del Sur||Bayan
|-
|432||Tambulig||[[:wikidata:Q132391|Q132391]]||[[{{wikidata|label|linked|Q132391}}]]||{{wikidata|title|linked|Q132391}}||Zamboanga del Sur||Bayan
|-
|433||Tigbao||[[:wikidata:Q132403|Q132403]]||[[{{wikidata|label|linked|Q132403}}]]||{{wikidata|title|linked|Q132403}}||Zamboanga del Sur||Bayan
|-
|434||Tukuran||[[:wikidata:Q132417|Q132417]]||[[{{wikidata|label|linked|Q132417}}]]||{{wikidata|title|linked|Q132417}}||Zamboanga del Sur||Bayan
|-
|435||Vincenzo A. Sagun||[[:wikidata:Q132432|Q132432]]||[[{{wikidata|label|linked|Q132432}}]]||{{wikidata|title|linked|Q132432}}||Zamboanga del Sur||Bayan
|-
|436||Zamboanga City||[[:wikidata:Q1629|Q1629]]||[[{{wikidata|label|linked|Q1629}}]]||{{wikidata|title|linked|Q1629}}||Zamboanga del Sur||Lungsod
|-
|437||Baliguian||[[:wikidata:Q132482|Q132482]]||[[{{wikidata|label|linked|Q132482}}]]||{{wikidata|title|linked|Q132482}}||Zamboanga del Norte||Bayan
|-
|438||Dapitan||[[:wikidata:Q1014775|Q1014775]]||[[{{wikidata|label|linked|Q1014775}}]]||{{wikidata|title|linked|Q1014775}}||Zamboanga del Norte||Lungsod
|-
|439||Dipolog||[[:wikidata:Q432169|Q432169]]||[[{{wikidata|label|linked|Q432169}}]]||{{wikidata|title|linked|Q432169}}||Zamboanga del Norte||Lungsod
|-
|440||Godod||[[:wikidata:Q132496|Q132496]]||[[{{wikidata|label|linked|Q132496}}]]||{{wikidata|title|linked|Q132496}}||Zamboanga del Norte||Bayan
|-
|441||Gutalac||[[:wikidata:Q132507|Q132507]]||[[{{wikidata|label|linked|Q132507}}]]||{{wikidata|title|linked|Q132507}}||Zamboanga del Norte||Bayan
|-
|442||Jose Dalman||[[:wikidata:Q132520|Q132520]]||[[{{wikidata|label|linked|Q132520}}]]||{{wikidata|title|linked|Q132520}}||Zamboanga del Norte||Bayan
|-
|443||Kalawit||[[:wikidata:Q132523|Q132523]]||[[{{wikidata|label|linked|Q132523}}]]||{{wikidata|title|linked|Q132523}}||Zamboanga del Norte||Bayan
|-
|444||Katipunan||[[:wikidata:Q132527|Q132527]]||[[{{wikidata|label|linked|Q132527}}]]||{{wikidata|title|linked|Q132527}}||Zamboanga del Norte||Bayan
|-
|445||La Libertad||[[:wikidata:Q132532|Q132532]]||[[{{wikidata|label|linked|Q132532}}]]||{{wikidata|title|linked|Q132532}}||Zamboanga del Norte||Bayan
|-
|446||Labason||[[:wikidata:Q132535|Q132535]]||[[{{wikidata|label|linked|Q132535}}]]||{{wikidata|title|linked|Q132535}}||Zamboanga del Norte||Bayan
|-
|447||Leon B. Postigo||[[:wikidata:Q132540|Q132540]]||[[{{wikidata|label|linked|Q132540}}]]||{{wikidata|title|linked|Q132540}}||Zamboanga del Norte||Bayan
|-
|448||Liloy||[[:wikidata:Q132553|Q132553]]||[[{{wikidata|label|linked|Q132553}}]]||{{wikidata|title|linked|Q132553}}||Zamboanga del Norte||Bayan
|-
|449||Manukan||[[:wikidata:Q132561|Q132561]]||[[{{wikidata|label|linked|Q132561}}]]||{{wikidata|title|linked|Q132561}}||Zamboanga del Norte||Bayan
|-
|450||Mutia||[[:wikidata:Q132566|Q132566]]||[[{{wikidata|label|linked|Q132566}}]]||{{wikidata|title|linked|Q132566}}||Zamboanga del Norte||Bayan
|-
|451||Piñan||[[:wikidata:Q132570|Q132570]]||[[{{wikidata|label|linked|Q132570}}]]||{{wikidata|title|linked|Q132570}}||Zamboanga del Norte||Bayan
|-
|452||Polanco||[[:wikidata:Q132574|Q132574]]||[[{{wikidata|label|linked|Q132574}}]]||{{wikidata|title|linked|Q132574}}||Zamboanga del Norte||Bayan
|-
|453||Roxas||[[:wikidata:Q132578|Q132578]]||[[{{wikidata|label|linked|Q132578}}]]||{{wikidata|title|linked|Q132578}}||Zamboanga del Norte||Bayan
|-
|454||Rizal||[[:wikidata:Q132583|Q132583]]||[[{{wikidata|label|linked|Q132583}}]]||{{wikidata|title|linked|Q132583}}||Zamboanga del Norte||Bayan
|-
|455||Salug||[[:wikidata:Q132586|Q132586]]||[[{{wikidata|label|linked|Q132586}}]]||{{wikidata|title|linked|Q132586}}||Zamboanga del Norte||Bayan
|-
|456||Sergio Osmeña Sr.||[[:wikidata:Q132591|Q132591]]||[[{{wikidata|label|linked|Q132591}}]]||{{wikidata|title|linked|Q132591}}||Zamboanga del Norte||Bayan
|-
|457||Siayan||[[:wikidata:Q132594|Q132594]]||[[{{wikidata|label|linked|Q132594}}]]||{{wikidata|title|linked|Q132594}}||Zamboanga del Norte||Bayan
|-
|458||Sibuco||[[:wikidata:Q132599|Q132599]]||[[{{wikidata|label|linked|Q132599}}]]||{{wikidata|title|linked|Q132599}}||Zamboanga del Norte||Bayan
|-
|459||Sibutad||[[:wikidata:Q132601|Q132601]]||[[{{wikidata|label|linked|Q132601}}]]||{{wikidata|title|linked|Q132601}}||Zamboanga del Norte||Bayan
|-
|460||Sindangan||[[:wikidata:Q132605|Q132605]]||[[{{wikidata|label|linked|Q132605}}]]||{{wikidata|title|linked|Q132605}}||Zamboanga del Norte||Bayan
|-
|461||Siocon||[[:wikidata:Q132610|Q132610]]||[[{{wikidata|label|linked|Q132610}}]]||{{wikidata|title|linked|Q132610}}||Zamboanga del Norte||Bayan
|-
|462||Sirawai||[[:wikidata:Q132613|Q132613]]||[[{{wikidata|label|linked|Q132613}}]]||{{wikidata|title|linked|Q132613}}||Zamboanga del Norte||Bayan
|-
|463||Tampilisan||[[:wikidata:Q132617|Q132617]]||[[{{wikidata|label|linked|Q132617}}]]||{{wikidata|title|linked|Q132617}}||Zamboanga del Norte||Bayan
|-
|464||Anahawan||[[:wikidata:Q173608|Q173608]]||[[{{wikidata|label|linked|Q173608}}]]||{{wikidata|title|linked|Q173608}}||Southern Leyte||Bayan
|-
|465||Bontoc||[[:wikidata:Q173622|Q173622]]||[[{{wikidata|label|linked|Q173622}}]]||{{wikidata|title|linked|Q173622}}||Southern Leyte||Bayan
|-
|466||Hinunangan||[[:wikidata:Q173632|Q173632]]||[[{{wikidata|label|linked|Q173632}}]]||{{wikidata|title|linked|Q173632}}||Southern Leyte||Bayan
|-
|467||Hinundayan||[[:wikidata:Q173641|Q173641]]||[[{{wikidata|label|linked|Q173641}}]]||{{wikidata|title|linked|Q173641}}||Southern Leyte||Bayan
|-
|468||Libagon||[[:wikidata:Q173655|Q173655]]||[[{{wikidata|label|linked|Q173655}}]]||{{wikidata|title|linked|Q173655}}||Southern Leyte||Bayan
|-
|469||Liloan||[[:wikidata:Q173665|Q173665]]||[[{{wikidata|label|linked|Q173665}}]]||{{wikidata|title|linked|Q173665}}||Southern Leyte||Bayan
|-
|470||Limasawa||[[:wikidata:Q173678|Q173678]]||[[{{wikidata|label|linked|Q173678}}]]||{{wikidata|title|linked|Q173678}}||Southern Leyte||Bayan
|-
|471||Maasin||[[:wikidata:Q1025387|Q1025387]]||[[{{wikidata|label|linked|Q1025387}}]]||{{wikidata|title|linked|Q1025387}}||Southern Leyte||Lungsod
|-
|472||Macrohon||[[:wikidata:Q173688|Q173688]]||[[{{wikidata|label|linked|Q173688}}]]||{{wikidata|title|linked|Q173688}}||Southern Leyte||Bayan
|-
|473||Malitbog||[[:wikidata:Q173701|Q173701]]||[[{{wikidata|label|linked|Q173701}}]]||{{wikidata|title|linked|Q173701}}||Southern Leyte||Bayan
|-
|474||Padre Burgos||[[:wikidata:Q173713|Q173713]]||[[{{wikidata|label|linked|Q173713}}]]||{{wikidata|title|linked|Q173713}}||Southern Leyte||Bayan
|-
|475||Pintuyan||[[:wikidata:Q173723|Q173723]]||[[{{wikidata|label|linked|Q173723}}]]||{{wikidata|title|linked|Q173723}}||Southern Leyte||Bayan
|-
|476||Saint Bernard||[[:wikidata:Q173735|Q173735]]||[[{{wikidata|label|linked|Q173735}}]]||{{wikidata|title|linked|Q173735}}||Southern Leyte||Bayan
|-
|477||San Francisco||[[:wikidata:Q173745|Q173745]]||[[{{wikidata|label|linked|Q173745}}]]||{{wikidata|title|linked|Q173745}}||Southern Leyte||Bayan
|-
|478||San Juan||[[:wikidata:Q173754|Q173754]]||[[{{wikidata|label|linked|Q173754}}]]||{{wikidata|title|linked|Q173754}}||Southern Leyte||Bayan
|-
|479||San Ricardo||[[:wikidata:Q173763|Q173763]]||[[{{wikidata|label|linked|Q173763}}]]||{{wikidata|title|linked|Q173763}}||Southern Leyte||Bayan
|-
|480||Silago||[[:wikidata:Q173774|Q173774]]||[[{{wikidata|label|linked|Q173774}}]]||{{wikidata|title|linked|Q173774}}||Southern Leyte||Bayan
|-
|481||Sogod||[[:wikidata:Q173792|Q173792]]||[[{{wikidata|label|linked|Q173792}}]]||{{wikidata|title|linked|Q173792}}||Southern Leyte||Bayan
|-
|482||Tomas Oppus||[[:wikidata:Q173811|Q173811]]||[[{{wikidata|label|linked|Q173811}}]]||{{wikidata|title|linked|Q173811}}||Southern Leyte||Bayan
|-
|483||Almagro||[[:wikidata:Q816088|Q816088]]||[[{{wikidata|label|linked|Q816088}}]]||{{wikidata|title|linked|Q816088}}||Samar||Bayan
|-
|484||Basey||[[:wikidata:Q809957|Q809957]]||[[{{wikidata|label|linked|Q809957}}]]||{{wikidata|title|linked|Q809957}}||Samar||Bayan
|-
|485||Calbayog||[[:wikidata:Q577336|Q577336]]||[[{{wikidata|label|linked|Q577336}}]]||{{wikidata|title|linked|Q577336}}||Samar||Lungsod
|-
|486||Calbiga||[[:wikidata:Q816128|Q816128]]||[[{{wikidata|label|linked|Q816128}}]]||{{wikidata|title|linked|Q816128}}||Samar||Bayan
|-
|487||Catbalogan||[[:wikidata:Q1020709|Q1020709]]||[[{{wikidata|label|linked|Q1020709}}]]||{{wikidata|title|linked|Q1020709}}||Samar||Lungsod
|-
|488||Daram||[[:wikidata:Q816142|Q816142]]||[[{{wikidata|label|linked|Q816142}}]]||{{wikidata|title|linked|Q816142}}||Samar||Bayan
|-
|489||Gandara||[[:wikidata:Q816160|Q816160]]||[[{{wikidata|label|linked|Q816160}}]]||{{wikidata|title|linked|Q816160}}||Samar||Bayan
|-
|490||Hinabangan||[[:wikidata:Q816184|Q816184]]||[[{{wikidata|label|linked|Q816184}}]]||{{wikidata|title|linked|Q816184}}||Samar||Bayan
|-
|491||Jiabong||[[:wikidata:Q816207|Q816207]]||[[{{wikidata|label|linked|Q816207}}]]||{{wikidata|title|linked|Q816207}}||Samar||Bayan
|-
|492||Marabut||[[:wikidata:Q816240|Q816240]]||[[{{wikidata|label|linked|Q816240}}]]||{{wikidata|title|linked|Q816240}}||Samar||Bayan
|-
|493||Matuguinao||[[:wikidata:Q816267|Q816267]]||[[{{wikidata|label|linked|Q816267}}]]||{{wikidata|title|linked|Q816267}}||Samar||Bayan
|-
|494||Motiong||[[:wikidata:Q816296|Q816296]]||[[{{wikidata|label|linked|Q816296}}]]||{{wikidata|title|linked|Q816296}}||Samar||Bayan
|-
|495||Pagsanghan||[[:wikidata:Q816320|Q816320]]||[[{{wikidata|label|linked|Q816320}}]]||{{wikidata|title|linked|Q816320}}||Samar||Bayan
|-
|496||Paranas||[[:wikidata:Q816342|Q816342]]||[[{{wikidata|label|linked|Q816342}}]]||{{wikidata|title|linked|Q816342}}||Samar||Bayan
|-
|497||Pinabacdao||[[:wikidata:Q252184|Q252184]]||[[{{wikidata|label|linked|Q252184}}]]||{{wikidata|title|linked|Q252184}}||Samar||Bayan
|-
|498||San Jorge||[[:wikidata:Q816396|Q816396]]||[[{{wikidata|label|linked|Q816396}}]]||{{wikidata|title|linked|Q816396}}||Samar||Bayan
|-
|499||San Jose de Buan||[[:wikidata:Q816413|Q816413]]||[[{{wikidata|label|linked|Q816413}}]]||{{wikidata|title|linked|Q816413}}||Samar||Bayan
|-
|500||San Sebastian||[[:wikidata:Q816435|Q816435]]||[[{{wikidata|label|linked|Q816435}}]]||{{wikidata|title|linked|Q816435}}||Samar||Bayan
|-
|501||Santa Margarita||[[:wikidata:Q816454|Q816454]]||[[{{wikidata|label|linked|Q816454}}]]||{{wikidata|title|linked|Q816454}}||Samar||Bayan
|-
|502||Santa Rita||[[:wikidata:Q816471|Q816471]]||[[{{wikidata|label|linked|Q816471}}]]||{{wikidata|title|linked|Q816471}}||Samar||Bayan
|-
|503||Santo Niño||[[:wikidata:Q608320|Q608320]]||[[{{wikidata|label|linked|Q608320}}]]||{{wikidata|title|linked|Q608320}}||Samar||Bayan
|-
|504||Tagapul-an||[[:wikidata:Q126346|Q126346]]||[[{{wikidata|label|linked|Q126346}}]]||{{wikidata|title|linked|Q126346}}||Samar||Bayan
|-
|505||Talalora||[[:wikidata:Q816519|Q816519]]||[[{{wikidata|label|linked|Q816519}}]]||{{wikidata|title|linked|Q816519}}||Samar||Bayan
|-
|506||Tarangnan||[[:wikidata:Q816542|Q816542]]||[[{{wikidata|label|linked|Q816542}}]]||{{wikidata|title|linked|Q816542}}||Samar||Bayan
|-
|507||Villareal||[[:wikidata:Q816564|Q816564]]||[[{{wikidata|label|linked|Q816564}}]]||{{wikidata|title|linked|Q816564}}||Samar||Bayan
|-
|508||Zumarraga||[[:wikidata:Q229664|Q229664]]||[[{{wikidata|label|linked|Q229664}}]]||{{wikidata|title|linked|Q229664}}||Samar||Bayan
|-
|509||Allen||[[:wikidata:Q174784|Q174784]]||[[{{wikidata|label|linked|Q174784}}]]||{{wikidata|title|linked|Q174784}}||Northern Samar||Bayan
|-
|510||Biri||[[:wikidata:Q174801|Q174801]]||[[{{wikidata|label|linked|Q174801}}]]||{{wikidata|title|linked|Q174801}}||Northern Samar||Bayan
|-
|511||Bobon||[[:wikidata:Q174822|Q174822]]||[[{{wikidata|label|linked|Q174822}}]]||{{wikidata|title|linked|Q174822}}||Northern Samar||Bayan
|-
|512||Capul||[[:wikidata:Q174871|Q174871]]||[[{{wikidata|label|linked|Q174871}}]]||{{wikidata|title|linked|Q174871}}||Northern Samar||Bayan
|-
|513||Catarman||[[:wikidata:Q174886|Q174886]]||[[{{wikidata|label|linked|Q174886}}]]||{{wikidata|title|linked|Q174886}}||Northern Samar||Bayan
|-
|514||Catubig||[[:wikidata:Q174906|Q174906]]||[[{{wikidata|label|linked|Q174906}}]]||{{wikidata|title|linked|Q174906}}||Northern Samar||Bayan
|-
|515||Gamay||[[:wikidata:Q174919|Q174919]]||[[{{wikidata|label|linked|Q174919}}]]||{{wikidata|title|linked|Q174919}}||Northern Samar||Bayan
|-
|516||Laoang||[[:wikidata:Q174940|Q174940]]||[[{{wikidata|label|linked|Q174940}}]]||{{wikidata|title|linked|Q174940}}||Northern Samar||Bayan
|-
|517||Lapinig||[[:wikidata:Q174962|Q174962]]||[[{{wikidata|label|linked|Q174962}}]]||{{wikidata|title|linked|Q174962}}||Northern Samar||Bayan
|-
|518||Las Navas||[[:wikidata:Q174987|Q174987]]||[[{{wikidata|label|linked|Q174987}}]]||{{wikidata|title|linked|Q174987}}||Northern Samar||Bayan
|-
|519||Lavezares||[[:wikidata:Q175008|Q175008]]||[[{{wikidata|label|linked|Q175008}}]]||{{wikidata|title|linked|Q175008}}||Northern Samar||Bayan
|-
|520||Lope de Vega||[[:wikidata:Q175031|Q175031]]||[[{{wikidata|label|linked|Q175031}}]]||{{wikidata|title|linked|Q175031}}||Northern Samar||Bayan
|-
|521||Mapanas||[[:wikidata:Q175054|Q175054]]||[[{{wikidata|label|linked|Q175054}}]]||{{wikidata|title|linked|Q175054}}||Northern Samar||Bayan
|-
|522||Mondragon||[[:wikidata:Q175082|Q175082]]||[[{{wikidata|label|linked|Q175082}}]]||{{wikidata|title|linked|Q175082}}||Northern Samar||Bayan
|-
|523||Palapag||[[:wikidata:Q175100|Q175100]]||[[{{wikidata|label|linked|Q175100}}]]||{{wikidata|title|linked|Q175100}}||Northern Samar||Bayan
|-
|524||Pambujan||[[:wikidata:Q175115|Q175115]]||[[{{wikidata|label|linked|Q175115}}]]||{{wikidata|title|linked|Q175115}}||Northern Samar||Bayan
|-
|525||Rosario||[[:wikidata:Q175136|Q175136]]||[[{{wikidata|label|linked|Q175136}}]]||{{wikidata|title|linked|Q175136}}||Northern Samar||Bayan
|-
|526||San Antonio||[[:wikidata:Q175163|Q175163]]||[[{{wikidata|label|linked|Q175163}}]]||{{wikidata|title|linked|Q175163}}||Northern Samar||Bayan
|-
|527||San Isidro||[[:wikidata:Q175183|Q175183]]||[[{{wikidata|label|linked|Q175183}}]]||{{wikidata|title|linked|Q175183}}||Northern Samar||Bayan
|-
|528||San Jose||[[:wikidata:Q175203|Q175203]]||[[{{wikidata|label|linked|Q175203}}]]||{{wikidata|title|linked|Q175203}}||Northern Samar||Bayan
|-
|529||San Roque||[[:wikidata:Q175230|Q175230]]||[[{{wikidata|label|linked|Q175230}}]]||{{wikidata|title|linked|Q175230}}||Northern Samar||Bayan
|-
|530||San Vicente||[[:wikidata:Q175247|Q175247]]||[[{{wikidata|label|linked|Q175247}}]]||{{wikidata|title|linked|Q175247}}||Northern Samar||Bayan
|-
|531||Silvino Lobos||[[:wikidata:Q175267|Q175267]]||[[{{wikidata|label|linked|Q175267}}]]||{{wikidata|title|linked|Q175267}}||Northern Samar||Bayan
|-
|532||Victoria||[[:wikidata:Q175283|Q175283]]||[[{{wikidata|label|linked|Q175283}}]]||{{wikidata|title|linked|Q175283}}||Northern Samar||Bayan
|-
|533||Abuyog||[[:wikidata:Q212877|Q212877]]||[[{{wikidata|label|linked|Q212877}}]]||{{wikidata|title|linked|Q212877}}||Leyte||Bayan
|-
|534||Alangalang||[[:wikidata:Q212888|Q212888]]||[[{{wikidata|label|linked|Q212888}}]]||{{wikidata|title|linked|Q212888}}||Leyte||Bayan
|-
|535||Albuera||[[:wikidata:Q212896|Q212896]]||[[{{wikidata|label|linked|Q212896}}]]||{{wikidata|title|linked|Q212896}}||Leyte||Bayan
|-
|536||Babatngon||[[:wikidata:Q212907|Q212907]]||[[{{wikidata|label|linked|Q212907}}]]||{{wikidata|title|linked|Q212907}}||Leyte||Bayan
|-
|537||Barugo||[[:wikidata:Q212924|Q212924]]||[[{{wikidata|label|linked|Q212924}}]]||{{wikidata|title|linked|Q212924}}||Leyte||Bayan
|-
|538||Bato||[[:wikidata:Q212935|Q212935]]||[[{{wikidata|label|linked|Q212935}}]]||{{wikidata|title|linked|Q212935}}||Leyte||Bayan
|-
|539||Baybay||[[:wikidata:Q812117|Q812117]]||[[{{wikidata|label|linked|Q812117}}]]||{{wikidata|title|linked|Q812117}}||Leyte||Lungsod
|-
|540||Burauen||[[:wikidata:Q212945|Q212945]]||[[{{wikidata|label|linked|Q212945}}]]||{{wikidata|title|linked|Q212945}}||Leyte||Bayan
|-
|541||Calubian||[[:wikidata:Q212951|Q212951]]||[[{{wikidata|label|linked|Q212951}}]]||{{wikidata|title|linked|Q212951}}||Leyte||Bayan
|-
|542||Capoocan||[[:wikidata:Q212958|Q212958]]||[[{{wikidata|label|linked|Q212958}}]]||{{wikidata|title|linked|Q212958}}||Leyte||Bayan
|-
|543||Carigara||[[:wikidata:Q212969|Q212969]]||[[{{wikidata|label|linked|Q212969}}]]||{{wikidata|title|linked|Q212969}}||Leyte||Bayan
|-
|544||Dagami||[[:wikidata:Q212981|Q212981]]||[[{{wikidata|label|linked|Q212981}}]]||{{wikidata|title|linked|Q212981}}||Leyte||Bayan
|-
|545||Dulag||[[:wikidata:Q212988|Q212988]]||[[{{wikidata|label|linked|Q212988}}]]||{{wikidata|title|linked|Q212988}}||Leyte||Bayan
|-
|546||Hilongos||[[:wikidata:Q213006|Q213006]]||[[{{wikidata|label|linked|Q213006}}]]||{{wikidata|title|linked|Q213006}}||Leyte||Bayan
|-
|547||Hindang||[[:wikidata:Q213024|Q213024]]||[[{{wikidata|label|linked|Q213024}}]]||{{wikidata|title|linked|Q213024}}||Leyte||Bayan
|-
|548||Inopacan||[[:wikidata:Q213042|Q213042]]||[[{{wikidata|label|linked|Q213042}}]]||{{wikidata|title|linked|Q213042}}||Leyte||Bayan
|-
|549||Isabel||[[:wikidata:Q213060|Q213060]]||[[{{wikidata|label|linked|Q213060}}]]||{{wikidata|title|linked|Q213060}}||Leyte||Bayan
|-
|550||Jaro||[[:wikidata:Q213086|Q213086]]||[[{{wikidata|label|linked|Q213086}}]]||{{wikidata|title|linked|Q213086}}||Leyte||Bayan
|-
|551||Javier||[[:wikidata:Q213101|Q213101]]||[[{{wikidata|label|linked|Q213101}}]]||{{wikidata|title|linked|Q213101}}||Leyte||Bayan
|-
|552||Julita||[[:wikidata:Q213113|Q213113]]||[[{{wikidata|label|linked|Q213113}}]]||{{wikidata|title|linked|Q213113}}||Leyte||Bayan
|-
|553||Kananga||[[:wikidata:Q213130|Q213130]]||[[{{wikidata|label|linked|Q213130}}]]||{{wikidata|title|linked|Q213130}}||Leyte||Bayan
|-
|554||La Paz||[[:wikidata:Q213144|Q213144]]||[[{{wikidata|label|linked|Q213144}}]]||{{wikidata|title|linked|Q213144}}||Leyte||Bayan
|-
|555||Leyte||[[:wikidata:Q213160|Q213160]]||[[{{wikidata|label|linked|Q213160}}]]||{{wikidata|title|linked|Q213160}}||Leyte||Bayan
|-
|556||MacArthur||[[:wikidata:Q213174|Q213174]]||[[{{wikidata|label|linked|Q213174}}]]||{{wikidata|title|linked|Q213174}}||Leyte||Bayan
|-
|557||Mahaplag||[[:wikidata:Q213190|Q213190]]||[[{{wikidata|label|linked|Q213190}}]]||{{wikidata|title|linked|Q213190}}||Leyte||Bayan
|-
|558||Matag-ob||[[:wikidata:Q213209|Q213209]]||[[{{wikidata|label|linked|Q213209}}]]||{{wikidata|title|linked|Q213209}}||Leyte||Bayan
|-
|559||Matalom||[[:wikidata:Q213227|Q213227]]||[[{{wikidata|label|linked|Q213227}}]]||{{wikidata|title|linked|Q213227}}||Leyte||Bayan
|-
|560||Mayorga||[[:wikidata:Q213245|Q213245]]||[[{{wikidata|label|linked|Q213245}}]]||{{wikidata|title|linked|Q213245}}||Leyte||Bayan
|-
|561||Merida||[[:wikidata:Q213261|Q213261]]||[[{{wikidata|label|linked|Q213261}}]]||{{wikidata|title|linked|Q213261}}||Leyte||Bayan
|-
|562||Ormoc||[[:wikidata:Q1014782|Q1014782]]||[[{{wikidata|label|linked|Q1014782}}]]||{{wikidata|title|linked|Q1014782}}||Leyte||Lungsod
|-
|563||Palo||[[:wikidata:Q213281|Q213281]]||[[{{wikidata|label|linked|Q213281}}]]||{{wikidata|title|linked|Q213281}}||Leyte||Bayan
|-
|564||Palompon||[[:wikidata:Q213303|Q213303]]||[[{{wikidata|label|linked|Q213303}}]]||{{wikidata|title|linked|Q213303}}||Leyte||Bayan
|-
|565||Pastrana||[[:wikidata:Q213323|Q213323]]||[[{{wikidata|label|linked|Q213323}}]]||{{wikidata|title|linked|Q213323}}||Leyte||Bayan
|-
|566||San Isidro||[[:wikidata:Q213341|Q213341]]||[[{{wikidata|label|linked|Q213341}}]]||{{wikidata|title|linked|Q213341}}||Leyte||Bayan
|-
|567||San Miguel||[[:wikidata:Q213357|Q213357]]||[[{{wikidata|label|linked|Q213357}}]]||{{wikidata|title|linked|Q213357}}||Leyte||Bayan
|-
|568||Santa Fe||[[:wikidata:Q213378|Q213378]]||[[{{wikidata|label|linked|Q213378}}]]||{{wikidata|title|linked|Q213378}}||Leyte||Bayan
|-
|569||Tabango||[[:wikidata:Q213400|Q213400]]||[[{{wikidata|label|linked|Q213400}}]]||{{wikidata|title|linked|Q213400}}||Leyte||Bayan
|-
|570||Tabontabon||[[:wikidata:Q213420|Q213420]]||[[{{wikidata|label|linked|Q213420}}]]||{{wikidata|title|linked|Q213420}}||Leyte||Bayan
|-
|571||Tacloban||[[:wikidata:Q40626|Q40626]]||[[{{wikidata|label|linked|Q40626}}]]||{{wikidata|title|linked|Q40626}}||Leyte||Lungsod
|-
|572||Tanauan||[[:wikidata:Q213431|Q213431]]||[[{{wikidata|label|linked|Q213431}}]]||{{wikidata|title|linked|Q213431}}||Leyte||Bayan
|-
|573||Tolosa||[[:wikidata:Q213442|Q213442]]||[[{{wikidata|label|linked|Q213442}}]]||{{wikidata|title|linked|Q213442}}||Leyte||Bayan
|-
|574||Tunga||[[:wikidata:Q213455|Q213455]]||[[{{wikidata|label|linked|Q213455}}]]||{{wikidata|title|linked|Q213455}}||Leyte||Bayan
|-
|575||Villaba||[[:wikidata:Q213463|Q213463]]||[[{{wikidata|label|linked|Q213463}}]]||{{wikidata|title|linked|Q213463}}||Leyte||Bayan
|-
|576||Arteche||[[:wikidata:Q313880|Q313880]]||[[{{wikidata|label|linked|Q313880}}]]||{{wikidata|title|linked|Q313880}}||Eastern Samar||Bayan
|-
|577||Balangiga||[[:wikidata:Q313904|Q313904]]||[[{{wikidata|label|linked|Q313904}}]]||{{wikidata|title|linked|Q313904}}||Eastern Samar||Bayan
|-
|578||Balangkayan||[[:wikidata:Q313914|Q313914]]||[[{{wikidata|label|linked|Q313914}}]]||{{wikidata|title|linked|Q313914}}||Eastern Samar||Bayan
|-
|579||Borongan||[[:wikidata:Q894059|Q894059]]||[[{{wikidata|label|linked|Q894059}}]]||{{wikidata|title|linked|Q894059}}||Eastern Samar||Lungsod
|-
|580||Can-avid||[[:wikidata:Q313926|Q313926]]||[[{{wikidata|label|linked|Q313926}}]]||{{wikidata|title|linked|Q313926}}||Eastern Samar||Bayan
|-
|581||Dolores||[[:wikidata:Q313939|Q313939]]||[[{{wikidata|label|linked|Q313939}}]]||{{wikidata|title|linked|Q313939}}||Eastern Samar||Bayan
|-
|582||General MacArthur||[[:wikidata:Q313951|Q313951]]||[[{{wikidata|label|linked|Q313951}}]]||{{wikidata|title|linked|Q313951}}||Eastern Samar||Bayan
|-
|583||Giporlos||[[:wikidata:Q313967|Q313967]]||[[{{wikidata|label|linked|Q313967}}]]||{{wikidata|title|linked|Q313967}}||Eastern Samar||Bayan
|-
|584||Guiuan||[[:wikidata:Q313984|Q313984]]||[[{{wikidata|label|linked|Q313984}}]]||{{wikidata|title|linked|Q313984}}||Eastern Samar||Bayan
|-
|585||Hernani||[[:wikidata:Q314002|Q314002]]||[[{{wikidata|label|linked|Q314002}}]]||{{wikidata|title|linked|Q314002}}||Eastern Samar||Bayan
|-
|586||Jipapad||[[:wikidata:Q314021|Q314021]]||[[{{wikidata|label|linked|Q314021}}]]||{{wikidata|title|linked|Q314021}}||Eastern Samar||Bayan
|-
|587||Lawaan||[[:wikidata:Q314046|Q314046]]||[[{{wikidata|label|linked|Q314046}}]]||{{wikidata|title|linked|Q314046}}||Eastern Samar||Bayan
|-
|588||Llorente||[[:wikidata:Q314070|Q314070]]||[[{{wikidata|label|linked|Q314070}}]]||{{wikidata|title|linked|Q314070}}||Eastern Samar||Bayan
|-
|589||Maslog||[[:wikidata:Q314096|Q314096]]||[[{{wikidata|label|linked|Q314096}}]]||{{wikidata|title|linked|Q314096}}||Eastern Samar||Bayan
|-
|590||Maydolong||[[:wikidata:Q314117|Q314117]]||[[{{wikidata|label|linked|Q314117}}]]||{{wikidata|title|linked|Q314117}}||Eastern Samar||Bayan
|-
|591||Mercedes||[[:wikidata:Q314129|Q314129]]||[[{{wikidata|label|linked|Q314129}}]]||{{wikidata|title|linked|Q314129}}||Eastern Samar||Bayan
|-
|592||Oras||[[:wikidata:Q314154|Q314154]]||[[{{wikidata|label|linked|Q314154}}]]||{{wikidata|title|linked|Q314154}}||Eastern Samar||Bayan
|-
|593||Quinapondan||[[:wikidata:Q314175|Q314175]]||[[{{wikidata|label|linked|Q314175}}]]||{{wikidata|title|linked|Q314175}}||Eastern Samar||Bayan
|-
|594||Salcedo||[[:wikidata:Q314197|Q314197]]||[[{{wikidata|label|linked|Q314197}}]]||{{wikidata|title|linked|Q314197}}||Eastern Samar||Bayan
|-
|595||San Julian||[[:wikidata:Q314220|Q314220]]||[[{{wikidata|label|linked|Q314220}}]]||{{wikidata|title|linked|Q314220}}||Eastern Samar||Bayan
|-
|596||San Policarpo||[[:wikidata:Q314239|Q314239]]||[[{{wikidata|label|linked|Q314239}}]]||{{wikidata|title|linked|Q314239}}||Eastern Samar||Bayan
|-
|597||Sulat||[[:wikidata:Q314257|Q314257]]||[[{{wikidata|label|linked|Q314257}}]]||{{wikidata|title|linked|Q314257}}||Eastern Samar||Bayan
|-
|598||Taft||[[:wikidata:Q205677|Q205677]]||[[{{wikidata|label|linked|Q205677}}]]||{{wikidata|title|linked|Q205677}}||Eastern Samar||Bayan
|-
|599||Almeria||[[:wikidata:Q406163|Q406163]]||[[{{wikidata|label|linked|Q406163}}]]||{{wikidata|title|linked|Q406163}}||Biliran||Bayan
|-
|600||Biliran||[[:wikidata:Q406186|Q406186]]||[[{{wikidata|label|linked|Q406186}}]]||{{wikidata|title|linked|Q406186}}||Biliran||Bayan
|-
|601||Cabucgayan||[[:wikidata:Q406226|Q406226]]||[[{{wikidata|label|linked|Q406226}}]]||{{wikidata|title|linked|Q406226}}||Biliran||Bayan
|-
|602||Caibiran||[[:wikidata:Q406267|Q406267]]||[[{{wikidata|label|linked|Q406267}}]]||{{wikidata|title|linked|Q406267}}||Biliran||Bayan
|-
|603||Culaba||[[:wikidata:Q406317|Q406317]]||[[{{wikidata|label|linked|Q406317}}]]||{{wikidata|title|linked|Q406317}}||Biliran||Bayan
|-
|604||Kawayan||[[:wikidata:Q406353|Q406353]]||[[{{wikidata|label|linked|Q406353}}]]||{{wikidata|title|linked|Q406353}}||Biliran||Bayan
|-
|605||Maripipi||[[:wikidata:Q406393|Q406393]]||[[{{wikidata|label|linked|Q406393}}]]||{{wikidata|title|linked|Q406393}}||Biliran||Bayan
|-
|606||Naval||[[:wikidata:Q277211|Q277211]]||[[{{wikidata|label|linked|Q277211}}]]||{{wikidata|title|linked|Q277211}}||Biliran||Bayan
|-
|607||Alcantara||[[:wikidata:Q315636|Q315636]]||[[{{wikidata|label|linked|Q315636}}]]||{{wikidata|title|linked|Q315636}}||Cebu||Bayan
|-
|608||Alcoy||[[:wikidata:Q315655|Q315655]]||[[{{wikidata|label|linked|Q315655}}]]||{{wikidata|title|linked|Q315655}}||Cebu||Bayan
|-
|609||Alegria||[[:wikidata:Q315669|Q315669]]||[[{{wikidata|label|linked|Q315669}}]]||{{wikidata|title|linked|Q315669}}||Cebu||Bayan
|-
|610||Aloguinsan||[[:wikidata:Q315687|Q315687]]||[[{{wikidata|label|linked|Q315687}}]]||{{wikidata|title|linked|Q315687}}||Cebu||Bayan
|-
|611||Argao||[[:wikidata:Q315703|Q315703]]||[[{{wikidata|label|linked|Q315703}}]]||{{wikidata|title|linked|Q315703}}||Cebu||Bayan
|-
|612||Asturias||[[:wikidata:Q315719|Q315719]]||[[{{wikidata|label|linked|Q315719}}]]||{{wikidata|title|linked|Q315719}}||Cebu||Bayan
|-
|613||Badian||[[:wikidata:Q315733|Q315733]]||[[{{wikidata|label|linked|Q315733}}]]||{{wikidata|title|linked|Q315733}}||Cebu||Bayan
|-
|614||Balamban||[[:wikidata:Q315754|Q315754]]||[[{{wikidata|label|linked|Q315754}}]]||{{wikidata|title|linked|Q315754}}||Cebu||Bayan
|-
|615||Bantayan||[[:wikidata:Q315771|Q315771]]||[[{{wikidata|label|linked|Q315771}}]]||{{wikidata|title|linked|Q315771}}||Cebu||Bayan
|-
|616||Barili||[[:wikidata:Q315790|Q315790]]||[[{{wikidata|label|linked|Q315790}}]]||{{wikidata|title|linked|Q315790}}||Cebu||Bayan
|-
|617||Bogo||[[:wikidata:Q890623|Q890623]]||[[{{wikidata|label|linked|Q890623}}]]||{{wikidata|title|linked|Q890623}}||Cebu||Lungsod
|-
|618||Boljoon||[[:wikidata:Q315809|Q315809]]||[[{{wikidata|label|linked|Q315809}}]]||{{wikidata|title|linked|Q315809}}||Cebu||Bayan
|-
|619||Borbon||[[:wikidata:Q315827|Q315827]]||[[{{wikidata|label|linked|Q315827}}]]||{{wikidata|title|linked|Q315827}}||Cebu||Bayan
|-
|620||Carcar||[[:wikidata:Q315851|Q315851]]||[[{{wikidata|label|linked|Q315851}}]]||{{wikidata|title|linked|Q315851}}||Cebu||Lungsod
|-
|621||Carmen||[[:wikidata:Q315882|Q315882]]||[[{{wikidata|label|linked|Q315882}}]]||{{wikidata|title|linked|Q315882}}||Cebu||Bayan
|-
|622||Catmon||[[:wikidata:Q315900|Q315900]]||[[{{wikidata|label|linked|Q315900}}]]||{{wikidata|title|linked|Q315900}}||Cebu||Bayan
|-
|623||Cebu City||[[:wikidata:Q1467|Q1467]]||[[{{wikidata|label|linked|Q1467}}]]||{{wikidata|title|linked|Q1467}}||Cebu||Lungsod
|-
|624||Compostela||[[:wikidata:Q315923|Q315923]]||[[{{wikidata|label|linked|Q315923}}]]||{{wikidata|title|linked|Q315923}}||Cebu||Bayan
|-
|625||Consolacion||[[:wikidata:Q315945|Q315945]]||[[{{wikidata|label|linked|Q315945}}]]||{{wikidata|title|linked|Q315945}}||Cebu||Bayan
|-
|626||Cordova||[[:wikidata:Q315965|Q315965]]||[[{{wikidata|label|linked|Q315965}}]]||{{wikidata|title|linked|Q315965}}||Cebu||Bayan
|-
|627||Daanbantayan||[[:wikidata:Q315981|Q315981]]||[[{{wikidata|label|linked|Q315981}}]]||{{wikidata|title|linked|Q315981}}||Cebu||Bayan
|-
|628||Dalaguete||[[:wikidata:Q316001|Q316001]]||[[{{wikidata|label|linked|Q316001}}]]||{{wikidata|title|linked|Q316001}}||Cebu||Bayan
|-
|629||Danao||[[:wikidata:Q1159273|Q1159273]]||[[{{wikidata|label|linked|Q1159273}}]]||{{wikidata|title|linked|Q1159273}}||Cebu||Lungsod
|-
|630||Dumanjug||[[:wikidata:Q316019|Q316019]]||[[{{wikidata|label|linked|Q316019}}]]||{{wikidata|title|linked|Q316019}}||Cebu||Bayan
|-
|631||Ginatilan||[[:wikidata:Q316037|Q316037]]||[[{{wikidata|label|linked|Q316037}}]]||{{wikidata|title|linked|Q316037}}||Cebu||Bayan
|-
|632||Lapu-Lapu||[[:wikidata:Q574903|Q574903]]||[[{{wikidata|label|linked|Q574903}}]]||{{wikidata|title|linked|Q574903}}||Cebu||Lungsod
|-
|633||Liloan||[[:wikidata:Q316056|Q316056]]||[[{{wikidata|label|linked|Q316056}}]]||{{wikidata|title|linked|Q316056}}||Cebu||Bayan
|-
|634||Madridejos||[[:wikidata:Q316080|Q316080]]||[[{{wikidata|label|linked|Q316080}}]]||{{wikidata|title|linked|Q316080}}||Cebu||Bayan
|-
|635||Malabuyoc||[[:wikidata:Q316101|Q316101]]||[[{{wikidata|label|linked|Q316101}}]]||{{wikidata|title|linked|Q316101}}||Cebu||Bayan
|-
|636||Mandaue||[[:wikidata:Q1889017|Q1889017]]||[[{{wikidata|label|linked|Q1889017}}]]||{{wikidata|title|linked|Q1889017}}||Cebu||Lungsod
|-
|637||Medellin||[[:wikidata:Q316125|Q316125]]||[[{{wikidata|label|linked|Q316125}}]]||{{wikidata|title|linked|Q316125}}||Cebu||Bayan
|-
|638||Minglanilla||[[:wikidata:Q316146|Q316146]]||[[{{wikidata|label|linked|Q316146}}]]||{{wikidata|title|linked|Q316146}}||Cebu||Bayan
|-
|639||Moalboal||[[:wikidata:Q316171|Q316171]]||[[{{wikidata|label|linked|Q316171}}]]||{{wikidata|title|linked|Q316171}}||Cebu||Bayan
|-
|640||Naga||[[:wikidata:Q316197|Q316197]]||[[{{wikidata|label|linked|Q316197}}]]||{{wikidata|title|linked|Q316197}}||Cebu||Lungsod
|-
|641||Oslob||[[:wikidata:Q316230|Q316230]]||[[{{wikidata|label|linked|Q316230}}]]||{{wikidata|title|linked|Q316230}}||Cebu||Bayan
|-
|642||Pilar||[[:wikidata:Q316245|Q316245]]||[[{{wikidata|label|linked|Q316245}}]]||{{wikidata|title|linked|Q316245}}||Cebu||Bayan
|-
|643||Pinamungajan||[[:wikidata:Q316259|Q316259]]||[[{{wikidata|label|linked|Q316259}}]]||{{wikidata|title|linked|Q316259}}||Cebu||Bayan
|-
|644||Poro||[[:wikidata:Q316275|Q316275]]||[[{{wikidata|label|linked|Q316275}}]]||{{wikidata|title|linked|Q316275}}||Cebu||Bayan
|-
|645||Ronda||[[:wikidata:Q316289|Q316289]]||[[{{wikidata|label|linked|Q316289}}]]||{{wikidata|title|linked|Q316289}}||Cebu||Bayan
|-
|646||Samboan||[[:wikidata:Q316303|Q316303]]||[[{{wikidata|label|linked|Q316303}}]]||{{wikidata|title|linked|Q316303}}||Cebu||Bayan
|-
|647||San Fernando||[[:wikidata:Q316318|Q316318]]||[[{{wikidata|label|linked|Q316318}}]]||{{wikidata|title|linked|Q316318}}||Cebu||Lungsod
|-
|648||San Francisco||[[:wikidata:Q316332|Q316332]]||[[{{wikidata|label|linked|Q316332}}]]||{{wikidata|title|linked|Q316332}}||Cebu||Bayan
|-
|649||San Remigio||[[:wikidata:Q316350|Q316350]]||[[{{wikidata|label|linked|Q316350}}]]||{{wikidata|title|linked|Q316350}}||Cebu||Bayan
|-
|650||Santa Fe||[[:wikidata:Q316370|Q316370]]||[[{{wikidata|label|linked|Q316370}}]]||{{wikidata|title|linked|Q316370}}||Cebu||Bayan
|-
|651||Santander||[[:wikidata:Q316386|Q316386]]||[[{{wikidata|label|linked|Q316386}}]]||{{wikidata|title|linked|Q316386}}||Cebu||Bayan
|-
|652||Sibonga||[[:wikidata:Q316404|Q316404]]||[[{{wikidata|label|linked|Q316404}}]]||{{wikidata|title|linked|Q316404}}||Cebu||Bayan
|-
|653||Sogod||[[:wikidata:Q316432|Q316432]]||[[{{wikidata|label|linked|Q316432}}]]||{{wikidata|title|linked|Q316432}}||Cebu||Bayan
|-
|654||Tabogon||[[:wikidata:Q316453|Q316453]]||[[{{wikidata|label|linked|Q316453}}]]||{{wikidata|title|linked|Q316453}}||Cebu||Bayan
|-
|655||Tabuelan||[[:wikidata:Q316474|Q316474]]||[[{{wikidata|label|linked|Q316474}}]]||{{wikidata|title|linked|Q316474}}||Cebu||Bayan
|-
|656||Talisay||[[:wikidata:Q316500|Q316500]]||[[{{wikidata|label|linked|Q316500}}]]||{{wikidata|title|linked|Q316500}}||Cebu||Lungsod
|-
|657||Toledo||[[:wikidata:Q316527|Q316527]]||[[{{wikidata|label|linked|Q316527}}]]||{{wikidata|title|linked|Q316527}}||Cebu||Lungsod
|-
|658||Tuburan||[[:wikidata:Q316547|Q316547]]||[[{{wikidata|label|linked|Q316547}}]]||{{wikidata|title|linked|Q316547}}||Cebu||Bayan
|-
|659||Tudela||[[:wikidata:Q316564|Q316564]]||[[{{wikidata|label|linked|Q316564}}]]||{{wikidata|title|linked|Q316564}}||Cebu||Bayan
|-
|660||Alburquerque||[[:wikidata:Q404369|Q404369]]||[[{{wikidata|label|linked|Q404369}}]]||{{wikidata|title|linked|Q404369}}||Bohol||Bayan
|-
|661||Alicia||[[:wikidata:Q404403|Q404403]]||[[{{wikidata|label|linked|Q404403}}]]||{{wikidata|title|linked|Q404403}}||Bohol||Bayan
|-
|662||Anda||[[:wikidata:Q404434|Q404434]]||[[{{wikidata|label|linked|Q404434}}]]||{{wikidata|title|linked|Q404434}}||Bohol||Bayan
|-
|663||Antequera||[[:wikidata:Q404459|Q404459]]||[[{{wikidata|label|linked|Q404459}}]]||{{wikidata|title|linked|Q404459}}||Bohol||Bayan
|-
|664||Baclayon||[[:wikidata:Q404489|Q404489]]||[[{{wikidata|label|linked|Q404489}}]]||{{wikidata|title|linked|Q404489}}||Bohol||Bayan
|-
|665||Balilihan||[[:wikidata:Q404519|Q404519]]||[[{{wikidata|label|linked|Q404519}}]]||{{wikidata|title|linked|Q404519}}||Bohol||Bayan
|-
|666||Batuan||[[:wikidata:Q404549|Q404549]]||[[{{wikidata|label|linked|Q404549}}]]||{{wikidata|title|linked|Q404549}}||Bohol||Bayan
|-
|667||Bien Unido||[[:wikidata:Q404581|Q404581]]||[[{{wikidata|label|linked|Q404581}}]]||{{wikidata|title|linked|Q404581}}||Bohol||Bayan
|-
|668||Bilar||[[:wikidata:Q404604|Q404604]]||[[{{wikidata|label|linked|Q404604}}]]||{{wikidata|title|linked|Q404604}}||Bohol||Bayan
|-
|669||Buenavista||[[:wikidata:Q404623|Q404623]]||[[{{wikidata|label|linked|Q404623}}]]||{{wikidata|title|linked|Q404623}}||Bohol||Bayan
|-
|670||Calape||[[:wikidata:Q404652|Q404652]]||[[{{wikidata|label|linked|Q404652}}]]||{{wikidata|title|linked|Q404652}}||Bohol||Bayan
|-
|671||Candijay||[[:wikidata:Q404680|Q404680]]||[[{{wikidata|label|linked|Q404680}}]]||{{wikidata|title|linked|Q404680}}||Bohol||Bayan
|-
|672||Carmen||[[:wikidata:Q241239|Q241239]]||[[{{wikidata|label|linked|Q241239}}]]||{{wikidata|title|linked|Q241239}}||Bohol||Bayan
|-
|673||Catigbian||[[:wikidata:Q404750|Q404750]]||[[{{wikidata|label|linked|Q404750}}]]||{{wikidata|title|linked|Q404750}}||Bohol||Bayan
|-
|674||Clarin||[[:wikidata:Q404775|Q404775]]||[[{{wikidata|label|linked|Q404775}}]]||{{wikidata|title|linked|Q404775}}||Bohol||Bayan
|-
|675||Corella||[[:wikidata:Q404799|Q404799]]||[[{{wikidata|label|linked|Q404799}}]]||{{wikidata|title|linked|Q404799}}||Bohol||Bayan
|-
|676||Cortes||[[:wikidata:Q404825|Q404825]]||[[{{wikidata|label|linked|Q404825}}]]||{{wikidata|title|linked|Q404825}}||Bohol||Bayan
|-
|677||Dagohoy||[[:wikidata:Q404854|Q404854]]||[[{{wikidata|label|linked|Q404854}}]]||{{wikidata|title|linked|Q404854}}||Bohol||Bayan
|-
|678||Danao||[[:wikidata:Q404882|Q404882]]||[[{{wikidata|label|linked|Q404882}}]]||{{wikidata|title|linked|Q404882}}||Bohol||Bayan
|-
|679||Dauis||[[:wikidata:Q404908|Q404908]]||[[{{wikidata|label|linked|Q404908}}]]||{{wikidata|title|linked|Q404908}}||Bohol||Bayan
|-
|680||Dimiao||[[:wikidata:Q404930|Q404930]]||[[{{wikidata|label|linked|Q404930}}]]||{{wikidata|title|linked|Q404930}}||Bohol||Bayan
|-
|681||Duero||[[:wikidata:Q404951|Q404951]]||[[{{wikidata|label|linked|Q404951}}]]||{{wikidata|title|linked|Q404951}}||Bohol||Bayan
|-
|682||Garcia Hernandez||[[:wikidata:Q404976|Q404976]]||[[{{wikidata|label|linked|Q404976}}]]||{{wikidata|title|linked|Q404976}}||Bohol||Bayan
|-
|683||Getafe||[[:wikidata:Q405005|Q405005]]||[[{{wikidata|label|linked|Q405005}}]]||{{wikidata|title|linked|Q405005}}||Bohol||Bayan
|-
|684||Guindulman||[[:wikidata:Q405058|Q405058]]||[[{{wikidata|label|linked|Q405058}}]]||{{wikidata|title|linked|Q405058}}||Bohol||Bayan
|-
|685||Inabanga||[[:wikidata:Q405088|Q405088]]||[[{{wikidata|label|linked|Q405088}}]]||{{wikidata|title|linked|Q405088}}||Bohol||Bayan
|-
|686||Jagna||[[:wikidata:Q405110|Q405110]]||[[{{wikidata|label|linked|Q405110}}]]||{{wikidata|title|linked|Q405110}}||Bohol||Bayan
|-
|687||Lila||[[:wikidata:Q405141|Q405141]]||[[{{wikidata|label|linked|Q405141}}]]||{{wikidata|title|linked|Q405141}}||Bohol||Bayan
|-
|688||Loay||[[:wikidata:Q405171|Q405171]]||[[{{wikidata|label|linked|Q405171}}]]||{{wikidata|title|linked|Q405171}}||Bohol||Bayan
|-
|689||Loboc||[[:wikidata:Q405197|Q405197]]||[[{{wikidata|label|linked|Q405197}}]]||{{wikidata|title|linked|Q405197}}||Bohol||Bayan
|-
|690||Loon||[[:wikidata:Q405224|Q405224]]||[[{{wikidata|label|linked|Q405224}}]]||{{wikidata|title|linked|Q405224}}||Bohol||Bayan
|-
|691||Mabini||[[:wikidata:Q405268|Q405268]]||[[{{wikidata|label|linked|Q405268}}]]||{{wikidata|title|linked|Q405268}}||Bohol||Bayan
|-
|692||Maribojoc||[[:wikidata:Q405303|Q405303]]||[[{{wikidata|label|linked|Q405303}}]]||{{wikidata|title|linked|Q405303}}||Bohol||Bayan
|-
|693||Panglao||[[:wikidata:Q178330|Q178330]]||[[{{wikidata|label|linked|Q178330}}]]||{{wikidata|title|linked|Q178330}}||Bohol||Bayan
|-
|694||Pilar||[[:wikidata:Q405384|Q405384]]||[[{{wikidata|label|linked|Q405384}}]]||{{wikidata|title|linked|Q405384}}||Bohol||Bayan
|-
|695||President Carlos P. Garcia||[[:wikidata:Q405427|Q405427]]||[[{{wikidata|label|linked|Q405427}}]]||{{wikidata|title|linked|Q405427}}||Bohol||Bayan
|-
|696||Sagbayan||[[:wikidata:Q405472|Q405472]]||[[{{wikidata|label|linked|Q405472}}]]||{{wikidata|title|linked|Q405472}}||Bohol||Bayan
|-
|697||San Isidro||[[:wikidata:Q259298|Q259298]]||[[{{wikidata|label|linked|Q259298}}]]||{{wikidata|title|linked|Q259298}}||Bohol||Bayan
|-
|698||San Miguel||[[:wikidata:Q405544|Q405544]]||[[{{wikidata|label|linked|Q405544}}]]||{{wikidata|title|linked|Q405544}}||Bohol||Bayan
|-
|699||Sevilla||[[:wikidata:Q386388|Q386388]]||[[{{wikidata|label|linked|Q386388}}]]||{{wikidata|title|linked|Q386388}}||Bohol||Bayan
|-
|700||Sierra Bullones||[[:wikidata:Q405628|Q405628]]||[[{{wikidata|label|linked|Q405628}}]]||{{wikidata|title|linked|Q405628}}||Bohol||Bayan
|-
|701||Sikatuna||[[:wikidata:Q405674|Q405674]]||[[{{wikidata|label|linked|Q405674}}]]||{{wikidata|title|linked|Q405674}}||Bohol||Bayan
|-
|702||Tagbilaran||[[:wikidata:Q1826|Q1826]]||[[{{wikidata|label|linked|Q1826}}]]||{{wikidata|title|linked|Q1826}}||Bohol||Lungsod
|-
|703||Talibon||[[:wikidata:Q405714|Q405714]]||[[{{wikidata|label|linked|Q405714}}]]||{{wikidata|title|linked|Q405714}}||Bohol||Bayan
|-
|704||Trinidad||[[:wikidata:Q405749|Q405749]]||[[{{wikidata|label|linked|Q405749}}]]||{{wikidata|title|linked|Q405749}}||Bohol||Bayan
|-
|705||Tubigon||[[:wikidata:Q405980|Q405980]]||[[{{wikidata|label|linked|Q405980}}]]||{{wikidata|title|linked|Q405980}}||Bohol||Bayan
|-
|706||Ubay||[[:wikidata:Q406015|Q406015]]||[[{{wikidata|label|linked|Q406015}}]]||{{wikidata|title|linked|Q406015}}||Bohol||Bayan
|-
|707||Valencia||[[:wikidata:Q406046|Q406046]]||[[{{wikidata|label|linked|Q406046}}]]||{{wikidata|title|linked|Q406046}}||Bohol||Bayan
|-
|708||Enrique Villanueva||[[:wikidata:Q174305|Q174305]]||[[{{wikidata|label|linked|Q174305}}]]||{{wikidata|title|linked|Q174305}}||Siquijor||Bayan
|-
|709||Larena||[[:wikidata:Q174317|Q174317]]||[[{{wikidata|label|linked|Q174317}}]]||{{wikidata|title|linked|Q174317}}||Siquijor||Bayan
|-
|710||Lazi||[[:wikidata:Q174332|Q174332]]||[[{{wikidata|label|linked|Q174332}}]]||{{wikidata|title|linked|Q174332}}||Siquijor||Bayan
|-
|711||Maria||[[:wikidata:Q174343|Q174343]]||[[{{wikidata|label|linked|Q174343}}]]||{{wikidata|title|linked|Q174343}}||Siquijor||Bayan
|-
|712||San Juan||[[:wikidata:Q174354|Q174354]]||[[{{wikidata|label|linked|Q174354}}]]||{{wikidata|title|linked|Q174354}}||Siquijor||Bayan
|-
|713||Siquijor||[[:wikidata:Q174373|Q174373]]||[[{{wikidata|label|linked|Q174373}}]]||{{wikidata|title|linked|Q174373}}||Siquijor||Bayan
|-
|714||Amlan||[[:wikidata:Q194822|Q194822]]||[[{{wikidata|label|linked|Q194822}}]]||{{wikidata|title|linked|Q194822}}||Negros Oriental||Bayan
|-
|715||Ayungon||[[:wikidata:Q194854|Q194854]]||[[{{wikidata|label|linked|Q194854}}]]||{{wikidata|title|linked|Q194854}}||Negros Oriental||Bayan
|-
|716||Bacong||[[:wikidata:Q194874|Q194874]]||[[{{wikidata|label|linked|Q194874}}]]||{{wikidata|title|linked|Q194874}}||Negros Oriental||Bayan
|-
|717||Bais||[[:wikidata:Q628590|Q628590]]||[[{{wikidata|label|linked|Q628590}}]]||{{wikidata|title|linked|Q628590}}||Negros Oriental||Lungsod
|-
|718||Basay||[[:wikidata:Q194900|Q194900]]||[[{{wikidata|label|linked|Q194900}}]]||{{wikidata|title|linked|Q194900}}||Negros Oriental||Bayan
|-
|719||Bayawan||[[:wikidata:Q812113|Q812113]]||[[{{wikidata|label|linked|Q812113}}]]||{{wikidata|title|linked|Q812113}}||Negros Oriental||Lungsod
|-
|720||Bindoy||[[:wikidata:Q194916|Q194916]]||[[{{wikidata|label|linked|Q194916}}]]||{{wikidata|title|linked|Q194916}}||Negros Oriental||Bayan
|-
|721||Canlaon||[[:wikidata:Q991602|Q991602]]||[[{{wikidata|label|linked|Q991602}}]]||{{wikidata|title|linked|Q991602}}||Negros Oriental||Lungsod
|-
|722||Dauin||[[:wikidata:Q194940|Q194940]]||[[{{wikidata|label|linked|Q194940}}]]||{{wikidata|title|linked|Q194940}}||Negros Oriental||Bayan
|-
|723||Dumaguete||[[:wikidata:Q873377|Q873377]]||[[{{wikidata|label|linked|Q873377}}]]||{{wikidata|title|linked|Q873377}}||Negros Oriental||Lungsod
|-
|724||Guihulngan||[[:wikidata:Q195197|Q195197]]||[[{{wikidata|label|linked|Q195197}}]]||{{wikidata|title|linked|Q195197}}||Negros Oriental||Lungsod
|-
|725||Jimalalud||[[:wikidata:Q194967|Q194967]]||[[{{wikidata|label|linked|Q194967}}]]||{{wikidata|title|linked|Q194967}}||Negros Oriental||Bayan
|-
|726||La Libertad||[[:wikidata:Q194983|Q194983]]||[[{{wikidata|label|linked|Q194983}}]]||{{wikidata|title|linked|Q194983}}||Negros Oriental||Bayan
|-
|727||Mabinay||[[:wikidata:Q195004|Q195004]]||[[{{wikidata|label|linked|Q195004}}]]||{{wikidata|title|linked|Q195004}}||Negros Oriental||Bayan
|-
|728||Manjuyod||[[:wikidata:Q195018|Q195018]]||[[{{wikidata|label|linked|Q195018}}]]||{{wikidata|title|linked|Q195018}}||Negros Oriental||Bayan
|-
|729||Pamplona||[[:wikidata:Q195040|Q195040]]||[[{{wikidata|label|linked|Q195040}}]]||{{wikidata|title|linked|Q195040}}||Negros Oriental||Bayan
|-
|730||San Jose||[[:wikidata:Q195056|Q195056]]||[[{{wikidata|label|linked|Q195056}}]]||{{wikidata|title|linked|Q195056}}||Negros Oriental||Bayan
|-
|731||Santa Catalina||[[:wikidata:Q195074|Q195074]]||[[{{wikidata|label|linked|Q195074}}]]||{{wikidata|title|linked|Q195074}}||Negros Oriental||Bayan
|-
|732||Siaton||[[:wikidata:Q195090|Q195090]]||[[{{wikidata|label|linked|Q195090}}]]||{{wikidata|title|linked|Q195090}}||Negros Oriental||Bayan
|-
|733||Sibulan||[[:wikidata:Q195106|Q195106]]||[[{{wikidata|label|linked|Q195106}}]]||{{wikidata|title|linked|Q195106}}||Negros Oriental||Bayan
|-
|734||Tanjay||[[:wikidata:Q1020705|Q1020705]]||[[{{wikidata|label|linked|Q1020705}}]]||{{wikidata|title|linked|Q1020705}}||Negros Oriental||Lungsod
|-
|735||Tayasan||[[:wikidata:Q195121|Q195121]]||[[{{wikidata|label|linked|Q195121}}]]||{{wikidata|title|linked|Q195121}}||Negros Oriental||Bayan
|-
|736||Valencia||[[:wikidata:Q195140|Q195140]]||[[{{wikidata|label|linked|Q195140}}]]||{{wikidata|title|linked|Q195140}}||Negros Oriental||Bayan
|-
|737||Vallehermoso||[[:wikidata:Q195164|Q195164]]||[[{{wikidata|label|linked|Q195164}}]]||{{wikidata|title|linked|Q195164}}||Negros Oriental||Bayan
|-
|738||Zamboanguita||[[:wikidata:Q145673|Q145673]]||[[{{wikidata|label|linked|Q145673}}]]||{{wikidata|title|linked|Q145673}}||Negros Oriental||Bayan
|-
|739||Bacolod||[[:wikidata:Q5217|Q5217]]||[[{{wikidata|label|linked|Q5217}}]]||{{wikidata|title|linked|Q5217}}||Negros Occidental||Bayan
|-
|740||Bago||[[:wikidata:Q628297|Q628297]]||[[{{wikidata|label|linked|Q628297}}]]||{{wikidata|title|linked|Q628297}}||Negros Occidental||Lungsod
|-
|741||Binalbagan||[[:wikidata:Q195243|Q195243]]||[[{{wikidata|label|linked|Q195243}}]]||{{wikidata|title|linked|Q195243}}||Negros Occidental||Bayan
|-
|742||Cadiz||[[:wikidata:Q1020688|Q1020688]]||[[{{wikidata|label|linked|Q1020688}}]]||{{wikidata|title|linked|Q1020688}}||Negros Occidental||Lungsod
|-
|743||Calatrava||[[:wikidata:Q195258|Q195258]]||[[{{wikidata|label|linked|Q195258}}]]||{{wikidata|title|linked|Q195258}}||Negros Occidental||Bayan
|-
|744||Candoni||[[:wikidata:Q195272|Q195272]]||[[{{wikidata|label|linked|Q195272}}]]||{{wikidata|title|linked|Q195272}}||Negros Occidental||Bayan
|-
|745||Cauayan||[[:wikidata:Q195287|Q195287]]||[[{{wikidata|label|linked|Q195287}}]]||{{wikidata|title|linked|Q195287}}||Negros Occidental||Bayan
|-
|746||Enrique B. Magalona||[[:wikidata:Q195304|Q195304]]||[[{{wikidata|label|linked|Q195304}}]]||{{wikidata|title|linked|Q195304}}||Negros Occidental||Bayan
|-
|747||Escalante||[[:wikidata:Q1027743|Q1027743]]||[[{{wikidata|label|linked|Q1027743}}]]||{{wikidata|title|linked|Q1027743}}||Negros Occidental||Lungsod
|-
|748||Himamaylan||[[:wikidata:Q1423846|Q1423846]]||[[{{wikidata|label|linked|Q1423846}}]]||{{wikidata|title|linked|Q1423846}}||Negros Occidental||Lungsod
|-
|749||Hinigaran||[[:wikidata:Q195322|Q195322]]||[[{{wikidata|label|linked|Q195322}}]]||{{wikidata|title|linked|Q195322}}||Negros Occidental||Bayan
|-
|750||Hinoba-an||[[:wikidata:Q195336|Q195336]]||[[{{wikidata|label|linked|Q195336}}]]||{{wikidata|title|linked|Q195336}}||Negros Occidental||Bayan
|-
|751||Ilog||[[:wikidata:Q195352|Q195352]]||[[{{wikidata|label|linked|Q195352}}]]||{{wikidata|title|linked|Q195352}}||Negros Occidental||Bayan
|-
|752||Isabela||[[:wikidata:Q195373|Q195373]]||[[{{wikidata|label|linked|Q195373}}]]||{{wikidata|title|linked|Q195373}}||Negros Occidental||Bayan
|-
|753||Kabankalan||[[:wikidata:Q1026445|Q1026445]]||[[{{wikidata|label|linked|Q1026445}}]]||{{wikidata|title|linked|Q1026445}}||Negros Occidental||Lungsod
|-
|754||La Carlota||[[:wikidata:Q1789908|Q1789908]]||[[{{wikidata|label|linked|Q1789908}}]]||{{wikidata|title|linked|Q1789908}}||Negros Occidental||Lungsod
|-
|755||La Castellana||[[:wikidata:Q195397|Q195397]]||[[{{wikidata|label|linked|Q195397}}]]||{{wikidata|title|linked|Q195397}}||Negros Occidental||Bayan
|-
|756||Manapla||[[:wikidata:Q195418|Q195418]]||[[{{wikidata|label|linked|Q195418}}]]||{{wikidata|title|linked|Q195418}}||Negros Occidental||Bayan
|-
|757||Moises Padilla||[[:wikidata:Q195438|Q195438]]||[[{{wikidata|label|linked|Q195438}}]]||{{wikidata|title|linked|Q195438}}||Negros Occidental||Bayan
|-
|758||Murcia||[[:wikidata:Q195459|Q195459]]||[[{{wikidata|label|linked|Q195459}}]]||{{wikidata|title|linked|Q195459}}||Negros Occidental||Bayan
|-
|759||Pontevedra||[[:wikidata:Q195477|Q195477]]||[[{{wikidata|label|linked|Q195477}}]]||{{wikidata|title|linked|Q195477}}||Negros Occidental||Bayan
|-
|760||Pulupandan||[[:wikidata:Q195489|Q195489]]||[[{{wikidata|label|linked|Q195489}}]]||{{wikidata|title|linked|Q195489}}||Negros Occidental||Bayan
|-
|761||Sagay||[[:wikidata:Q1787527|Q1787527]]||[[{{wikidata|label|linked|Q1787527}}]]||{{wikidata|title|linked|Q1787527}}||Negros Occidental||Bayan
|-
|762||Don Salvador Benedicto||[[:wikidata:Q195503|Q195503]]||[[{{wikidata|label|linked|Q195503}}]]||{{wikidata|title|linked|Q195503}}||Negros Occidental||Bayan
|-
|763||San Carlos||[[:wikidata:Q1025390|Q1025390]]||[[{{wikidata|label|linked|Q1025390}}]]||{{wikidata|title|linked|Q1025390}}||Negros Occidental||Lungsod
|-
|764||San Enrique||[[:wikidata:Q195523|Q195523]]||[[{{wikidata|label|linked|Q195523}}]]||{{wikidata|title|linked|Q195523}}||Negros Occidental||Bayan
|-
|765||Silay||[[:wikidata:Q1020696|Q1020696]]||[[{{wikidata|label|linked|Q1020696}}]]||{{wikidata|title|linked|Q1020696}}||Negros Occidental||Lungsod
|-
|766||Sipalay||[[:wikidata:Q1027115|Q1027115]]||[[{{wikidata|label|linked|Q1027115}}]]||{{wikidata|title|linked|Q1027115}}||Negros Occidental||Lungsod
|-
|767||Talisay||[[:wikidata:Q1027120|Q1027120]]||[[{{wikidata|label|linked|Q1027120}}]]||{{wikidata|title|linked|Q1027120}}||Negros Occidental||Lungsod
|-
|768||Toboso||[[:wikidata:Q195549|Q195549]]||[[{{wikidata|label|linked|Q195549}}]]||{{wikidata|title|linked|Q195549}}||Negros Occidental||Bayan
|-
|769||Valladolid||[[:wikidata:Q195569|Q195569]]||[[{{wikidata|label|linked|Q195569}}]]||{{wikidata|title|linked|Q195569}}||Negros Occidental||Bayan
|-
|770||Victorias||[[:wikidata:Q1026021|Q1026021]]||[[{{wikidata|label|linked|Q1026021}}]]||{{wikidata|title|linked|Q1026021}}||Negros Occidental||Lungsod
|-
|771||Ajuy||[[:wikidata:Q274491|Q274491]]||[[{{wikidata|label|linked|Q274491}}]]||{{wikidata|title|linked|Q274491}}||Iloilo||Bayan
|-
|772||Alimodian||[[:wikidata:Q274508|Q274508]]||[[{{wikidata|label|linked|Q274508}}]]||{{wikidata|title|linked|Q274508}}||Iloilo||Bayan
|-
|773||Anilao||[[:wikidata:Q274543|Q274543]]||[[{{wikidata|label|linked|Q274543}}]]||{{wikidata|title|linked|Q274543}}||Iloilo||Bayan
|-
|774||Badiangan||[[:wikidata:Q274557|Q274557]]||[[{{wikidata|label|linked|Q274557}}]]||{{wikidata|title|linked|Q274557}}||Iloilo||Bayan
|-
|775||Balasan||[[:wikidata:Q274578|Q274578]]||[[{{wikidata|label|linked|Q274578}}]]||{{wikidata|title|linked|Q274578}}||Iloilo||Bayan
|-
|776||Banate||[[:wikidata:Q274595|Q274595]]||[[{{wikidata|label|linked|Q274595}}]]||{{wikidata|title|linked|Q274595}}||Iloilo||Bayan
|-
|777||Barotac Nuevo||[[:wikidata:Q82502|Q82502]]||[[{{wikidata|label|linked|Q82502}}]]||{{wikidata|title|linked|Q82502}}||Iloilo||Bayan
|-
|778||Barotac Viejo||[[:wikidata:Q82493|Q82493]]||[[{{wikidata|label|linked|Q82493}}]]||{{wikidata|title|linked|Q82493}}||Iloilo||Bayan
|-
|779||Batad||[[:wikidata:Q274654|Q274654]]||[[{{wikidata|label|linked|Q274654}}]]||{{wikidata|title|linked|Q274654}}||Iloilo||Bayan
|-
|780||Bingawan||[[:wikidata:Q274671|Q274671]]||[[{{wikidata|label|linked|Q274671}}]]||{{wikidata|title|linked|Q274671}}||Iloilo||Bayan
|-
|781||Cabatuan||[[:wikidata:Q274693|Q274693]]||[[{{wikidata|label|linked|Q274693}}]]||{{wikidata|title|linked|Q274693}}||Iloilo||Bayan
|-
|782||Calinog||[[:wikidata:Q274713|Q274713]]||[[{{wikidata|label|linked|Q274713}}]]||{{wikidata|title|linked|Q274713}}||Iloilo||Bayan
|-
|783||Carles||[[:wikidata:Q274731|Q274731]]||[[{{wikidata|label|linked|Q274731}}]]||{{wikidata|title|linked|Q274731}}||Iloilo||Bayan
|-
|784||Concepcion||[[:wikidata:Q274749|Q274749]]||[[{{wikidata|label|linked|Q274749}}]]||{{wikidata|title|linked|Q274749}}||Iloilo||Bayan
|-
|785||Dingle||[[:wikidata:Q274780|Q274780]]||[[{{wikidata|label|linked|Q274780}}]]||{{wikidata|title|linked|Q274780}}||Iloilo||Bayan
|-
|786||Dueñas||[[:wikidata:Q274795|Q274795]]||[[{{wikidata|label|linked|Q274795}}]]||{{wikidata|title|linked|Q274795}}||Iloilo||Bayan
|-
|787||Dumangas||[[:wikidata:Q74758|Q74758]]||[[{{wikidata|label|linked|Q74758}}]]||{{wikidata|title|linked|Q74758}}||Iloilo||Bayan
|-
|788||Estancia||[[:wikidata:Q82506|Q82506]]||[[{{wikidata|label|linked|Q82506}}]]||{{wikidata|title|linked|Q82506}}||Iloilo||Bayan
|-
|789||Guimbal||[[:wikidata:Q274847|Q274847]]||[[{{wikidata|label|linked|Q274847}}]]||{{wikidata|title|linked|Q274847}}||Iloilo||Bayan
|-
|790||Igbaras||[[:wikidata:Q74755|Q74755]]||[[{{wikidata|label|linked|Q74755}}]]||{{wikidata|title|linked|Q74755}}||Iloilo||Bayan
|-
|791||Iloilo City||[[:wikidata:Q459787|Q459787]]||[[{{wikidata|label|linked|Q459787}}]]||{{wikidata|title|linked|Q459787}}||Iloilo||Lungsod
|-
|792||Janiuay||[[:wikidata:Q82570|Q82570]]||[[{{wikidata|label|linked|Q82570}}]]||{{wikidata|title|linked|Q82570}}||Iloilo||Bayan
|-
|793||Lambunao||[[:wikidata:Q274907|Q274907]]||[[{{wikidata|label|linked|Q274907}}]]||{{wikidata|title|linked|Q274907}}||Iloilo||Bayan
|-
|794||Leganes||[[:wikidata:Q274937|Q274937]]||[[{{wikidata|label|linked|Q274937}}]]||{{wikidata|title|linked|Q274937}}||Iloilo||Bayan
|-
|795||Lemery||[[:wikidata:Q274961|Q274961]]||[[{{wikidata|label|linked|Q274961}}]]||{{wikidata|title|linked|Q274961}}||Iloilo||Bayan
|-
|796||Leon||[[:wikidata:Q274987|Q274987]]||[[{{wikidata|label|linked|Q274987}}]]||{{wikidata|title|linked|Q274987}}||Iloilo||Bayan
|-
|797||Maasin||[[:wikidata:Q275015|Q275015]]||[[{{wikidata|label|linked|Q275015}}]]||{{wikidata|title|linked|Q275015}}||Iloilo||Bayan
|-
|798||Miagao||[[:wikidata:Q74753|Q74753]]||[[{{wikidata|label|linked|Q74753}}]]||{{wikidata|title|linked|Q74753}}||Iloilo||Bayan
|-
|799||Mina||[[:wikidata:Q275071|Q275071]]||[[{{wikidata|label|linked|Q275071}}]]||{{wikidata|title|linked|Q275071}}||Iloilo||Bayan
|-
|800||New Lucena||[[:wikidata:Q275184|Q275184]]||[[{{wikidata|label|linked|Q275184}}]]||{{wikidata|title|linked|Q275184}}||Iloilo||Bayan
|-
|801||Oton||[[:wikidata:Q275199|Q275199]]||[[{{wikidata|label|linked|Q275199}}]]||{{wikidata|title|linked|Q275199}}||Iloilo||Bayan
|-
|802||Passi||[[:wikidata:Q1855693|Q1855693]]||[[{{wikidata|label|linked|Q1855693}}]]||{{wikidata|title|linked|Q1855693}}||Iloilo||Lungsod
|-
|803||Pavia||[[:wikidata:Q275221|Q275221]]||[[{{wikidata|label|linked|Q275221}}]]||{{wikidata|title|linked|Q275221}}||Iloilo||Bayan
|-
|804||Pototan||[[:wikidata:Q275243|Q275243]]||[[{{wikidata|label|linked|Q275243}}]]||{{wikidata|title|linked|Q275243}}||Iloilo||Bayan
|-
|805||San Dionisio||[[:wikidata:Q275264|Q275264]]||[[{{wikidata|label|linked|Q275264}}]]||{{wikidata|title|linked|Q275264}}||Iloilo||Bayan
|-
|806||San Enrique||[[:wikidata:Q275280|Q275280]]||[[{{wikidata|label|linked|Q275280}}]]||{{wikidata|title|linked|Q275280}}||Iloilo||Bayan
|-
|807||San Joaquin||[[:wikidata:Q275295|Q275295]]||[[{{wikidata|label|linked|Q275295}}]]||{{wikidata|title|linked|Q275295}}||Iloilo||Bayan
|-
|808||San Miguel||[[:wikidata:Q275312|Q275312]]||[[{{wikidata|label|linked|Q275312}}]]||{{wikidata|title|linked|Q275312}}||Iloilo||Bayan
|-
|809||San Rafael||[[:wikidata:Q275329|Q275329]]||[[{{wikidata|label|linked|Q275329}}]]||{{wikidata|title|linked|Q275329}}||Iloilo||Bayan
|-
|810||Santa Barbara||[[:wikidata:Q275347|Q275347]]||[[{{wikidata|label|linked|Q275347}}]]||{{wikidata|title|linked|Q275347}}||Iloilo||Bayan
|-
|811||Sara||[[:wikidata:Q275368|Q275368]]||[[{{wikidata|label|linked|Q275368}}]]||{{wikidata|title|linked|Q275368}}||Iloilo||Bayan
|-
|812||Tigbauan||[[:wikidata:Q82497|Q82497]]||[[{{wikidata|label|linked|Q82497}}]]||{{wikidata|title|linked|Q82497}}||Iloilo||Bayan
|-
|813||Tubungan||[[:wikidata:Q275417|Q275417]]||[[{{wikidata|label|linked|Q275417}}]]||{{wikidata|title|linked|Q275417}}||Iloilo||Bayan
|-
|814||Zarraga||[[:wikidata:Q148064|Q148064]]||[[{{wikidata|label|linked|Q148064}}]]||{{wikidata|title|linked|Q148064}}||Iloilo||Bayan
|-
|815||Buenavista||[[:wikidata:Q313781|Q313781]]||[[{{wikidata|label|linked|Q313781}}]]||{{wikidata|title|linked|Q313781}}||Guimaras||Bayan
|-
|816||Jordan||[[:wikidata:Q313802|Q313802]]||[[{{wikidata|label|linked|Q313802}}]]||{{wikidata|title|linked|Q313802}}||Guimaras||Bayan
|-
|817||Nueva Valencia||[[:wikidata:Q313810|Q313810]]||[[{{wikidata|label|linked|Q313810}}]]||{{wikidata|title|linked|Q313810}}||Guimaras||Bayan
|-
|818||San Lorenzo||[[:wikidata:Q313825|Q313825]]||[[{{wikidata|label|linked|Q313825}}]]||{{wikidata|title|linked|Q313825}}||Guimaras||Bayan
|-
|819||Sibunag||[[:wikidata:Q313844|Q313844]]||[[{{wikidata|label|linked|Q313844}}]]||{{wikidata|title|linked|Q313844}}||Guimaras||Bayan
|-
|820||Cuartero||[[:wikidata:Q355953|Q355953]]||[[{{wikidata|label|linked|Q355953}}]]||{{wikidata|title|linked|Q355953}}||Capiz||Bayan
|-
|821||Dao||[[:wikidata:Q355986|Q355986]]||[[{{wikidata|label|linked|Q355986}}]]||{{wikidata|title|linked|Q355986}}||Capiz||Bayan
|-
|822||Dumalag||[[:wikidata:Q356019|Q356019]]||[[{{wikidata|label|linked|Q356019}}]]||{{wikidata|title|linked|Q356019}}||Capiz||Bayan
|-
|823||Dumarao||[[:wikidata:Q356053|Q356053]]||[[{{wikidata|label|linked|Q356053}}]]||{{wikidata|title|linked|Q356053}}||Capiz||Bayan
|-
|824||Ivisan||[[:wikidata:Q356081|Q356081]]||[[{{wikidata|label|linked|Q356081}}]]||{{wikidata|title|linked|Q356081}}||Capiz||Bayan
|-
|825||Jamindan||[[:wikidata:Q356106|Q356106]]||[[{{wikidata|label|linked|Q356106}}]]||{{wikidata|title|linked|Q356106}}||Capiz||Bayan
|-
|826||Ma-ayon||[[:wikidata:Q356153|Q356153]]||[[{{wikidata|label|linked|Q356153}}]]||{{wikidata|title|linked|Q356153}}||Capiz||Bayan
|-
|827||Mambusao||[[:wikidata:Q356174|Q356174]]||[[{{wikidata|label|linked|Q356174}}]]||{{wikidata|title|linked|Q356174}}||Capiz||Bayan
|-
|828||Panay||[[:wikidata:Q356204|Q356204]]||[[{{wikidata|label|linked|Q356204}}]]||{{wikidata|title|linked|Q356204}}||Capiz||Bayan
|-
|829||Panitan||[[:wikidata:Q356231|Q356231]]||[[{{wikidata|label|linked|Q356231}}]]||{{wikidata|title|linked|Q356231}}||Capiz||Bayan
|-
|830||Pilar||[[:wikidata:Q356266|Q356266]]||[[{{wikidata|label|linked|Q356266}}]]||{{wikidata|title|linked|Q356266}}||Capiz||Bayan
|-
|831||Pontevedra||[[:wikidata:Q356292|Q356292]]||[[{{wikidata|label|linked|Q356292}}]]||{{wikidata|title|linked|Q356292}}||Capiz||Bayan
|-
|832||President Roxas||[[:wikidata:Q356313|Q356313]]||[[{{wikidata|label|linked|Q356313}}]]||{{wikidata|title|linked|Q356313}}||Capiz||Bayan
|-
|833||Roxas||[[:wikidata:Q2209|Q2209]]||[[{{wikidata|label|linked|Q2209}}]]||{{wikidata|title|linked|Q2209}}||Capiz||Lungsod
|-
|834||Sapian||[[:wikidata:Q356338|Q356338]]||[[{{wikidata|label|linked|Q356338}}]]||{{wikidata|title|linked|Q356338}}||Capiz||Bayan
|-
|835||Sigma||[[:wikidata:Q356368|Q356368]]||[[{{wikidata|label|linked|Q356368}}]]||{{wikidata|title|linked|Q356368}}||Capiz||Bayan
|-
|836||Tapaz||[[:wikidata:Q356398|Q356398]]||[[{{wikidata|label|linked|Q356398}}]]||{{wikidata|title|linked|Q356398}}||Capiz||Bayan
|-
|837||Anini-y||[[:wikidata:Q492119|Q492119]]||[[{{wikidata|label|linked|Q492119}}]]||{{wikidata|title|linked|Q492119}}||Antique||Bayan
|-
|838||Barbaza||[[:wikidata:Q492155|Q492155]]||[[{{wikidata|label|linked|Q492155}}]]||{{wikidata|title|linked|Q492155}}||Antique||Bayan
|-
|839||Belison||[[:wikidata:Q492263|Q492263]]||[[{{wikidata|label|linked|Q492263}}]]||{{wikidata|title|linked|Q492263}}||Antique||Bayan
|-
|840||Bugasong||[[:wikidata:Q492325|Q492325]]||[[{{wikidata|label|linked|Q492325}}]]||{{wikidata|title|linked|Q492325}}||Antique||Bayan
|-
|841||Caluya||[[:wikidata:Q492363|Q492363]]||[[{{wikidata|label|linked|Q492363}}]]||{{wikidata|title|linked|Q492363}}||Antique||Bayan
|-
|842||Culasi||[[:wikidata:Q492406|Q492406]]||[[{{wikidata|label|linked|Q492406}}]]||{{wikidata|title|linked|Q492406}}||Antique||Bayan
|-
|843||Hamtic||[[:wikidata:Q144779|Q144779]]||[[{{wikidata|label|linked|Q144779}}]]||{{wikidata|title|linked|Q144779}}||Antique||Bayan
|-
|844||Laua-an||[[:wikidata:Q492479|Q492479]]||[[{{wikidata|label|linked|Q492479}}]]||{{wikidata|title|linked|Q492479}}||Antique||Bayan
|-
|845||Libertad||[[:wikidata:Q492516|Q492516]]||[[{{wikidata|label|linked|Q492516}}]]||{{wikidata|title|linked|Q492516}}||Antique||Bayan
|-
|846||Pandan||[[:wikidata:Q492545|Q492545]]||[[{{wikidata|label|linked|Q492545}}]]||{{wikidata|title|linked|Q492545}}||Antique||Bayan
|-
|847||Patnongon||[[:wikidata:Q492577|Q492577]]||[[{{wikidata|label|linked|Q492577}}]]||{{wikidata|title|linked|Q492577}}||Antique||Bayan
|-
|848||San Jose de Buenavista||[[:wikidata:Q492619|Q492619]]||[[{{wikidata|label|linked|Q492619}}]]||{{wikidata|title|linked|Q492619}}||Antique||Bayan
|-
|849||San Remigio||[[:wikidata:Q492673|Q492673]]||[[{{wikidata|label|linked|Q492673}}]]||{{wikidata|title|linked|Q492673}}||Antique||Bayan
|-
|850||Sebaste||[[:wikidata:Q492707|Q492707]]||[[{{wikidata|label|linked|Q492707}}]]||{{wikidata|title|linked|Q492707}}||Antique||Bayan
|-
|851||Sibalom||[[:wikidata:Q492742|Q492742]]||[[{{wikidata|label|linked|Q492742}}]]||{{wikidata|title|linked|Q492742}}||Antique||Bayan
|-
|852||Tibiao||[[:wikidata:Q492780|Q492780]]||[[{{wikidata|label|linked|Q492780}}]]||{{wikidata|title|linked|Q492780}}||Antique||Bayan
|-
|853||Tobias Fornier||[[:wikidata:Q492817|Q492817]]||[[{{wikidata|label|linked|Q492817}}]]||{{wikidata|title|linked|Q492817}}||Antique||Bayan
|-
|854||Valderrama||[[:wikidata:Q492862|Q492862]]||[[{{wikidata|label|linked|Q492862}}]]||{{wikidata|title|linked|Q492862}}||Antique||Bayan
|-
|855||Altavas||[[:wikidata:Q434743|Q434743]]||[[{{wikidata|label|linked|Q434743}}]]||{{wikidata|title|linked|Q434743}}||Aklan||Bayan
|-
|856||Balete||[[:wikidata:Q626586|Q626586]]||[[{{wikidata|label|linked|Q626586}}]]||{{wikidata|title|linked|Q626586}}||Aklan||Bayan
|-
|857||Banga||[[:wikidata:Q569215|Q569215]]||[[{{wikidata|label|linked|Q569215}}]]||{{wikidata|title|linked|Q569215}}||Aklan||Bayan
|-
|858||Batan||[[:wikidata:Q626645|Q626645]]||[[{{wikidata|label|linked|Q626645}}]]||{{wikidata|title|linked|Q626645}}||Aklan||Bayan
|-
|859||Buruanga||[[:wikidata:Q576805|Q576805]]||[[{{wikidata|label|linked|Q576805}}]]||{{wikidata|title|linked|Q576805}}||Aklan||Bayan
|-
|860||Ibajay||[[:wikidata:Q626695|Q626695]]||[[{{wikidata|label|linked|Q626695}}]]||{{wikidata|title|linked|Q626695}}||Aklan||Bayan
|-
|861||Kalibo||[[:wikidata:Q626721|Q626721]]||[[{{wikidata|label|linked|Q626721}}]]||{{wikidata|title|linked|Q626721}}||Aklan||Bayan
|-
|862||Lezo||[[:wikidata:Q626746|Q626746]]||[[{{wikidata|label|linked|Q626746}}]]||{{wikidata|title|linked|Q626746}}||Aklan||Bayan
|-
|863||Libacao||[[:wikidata:Q626786|Q626786]]||[[{{wikidata|label|linked|Q626786}}]]||{{wikidata|title|linked|Q626786}}||Aklan||Bayan
|-
|864||Madalag||[[:wikidata:Q626820|Q626820]]||[[{{wikidata|label|linked|Q626820}}]]||{{wikidata|title|linked|Q626820}}||Aklan||Bayan
|-
|865||Makato||[[:wikidata:Q626873|Q626873]]||[[{{wikidata|label|linked|Q626873}}]]||{{wikidata|title|linked|Q626873}}||Aklan||Bayan
|-
|866||Malay||[[:wikidata:Q626905|Q626905]]||[[{{wikidata|label|linked|Q626905}}]]||{{wikidata|title|linked|Q626905}}||Aklan||Bayan
|-
|867||Malinao||[[:wikidata:Q626935|Q626935]]||[[{{wikidata|label|linked|Q626935}}]]||{{wikidata|title|linked|Q626935}}||Aklan||Bayan
|-
|868||Nabas||[[:wikidata:Q626959|Q626959]]||[[{{wikidata|label|linked|Q626959}}]]||{{wikidata|title|linked|Q626959}}||Aklan||Bayan
|-
|869||New Washington||[[:wikidata:Q626992|Q626992]]||[[{{wikidata|label|linked|Q626992}}]]||{{wikidata|title|linked|Q626992}}||Aklan||Bayan
|-
|870||Numancia||[[:wikidata:Q627008|Q627008]]||[[{{wikidata|label|linked|Q627008}}]]||{{wikidata|title|linked|Q627008}}||Aklan||Bayan
|-
|871||Tangalan||[[:wikidata:Q627028|Q627028]]||[[{{wikidata|label|linked|Q627028}}]]||{{wikidata|title|linked|Q627028}}||Aklan||Bayan
|-
|872||Barcelona||[[:wikidata:Q174114|Q174114]]||[[{{wikidata|label|linked|Q174114}}]]||{{wikidata|title|linked|Q174114}}||Sorsogon||Bayan
|-
|873||Bulan||[[:wikidata:Q174132|Q174132]]||[[{{wikidata|label|linked|Q174132}}]]||{{wikidata|title|linked|Q174132}}||Sorsogon||Bayan
|-
|874||Bulusan||[[:wikidata:Q174149|Q174149]]||[[{{wikidata|label|linked|Q174149}}]]||{{wikidata|title|linked|Q174149}}||Sorsogon||Bayan
|-
|875||Casiguran||[[:wikidata:Q174162|Q174162]]||[[{{wikidata|label|linked|Q174162}}]]||{{wikidata|title|linked|Q174162}}||Sorsogon||Bayan
|-
|876||Castilla||[[:wikidata:Q174177|Q174177]]||[[{{wikidata|label|linked|Q174177}}]]||{{wikidata|title|linked|Q174177}}||Sorsogon||Bayan
|-
|877||Donsol||[[:wikidata:Q174192|Q174192]]||[[{{wikidata|label|linked|Q174192}}]]||{{wikidata|title|linked|Q174192}}||Sorsogon||Bayan
|-
|878||Gubat||[[:wikidata:Q174201|Q174201]]||[[{{wikidata|label|linked|Q174201}}]]||{{wikidata|title|linked|Q174201}}||Sorsogon||Bayan
|-
|879||Irosin||[[:wikidata:Q174215|Q174215]]||[[{{wikidata|label|linked|Q174215}}]]||{{wikidata|title|linked|Q174215}}||Sorsogon||Bayan
|-
|880||Juban||[[:wikidata:Q174226|Q174226]]||[[{{wikidata|label|linked|Q174226}}]]||{{wikidata|title|linked|Q174226}}||Sorsogon||Bayan
|-
|881||Magallanes||[[:wikidata:Q174236|Q174236]]||[[{{wikidata|label|linked|Q174236}}]]||{{wikidata|title|linked|Q174236}}||Sorsogon||Bayan
|-
|882||Matnog||[[:wikidata:Q174246|Q174246]]||[[{{wikidata|label|linked|Q174246}}]]||{{wikidata|title|linked|Q174246}}||Sorsogon||Bayan
|-
|883||Pilar||[[:wikidata:Q174255|Q174255]]||[[{{wikidata|label|linked|Q174255}}]]||{{wikidata|title|linked|Q174255}}||Sorsogon||Bayan
|-
|884||Prieto Diaz||[[:wikidata:Q174269|Q174269]]||[[{{wikidata|label|linked|Q174269}}]]||{{wikidata|title|linked|Q174269}}||Sorsogon||Bayan
|-
|885||Santa Magdalena||[[:wikidata:Q174281|Q174281]]||[[{{wikidata|label|linked|Q174281}}]]||{{wikidata|title|linked|Q174281}}||Sorsogon||Bayan
|-
|886||Sorsogon City||[[:wikidata:Q174096|Q174096]]||[[{{wikidata|label|linked|Q174096}}]]||{{wikidata|title|linked|Q174096}}||Sorsogon||Lungsod
|-
|887||Aroroy||[[:wikidata:Q191416|Q191416]]||[[{{wikidata|label|linked|Q191416}}]]||{{wikidata|title|linked|Q191416}}||Masbate||Bayan
|-
|888||Baleno||[[:wikidata:Q191438|Q191438]]||[[{{wikidata|label|linked|Q191438}}]]||{{wikidata|title|linked|Q191438}}||Masbate||Bayan
|-
|889||Balud||[[:wikidata:Q191453|Q191453]]||[[{{wikidata|label|linked|Q191453}}]]||{{wikidata|title|linked|Q191453}}||Masbate||Bayan
|-
|890||Batuan||[[:wikidata:Q191463|Q191463]]||[[{{wikidata|label|linked|Q191463}}]]||{{wikidata|title|linked|Q191463}}||Masbate||Bayan
|-
|891||Cataingan||[[:wikidata:Q191478|Q191478]]||[[{{wikidata|label|linked|Q191478}}]]||{{wikidata|title|linked|Q191478}}||Masbate||Bayan
|-
|892||Cawayan||[[:wikidata:Q191482|Q191482]]||[[{{wikidata|label|linked|Q191482}}]]||{{wikidata|title|linked|Q191482}}||Masbate||Bayan
|-
|893||Claveria||[[:wikidata:Q191490|Q191490]]||[[{{wikidata|label|linked|Q191490}}]]||{{wikidata|title|linked|Q191490}}||Masbate||Bayan
|-
|894||Dimasalang||[[:wikidata:Q191496|Q191496]]||[[{{wikidata|label|linked|Q191496}}]]||{{wikidata|title|linked|Q191496}}||Masbate||Bayan
|-
|895||Esperanza||[[:wikidata:Q191501|Q191501]]||[[{{wikidata|label|linked|Q191501}}]]||{{wikidata|title|linked|Q191501}}||Masbate||Bayan
|-
|896||Mandaon||[[:wikidata:Q191512|Q191512]]||[[{{wikidata|label|linked|Q191512}}]]||{{wikidata|title|linked|Q191512}}||Masbate||Bayan
|-
|897||Masbate City||[[:wikidata:Q191651|Q191651]]||[[{{wikidata|label|linked|Q191651}}]]||{{wikidata|title|linked|Q191651}}||Masbate||Lungsod
|-
|898||Milagros||[[:wikidata:Q191522|Q191522]]||[[{{wikidata|label|linked|Q191522}}]]||{{wikidata|title|linked|Q191522}}||Masbate||Bayan
|-
|899||Mobo||[[:wikidata:Q191533|Q191533]]||[[{{wikidata|label|linked|Q191533}}]]||{{wikidata|title|linked|Q191533}}||Masbate||Bayan
|-
|900||Monreal||[[:wikidata:Q191544|Q191544]]||[[{{wikidata|label|linked|Q191544}}]]||{{wikidata|title|linked|Q191544}}||Masbate||Bayan
|-
|901||Palanas||[[:wikidata:Q191558|Q191558]]||[[{{wikidata|label|linked|Q191558}}]]||{{wikidata|title|linked|Q191558}}||Masbate||Bayan
|-
|902||Pio V. Corpus||[[:wikidata:Q191581|Q191581]]||[[{{wikidata|label|linked|Q191581}}]]||{{wikidata|title|linked|Q191581}}||Masbate||Bayan
|-
|903||Placer||[[:wikidata:Q191590|Q191590]]||[[{{wikidata|label|linked|Q191590}}]]||{{wikidata|title|linked|Q191590}}||Masbate||Bayan
|-
|904||San Fernando||[[:wikidata:Q191606|Q191606]]||[[{{wikidata|label|linked|Q191606}}]]||{{wikidata|title|linked|Q191606}}||Masbate||Bayan
|-
|905||San Jacinto||[[:wikidata:Q191621|Q191621]]||[[{{wikidata|label|linked|Q191621}}]]||{{wikidata|title|linked|Q191621}}||Masbate||Bayan
|-
|906||San Pascual||[[:wikidata:Q191630|Q191630]]||[[{{wikidata|label|linked|Q191630}}]]||{{wikidata|title|linked|Q191630}}||Masbate||Bayan
|-
|907||Uson||[[:wikidata:Q191636|Q191636]]||[[{{wikidata|label|linked|Q191636}}]]||{{wikidata|title|linked|Q191636}}||Masbate||Bayan
|-
|908||Bagamanoc||[[:wikidata:Q192067|Q192067]]||[[{{wikidata|label|linked|Q192067}}]]||{{wikidata|title|linked|Q192067}}||Catanduanes||Bayan
|-
|909||Baras||[[:wikidata:Q192072|Q192072]]||[[{{wikidata|label|linked|Q192072}}]]||{{wikidata|title|linked|Q192072}}||Catanduanes||Bayan
|-
|910||Bato||[[:wikidata:Q192085|Q192085]]||[[{{wikidata|label|linked|Q192085}}]]||{{wikidata|title|linked|Q192085}}||Catanduanes||Bayan
|-
|911||Caramoran||[[:wikidata:Q192091|Q192091]]||[[{{wikidata|label|linked|Q192091}}]]||{{wikidata|title|linked|Q192091}}||Catanduanes||Bayan
|-
|912||Gigmoto||[[:wikidata:Q192629|Q192629]]||[[{{wikidata|label|linked|Q192629}}]]||{{wikidata|title|linked|Q192629}}||Catanduanes||Bayan
|-
|913||Pandan||[[:wikidata:Q123163|Q123163]]||[[{{wikidata|label|linked|Q123163}}]]||{{wikidata|title|linked|Q123163}}||Catanduanes||Bayan
|-
|914||Panganiban||[[:wikidata:Q192646|Q192646]]||[[{{wikidata|label|linked|Q192646}}]]||{{wikidata|title|linked|Q192646}}||Catanduanes||Bayan
|-
|915||San Andres||[[:wikidata:Q840162|Q840162]]||[[{{wikidata|label|linked|Q840162}}]]||{{wikidata|title|linked|Q840162}}||Catanduanes||Bayan
|-
|916||San Miguel||[[:wikidata:Q192665|Q192665]]||[[{{wikidata|label|linked|Q192665}}]]||{{wikidata|title|linked|Q192665}}||Catanduanes||Bayan
|-
|917||Viga||[[:wikidata:Q192670|Q192670]]||[[{{wikidata|label|linked|Q192670}}]]||{{wikidata|title|linked|Q192670}}||Catanduanes||Bayan
|-
|918||Virac||[[:wikidata:Q192681|Q192681]]||[[{{wikidata|label|linked|Q192681}}]]||{{wikidata|title|linked|Q192681}}||Catanduanes||Bayan
|-
|919||Baao||[[:wikidata:Q208672|Q208672]]||[[{{wikidata|label|linked|Q208672}}]]||{{wikidata|title|linked|Q208672}}||Camarines Sur||Bayan
|-
|920||Balatan||[[:wikidata:Q208678|Q208678]]||[[{{wikidata|label|linked|Q208678}}]]||{{wikidata|title|linked|Q208678}}||Camarines Sur||Bayan
|-
|921||Bato||[[:wikidata:Q208683|Q208683]]||[[{{wikidata|label|linked|Q208683}}]]||{{wikidata|title|linked|Q208683}}||Camarines Sur||Bayan
|-
|922||Bombon||[[:wikidata:Q208690|Q208690]]||[[{{wikidata|label|linked|Q208690}}]]||{{wikidata|title|linked|Q208690}}||Camarines Sur||Bayan
|-
|923||Buhi||[[:wikidata:Q208699|Q208699]]||[[{{wikidata|label|linked|Q208699}}]]||{{wikidata|title|linked|Q208699}}||Camarines Sur||Bayan
|-
|924||Bula||[[:wikidata:Q208712|Q208712]]||[[{{wikidata|label|linked|Q208712}}]]||{{wikidata|title|linked|Q208712}}||Camarines Sur||Bayan
|-
|925||Cabusao||[[:wikidata:Q208717|Q208717]]||[[{{wikidata|label|linked|Q208717}}]]||{{wikidata|title|linked|Q208717}}||Camarines Sur||Bayan
|-
|926||Calabanga||[[:wikidata:Q208727|Q208727]]||[[{{wikidata|label|linked|Q208727}}]]||{{wikidata|title|linked|Q208727}}||Camarines Sur||Bayan
|-
|927||Camaligan||[[:wikidata:Q208738|Q208738]]||[[{{wikidata|label|linked|Q208738}}]]||{{wikidata|title|linked|Q208738}}||Camarines Sur||Bayan
|-
|928||Canaman||[[:wikidata:Q208749|Q208749]]||[[{{wikidata|label|linked|Q208749}}]]||{{wikidata|title|linked|Q208749}}||Camarines Sur||Bayan
|-
|929||Caramoan||[[:wikidata:Q208757|Q208757]]||[[{{wikidata|label|linked|Q208757}}]]||{{wikidata|title|linked|Q208757}}||Camarines Sur||Bayan
|-
|930||Del Gallego||[[:wikidata:Q208765|Q208765]]||[[{{wikidata|label|linked|Q208765}}]]||{{wikidata|title|linked|Q208765}}||Camarines Sur||Bayan
|-
|931||Gainza||[[:wikidata:Q208769|Q208769]]||[[{{wikidata|label|linked|Q208769}}]]||{{wikidata|title|linked|Q208769}}||Camarines Sur||Bayan
|-
|932||Garchitorena||[[:wikidata:Q208775|Q208775]]||[[{{wikidata|label|linked|Q208775}}]]||{{wikidata|title|linked|Q208775}}||Camarines Sur||Bayan
|-
|933||Goa||[[:wikidata:Q208782|Q208782]]||[[{{wikidata|label|linked|Q208782}}]]||{{wikidata|title|linked|Q208782}}||Camarines Sur||Bayan
|-
|934||Iriga||[[:wikidata:Q2205|Q2205]]||[[{{wikidata|label|linked|Q2205}}]]||{{wikidata|title|linked|Q2205}}||Camarines Sur||Lungsod
|-
|935||Lagonoy||[[:wikidata:Q208792|Q208792]]||[[{{wikidata|label|linked|Q208792}}]]||{{wikidata|title|linked|Q208792}}||Camarines Sur||Bayan
|-
|936||Libmanan||[[:wikidata:Q208814|Q208814]]||[[{{wikidata|label|linked|Q208814}}]]||{{wikidata|title|linked|Q208814}}||Camarines Sur||Bayan
|-
|937||Lupi||[[:wikidata:Q208835|Q208835]]||[[{{wikidata|label|linked|Q208835}}]]||{{wikidata|title|linked|Q208835}}||Camarines Sur||Bayan
|-
|938||Magarao||[[:wikidata:Q208845|Q208845]]||[[{{wikidata|label|linked|Q208845}}]]||{{wikidata|title|linked|Q208845}}||Camarines Sur||Bayan
|-
|939||Milaor||[[:wikidata:Q208852|Q208852]]||[[{{wikidata|label|linked|Q208852}}]]||{{wikidata|title|linked|Q208852}}||Camarines Sur||Bayan
|-
|940||Minalabac||[[:wikidata:Q208864|Q208864]]||[[{{wikidata|label|linked|Q208864}}]]||{{wikidata|title|linked|Q208864}}||Camarines Sur||Bayan
|-
|941||Nabua||[[:wikidata:Q208872|Q208872]]||[[{{wikidata|label|linked|Q208872}}]]||{{wikidata|title|linked|Q208872}}||Camarines Sur||Bayan
|-
|942||Naga||[[:wikidata:Q2207|Q2207]]||[[{{wikidata|label|linked|Q2207}}]]||{{wikidata|title|linked|Q2207}}||Camarines Sur||Bayan
|-
|943||Ocampo||[[:wikidata:Q208878|Q208878]]||[[{{wikidata|label|linked|Q208878}}]]||{{wikidata|title|linked|Q208878}}||Camarines Sur||Bayan
|-
|944||Pamplona||[[:wikidata:Q208886|Q208886]]||[[{{wikidata|label|linked|Q208886}}]]||{{wikidata|title|linked|Q208886}}||Camarines Sur||Bayan
|-
|945||Pasacao||[[:wikidata:Q208892|Q208892]]||[[{{wikidata|label|linked|Q208892}}]]||{{wikidata|title|linked|Q208892}}||Camarines Sur||Bayan
|-
|946||Pili||[[:wikidata:Q208899|Q208899]]||[[{{wikidata|label|linked|Q208899}}]]||{{wikidata|title|linked|Q208899}}||Camarines Sur||Bayan
|-
|947||Presentacion||[[:wikidata:Q208919|Q208919]]||[[{{wikidata|label|linked|Q208919}}]]||{{wikidata|title|linked|Q208919}}||Camarines Sur||Bayan
|-
|948||Ragay||[[:wikidata:Q208924|Q208924]]||[[{{wikidata|label|linked|Q208924}}]]||{{wikidata|title|linked|Q208924}}||Camarines Sur||Bayan
|-
|949||Sagñay||[[:wikidata:Q208937|Q208937]]||[[{{wikidata|label|linked|Q208937}}]]||{{wikidata|title|linked|Q208937}}||Camarines Sur||Bayan
|-
|950||San Fernando||[[:wikidata:Q208950|Q208950]]||[[{{wikidata|label|linked|Q208950}}]]||{{wikidata|title|linked|Q208950}}||Camarines Sur||Bayan
|-
|951||San Jose||[[:wikidata:Q208966|Q208966]]||[[{{wikidata|label|linked|Q208966}}]]||{{wikidata|title|linked|Q208966}}||Camarines Sur||Bayan
|-
|952||Sipocot||[[:wikidata:Q208985|Q208985]]||[[{{wikidata|label|linked|Q208985}}]]||{{wikidata|title|linked|Q208985}}||Camarines Sur||Bayan
|-
|953||Siruma||[[:wikidata:Q208995|Q208995]]||[[{{wikidata|label|linked|Q208995}}]]||{{wikidata|title|linked|Q208995}}||Camarines Sur||Bayan
|-
|954||Tigaon||[[:wikidata:Q209011|Q209011]]||[[{{wikidata|label|linked|Q209011}}]]||{{wikidata|title|linked|Q209011}}||Camarines Sur||Bayan
|-
|955||Tinambac||[[:wikidata:Q209024|Q209024]]||[[{{wikidata|label|linked|Q209024}}]]||{{wikidata|title|linked|Q209024}}||Camarines Sur||Bayan
|-
|956||Basud||[[:wikidata:Q356607|Q356607]]||[[{{wikidata|label|linked|Q356607}}]]||{{wikidata|title|linked|Q356607}}||Camarines Norte||Bayan
|-
|957||Capalonga||[[:wikidata:Q119624|Q119624]]||[[{{wikidata|label|linked|Q119624}}]]||{{wikidata|title|linked|Q119624}}||Camarines Norte||Bayan
|-
|958||Daet||[[:wikidata:Q356655|Q356655]]||[[{{wikidata|label|linked|Q356655}}]]||{{wikidata|title|linked|Q356655}}||Camarines Norte||Bayan
|-
|959||Jose Panganiban||[[:wikidata:Q356681|Q356681]]||[[{{wikidata|label|linked|Q356681}}]]||{{wikidata|title|linked|Q356681}}||Camarines Norte||Bayan
|-
|960||Labo||[[:wikidata:Q356708|Q356708]]||[[{{wikidata|label|linked|Q356708}}]]||{{wikidata|title|linked|Q356708}}||Camarines Norte||Bayan
|-
|961||Mercedes||[[:wikidata:Q356734|Q356734]]||[[{{wikidata|label|linked|Q356734}}]]||{{wikidata|title|linked|Q356734}}||Camarines Norte||Bayan
|-
|962||Paracale||[[:wikidata:Q356759|Q356759]]||[[{{wikidata|label|linked|Q356759}}]]||{{wikidata|title|linked|Q356759}}||Camarines Norte||Bayan
|-
|963||San Lorenzo Ruiz||[[:wikidata:Q356803|Q356803]]||[[{{wikidata|label|linked|Q356803}}]]||{{wikidata|title|linked|Q356803}}||Camarines Norte||Bayan
|-
|964||San Vicente||[[:wikidata:Q302791|Q302791]]||[[{{wikidata|label|linked|Q302791}}]]||{{wikidata|title|linked|Q302791}}||Camarines Norte||Bayan
|-
|965||Santa Elena||[[:wikidata:Q356853|Q356853]]||[[{{wikidata|label|linked|Q356853}}]]||{{wikidata|title|linked|Q356853}}||Camarines Norte||Bayan
|-
|966||Talisay||[[:wikidata:Q356878|Q356878]]||[[{{wikidata|label|linked|Q356878}}]]||{{wikidata|title|linked|Q356878}}||Camarines Norte||Bayan
|-
|967||Vinzons||[[:wikidata:Q356898|Q356898]]||[[{{wikidata|label|linked|Q356898}}]]||{{wikidata|title|linked|Q356898}}||Camarines Norte||Bayan
|-
|968||Bacacay||[[:wikidata:Q492912|Q492912]]||[[{{wikidata|label|linked|Q492912}}]]||{{wikidata|title|linked|Q492912}}||Albay||Bayan
|-
|969||Camalig||[[:wikidata:Q492976|Q492976]]||[[{{wikidata|label|linked|Q492976}}]]||{{wikidata|title|linked|Q492976}}||Albay||Bayan
|-
|970||Daraga||[[:wikidata:Q493008|Q493008]]||[[{{wikidata|label|linked|Q493008}}]]||{{wikidata|title|linked|Q493008}}||Albay||Bayan
|-
|971||Guinobatan||[[:wikidata:Q493032|Q493032]]||[[{{wikidata|label|linked|Q493032}}]]||{{wikidata|title|linked|Q493032}}||Albay||Bayan
|-
|972||Jovellar||[[:wikidata:Q493065|Q493065]]||[[{{wikidata|label|linked|Q493065}}]]||{{wikidata|title|linked|Q493065}}||Albay||Bayan
|-
|973||Legazpi||[[:wikidata:Q1696|Q1696]]||[[{{wikidata|label|linked|Q1696}}]]||{{wikidata|title|linked|Q1696}}||Albay||Lungsod
|-
|974||Libon||[[:wikidata:Q493095|Q493095]]||[[{{wikidata|label|linked|Q493095}}]]||{{wikidata|title|linked|Q493095}}||Albay||Bayan
|-
|975||Ligao||[[:wikidata:Q1701|Q1701]]||[[{{wikidata|label|linked|Q1701}}]]||{{wikidata|title|linked|Q1701}}||Albay||Lungsod
|-
|976||Malilipot||[[:wikidata:Q493132|Q493132]]||[[{{wikidata|label|linked|Q493132}}]]||{{wikidata|title|linked|Q493132}}||Albay||Bayan
|-
|977||Malinao||[[:wikidata:Q493178|Q493178]]||[[{{wikidata|label|linked|Q493178}}]]||{{wikidata|title|linked|Q493178}}||Albay||Bayan
|-
|978||Manito||[[:wikidata:Q493204|Q493204]]||[[{{wikidata|label|linked|Q493204}}]]||{{wikidata|title|linked|Q493204}}||Albay||Bayan
|-
|979||Oas||[[:wikidata:Q493246|Q493246]]||[[{{wikidata|label|linked|Q493246}}]]||{{wikidata|title|linked|Q493246}}||Albay||Bayan
|-
|980||Pio Duran||[[:wikidata:Q256045|Q256045]]||[[{{wikidata|label|linked|Q256045}}]]||{{wikidata|title|linked|Q256045}}||Albay||Bayan
|-
|981||Polangui||[[:wikidata:Q493326|Q493326]]||[[{{wikidata|label|linked|Q493326}}]]||{{wikidata|title|linked|Q493326}}||Albay||Bayan
|-
|982||Rapu-Rapu||[[:wikidata:Q493362|Q493362]]||[[{{wikidata|label|linked|Q493362}}]]||{{wikidata|title|linked|Q493362}}||Albay||Bayan
|-
|983||Santo Domingo||[[:wikidata:Q493409|Q493409]]||[[{{wikidata|label|linked|Q493409}}]]||{{wikidata|title|linked|Q493409}}||Albay||Bayan
|-
|984||Tabaco||[[:wikidata:Q1706|Q1706]]||[[{{wikidata|label|linked|Q1706}}]]||{{wikidata|title|linked|Q1706}}||Albay||Lungsod
|-
|985||Tiwi||[[:wikidata:Q493444|Q493444]]||[[{{wikidata|label|linked|Q493444}}]]||{{wikidata|title|linked|Q493444}}||Albay||Bayan
|-
|986||Alcantara||[[:wikidata:Q174497|Q174497]]||[[{{wikidata|label|linked|Q174497}}]]||{{wikidata|title|linked|Q174497}}||Romblon||Bayan
|-
|987||Banton||[[:wikidata:Q174511|Q174511]]||[[{{wikidata|label|linked|Q174511}}]]||{{wikidata|title|linked|Q174511}}||Romblon||Bayan
|-
|988||Cajidiocan||[[:wikidata:Q174525|Q174525]]||[[{{wikidata|label|linked|Q174525}}]]||{{wikidata|title|linked|Q174525}}||Romblon||Bayan
|-
|989||Calatrava||[[:wikidata:Q174544|Q174544]]||[[{{wikidata|label|linked|Q174544}}]]||{{wikidata|title|linked|Q174544}}||Romblon||Bayan
|-
|990||Concepcion||[[:wikidata:Q174562|Q174562]]||[[{{wikidata|label|linked|Q174562}}]]||{{wikidata|title|linked|Q174562}}||Romblon||Bayan
|-
|991||Corcuera||[[:wikidata:Q174575|Q174575]]||[[{{wikidata|label|linked|Q174575}}]]||{{wikidata|title|linked|Q174575}}||Romblon||Bayan
|-
|992||Ferrol||[[:wikidata:Q174591|Q174591]]||[[{{wikidata|label|linked|Q174591}}]]||{{wikidata|title|linked|Q174591}}||Romblon||Bayan
|-
|993||Looc||[[:wikidata:Q174607|Q174607]]||[[{{wikidata|label|linked|Q174607}}]]||{{wikidata|title|linked|Q174607}}||Romblon||Bayan
|-
|994||Magdiwang||[[:wikidata:Q174620|Q174620]]||[[{{wikidata|label|linked|Q174620}}]]||{{wikidata|title|linked|Q174620}}||Romblon||Bayan
|-
|995||Odiongan||[[:wikidata:Q174632|Q174632]]||[[{{wikidata|label|linked|Q174632}}]]||{{wikidata|title|linked|Q174632}}||Romblon||Bayan
|-
|996||Romblon||[[:wikidata:Q174649|Q174649]]||[[{{wikidata|label|linked|Q174649}}]]||{{wikidata|title|linked|Q174649}}||Romblon||Bayan
|-
|997||San Agustin||[[:wikidata:Q174659|Q174659]]||[[{{wikidata|label|linked|Q174659}}]]||{{wikidata|title|linked|Q174659}}||Romblon||Bayan
|-
|998||San Andres||[[:wikidata:Q174667|Q174667]]||[[{{wikidata|label|linked|Q174667}}]]||{{wikidata|title|linked|Q174667}}||Romblon||Bayan
|-
|999||San Fernando||[[:wikidata:Q174676|Q174676]]||[[{{wikidata|label|linked|Q174676}}]]||{{wikidata|title|linked|Q174676}}||Romblon||Bayan
|-
|1000||San Jose||[[:wikidata:Q174689|Q174689]]||[[{{wikidata|label|linked|Q174689}}]]||{{wikidata|title|linked|Q174689}}||Romblon||Bayan
|-
|1001||Santa Fe||[[:wikidata:Q174702|Q174702]]||[[{{wikidata|label|linked|Q174702}}]]||{{wikidata|title|linked|Q174702}}||Romblon||Bayan
|-
|1002||Santa Maria||[[:wikidata:Q174717|Q174717]]||[[{{wikidata|label|linked|Q174717}}]]||{{wikidata|title|linked|Q174717}}||Romblon||Bayan
|-
|1003||Aborlan||[[:wikidata:Q111338|Q111338]]||[[{{wikidata|label|linked|Q111338}}]]||{{wikidata|title|linked|Q111338}}||Palawan||Bayan
|-
|1004||Agutaya||[[:wikidata:Q111351|Q111351]]||[[{{wikidata|label|linked|Q111351}}]]||{{wikidata|title|linked|Q111351}}||Palawan||Bayan
|-
|1005||Araceli||[[:wikidata:Q111360|Q111360]]||[[{{wikidata|label|linked|Q111360}}]]||{{wikidata|title|linked|Q111360}}||Palawan||Bayan
|-
|1006||Balabac||[[:wikidata:Q111372|Q111372]]||[[{{wikidata|label|linked|Q111372}}]]||{{wikidata|title|linked|Q111372}}||Palawan||Bayan
|-
|1007||Bataraza||[[:wikidata:Q111378|Q111378]]||[[{{wikidata|label|linked|Q111378}}]]||{{wikidata|title|linked|Q111378}}||Palawan||Bayan
|-
|1008||Brooke's Point||[[:wikidata:Q111386|Q111386]]||[[{{wikidata|label|linked|Q111386}}]]||{{wikidata|title|linked|Q111386}}||Palawan||Bayan
|-
|1009||Busuanga||[[:wikidata:Q111393|Q111393]]||[[{{wikidata|label|linked|Q111393}}]]||{{wikidata|title|linked|Q111393}}||Palawan||Bayan
|-
|1010||Cagayancillo||[[:wikidata:Q111402|Q111402]]||[[{{wikidata|label|linked|Q111402}}]]||{{wikidata|title|linked|Q111402}}||Palawan||Bayan
|-
|1011||Coron||[[:wikidata:Q111414|Q111414]]||[[{{wikidata|label|linked|Q111414}}]]||{{wikidata|title|linked|Q111414}}||Palawan||Bayan
|-
|1012||Culion||[[:wikidata:Q111427|Q111427]]||[[{{wikidata|label|linked|Q111427}}]]||{{wikidata|title|linked|Q111427}}||Palawan||Bayan
|-
|1013||Cuyo||[[:wikidata:Q111438|Q111438]]||[[{{wikidata|label|linked|Q111438}}]]||{{wikidata|title|linked|Q111438}}||Palawan||Bayan
|-
|1014||Dumaran||[[:wikidata:Q111468|Q111468]]||[[{{wikidata|label|linked|Q111468}}]]||{{wikidata|title|linked|Q111468}}||Palawan||Bayan
|-
|1015||El Nido||[[:wikidata:Q111483|Q111483]]||[[{{wikidata|label|linked|Q111483}}]]||{{wikidata|title|linked|Q111483}}||Palawan||Bayan
|-
|1016||Kalayaan||[[:wikidata:Q111495|Q111495]]||[[{{wikidata|label|linked|Q111495}}]]||{{wikidata|title|linked|Q111495}}||Palawan||Bayan
|-
|1017||Linapacan||[[:wikidata:Q111506|Q111506]]||[[{{wikidata|label|linked|Q111506}}]]||{{wikidata|title|linked|Q111506}}||Palawan||Bayan
|-
|1018||Magsaysay||[[:wikidata:Q111521|Q111521]]||[[{{wikidata|label|linked|Q111521}}]]||{{wikidata|title|linked|Q111521}}||Palawan||Bayan
|-
|1019||Narra||[[:wikidata:Q111535|Q111535]]||[[{{wikidata|label|linked|Q111535}}]]||{{wikidata|title|linked|Q111535}}||Palawan||Bayan
|-
|1020||Puerto Princesa||[[:wikidata:Q111739|Q111739]]||[[{{wikidata|label|linked|Q111739}}]]||{{wikidata|title|linked|Q111739}}||Palawan||Lungsod
|-
|1021||Quezon||[[:wikidata:Q111662|Q111662]]||[[{{wikidata|label|linked|Q111662}}]]||{{wikidata|title|linked|Q111662}}||Palawan||Bayan
|-
|1022||Rizal||[[:wikidata:Q111677|Q111677]]||[[{{wikidata|label|linked|Q111677}}]]||{{wikidata|title|linked|Q111677}}||Palawan||Bayan
|-
|1023||Roxas||[[:wikidata:Q111689|Q111689]]||[[{{wikidata|label|linked|Q111689}}]]||{{wikidata|title|linked|Q111689}}||Palawan||Bayan
|-
|1024||San Vicente||[[:wikidata:Q111707|Q111707]]||[[{{wikidata|label|linked|Q111707}}]]||{{wikidata|title|linked|Q111707}}||Palawan||Bayan
|-
|1025||Sofronio Española||[[:wikidata:Q111719|Q111719]]||[[{{wikidata|label|linked|Q111719}}]]||{{wikidata|title|linked|Q111719}}||Palawan||Bayan
|-
|1026||Taytay||[[:wikidata:Q111730|Q111730]]||[[{{wikidata|label|linked|Q111730}}]]||{{wikidata|title|linked|Q111730}}||Palawan||Bayan
|-
|1027||Baco||[[:wikidata:Q107538|Q107538]]||[[{{wikidata|label|linked|Q107538}}]]||{{wikidata|title|linked|Q107538}}||Oriental Mindoro||Bayan
|-
|1028||Bansud||[[:wikidata:Q107543|Q107543]]||[[{{wikidata|label|linked|Q107543}}]]||{{wikidata|title|linked|Q107543}}||Oriental Mindoro||Bayan
|-
|1029||Bongabong||[[:wikidata:Q107550|Q107550]]||[[{{wikidata|label|linked|Q107550}}]]||{{wikidata|title|linked|Q107550}}||Oriental Mindoro||Bayan
|-
|1030||Bulalacao||[[:wikidata:Q107554|Q107554]]||[[{{wikidata|label|linked|Q107554}}]]||{{wikidata|title|linked|Q107554}}||Oriental Mindoro||Bayan
|-
|1031||Calapan||[[:wikidata:Q107624|Q107624]]||[[{{wikidata|label|linked|Q107624}}]]||{{wikidata|title|linked|Q107624}}||Oriental Mindoro||Lungsod
|-
|1032||Gloria||[[:wikidata:Q107559|Q107559]]||[[{{wikidata|label|linked|Q107559}}]]||{{wikidata|title|linked|Q107559}}||Oriental Mindoro||Bayan
|-
|1033||Mansalay||[[:wikidata:Q107567|Q107567]]||[[{{wikidata|label|linked|Q107567}}]]||{{wikidata|title|linked|Q107567}}||Oriental Mindoro||Bayan
|-
|1034||Naujan||[[:wikidata:Q107573|Q107573]]||[[{{wikidata|label|linked|Q107573}}]]||{{wikidata|title|linked|Q107573}}||Oriental Mindoro||Bayan
|-
|1035||Pinamalayan||[[:wikidata:Q107578|Q107578]]||[[{{wikidata|label|linked|Q107578}}]]||{{wikidata|title|linked|Q107578}}||Oriental Mindoro||Bayan
|-
|1036||Pola||[[:wikidata:Q107585|Q107585]]||[[{{wikidata|label|linked|Q107585}}]]||{{wikidata|title|linked|Q107585}}||Oriental Mindoro||Bayan
|-
|1037||Puerto Galera||[[:wikidata:Q107593|Q107593]]||[[{{wikidata|label|linked|Q107593}}]]||{{wikidata|title|linked|Q107593}}||Oriental Mindoro||Bayan
|-
|1038||Roxas||[[:wikidata:Q107598|Q107598]]||[[{{wikidata|label|linked|Q107598}}]]||{{wikidata|title|linked|Q107598}}||Oriental Mindoro||Bayan
|-
|1039||San Teodoro||[[:wikidata:Q107606|Q107606]]||[[{{wikidata|label|linked|Q107606}}]]||{{wikidata|title|linked|Q107606}}||Oriental Mindoro||Bayan
|-
|1040||Socorro||[[:wikidata:Q107612|Q107612]]||[[{{wikidata|label|linked|Q107612}}]]||{{wikidata|title|linked|Q107612}}||Oriental Mindoro||Bayan
|-
|1041||Victoria||[[:wikidata:Q107618|Q107618]]||[[{{wikidata|label|linked|Q107618}}]]||{{wikidata|title|linked|Q107618}}||Oriental Mindoro||Bayan
|-
|1042||Abra de Ilog||[[:wikidata:Q107454|Q107454]]||[[{{wikidata|label|linked|Q107454}}]]||{{wikidata|title|linked|Q107454}}||Occidental Mindoro||Bayan
|-
|1043||Calintaan||[[:wikidata:Q107460|Q107460]]||[[{{wikidata|label|linked|Q107460}}]]||{{wikidata|title|linked|Q107460}}||Occidental Mindoro||Bayan
|-
|1044||Looc||[[:wikidata:Q107465|Q107465]]||[[{{wikidata|label|linked|Q107465}}]]||{{wikidata|title|linked|Q107465}}||Occidental Mindoro||Bayan
|-
|1045||Lubang||[[:wikidata:Q107476|Q107476]]||[[{{wikidata|label|linked|Q107476}}]]||{{wikidata|title|linked|Q107476}}||Occidental Mindoro||Bayan
|-
|1046||Magsaysay||[[:wikidata:Q107482|Q107482]]||[[{{wikidata|label|linked|Q107482}}]]||{{wikidata|title|linked|Q107482}}||Occidental Mindoro||Bayan
|-
|1047||Mamburao||[[:wikidata:Q107488|Q107488]]||[[{{wikidata|label|linked|Q107488}}]]||{{wikidata|title|linked|Q107488}}||Occidental Mindoro||Bayan
|-
|1048||Paluan||[[:wikidata:Q107493|Q107493]]||[[{{wikidata|label|linked|Q107493}}]]||{{wikidata|title|linked|Q107493}}||Occidental Mindoro||Bayan
|-
|1049||Rizal||[[:wikidata:Q107499|Q107499]]||[[{{wikidata|label|linked|Q107499}}]]||{{wikidata|title|linked|Q107499}}||Occidental Mindoro||Bayan
|-
|1050||Sablayan||[[:wikidata:Q107505|Q107505]]||[[{{wikidata|label|linked|Q107505}}]]||{{wikidata|title|linked|Q107505}}||Occidental Mindoro||Bayan
|-
|1051||San Jose||[[:wikidata:Q107511|Q107511]]||[[{{wikidata|label|linked|Q107511}}]]||{{wikidata|title|linked|Q107511}}||Occidental Mindoro||Bayan
|-
|1052||Santa Cruz||[[:wikidata:Q107519|Q107519]]||[[{{wikidata|label|linked|Q107519}}]]||{{wikidata|title|linked|Q107519}}||Occidental Mindoro||Bayan
|-
|1053||Boac||[[:wikidata:Q107011|Q107011]]||[[{{wikidata|label|linked|Q107011}}]]||{{wikidata|title|linked|Q107011}}||Marinduque||Bayan
|-
|1054||Buenavista||[[:wikidata:Q107023|Q107023]]||[[{{wikidata|label|linked|Q107023}}]]||{{wikidata|title|linked|Q107023}}||Marinduque||Bayan
|-
|1055||Gasan||[[:wikidata:Q107029|Q107029]]||[[{{wikidata|label|linked|Q107029}}]]||{{wikidata|title|linked|Q107029}}||Marinduque||Bayan
|-
|1056||Mogpog||[[:wikidata:Q107034|Q107034]]||[[{{wikidata|label|linked|Q107034}}]]||{{wikidata|title|linked|Q107034}}||Marinduque||Bayan
|-
|1057||Santa Cruz||[[:wikidata:Q107042|Q107042]]||[[{{wikidata|label|linked|Q107042}}]]||{{wikidata|title|linked|Q107042}}||Marinduque||Bayan
|-
|1058||Torrijos||[[:wikidata:Q107048|Q107048]]||[[{{wikidata|label|linked|Q107048}}]]||{{wikidata|title|linked|Q107048}}||Marinduque||Bayan
|-
|1059||Angono||[[:wikidata:Q106758|Q106758]]||[[{{wikidata|label|linked|Q106758}}]]||{{wikidata|title|linked|Q106758}}||Rizal||Bayan
|-
|1060||Antipolo||[[:wikidata:Q1636|Q1636]]||[[{{wikidata|label|linked|Q1636}}]]||{{wikidata|title|linked|Q1636}}||Rizal||Lungsod
|-
|1061||Baras||[[:wikidata:Q106766|Q106766]]||[[{{wikidata|label|linked|Q106766}}]]||{{wikidata|title|linked|Q106766}}||Rizal||Bayan
|-
|1062||Binangonan||[[:wikidata:Q106783|Q106783]]||[[{{wikidata|label|linked|Q106783}}]]||{{wikidata|title|linked|Q106783}}||Rizal||Bayan
|-
|1063||Cainta||[[:wikidata:Q106790|Q106790]]||[[{{wikidata|label|linked|Q106790}}]]||{{wikidata|title|linked|Q106790}}||Rizal||Bayan
|-
|1064||Cardona||[[:wikidata:Q106796|Q106796]]||[[{{wikidata|label|linked|Q106796}}]]||{{wikidata|title|linked|Q106796}}||Rizal||Bayan
|-
|1065||Jalajala||[[:wikidata:Q106804|Q106804]]||[[{{wikidata|label|linked|Q106804}}]]||{{wikidata|title|linked|Q106804}}||Rizal||Bayan
|-
|1066||Morong||[[:wikidata:Q106810|Q106810]]||[[{{wikidata|label|linked|Q106810}}]]||{{wikidata|title|linked|Q106810}}||Rizal||Bayan
|-
|1067||Pililla||[[:wikidata:Q106817|Q106817]]||[[{{wikidata|label|linked|Q106817}}]]||{{wikidata|title|linked|Q106817}}||Rizal||Bayan
|-
|1068||Rodriguez||[[:wikidata:Q106825|Q106825]]||[[{{wikidata|label|linked|Q106825}}]]||{{wikidata|title|linked|Q106825}}||Rizal||Bayan
|-
|1069||San Mateo||[[:wikidata:Q106832|Q106832]]||[[{{wikidata|label|linked|Q106832}}]]||{{wikidata|title|linked|Q106832}}||Rizal||Bayan
|-
|1070||Tanay||[[:wikidata:Q106839|Q106839]]||[[{{wikidata|label|linked|Q106839}}]]||{{wikidata|title|linked|Q106839}}||Rizal||Bayan
|-
|1071||Taytay||[[:wikidata:Q373204|Q373204]]||[[{{wikidata|label|linked|Q373204}}]]||{{wikidata|title|linked|Q373204}}||Rizal||Bayan
|-
|1072||Teresa||[[:wikidata:Q106848|Q106848]]||[[{{wikidata|label|linked|Q106848}}]]||{{wikidata|title|linked|Q106848}}||Rizal||Bayan
|-
|1073||Agdangan||[[:wikidata:Q103777|Q103777]]||[[{{wikidata|label|linked|Q103777}}]]||{{wikidata|title|linked|Q103777}}||Quezon||Bayan
|-
|1074||Alabat||[[:wikidata:Q103786|Q103786]]||[[{{wikidata|label|linked|Q103786}}]]||{{wikidata|title|linked|Q103786}}||Quezon||Bayan
|-
|1075||Atimonan||[[:wikidata:Q103807|Q103807]]||[[{{wikidata|label|linked|Q103807}}]]||{{wikidata|title|linked|Q103807}}||Quezon||Bayan
|-
|1076||Buenavista||[[:wikidata:Q103815|Q103815]]||[[{{wikidata|label|linked|Q103815}}]]||{{wikidata|title|linked|Q103815}}||Quezon||Bayan
|-
|1077||Burdeos||[[:wikidata:Q103825|Q103825]]||[[{{wikidata|label|linked|Q103825}}]]||{{wikidata|title|linked|Q103825}}||Quezon||Bayan
|-
|1078||Calauag||[[:wikidata:Q103833|Q103833]]||[[{{wikidata|label|linked|Q103833}}]]||{{wikidata|title|linked|Q103833}}||Quezon||Bayan
|-
|1079||Candelaria||[[:wikidata:Q103841|Q103841]]||[[{{wikidata|label|linked|Q103841}}]]||{{wikidata|title|linked|Q103841}}||Quezon||Bayan
|-
|1080||Catanauan||[[:wikidata:Q103872|Q103872]]||[[{{wikidata|label|linked|Q103872}}]]||{{wikidata|title|linked|Q103872}}||Quezon||Bayan
|-
|1081||Dolores||[[:wikidata:Q103879|Q103879]]||[[{{wikidata|label|linked|Q103879}}]]||{{wikidata|title|linked|Q103879}}||Quezon||Bayan
|-
|1082||General Luna||[[:wikidata:Q103889|Q103889]]||[[{{wikidata|label|linked|Q103889}}]]||{{wikidata|title|linked|Q103889}}||Quezon||Bayan
|-
|1083||General Nakar||[[:wikidata:Q103899|Q103899]]||[[{{wikidata|label|linked|Q103899}}]]||{{wikidata|title|linked|Q103899}}||Quezon||Bayan
|-
|1084||Guinayangan||[[:wikidata:Q103905|Q103905]]||[[{{wikidata|label|linked|Q103905}}]]||{{wikidata|title|linked|Q103905}}||Quezon||Bayan
|-
|1085||Gumaca||[[:wikidata:Q103914|Q103914]]||[[{{wikidata|label|linked|Q103914}}]]||{{wikidata|title|linked|Q103914}}||Quezon||Bayan
|-
|1086||Infanta||[[:wikidata:Q103921|Q103921]]||[[{{wikidata|label|linked|Q103921}}]]||{{wikidata|title|linked|Q103921}}||Quezon||Bayan
|-
|1087||Jomalig||[[:wikidata:Q103928|Q103928]]||[[{{wikidata|label|linked|Q103928}}]]||{{wikidata|title|linked|Q103928}}||Quezon||Bayan
|-
|1088||Lopez||[[:wikidata:Q103935|Q103935]]||[[{{wikidata|label|linked|Q103935}}]]||{{wikidata|title|linked|Q103935}}||Quezon||Bayan
|-
|1089||Lucban||[[:wikidata:Q103941|Q103941]]||[[{{wikidata|label|linked|Q103941}}]]||{{wikidata|title|linked|Q103941}}||Quezon||Bayan
|-
|1090||Lucena||[[:wikidata:Q104125|Q104125]]||[[{{wikidata|label|linked|Q104125}}]]||{{wikidata|title|linked|Q104125}}||Quezon||Lungsod
|-
|1091||Macalelon||[[:wikidata:Q103947|Q103947]]||[[{{wikidata|label|linked|Q103947}}]]||{{wikidata|title|linked|Q103947}}||Quezon||Bayan
|-
|1092||Mauban||[[:wikidata:Q103952|Q103952]]||[[{{wikidata|label|linked|Q103952}}]]||{{wikidata|title|linked|Q103952}}||Quezon||Bayan
|-
|1093||Mulanay||[[:wikidata:Q103958|Q103958]]||[[{{wikidata|label|linked|Q103958}}]]||{{wikidata|title|linked|Q103958}}||Quezon||Bayan
|-
|1094||Padre Burgos||[[:wikidata:Q103965|Q103965]]||[[{{wikidata|label|linked|Q103965}}]]||{{wikidata|title|linked|Q103965}}||Quezon||Bayan
|-
|1095||Pagbilao||[[:wikidata:Q103971|Q103971]]||[[{{wikidata|label|linked|Q103971}}]]||{{wikidata|title|linked|Q103971}}||Quezon||Bayan
|-
|1096||Panukulan||[[:wikidata:Q103976|Q103976]]||[[{{wikidata|label|linked|Q103976}}]]||{{wikidata|title|linked|Q103976}}||Quezon||Bayan
|-
|1097||Patnanungan||[[:wikidata:Q103981|Q103981]]||[[{{wikidata|label|linked|Q103981}}]]||{{wikidata|title|linked|Q103981}}||Quezon||Bayan
|-
|1098||Perez||[[:wikidata:Q103987|Q103987]]||[[{{wikidata|label|linked|Q103987}}]]||{{wikidata|title|linked|Q103987}}||Quezon||Bayan
|-
|1099||Pitogo||[[:wikidata:Q103996|Q103996]]||[[{{wikidata|label|linked|Q103996}}]]||{{wikidata|title|linked|Q103996}}||Quezon||Bayan
|-
|1100||Plaridel||[[:wikidata:Q104005|Q104005]]||[[{{wikidata|label|linked|Q104005}}]]||{{wikidata|title|linked|Q104005}}||Quezon||Bayan
|-
|1101||Polillo||[[:wikidata:Q104011|Q104011]]||[[{{wikidata|label|linked|Q104011}}]]||{{wikidata|title|linked|Q104011}}||Quezon||Bayan
|-
|1102||Quezon||[[:wikidata:Q104020|Q104020]]||[[{{wikidata|label|linked|Q104020}}]]||{{wikidata|title|linked|Q104020}}||Quezon||Bayan
|-
|1103||Real||[[:wikidata:Q104026|Q104026]]||[[{{wikidata|label|linked|Q104026}}]]||{{wikidata|title|linked|Q104026}}||Quezon||Bayan
|-
|1104||Sampaloc||[[:wikidata:Q104037|Q104037]]||[[{{wikidata|label|linked|Q104037}}]]||{{wikidata|title|linked|Q104037}}||Quezon||Bayan
|-
|1105||San Andres||[[:wikidata:Q104044|Q104044]]||[[{{wikidata|label|linked|Q104044}}]]||{{wikidata|title|linked|Q104044}}||Quezon||Bayan
|-
|1106||San Antonio||[[:wikidata:Q104052|Q104052]]||[[{{wikidata|label|linked|Q104052}}]]||{{wikidata|title|linked|Q104052}}||Quezon||Bayan
|-
|1107||San Francisco||[[:wikidata:Q104063|Q104063]]||[[{{wikidata|label|linked|Q104063}}]]||{{wikidata|title|linked|Q104063}}||Quezon||Bayan
|-
|1108||San Narciso||[[:wikidata:Q104071|Q104071]]||[[{{wikidata|label|linked|Q104071}}]]||{{wikidata|title|linked|Q104071}}||Quezon||Bayan
|-
|1109||Sariaya||[[:wikidata:Q104078|Q104078]]||[[{{wikidata|label|linked|Q104078}}]]||{{wikidata|title|linked|Q104078}}||Quezon||Bayan
|-
|1110||Tagkawayan||[[:wikidata:Q104087|Q104087]]||[[{{wikidata|label|linked|Q104087}}]]||{{wikidata|title|linked|Q104087}}||Quezon||Bayan
|-
|1111||Tayabas||[[:wikidata:Q104113|Q104113]]||[[{{wikidata|label|linked|Q104113}}]]||{{wikidata|title|linked|Q104113}}||Quezon||Lungsod
|-
|1112||Tiaong||[[:wikidata:Q104092|Q104092]]||[[{{wikidata|label|linked|Q104092}}]]||{{wikidata|title|linked|Q104092}}||Quezon||Bayan
|-
|1113||Unisan||[[:wikidata:Q104099|Q104099]]||[[{{wikidata|label|linked|Q104099}}]]||{{wikidata|title|linked|Q104099}}||Quezon||Bayan
|-
|1114||Alaminos||[[:wikidata:Q63750|Q63750]]||[[{{wikidata|label|linked|Q63750}}]]||{{wikidata|title|linked|Q63750}}||Laguna||Bayan
|-
|1115||Bay||[[:wikidata:Q63763|Q63763]]||[[{{wikidata|label|linked|Q63763}}]]||{{wikidata|title|linked|Q63763}}||Laguna||Bayan
|-
|1116||Biñan||[[:wikidata:Q75961|Q75961]]||[[{{wikidata|label|linked|Q75961}}]]||{{wikidata|title|linked|Q75961}}||Laguna||Lungsod
|-
|1117||Cabuyao||[[:wikidata:Q25096|Q25096]]||[[{{wikidata|label|linked|Q25096}}]]||{{wikidata|title|linked|Q25096}}||Laguna||Lungsod
|-
|1118||Calamba||[[:wikidata:Q75978|Q75978]]||[[{{wikidata|label|linked|Q75978}}]]||{{wikidata|title|linked|Q75978}}||Laguna||Lungsod
|-
|1119||Calauan||[[:wikidata:Q69739|Q69739]]||[[{{wikidata|label|linked|Q69739}}]]||{{wikidata|title|linked|Q69739}}||Laguna||Bayan
|-
|1120||Cavinti||[[:wikidata:Q69749|Q69749]]||[[{{wikidata|label|linked|Q69749}}]]||{{wikidata|title|linked|Q69749}}||Laguna||Bayan
|-
|1121||Famy||[[:wikidata:Q69759|Q69759]]||[[{{wikidata|label|linked|Q69759}}]]||{{wikidata|title|linked|Q69759}}||Laguna||Bayan
|-
|1122||Kalayaan||[[:wikidata:Q69771|Q69771]]||[[{{wikidata|label|linked|Q69771}}]]||{{wikidata|title|linked|Q69771}}||Laguna||Bayan
|-
|1123||Liliw||[[:wikidata:Q69781|Q69781]]||[[{{wikidata|label|linked|Q69781}}]]||{{wikidata|title|linked|Q69781}}||Laguna||Bayan
|-
|1124||Los Baños||[[:wikidata:Q69793|Q69793]]||[[{{wikidata|label|linked|Q69793}}]]||{{wikidata|title|linked|Q69793}}||Laguna||Bayan
|-
|1125||Luisiana||[[:wikidata:Q69812|Q69812]]||[[{{wikidata|label|linked|Q69812}}]]||{{wikidata|title|linked|Q69812}}||Laguna||Bayan
|-
|1126||Lumban||[[:wikidata:Q69824|Q69824]]||[[{{wikidata|label|linked|Q69824}}]]||{{wikidata|title|linked|Q69824}}||Laguna||Bayan
|-
|1127||Mabitac||[[:wikidata:Q75875|Q75875]]||[[{{wikidata|label|linked|Q75875}}]]||{{wikidata|title|linked|Q75875}}||Laguna||Bayan
|-
|1128||Magdalena||[[:wikidata:Q75881|Q75881]]||[[{{wikidata|label|linked|Q75881}}]]||{{wikidata|title|linked|Q75881}}||Laguna||Bayan
|-
|1129||Majayjay||[[:wikidata:Q75888|Q75888]]||[[{{wikidata|label|linked|Q75888}}]]||{{wikidata|title|linked|Q75888}}||Laguna||Bayan
|-
|1130||Nagcarlan||[[:wikidata:Q75895|Q75895]]||[[{{wikidata|label|linked|Q75895}}]]||{{wikidata|title|linked|Q75895}}||Laguna||Bayan
|-
|1131||Paete||[[:wikidata:Q75899|Q75899]]||[[{{wikidata|label|linked|Q75899}}]]||{{wikidata|title|linked|Q75899}}||Laguna||Bayan
|-
|1132||Pagsanjan||[[:wikidata:Q75905|Q75905]]||[[{{wikidata|label|linked|Q75905}}]]||{{wikidata|title|linked|Q75905}}||Laguna||Bayan
|-
|1133||Pakil||[[:wikidata:Q75910|Q75910]]||[[{{wikidata|label|linked|Q75910}}]]||{{wikidata|title|linked|Q75910}}||Laguna||Bayan
|-
|1134||Pangil||[[:wikidata:Q75918|Q75918]]||[[{{wikidata|label|linked|Q75918}}]]||{{wikidata|title|linked|Q75918}}||Laguna||Bayan
|-
|1135||Pila||[[:wikidata:Q75923|Q75923]]||[[{{wikidata|label|linked|Q75923}}]]||{{wikidata|title|linked|Q75923}}||Laguna||Bayan
|-
|1136||Rizal||[[:wikidata:Q75928|Q75928]]||[[{{wikidata|label|linked|Q75928}}]]||{{wikidata|title|linked|Q75928}}||Laguna||Bayan
|-
|1137||San Pablo||[[:wikidata:Q76001|Q76001]]||[[{{wikidata|label|linked|Q76001}}]]||{{wikidata|title|linked|Q76001}}||Laguna||Lungsod
|-
|1138||San Pedro||[[:wikidata:Q75933|Q75933]]||[[{{wikidata|label|linked|Q75933}}]]||{{wikidata|title|linked|Q75933}}||Laguna||Lungsod
|-
|1139||Santa Cruz||[[:wikidata:Q75938|Q75938]]||[[{{wikidata|label|linked|Q75938}}]]||{{wikidata|title|linked|Q75938}}||Laguna||Bayan
|-
|1140||Santa Maria||[[:wikidata:Q75943|Q75943]]||[[{{wikidata|label|linked|Q75943}}]]||{{wikidata|title|linked|Q75943}}||Laguna||Bayan
|-
|1141||Santa Rosa||[[:wikidata:Q76010|Q76010]]||[[{{wikidata|label|linked|Q76010}}]]||{{wikidata|title|linked|Q76010}}||Laguna||Lungsod
|-
|1142||Siniloan||[[:wikidata:Q75948|Q75948]]||[[{{wikidata|label|linked|Q75948}}]]||{{wikidata|title|linked|Q75948}}||Laguna||Bayan
|-
|1143||Victoria||[[:wikidata:Q75953|Q75953]]||[[{{wikidata|label|linked|Q75953}}]]||{{wikidata|title|linked|Q75953}}||Laguna||Bayan
|-
|1144||Alfonso||[[:wikidata:Q62600|Q62600]]||[[{{wikidata|label|linked|Q62600}}]]||{{wikidata|title|linked|Q62600}}||Cavite||Bayan
|-
|1145||Amadeo||[[:wikidata:Q62606|Q62606]]||[[{{wikidata|label|linked|Q62606}}]]||{{wikidata|title|linked|Q62606}}||Cavite||Bayan
|-
|1146||Bacoor||[[:wikidata:Q63129|Q63129]]||[[{{wikidata|label|linked|Q63129}}]]||{{wikidata|title|linked|Q63129}}||Cavite||Lungsod
|-
|1147||Carmona||[[:wikidata:Q62611|Q62611]]||[[{{wikidata|label|linked|Q62611}}]]||{{wikidata|title|linked|Q62611}}||Cavite||Bayan
|-
|1148||Cavite City||[[:wikidata:Q1482|Q1482]]||[[{{wikidata|label|linked|Q1482}}]]||{{wikidata|title|linked|Q1482}}||Cavite||Lungsod
|-
|1149||Dasmariñas||[[:wikidata:Q63139|Q63139]]||[[{{wikidata|label|linked|Q63139}}]]||{{wikidata|title|linked|Q63139}}||Cavite||Lungsod
|-
|1150||General Emilio Aguinaldo||[[:wikidata:Q62719|Q62719]]||[[{{wikidata|label|linked|Q62719}}]]||{{wikidata|title|linked|Q62719}}||Cavite||Bayan
|-
|1151||General Mariano Alvarez||[[:wikidata:Q62638|Q62638]]||[[{{wikidata|label|linked|Q62638}}]]||{{wikidata|title|linked|Q62638}}||Cavite||Bayan
|-
|1152||General Trias||[[:wikidata:Q62723|Q62723]]||[[{{wikidata|label|linked|Q62723}}]]||{{wikidata|title|linked|Q62723}}||Cavite||Lungsod
|-
|1153||Imus||[[:wikidata:Q63145|Q63145]]||[[{{wikidata|label|linked|Q63145}}]]||{{wikidata|title|linked|Q63145}}||Cavite||Lungsod
|-
|1154||Indang||[[:wikidata:Q62729|Q62729]]||[[{{wikidata|label|linked|Q62729}}]]||{{wikidata|title|linked|Q62729}}||Cavite||Bayan
|-
|1155||Kawit||[[:wikidata:Q62755|Q62755]]||[[{{wikidata|label|linked|Q62755}}]]||{{wikidata|title|linked|Q62755}}||Cavite||Bayan
|-
|1156||Magallanes||[[:wikidata:Q62771|Q62771]]||[[{{wikidata|label|linked|Q62771}}]]||{{wikidata|title|linked|Q62771}}||Cavite||Bayan
|-
|1157||Maragondon||[[:wikidata:Q62776|Q62776]]||[[{{wikidata|label|linked|Q62776}}]]||{{wikidata|title|linked|Q62776}}||Cavite||Bayan
|-
|1158||Mendez||[[:wikidata:Q62784|Q62784]]||[[{{wikidata|label|linked|Q62784}}]]||{{wikidata|title|linked|Q62784}}||Cavite||Bayan
|-
|1159||Naic||[[:wikidata:Q62799|Q62799]]||[[{{wikidata|label|linked|Q62799}}]]||{{wikidata|title|linked|Q62799}}||Cavite||Bayan
|-
|1160||Noveleta||[[:wikidata:Q63096|Q63096]]||[[{{wikidata|label|linked|Q63096}}]]||{{wikidata|title|linked|Q63096}}||Cavite||Bayan
|-
|1161||Rosario||[[:wikidata:Q63102|Q63102]]||[[{{wikidata|label|linked|Q63102}}]]||{{wikidata|title|linked|Q63102}}||Cavite||Bayan
|-
|1162||Silang||[[:wikidata:Q63110|Q63110]]||[[{{wikidata|label|linked|Q63110}}]]||{{wikidata|title|linked|Q63110}}||Cavite||Bayan
|-
|1163||Tagaytay||[[:wikidata:Q63154|Q63154]]||[[{{wikidata|label|linked|Q63154}}]]||{{wikidata|title|linked|Q63154}}||Cavite||Lungsod
|-
|1164||Tanza||[[:wikidata:Q63115|Q63115]]||[[{{wikidata|label|linked|Q63115}}]]||{{wikidata|title|linked|Q63115}}||Cavite||Bayan
|-
|1165||Ternate||[[:wikidata:Q63124|Q63124]]||[[{{wikidata|label|linked|Q63124}}]]||{{wikidata|title|linked|Q63124}}||Cavite||Bayan
|-
|1166||Trece Martires||[[:wikidata:Q63160|Q63160]]||[[{{wikidata|label|linked|Q63160}}]]||{{wikidata|title|linked|Q63160}}||Cavite||Lungsod
|-
|1167||Agoncillo||[[:wikidata:Q59250|Q59250]]||[[{{wikidata|label|linked|Q59250}}]]||{{wikidata|title|linked|Q59250}}||Batangas||Bayan
|-
|1168||Alitagtag||[[:wikidata:Q59251|Q59251]]||[[{{wikidata|label|linked|Q59251}}]]||{{wikidata|title|linked|Q59251}}||Batangas||Bayan
|-
|1169||Balayan||[[:wikidata:Q59252|Q59252]]||[[{{wikidata|label|linked|Q59252}}]]||{{wikidata|title|linked|Q59252}}||Batangas||Bayan
|-
|1170||Balete||[[:wikidata:Q59253|Q59253]]||[[{{wikidata|label|linked|Q59253}}]]||{{wikidata|title|linked|Q59253}}||Batangas||Bayan
|-
|1171||Batangas City||[[:wikidata:Q1723|Q1723]]||[[{{wikidata|label|linked|Q1723}}]]||{{wikidata|title|linked|Q1723}}||Batangas||Lungsod
|-
|1172||Bauan||[[:wikidata:Q59272|Q59272]]||[[{{wikidata|label|linked|Q59272}}]]||{{wikidata|title|linked|Q59272}}||Batangas||Bayan
|-
|1173||Calaca||[[:wikidata:Q59276|Q59276]]||[[{{wikidata|label|linked|Q59276}}]]||{{wikidata|title|linked|Q59276}}||Batangas||Lungsod
|-
|1174||Calatagan||[[:wikidata:Q59279|Q59279]]||[[{{wikidata|label|linked|Q59279}}]]||{{wikidata|title|linked|Q59279}}||Batangas||Bayan
|-
|1175||Cuenca||[[:wikidata:Q59287|Q59287]]||[[{{wikidata|label|linked|Q59287}}]]||{{wikidata|title|linked|Q59287}}||Batangas||Bayan
|-
|1176||Ibaan||[[:wikidata:Q59304|Q59304]]||[[{{wikidata|label|linked|Q59304}}]]||{{wikidata|title|linked|Q59304}}||Batangas||Bayan
|-
|1177||Laurel||[[:wikidata:Q59308|Q59308]]||[[{{wikidata|label|linked|Q59308}}]]||{{wikidata|title|linked|Q59308}}||Batangas||Bayan
|-
|1178||Lemery||[[:wikidata:Q59311|Q59311]]||[[{{wikidata|label|linked|Q59311}}]]||{{wikidata|title|linked|Q59311}}||Batangas||Bayan
|-
|1179||Lian||[[:wikidata:Q59312|Q59312]]||[[{{wikidata|label|linked|Q59312}}]]||{{wikidata|title|linked|Q59312}}||Batangas||Bayan
|-
|1180||Lipa||[[:wikidata:Q1725|Q1725]]||[[{{wikidata|label|linked|Q1725}}]]||{{wikidata|title|linked|Q1725}}||Batangas||Lungsod
|-
|1181||Lobo||[[:wikidata:Q803199|Q803199]]||[[{{wikidata|label|linked|Q803199}}]]||{{wikidata|title|linked|Q803199}}||Batangas||Bayan
|-
|1182||Mabini||[[:wikidata:Q59313|Q59313]]||[[{{wikidata|label|linked|Q59313}}]]||{{wikidata|title|linked|Q59313}}||Batangas||Bayan
|-
|1183||Malvar||[[:wikidata:Q59731|Q59731]]||[[{{wikidata|label|linked|Q59731}}]]||{{wikidata|title|linked|Q59731}}||Batangas||Bayan
|-
|1184||Mataasnakahoy||[[:wikidata:Q59740|Q59740]]||[[{{wikidata|label|linked|Q59740}}]]||{{wikidata|title|linked|Q59740}}||Batangas||Bayan
|-
|1185||Nasugbu||[[:wikidata:Q59745|Q59745]]||[[{{wikidata|label|linked|Q59745}}]]||{{wikidata|title|linked|Q59745}}||Batangas||Bayan
|-
|1186||Padre Garcia||[[:wikidata:Q59749|Q59749]]||[[{{wikidata|label|linked|Q59749}}]]||{{wikidata|title|linked|Q59749}}||Batangas||Bayan
|-
|1187||Rosario||[[:wikidata:Q59758|Q59758]]||[[{{wikidata|label|linked|Q59758}}]]||{{wikidata|title|linked|Q59758}}||Batangas||Bayan
|-
|1188||San Jose||[[:wikidata:Q59764|Q59764]]||[[{{wikidata|label|linked|Q59764}}]]||{{wikidata|title|linked|Q59764}}||Batangas||Bayan
|-
|1189||San Juan||[[:wikidata:Q59770|Q59770]]||[[{{wikidata|label|linked|Q59770}}]]||{{wikidata|title|linked|Q59770}}||Batangas||Bayan
|-
|1190||San Luis||[[:wikidata:Q59773|Q59773]]||[[{{wikidata|label|linked|Q59773}}]]||{{wikidata|title|linked|Q59773}}||Batangas||Bayan
|-
|1191||San Nicolas||[[:wikidata:Q59777|Q59777]]||[[{{wikidata|label|linked|Q59777}}]]||{{wikidata|title|linked|Q59777}}||Batangas||Bayan
|-
|1192||San Pascual||[[:wikidata:Q59784|Q59784]]||[[{{wikidata|label|linked|Q59784}}]]||{{wikidata|title|linked|Q59784}}||Batangas||Bayan
|-
|1193||Santa Teresita||[[:wikidata:Q59788|Q59788]]||[[{{wikidata|label|linked|Q59788}}]]||{{wikidata|title|linked|Q59788}}||Batangas||Bayan
|-
|1194||Santo Tomas||[[:wikidata:Q59799|Q59799]]||[[{{wikidata|label|linked|Q59799}}]]||{{wikidata|title|linked|Q59799}}||Batangas||Lungsod
|-
|1195||Taal||[[:wikidata:Q59814|Q59814]]||[[{{wikidata|label|linked|Q59814}}]]||{{wikidata|title|linked|Q59814}}||Batangas||Bayan
|-
|1196||Talisay||[[:wikidata:Q59825|Q59825]]||[[{{wikidata|label|linked|Q59825}}]]||{{wikidata|title|linked|Q59825}}||Batangas||Bayan
|-
|1197||Tanauan||[[:wikidata:Q1730|Q1730]]||[[{{wikidata|label|linked|Q1730}}]]||{{wikidata|title|linked|Q1730}}||Batangas||Lungsod
|-
|1198||Taysan||[[:wikidata:Q59830|Q59830]]||[[{{wikidata|label|linked|Q59830}}]]||{{wikidata|title|linked|Q59830}}||Batangas||Bayan
|-
|1199||Tingloy||[[:wikidata:Q59835|Q59835]]||[[{{wikidata|label|linked|Q59835}}]]||{{wikidata|title|linked|Q59835}}||Batangas||Bayan
|-
|1200||Tuy||[[:wikidata:Q59844|Q59844]]||[[{{wikidata|label|linked|Q59844}}]]||{{wikidata|title|linked|Q59844}}||Batangas||Bayan
|-
|1201||Botolan||[[:wikidata:Q56529|Q56529]]||[[{{wikidata|label|linked|Q56529}}]]||{{wikidata|title|linked|Q56529}}||Zambales||Bayan
|-
|1202||Cabangan||[[:wikidata:Q56533|Q56533]]||[[{{wikidata|label|linked|Q56533}}]]||{{wikidata|title|linked|Q56533}}||Zambales||Bayan
|-
|1203||Candelaria||[[:wikidata:Q56538|Q56538]]||[[{{wikidata|label|linked|Q56538}}]]||{{wikidata|title|linked|Q56538}}||Zambales||Bayan
|-
|1204||Castillejos||[[:wikidata:Q56561|Q56561]]||[[{{wikidata|label|linked|Q56561}}]]||{{wikidata|title|linked|Q56561}}||Zambales||Bayan
|-
|1205||Iba||[[:wikidata:Q56566|Q56566]]||[[{{wikidata|label|linked|Q56566}}]]||{{wikidata|title|linked|Q56566}}||Zambales||Bayan
|-
|1206||Masinloc||[[:wikidata:Q56572|Q56572]]||[[{{wikidata|label|linked|Q56572}}]]||{{wikidata|title|linked|Q56572}}||Zambales||Bayan
|-
|1207||Olongapo||[[:wikidata:Q56759|Q56759]]||[[{{wikidata|label|linked|Q56759}}]]||{{wikidata|title|linked|Q56759}}||Zambales||Lungsod
|-
|1208||Palauig||[[:wikidata:Q56575|Q56575]]||[[{{wikidata|label|linked|Q56575}}]]||{{wikidata|title|linked|Q56575}}||Zambales||Bayan
|-
|1209||San Antonio||[[:wikidata:Q56581|Q56581]]||[[{{wikidata|label|linked|Q56581}}]]||{{wikidata|title|linked|Q56581}}||Zambales||Bayan
|-
|1210||San Felipe||[[:wikidata:Q56584|Q56584]]||[[{{wikidata|label|linked|Q56584}}]]||{{wikidata|title|linked|Q56584}}||Zambales||Bayan
|-
|1211||San Marcelino||[[:wikidata:Q56623|Q56623]]||[[{{wikidata|label|linked|Q56623}}]]||{{wikidata|title|linked|Q56623}}||Zambales||Bayan
|-
|1212||San Narciso||[[:wikidata:Q56647|Q56647]]||[[{{wikidata|label|linked|Q56647}}]]||{{wikidata|title|linked|Q56647}}||Zambales||Bayan
|-
|1213||Santa Cruz||[[:wikidata:Q56656|Q56656]]||[[{{wikidata|label|linked|Q56656}}]]||{{wikidata|title|linked|Q56656}}||Zambales||Bayan
|-
|1214||Subic||[[:wikidata:Q56663|Q56663]]||[[{{wikidata|label|linked|Q56663}}]]||{{wikidata|title|linked|Q56663}}||Zambales||Bayan
|-
|1215||Anao||[[:wikidata:Q56414|Q56414]]||[[{{wikidata|label|linked|Q56414}}]]||{{wikidata|title|linked|Q56414}}||Tarlac||Bayan
|-
|1216||Bamban||[[:wikidata:Q56420|Q56420]]||[[{{wikidata|label|linked|Q56420}}]]||{{wikidata|title|linked|Q56420}}||Tarlac||Bayan
|-
|1217||Camiling||[[:wikidata:Q56424|Q56424]]||[[{{wikidata|label|linked|Q56424}}]]||{{wikidata|title|linked|Q56424}}||Tarlac||Bayan
|-
|1218||Capas||[[:wikidata:Q56427|Q56427]]||[[{{wikidata|label|linked|Q56427}}]]||{{wikidata|title|linked|Q56427}}||Tarlac||Bayan
|-
|1219||Concepcion||[[:wikidata:Q30934|Q30934]]||[[{{wikidata|label|linked|Q30934}}]]||{{wikidata|title|linked|Q30934}}||Tarlac||Bayan
|-
|1220||Gerona||[[:wikidata:Q56439|Q56439]]||[[{{wikidata|label|linked|Q56439}}]]||{{wikidata|title|linked|Q56439}}||Tarlac||Bayan
|-
|1221||La Paz||[[:wikidata:Q28733|Q28733]]||[[{{wikidata|label|linked|Q28733}}]]||{{wikidata|title|linked|Q28733}}||Tarlac||Bayan
|-
|1222||Mayantoc||[[:wikidata:Q56444|Q56444]]||[[{{wikidata|label|linked|Q56444}}]]||{{wikidata|title|linked|Q56444}}||Tarlac||Bayan
|-
|1223||Moncada||[[:wikidata:Q56453|Q56453]]||[[{{wikidata|label|linked|Q56453}}]]||{{wikidata|title|linked|Q56453}}||Tarlac||Bayan
|-
|1224||Paniqui||[[:wikidata:Q56457|Q56457]]||[[{{wikidata|label|linked|Q56457}}]]||{{wikidata|title|linked|Q56457}}||Tarlac||Bayan
|-
|1225||Pura||[[:wikidata:Q56461|Q56461]]||[[{{wikidata|label|linked|Q56461}}]]||{{wikidata|title|linked|Q56461}}||Tarlac||Bayan
|-
|1226||Ramos||[[:wikidata:Q56465|Q56465]]||[[{{wikidata|label|linked|Q56465}}]]||{{wikidata|title|linked|Q56465}}||Tarlac||Bayan
|-
|1227||San Clemente||[[:wikidata:Q56471|Q56471]]||[[{{wikidata|label|linked|Q56471}}]]||{{wikidata|title|linked|Q56471}}||Tarlac||Bayan
|-
|1228||San Jose||[[:wikidata:Q56476|Q56476]]||[[{{wikidata|label|linked|Q56476}}]]||{{wikidata|title|linked|Q56476}}||Tarlac||Bayan
|-
|1229||San Manuel||[[:wikidata:Q56481|Q56481]]||[[{{wikidata|label|linked|Q56481}}]]||{{wikidata|title|linked|Q56481}}||Tarlac||Bayan
|-
|1230||Santa Ignacia||[[:wikidata:Q56486|Q56486]]||[[{{wikidata|label|linked|Q56486}}]]||{{wikidata|title|linked|Q56486}}||Tarlac||Bayan
|-
|1231||Tarlac City||[[:wikidata:Q5285|Q5285]]||[[{{wikidata|label|linked|Q5285}}]]||{{wikidata|title|linked|Q5285}}||Tarlac||Lungsod
|-
|1232||Victoria||[[:wikidata:Q56493|Q56493]]||[[{{wikidata|label|linked|Q56493}}]]||{{wikidata|title|linked|Q56493}}||Tarlac||Bayan
|-
|1233||Angeles||[[:wikidata:Q55741|Q55741]]||[[{{wikidata|label|linked|Q55741}}]]||{{wikidata|title|linked|Q55741}}||Pampanga||Lungsod
|-
|1234||Apalit||[[:wikidata:Q55693|Q55693]]||[[{{wikidata|label|linked|Q55693}}]]||{{wikidata|title|linked|Q55693}}||Pampanga||Bayan
|-
|1235||Arayat||[[:wikidata:Q55694|Q55694]]||[[{{wikidata|label|linked|Q55694}}]]||{{wikidata|title|linked|Q55694}}||Pampanga||Bayan
|-
|1236||Bacolor||[[:wikidata:Q55696|Q55696]]||[[{{wikidata|label|linked|Q55696}}]]||{{wikidata|title|linked|Q55696}}||Pampanga||Bayan
|-
|1237||Candaba||[[:wikidata:Q55699|Q55699]]||[[{{wikidata|label|linked|Q55699}}]]||{{wikidata|title|linked|Q55699}}||Pampanga||Bayan
|-
|1238||Floridablanca||[[:wikidata:Q55700|Q55700]]||[[{{wikidata|label|linked|Q55700}}]]||{{wikidata|title|linked|Q55700}}||Pampanga||Bayan
|-
|1239||Guagua||[[:wikidata:Q55702|Q55702]]||[[{{wikidata|label|linked|Q55702}}]]||{{wikidata|title|linked|Q55702}}||Pampanga||Bayan
|-
|1240||Lubao||[[:wikidata:Q55705|Q55705]]||[[{{wikidata|label|linked|Q55705}}]]||{{wikidata|title|linked|Q55705}}||Pampanga||Bayan
|-
|1241||Mabalacat||[[:wikidata:Q55737|Q55737]]||[[{{wikidata|label|linked|Q55737}}]]||{{wikidata|title|linked|Q55737}}||Pampanga||Lungsod
|-
|1242||Macabebe||[[:wikidata:Q55707|Q55707]]||[[{{wikidata|label|linked|Q55707}}]]||{{wikidata|title|linked|Q55707}}||Pampanga||Bayan
|-
|1243||Magalang||[[:wikidata:Q55709|Q55709]]||[[{{wikidata|label|linked|Q55709}}]]||{{wikidata|title|linked|Q55709}}||Pampanga||Bayan
|-
|1244||Masantol||[[:wikidata:Q55710|Q55710]]||[[{{wikidata|label|linked|Q55710}}]]||{{wikidata|title|linked|Q55710}}||Pampanga||Bayan
|-
|1245||Mexico||[[:wikidata:Q55712|Q55712]]||[[{{wikidata|label|linked|Q55712}}]]||{{wikidata|title|linked|Q55712}}||Pampanga||Bayan
|-
|1246||Minalin||[[:wikidata:Q55717|Q55717]]||[[{{wikidata|label|linked|Q55717}}]]||{{wikidata|title|linked|Q55717}}||Pampanga||Bayan
|-
|1247||Porac||[[:wikidata:Q55721|Q55721]]||[[{{wikidata|label|linked|Q55721}}]]||{{wikidata|title|linked|Q55721}}||Pampanga||Bayan
|-
|1248||San Fernando||[[:wikidata:Q55740|Q55740]]||[[{{wikidata|label|linked|Q55740}}]]||{{wikidata|title|linked|Q55740}}||Pampanga||Bayan
|-
|1249||San Luis||[[:wikidata:Q55724|Q55724]]||[[{{wikidata|label|linked|Q55724}}]]||{{wikidata|title|linked|Q55724}}||Pampanga||Bayan
|-
|1250||San Simon||[[:wikidata:Q55725|Q55725]]||[[{{wikidata|label|linked|Q55725}}]]||{{wikidata|title|linked|Q55725}}||Pampanga||Bayan
|-
|1251||Santa Ana||[[:wikidata:Q55727|Q55727]]||[[{{wikidata|label|linked|Q55727}}]]||{{wikidata|title|linked|Q55727}}||Pampanga||Bayan
|-
|1252||Santa Rita||[[:wikidata:Q55730|Q55730]]||[[{{wikidata|label|linked|Q55730}}]]||{{wikidata|title|linked|Q55730}}||Pampanga||Bayan
|-
|1253||Santo Tomas||[[:wikidata:Q55731|Q55731]]||[[{{wikidata|label|linked|Q55731}}]]||{{wikidata|title|linked|Q55731}}||Pampanga||Bayan
|-
|1254||Sasmuan||[[:wikidata:Q55734|Q55734]]||[[{{wikidata|label|linked|Q55734}}]]||{{wikidata|title|linked|Q55734}}||Pampanga||Bayan
|-
|1255||Aliaga||[[:wikidata:Q55543|Q55543]]||[[{{wikidata|label|linked|Q55543}}]]||{{wikidata|title|linked|Q55543}}||Nueva Ecija||Bayan
|-
|1256||Bongabon||[[:wikidata:Q55544|Q55544]]||[[{{wikidata|label|linked|Q55544}}]]||{{wikidata|title|linked|Q55544}}||Nueva Ecija||Bayan
|-
|1257||Cabanatuan||[[:wikidata:Q55595|Q55595]]||[[{{wikidata|label|linked|Q55595}}]]||{{wikidata|title|linked|Q55595}}||Nueva Ecija||Lungsod
|-
|1258||Cabiao||[[:wikidata:Q55545|Q55545]]||[[{{wikidata|label|linked|Q55545}}]]||{{wikidata|title|linked|Q55545}}||Nueva Ecija||Bayan
|-
|1259||Carranglan||[[:wikidata:Q55546|Q55546]]||[[{{wikidata|label|linked|Q55546}}]]||{{wikidata|title|linked|Q55546}}||Nueva Ecija||Bayan
|-
|1260||Cuyapo||[[:wikidata:Q55547|Q55547]]||[[{{wikidata|label|linked|Q55547}}]]||{{wikidata|title|linked|Q55547}}||Nueva Ecija||Bayan
|-
|1261||Gabaldon||[[:wikidata:Q55548|Q55548]]||[[{{wikidata|label|linked|Q55548}}]]||{{wikidata|title|linked|Q55548}}||Nueva Ecija||Bayan
|-
|1262||Gapan||[[:wikidata:Q55596|Q55596]]||[[{{wikidata|label|linked|Q55596}}]]||{{wikidata|title|linked|Q55596}}||Nueva Ecija||Lungsod
|-
|1263||General Mamerto Natividad||[[:wikidata:Q55549|Q55549]]||[[{{wikidata|label|linked|Q55549}}]]||{{wikidata|title|linked|Q55549}}||Nueva Ecija||Bayan
|-
|1264||General Tinio||[[:wikidata:Q55551|Q55551]]||[[{{wikidata|label|linked|Q55551}}]]||{{wikidata|title|linked|Q55551}}||Nueva Ecija||Bayan
|-
|1265||Guimba||[[:wikidata:Q55552|Q55552]]||[[{{wikidata|label|linked|Q55552}}]]||{{wikidata|title|linked|Q55552}}||Nueva Ecija||Bayan
|-
|1266||Jaen||[[:wikidata:Q30871|Q30871]]||[[{{wikidata|label|linked|Q30871}}]]||{{wikidata|title|linked|Q30871}}||Nueva Ecija||Bayan
|-
|1267||Laur||[[:wikidata:Q55556|Q55556]]||[[{{wikidata|label|linked|Q55556}}]]||{{wikidata|title|linked|Q55556}}||Nueva Ecija||Bayan
|-
|1268||Licab||[[:wikidata:Q55557|Q55557]]||[[{{wikidata|label|linked|Q55557}}]]||{{wikidata|title|linked|Q55557}}||Nueva Ecija||Bayan
|-
|1269||Llanera||[[:wikidata:Q55558|Q55558]]||[[{{wikidata|label|linked|Q55558}}]]||{{wikidata|title|linked|Q55558}}||Nueva Ecija||Bayan
|-
|1270||Lupao||[[:wikidata:Q55559|Q55559]]||[[{{wikidata|label|linked|Q55559}}]]||{{wikidata|title|linked|Q55559}}||Nueva Ecija||Bayan
|-
|1271||Muñoz||[[:wikidata:Q55597|Q55597]]||[[{{wikidata|label|linked|Q55597}}]]||{{wikidata|title|linked|Q55597}}||Nueva Ecija||Lungsod
|-
|1272||Nampicuan||[[:wikidata:Q55560|Q55560]]||[[{{wikidata|label|linked|Q55560}}]]||{{wikidata|title|linked|Q55560}}||Nueva Ecija||Bayan
|-
|1273||Palayan||[[:wikidata:Q55598|Q55598]]||[[{{wikidata|label|linked|Q55598}}]]||{{wikidata|title|linked|Q55598}}||Nueva Ecija||Lungsod
|-
|1274||Pantabangan||[[:wikidata:Q55567|Q55567]]||[[{{wikidata|label|linked|Q55567}}]]||{{wikidata|title|linked|Q55567}}||Nueva Ecija||Bayan
|-
|1275||Peñaranda||[[:wikidata:Q55568|Q55568]]||[[{{wikidata|label|linked|Q55568}}]]||{{wikidata|title|linked|Q55568}}||Nueva Ecija||Bayan
|-
|1276||Quezon||[[:wikidata:Q55569|Q55569]]||[[{{wikidata|label|linked|Q55569}}]]||{{wikidata|title|linked|Q55569}}||Nueva Ecija||Bayan
|-
|1277||Rizal||[[:wikidata:Q55570|Q55570]]||[[{{wikidata|label|linked|Q55570}}]]||{{wikidata|title|linked|Q55570}}||Nueva Ecija||Bayan
|-
|1278||San Antonio||[[:wikidata:Q30923|Q30923]]||[[{{wikidata|label|linked|Q30923}}]]||{{wikidata|title|linked|Q30923}}||Nueva Ecija||Bayan
|-
|1279||San Isidro||[[:wikidata:Q55572|Q55572]]||[[{{wikidata|label|linked|Q55572}}]]||{{wikidata|title|linked|Q55572}}||Nueva Ecija||Bayan
|-
|1280||San Jose||[[:wikidata:Q55599|Q55599]]||[[{{wikidata|label|linked|Q55599}}]]||{{wikidata|title|linked|Q55599}}||Nueva Ecija||Lungsod
|-
|1281||San Leonardo||[[:wikidata:Q55573|Q55573]]||[[{{wikidata|label|linked|Q55573}}]]||{{wikidata|title|linked|Q55573}}||Nueva Ecija||Bayan
|-
|1282||Santa Rosa||[[:wikidata:Q55590|Q55590]]||[[{{wikidata|label|linked|Q55590}}]]||{{wikidata|title|linked|Q55590}}||Nueva Ecija||Bayan
|-
|1283||Santo Domingo||[[:wikidata:Q55591|Q55591]]||[[{{wikidata|label|linked|Q55591}}]]||{{wikidata|title|linked|Q55591}}||Nueva Ecija||Bayan
|-
|1284||Talavera||[[:wikidata:Q55592|Q55592]]||[[{{wikidata|label|linked|Q55592}}]]||{{wikidata|title|linked|Q55592}}||Nueva Ecija||Bayan
|-
|1285||Talugtug||[[:wikidata:Q55593|Q55593]]||[[{{wikidata|label|linked|Q55593}}]]||{{wikidata|title|linked|Q55593}}||Nueva Ecija||Bayan
|-
|1286||Zaragoza||[[:wikidata:Q28731|Q28731]]||[[{{wikidata|label|linked|Q28731}}]]||{{wikidata|title|linked|Q28731}}||Nueva Ecija||Bayan
|-
|1287||Angat||[[:wikidata:Q54551|Q54551]]||[[{{wikidata|label|linked|Q54551}}]]||{{wikidata|title|linked|Q54551}}||Bulacan||Bayan
|-
|1288||Balagtas||[[:wikidata:Q54553|Q54553]]||[[{{wikidata|label|linked|Q54553}}]]||{{wikidata|title|linked|Q54553}}||Bulacan||Bayan
|-
|1289||Baliwag||[[:wikidata:Q54554|Q54554]]||[[{{wikidata|label|linked|Q54554}}]]||{{wikidata|title|linked|Q54554}}||Bulacan||Bayan
|-
|1290||Bocaue||[[:wikidata:Q54555|Q54555]]||[[{{wikidata|label|linked|Q54555}}]]||{{wikidata|title|linked|Q54555}}||Bulacan||Bayan
|-
|1291||Bulakan||[[:wikidata:Q54558|Q54558]]||[[{{wikidata|label|linked|Q54558}}]]||{{wikidata|title|linked|Q54558}}||Bulacan||Bayan
|-
|1292||Bustos||[[:wikidata:Q54560|Q54560]]||[[{{wikidata|label|linked|Q54560}}]]||{{wikidata|title|linked|Q54560}}||Bulacan||Bayan
|-
|1293||Calumpit||[[:wikidata:Q54564|Q54564]]||[[{{wikidata|label|linked|Q54564}}]]||{{wikidata|title|linked|Q54564}}||Bulacan||Bayan
|-
|1294||Doña Remedios Trinidad||[[:wikidata:Q54566|Q54566]]||[[{{wikidata|label|linked|Q54566}}]]||{{wikidata|title|linked|Q54566}}||Bulacan||Bayan
|-
|1295||Guiguinto||[[:wikidata:Q54589|Q54589]]||[[{{wikidata|label|linked|Q54589}}]]||{{wikidata|title|linked|Q54589}}||Bulacan||Bayan
|-
|1296||Hagonoy||[[:wikidata:Q54592|Q54592]]||[[{{wikidata|label|linked|Q54592}}]]||{{wikidata|title|linked|Q54592}}||Bulacan||Bayan
|-
|1297||Malolos||[[:wikidata:Q2180|Q2180]]||[[{{wikidata|label|linked|Q2180}}]]||{{wikidata|title|linked|Q2180}}||Bulacan||Lungsod
|-
|1298||Marilao||[[:wikidata:Q54595|Q54595]]||[[{{wikidata|label|linked|Q54595}}]]||{{wikidata|title|linked|Q54595}}||Bulacan||Bayan
|-
|1299||Meycauayan||[[:wikidata:Q2187|Q2187]]||[[{{wikidata|label|linked|Q2187}}]]||{{wikidata|title|linked|Q2187}}||Bulacan||Lungsod
|-
|1300||Norzagaray||[[:wikidata:Q54598|Q54598]]||[[{{wikidata|label|linked|Q54598}}]]||{{wikidata|title|linked|Q54598}}||Bulacan||Bayan
|-
|1301||Obando||[[:wikidata:Q54599|Q54599]]||[[{{wikidata|label|linked|Q54599}}]]||{{wikidata|title|linked|Q54599}}||Bulacan||Bayan
|-
|1302||Pandi||[[:wikidata:Q54600|Q54600]]||[[{{wikidata|label|linked|Q54600}}]]||{{wikidata|title|linked|Q54600}}||Bulacan||Bayan
|-
|1303||Paombong||[[:wikidata:Q54605|Q54605]]||[[{{wikidata|label|linked|Q54605}}]]||{{wikidata|title|linked|Q54605}}||Bulacan||Bayan
|-
|1304||Plaridel||[[:wikidata:Q54760|Q54760]]||[[{{wikidata|label|linked|Q54760}}]]||{{wikidata|title|linked|Q54760}}||Bulacan||Bayan
|-
|1305||Pulilan||[[:wikidata:Q54761|Q54761]]||[[{{wikidata|label|linked|Q54761}}]]||{{wikidata|title|linked|Q54761}}||Bulacan||Bayan
|-
|1306||San Ildefonso||[[:wikidata:Q54762|Q54762]]||[[{{wikidata|label|linked|Q54762}}]]||{{wikidata|title|linked|Q54762}}||Bulacan||Bayan
|-
|1307||San Jose del Monte||[[:wikidata:Q2193|Q2193]]||[[{{wikidata|label|linked|Q2193}}]]||{{wikidata|title|linked|Q2193}}||Bulacan||Lungsod
|-
|1308||San Miguel||[[:wikidata:Q54763|Q54763]]||[[{{wikidata|label|linked|Q54763}}]]||{{wikidata|title|linked|Q54763}}||Bulacan||Bayan
|-
|1309||San Rafael||[[:wikidata:Q54765|Q54765]]||[[{{wikidata|label|linked|Q54765}}]]||{{wikidata|title|linked|Q54765}}||Bulacan||Bayan
|-
|1310||Santa Maria||[[:wikidata:Q54768|Q54768]]||[[{{wikidata|label|linked|Q54768}}]]||{{wikidata|title|linked|Q54768}}||Bulacan||Bayan
|-
|1311||Abucay||[[:wikidata:Q54455|Q54455]]||[[{{wikidata|label|linked|Q54455}}]]||{{wikidata|title|linked|Q54455}}||Bataan||Bayan
|-
|1312||Bagac||[[:wikidata:Q54456|Q54456]]||[[{{wikidata|label|linked|Q54456}}]]||{{wikidata|title|linked|Q54456}}||Bataan||Bayan
|-
|1313||Balanga||[[:wikidata:Q1719|Q1719]]||[[{{wikidata|label|linked|Q1719}}]]||{{wikidata|title|linked|Q1719}}||Bataan||Lungsod
|-
|1314||Dinalupihan||[[:wikidata:Q54457|Q54457]]||[[{{wikidata|label|linked|Q54457}}]]||{{wikidata|title|linked|Q54457}}||Bataan||Bayan
|-
|1315||Hermosa||[[:wikidata:Q54458|Q54458]]||[[{{wikidata|label|linked|Q54458}}]]||{{wikidata|title|linked|Q54458}}||Bataan||Bayan
|-
|1316||Limay||[[:wikidata:Q54459|Q54459]]||[[{{wikidata|label|linked|Q54459}}]]||{{wikidata|title|linked|Q54459}}||Bataan||Bayan
|-
|1317||Mariveles||[[:wikidata:Q54460|Q54460]]||[[{{wikidata|label|linked|Q54460}}]]||{{wikidata|title|linked|Q54460}}||Bataan||Bayan
|-
|1318||Morong||[[:wikidata:Q54461|Q54461]]||[[{{wikidata|label|linked|Q54461}}]]||{{wikidata|title|linked|Q54461}}||Bataan||Bayan
|-
|1319||Orani||[[:wikidata:Q54462|Q54462]]||[[{{wikidata|label|linked|Q54462}}]]||{{wikidata|title|linked|Q54462}}||Bataan||Bayan
|-
|1320||Orion||[[:wikidata:Q54463|Q54463]]||[[{{wikidata|label|linked|Q54463}}]]||{{wikidata|title|linked|Q54463}}||Bataan||Bayan
|-
|1321||Pilar||[[:wikidata:Q54464|Q54464]]||[[{{wikidata|label|linked|Q54464}}]]||{{wikidata|title|linked|Q54464}}||Bataan||Bayan
|-
|1322||Samal||[[:wikidata:Q54465|Q54465]]||[[{{wikidata|label|linked|Q54465}}]]||{{wikidata|title|linked|Q54465}}||Bataan||Bayan
|-
|1323||Baler||[[:wikidata:Q53081|Q53081]]||[[{{wikidata|label|linked|Q53081}}]]||{{wikidata|title|linked|Q53081}}||Aurora||Bayan
|-
|1324||Casiguran||[[:wikidata:Q53083|Q53083]]||[[{{wikidata|label|linked|Q53083}}]]||{{wikidata|title|linked|Q53083}}||Aurora||Bayan
|-
|1325||Dilasag||[[:wikidata:Q53084|Q53084]]||[[{{wikidata|label|linked|Q53084}}]]||{{wikidata|title|linked|Q53084}}||Aurora||Bayan
|-
|1326||Dinalungan||[[:wikidata:Q53086|Q53086]]||[[{{wikidata|label|linked|Q53086}}]]||{{wikidata|title|linked|Q53086}}||Aurora||Bayan
|-
|1327||Dingalan||[[:wikidata:Q53087|Q53087]]||[[{{wikidata|label|linked|Q53087}}]]||{{wikidata|title|linked|Q53087}}||Aurora||Bayan
|-
|1328||Dipaculao||[[:wikidata:Q53089|Q53089]]||[[{{wikidata|label|linked|Q53089}}]]||{{wikidata|title|linked|Q53089}}||Aurora||Bayan
|-
|1329||Maria Aurora||[[:wikidata:Q53090|Q53090]]||[[{{wikidata|label|linked|Q53090}}]]||{{wikidata|title|linked|Q53090}}||Aurora||Bayan
|-
|1330||San Luis||[[:wikidata:Q53092|Q53092]]||[[{{wikidata|label|linked|Q53092}}]]||{{wikidata|title|linked|Q53092}}||Aurora||Bayan
|-
|1331||Barlig||[[:wikidata:Q35975|Q35975]]||[[{{wikidata|label|linked|Q35975}}]]||{{wikidata|title|linked|Q35975}}||Mountain Province||Bayan
|-
|1332||Bauko||[[:wikidata:Q35994|Q35994]]||[[{{wikidata|label|linked|Q35994}}]]||{{wikidata|title|linked|Q35994}}||Mountain Province||Bayan
|-
|1333||Besao||[[:wikidata:Q36012|Q36012]]||[[{{wikidata|label|linked|Q36012}}]]||{{wikidata|title|linked|Q36012}}||Mountain Province||Bayan
|-
|1334||Bontoc||[[:wikidata:Q36025|Q36025]]||[[{{wikidata|label|linked|Q36025}}]]||{{wikidata|title|linked|Q36025}}||Mountain Province||Bayan
|-
|1335||Natonin||[[:wikidata:Q36040|Q36040]]||[[{{wikidata|label|linked|Q36040}}]]||{{wikidata|title|linked|Q36040}}||Mountain Province||Bayan
|-
|1336||Paracelis||[[:wikidata:Q36049|Q36049]]||[[{{wikidata|label|linked|Q36049}}]]||{{wikidata|title|linked|Q36049}}||Mountain Province||Bayan
|-
|1337||Sabangan||[[:wikidata:Q36061|Q36061]]||[[{{wikidata|label|linked|Q36061}}]]||{{wikidata|title|linked|Q36061}}||Mountain Province||Bayan
|-
|1338||Sadanga||[[:wikidata:Q36076|Q36076]]||[[{{wikidata|label|linked|Q36076}}]]||{{wikidata|title|linked|Q36076}}||Mountain Province||Bayan
|-
|1339||Sagada||[[:wikidata:Q36090|Q36090]]||[[{{wikidata|label|linked|Q36090}}]]||{{wikidata|title|linked|Q36090}}||Mountain Province||Bayan
|-
|1340||Tadian||[[:wikidata:Q36099|Q36099]]||[[{{wikidata|label|linked|Q36099}}]]||{{wikidata|title|linked|Q36099}}||Mountain Province||Bayan
|-
|1341||Balbalan||[[:wikidata:Q35848|Q35848]]||[[{{wikidata|label|linked|Q35848}}]]||{{wikidata|title|linked|Q35848}}||Kalinga||Bayan
|-
|1342||Lubuagan||[[:wikidata:Q35858|Q35858]]||[[{{wikidata|label|linked|Q35858}}]]||{{wikidata|title|linked|Q35858}}||Kalinga||Bayan
|-
|1343||Pasil||[[:wikidata:Q35866|Q35866]]||[[{{wikidata|label|linked|Q35866}}]]||{{wikidata|title|linked|Q35866}}||Kalinga||Bayan
|-
|1344||Pinukpuk||[[:wikidata:Q35873|Q35873]]||[[{{wikidata|label|linked|Q35873}}]]||{{wikidata|title|linked|Q35873}}||Kalinga||Bayan
|-
|1345||Rizal||[[:wikidata:Q35884|Q35884]]||[[{{wikidata|label|linked|Q35884}}]]||{{wikidata|title|linked|Q35884}}||Kalinga||Bayan
|-
|1346||Tabuk||[[:wikidata:Q35925|Q35925]]||[[{{wikidata|label|linked|Q35925}}]]||{{wikidata|title|linked|Q35925}}||Kalinga||Lungsod
|-
|1347||Tanudan||[[:wikidata:Q35897|Q35897]]||[[{{wikidata|label|linked|Q35897}}]]||{{wikidata|title|linked|Q35897}}||Kalinga||Bayan
|-
|1348||Tinglayan||[[:wikidata:Q35909|Q35909]]||[[{{wikidata|label|linked|Q35909}}]]||{{wikidata|title|linked|Q35909}}||Kalinga||Bayan
|-
|1349||Aguinaldo||[[:wikidata:Q30365|Q30365]]||[[{{wikidata|label|linked|Q30365}}]]||{{wikidata|title|linked|Q30365}}||Ifugao||Bayan
|-
|1350||Alfonso Lista||[[:wikidata:Q30391|Q30391]]||[[{{wikidata|label|linked|Q30391}}]]||{{wikidata|title|linked|Q30391}}||Ifugao||Bayan
|-
|1351||Asipulo||[[:wikidata:Q30394|Q30394]]||[[{{wikidata|label|linked|Q30394}}]]||{{wikidata|title|linked|Q30394}}||Ifugao||Bayan
|-
|1352||Banaue||[[:wikidata:Q806138|Q806138]]||[[{{wikidata|label|linked|Q806138}}]]||{{wikidata|title|linked|Q806138}}||Ifugao||Bayan
|-
|1353||Hingyon||[[:wikidata:Q30410|Q30410]]||[[{{wikidata|label|linked|Q30410}}]]||{{wikidata|title|linked|Q30410}}||Ifugao||Bayan
|-
|1354||Hungduan||[[:wikidata:Q30413|Q30413]]||[[{{wikidata|label|linked|Q30413}}]]||{{wikidata|title|linked|Q30413}}||Ifugao||Bayan
|-
|1355||Kiangan||[[:wikidata:Q30416|Q30416]]||[[{{wikidata|label|linked|Q30416}}]]||{{wikidata|title|linked|Q30416}}||Ifugao||Bayan
|-
|1356||Lagawe||[[:wikidata:Q30419|Q30419]]||[[{{wikidata|label|linked|Q30419}}]]||{{wikidata|title|linked|Q30419}}||Ifugao||Bayan
|-
|1357||Lamut||[[:wikidata:Q30421|Q30421]]||[[{{wikidata|label|linked|Q30421}}]]||{{wikidata|title|linked|Q30421}}||Ifugao||Bayan
|-
|1358||Mayoyao||[[:wikidata:Q30425|Q30425]]||[[{{wikidata|label|linked|Q30425}}]]||{{wikidata|title|linked|Q30425}}||Ifugao||Bayan
|-
|1359||Tinoc||[[:wikidata:Q30428|Q30428]]||[[{{wikidata|label|linked|Q30428}}]]||{{wikidata|title|linked|Q30428}}||Ifugao||Bayan
|-
|1360||Atok||[[:wikidata:Q30104|Q30104]]||[[{{wikidata|label|linked|Q30104}}]]||{{wikidata|title|linked|Q30104}}||Benguet||Bayan
|-
|1361||Baguio||[[:wikidata:Q1822|Q1822]]||[[{{wikidata|label|linked|Q1822}}]]||{{wikidata|title|linked|Q1822}}||Benguet||Lungsod
|-
|1362||Bakun||[[:wikidata:Q30325|Q30325]]||[[{{wikidata|label|linked|Q30325}}]]||{{wikidata|title|linked|Q30325}}||Benguet||Bayan
|-
|1363||Bokod||[[:wikidata:Q30328|Q30328]]||[[{{wikidata|label|linked|Q30328}}]]||{{wikidata|title|linked|Q30328}}||Benguet||Bayan
|-
|1364||Buguias||[[:wikidata:Q30332|Q30332]]||[[{{wikidata|label|linked|Q30332}}]]||{{wikidata|title|linked|Q30332}}||Benguet||Bayan
|-
|1365||Itogon||[[:wikidata:Q30335|Q30335]]||[[{{wikidata|label|linked|Q30335}}]]||{{wikidata|title|linked|Q30335}}||Benguet||Bayan
|-
|1366||Kabayan||[[:wikidata:Q30338|Q30338]]||[[{{wikidata|label|linked|Q30338}}]]||{{wikidata|title|linked|Q30338}}||Benguet||Bayan
|-
|1367||Kapangan||[[:wikidata:Q30345|Q30345]]||[[{{wikidata|label|linked|Q30345}}]]||{{wikidata|title|linked|Q30345}}||Benguet||Bayan
|-
|1368||Kibungan||[[:wikidata:Q30349|Q30349]]||[[{{wikidata|label|linked|Q30349}}]]||{{wikidata|title|linked|Q30349}}||Benguet||Bayan
|-
|1369||La Trinidad||[[:wikidata:Q30351|Q30351]]||[[{{wikidata|label|linked|Q30351}}]]||{{wikidata|title|linked|Q30351}}||Benguet||Bayan
|-
|1370||Mankayan||[[:wikidata:Q30356|Q30356]]||[[{{wikidata|label|linked|Q30356}}]]||{{wikidata|title|linked|Q30356}}||Benguet||Bayan
|-
|1371||Sablan||[[:wikidata:Q30358|Q30358]]||[[{{wikidata|label|linked|Q30358}}]]||{{wikidata|title|linked|Q30358}}||Benguet||Bayan
|-
|1372||Tuba||[[:wikidata:Q30361|Q30361]]||[[{{wikidata|label|linked|Q30361}}]]||{{wikidata|title|linked|Q30361}}||Benguet||Bayan
|-
|1373||Tublay||[[:wikidata:Q30363|Q30363]]||[[{{wikidata|label|linked|Q30363}}]]||{{wikidata|title|linked|Q30363}}||Benguet||Bayan
|-
|1374||Calanasan||[[:wikidata:Q29018|Q29018]]||[[{{wikidata|label|linked|Q29018}}]]||{{wikidata|title|linked|Q29018}}||Apayao||Bayan
|-
|1375||Conner||[[:wikidata:Q30033|Q30033]]||[[{{wikidata|label|linked|Q30033}}]]||{{wikidata|title|linked|Q30033}}||Apayao||Bayan
|-
|1376||Flora||[[:wikidata:Q30042|Q30042]]||[[{{wikidata|label|linked|Q30042}}]]||{{wikidata|title|linked|Q30042}}||Apayao||Bayan
|-
|1377||Kabugao||[[:wikidata:Q30053|Q30053]]||[[{{wikidata|label|linked|Q30053}}]]||{{wikidata|title|linked|Q30053}}||Apayao||Bayan
|-
|1378||Luna||[[:wikidata:Q801777|Q801777]]||[[{{wikidata|label|linked|Q801777}}]]||{{wikidata|title|linked|Q801777}}||Apayao||Bayan
|-
|1379||Pudtol||[[:wikidata:Q30062|Q30062]]||[[{{wikidata|label|linked|Q30062}}]]||{{wikidata|title|linked|Q30062}}||Apayao||Bayan
|-
|1380||Santa Marcela||[[:wikidata:Q30073|Q30073]]||[[{{wikidata|label|linked|Q30073}}]]||{{wikidata|title|linked|Q30073}}||Apayao||Bayan
|-
|1381||Bangued||[[:wikidata:Q27995|Q27995]]||[[{{wikidata|label|linked|Q27995}}]]||{{wikidata|title|linked|Q27995}}||Abra||Bayan
|-
|1382||Boliney||[[:wikidata:Q28002|Q28002]]||[[{{wikidata|label|linked|Q28002}}]]||{{wikidata|title|linked|Q28002}}||Abra||Bayan
|-
|1383||Bucay||[[:wikidata:Q28014|Q28014]]||[[{{wikidata|label|linked|Q28014}}]]||{{wikidata|title|linked|Q28014}}||Abra||Bayan
|-
|1384||Bucloc||[[:wikidata:Q28030|Q28030]]||[[{{wikidata|label|linked|Q28030}}]]||{{wikidata|title|linked|Q28030}}||Abra||Bayan
|-
|1385||Daguioman||[[:wikidata:Q28044|Q28044]]||[[{{wikidata|label|linked|Q28044}}]]||{{wikidata|title|linked|Q28044}}||Abra||Bayan
|-
|1386||Danglas||[[:wikidata:Q28068|Q28068]]||[[{{wikidata|label|linked|Q28068}}]]||{{wikidata|title|linked|Q28068}}||Abra||Bayan
|-
|1387||Dolores||[[:wikidata:Q28096|Q28096]]||[[{{wikidata|label|linked|Q28096}}]]||{{wikidata|title|linked|Q28096}}||Abra||Bayan
|-
|1388||La Paz||[[:wikidata:Q28124|Q28124]]||[[{{wikidata|label|linked|Q28124}}]]||{{wikidata|title|linked|Q28124}}||Abra||Bayan
|-
|1389||Lacub||[[:wikidata:Q29007|Q29007]]||[[{{wikidata|label|linked|Q29007}}]]||{{wikidata|title|linked|Q29007}}||Abra||Bayan
|-
|1390||Lagangilang||[[:wikidata:Q29020|Q29020]]||[[{{wikidata|label|linked|Q29020}}]]||{{wikidata|title|linked|Q29020}}||Abra||Bayan
|-
|1391||Lagayan||[[:wikidata:Q29029|Q29029]]||[[{{wikidata|label|linked|Q29029}}]]||{{wikidata|title|linked|Q29029}}||Abra||Bayan
|-
|1392||Langiden||[[:wikidata:Q29038|Q29038]]||[[{{wikidata|label|linked|Q29038}}]]||{{wikidata|title|linked|Q29038}}||Abra||Bayan
|-
|1393||Licuan-Baay||[[:wikidata:Q29045|Q29045]]||[[{{wikidata|label|linked|Q29045}}]]||{{wikidata|title|linked|Q29045}}||Abra||Bayan
|-
|1394||Luba||[[:wikidata:Q29048|Q29048]]||[[{{wikidata|label|linked|Q29048}}]]||{{wikidata|title|linked|Q29048}}||Abra||Bayan
|-
|1395||Malibcong||[[:wikidata:Q29069|Q29069]]||[[{{wikidata|label|linked|Q29069}}]]||{{wikidata|title|linked|Q29069}}||Abra||Bayan
|-
|1396||Manabo||[[:wikidata:Q29082|Q29082]]||[[{{wikidata|label|linked|Q29082}}]]||{{wikidata|title|linked|Q29082}}||Abra||Bayan
|-
|1397||Peñarrubia||[[:wikidata:Q29094|Q29094]]||[[{{wikidata|label|linked|Q29094}}]]||{{wikidata|title|linked|Q29094}}||Abra||Bayan
|-
|1398||Pidigan||[[:wikidata:Q29102|Q29102]]||[[{{wikidata|label|linked|Q29102}}]]||{{wikidata|title|linked|Q29102}}||Abra||Bayan
|-
|1399||Pilar||[[:wikidata:Q29109|Q29109]]||[[{{wikidata|label|linked|Q29109}}]]||{{wikidata|title|linked|Q29109}}||Abra||Bayan
|-
|1400||Sallapadan||[[:wikidata:Q29116|Q29116]]||[[{{wikidata|label|linked|Q29116}}]]||{{wikidata|title|linked|Q29116}}||Abra||Bayan
|-
|1401||San Isidro||[[:wikidata:Q801530|Q801530]]||[[{{wikidata|label|linked|Q801530}}]]||{{wikidata|title|linked|Q801530}}||Abra||Bayan
|-
|1402||San Juan||[[:wikidata:Q29123|Q29123]]||[[{{wikidata|label|linked|Q29123}}]]||{{wikidata|title|linked|Q29123}}||Abra||Bayan
|-
|1403||San Quintin||[[:wikidata:Q29133|Q29133]]||[[{{wikidata|label|linked|Q29133}}]]||{{wikidata|title|linked|Q29133}}||Abra||Bayan
|-
|1404||Tayum||[[:wikidata:Q29139|Q29139]]||[[{{wikidata|label|linked|Q29139}}]]||{{wikidata|title|linked|Q29139}}||Abra||Bayan
|-
|1405||Tineg||[[:wikidata:Q29146|Q29146]]||[[{{wikidata|label|linked|Q29146}}]]||{{wikidata|title|linked|Q29146}}||Abra||Bayan
|-
|1406||Tubo||[[:wikidata:Q29153|Q29153]]||[[{{wikidata|label|linked|Q29153}}]]||{{wikidata|title|linked|Q29153}}||Abra||Bayan
|-
|1407||Villaviciosa||[[:wikidata:Q29191|Q29191]]||[[{{wikidata|label|linked|Q29191}}]]||{{wikidata|title|linked|Q29191}}||Abra||Bayan
|-
|1408||Aglipay||[[:wikidata:Q53069|Q53069]]||[[{{wikidata|label|linked|Q53069}}]]||{{wikidata|title|linked|Q53069}}||Quirino||Bayan
|-
|1409||Cabarroguis||[[:wikidata:Q53070|Q53070]]||[[{{wikidata|label|linked|Q53070}}]]||{{wikidata|title|linked|Q53070}}||Quirino||Bayan
|-
|1410||Diffun||[[:wikidata:Q53071|Q53071]]||[[{{wikidata|label|linked|Q53071}}]]||{{wikidata|title|linked|Q53071}}||Quirino||Bayan
|-
|1411||Maddela||[[:wikidata:Q53072|Q53072]]||[[{{wikidata|label|linked|Q53072}}]]||{{wikidata|title|linked|Q53072}}||Quirino||Bayan
|-
|1412||Nagtipunan||[[:wikidata:Q53073|Q53073]]||[[{{wikidata|label|linked|Q53073}}]]||{{wikidata|title|linked|Q53073}}||Quirino||Bayan
|-
|1413||Saguday||[[:wikidata:Q53074|Q53074]]||[[{{wikidata|label|linked|Q53074}}]]||{{wikidata|title|linked|Q53074}}||Quirino||Bayan
|-
|1414||Alfonso Castañeda||[[:wikidata:Q51474|Q51474]]||[[{{wikidata|label|linked|Q51474}}]]||{{wikidata|title|linked|Q51474}}||Nueva Vizcaya||Bayan
|-
|1415||Ambaguio||[[:wikidata:Q51475|Q51475]]||[[{{wikidata|label|linked|Q51475}}]]||{{wikidata|title|linked|Q51475}}||Nueva Vizcaya||Bayan
|-
|1416||Aritao||[[:wikidata:Q51477|Q51477]]||[[{{wikidata|label|linked|Q51477}}]]||{{wikidata|title|linked|Q51477}}||Nueva Vizcaya||Bayan
|-
|1417||Bagabag||[[:wikidata:Q51478|Q51478]]||[[{{wikidata|label|linked|Q51478}}]]||{{wikidata|title|linked|Q51478}}||Nueva Vizcaya||Bayan
|-
|1418||Bambang||[[:wikidata:Q51479|Q51479]]||[[{{wikidata|label|linked|Q51479}}]]||{{wikidata|title|linked|Q51479}}||Nueva Vizcaya||Bayan
|-
|1419||Bayombong||[[:wikidata:Q51480|Q51480]]||[[{{wikidata|label|linked|Q51480}}]]||{{wikidata|title|linked|Q51480}}||Nueva Vizcaya||Bayan
|-
|1420||Diadi||[[:wikidata:Q51481|Q51481]]||[[{{wikidata|label|linked|Q51481}}]]||{{wikidata|title|linked|Q51481}}||Nueva Vizcaya||Bayan
|-
|1421||Dupax del Norte||[[:wikidata:Q51483|Q51483]]||[[{{wikidata|label|linked|Q51483}}]]||{{wikidata|title|linked|Q51483}}||Nueva Vizcaya||Bayan
|-
|1422||Dupax del Sur||[[:wikidata:Q51484|Q51484]]||[[{{wikidata|label|linked|Q51484}}]]||{{wikidata|title|linked|Q51484}}||Nueva Vizcaya||Bayan
|-
|1423||Kasibu||[[:wikidata:Q51485|Q51485]]||[[{{wikidata|label|linked|Q51485}}]]||{{wikidata|title|linked|Q51485}}||Nueva Vizcaya||Bayan
|-
|1424||Kayapa||[[:wikidata:Q51486|Q51486]]||[[{{wikidata|label|linked|Q51486}}]]||{{wikidata|title|linked|Q51486}}||Nueva Vizcaya||Bayan
|-
|1425||Quezon||[[:wikidata:Q51487|Q51487]]||[[{{wikidata|label|linked|Q51487}}]]||{{wikidata|title|linked|Q51487}}||Nueva Vizcaya||Bayan
|-
|1426||Santa Fe||[[:wikidata:Q51493|Q51493]]||[[{{wikidata|label|linked|Q51493}}]]||{{wikidata|title|linked|Q51493}}||Nueva Vizcaya||Bayan
|-
|1427||Solano||[[:wikidata:Q51494|Q51494]]||[[{{wikidata|label|linked|Q51494}}]]||{{wikidata|title|linked|Q51494}}||Nueva Vizcaya||Bayan
|-
|1428||Villaverde||[[:wikidata:Q51496|Q51496]]||[[{{wikidata|label|linked|Q51496}}]]||{{wikidata|title|linked|Q51496}}||Nueva Vizcaya||Bayan
|-
|1429||Alicia||[[:wikidata:Q49354|Q49354]]||[[{{wikidata|label|linked|Q49354}}]]||{{wikidata|title|linked|Q49354}}||Isabela||Bayan
|-
|1430||Angadanan||[[:wikidata:Q49357|Q49357]]||[[{{wikidata|label|linked|Q49357}}]]||{{wikidata|title|linked|Q49357}}||Isabela||Bayan
|-
|1431||Aurora||[[:wikidata:Q49358|Q49358]]||[[{{wikidata|label|linked|Q49358}}]]||{{wikidata|title|linked|Q49358}}||Isabela||Bayan
|-
|1432||Benito Soliven||[[:wikidata:Q49359|Q49359]]||[[{{wikidata|label|linked|Q49359}}]]||{{wikidata|title|linked|Q49359}}||Isabela||Bayan
|-
|1433||Burgos||[[:wikidata:Q49360|Q49360]]||[[{{wikidata|label|linked|Q49360}}]]||{{wikidata|title|linked|Q49360}}||Isabela||Bayan
|-
|1434||Cabagan||[[:wikidata:Q49361|Q49361]]||[[{{wikidata|label|linked|Q49361}}]]||{{wikidata|title|linked|Q49361}}||Isabela||Bayan
|-
|1435||Cabatuan||[[:wikidata:Q49362|Q49362]]||[[{{wikidata|label|linked|Q49362}}]]||{{wikidata|title|linked|Q49362}}||Isabela||Bayan
|-
|1436||Cauayan||[[:wikidata:Q50178|Q50178]]||[[{{wikidata|label|linked|Q50178}}]]||{{wikidata|title|linked|Q50178}}||Isabela||Lungsod
|-
|1437||Cordon||[[:wikidata:Q49363|Q49363]]||[[{{wikidata|label|linked|Q49363}}]]||{{wikidata|title|linked|Q49363}}||Isabela||Bayan
|-
|1438||Delfin Albano||[[:wikidata:Q49365|Q49365]]||[[{{wikidata|label|linked|Q49365}}]]||{{wikidata|title|linked|Q49365}}||Isabela||Bayan
|-
|1439||Dinapigue||[[:wikidata:Q49366|Q49366]]||[[{{wikidata|label|linked|Q49366}}]]||{{wikidata|title|linked|Q49366}}||Isabela||Bayan
|-
|1440||Divilacan||[[:wikidata:Q49368|Q49368]]||[[{{wikidata|label|linked|Q49368}}]]||{{wikidata|title|linked|Q49368}}||Isabela||Bayan
|-
|1441||Echague||[[:wikidata:Q49369|Q49369]]||[[{{wikidata|label|linked|Q49369}}]]||{{wikidata|title|linked|Q49369}}||Isabela||Bayan
|-
|1442||Gamu||[[:wikidata:Q49370|Q49370]]||[[{{wikidata|label|linked|Q49370}}]]||{{wikidata|title|linked|Q49370}}||Isabela||Bayan
|-
|1443||Ilagan||[[:wikidata:Q50179|Q50179]]||[[{{wikidata|label|linked|Q50179}}]]||{{wikidata|title|linked|Q50179}}||Isabela||Lungsod
|-
|1444||Jones||[[:wikidata:Q49372|Q49372]]||[[{{wikidata|label|linked|Q49372}}]]||{{wikidata|title|linked|Q49372}}||Isabela||Bayan
|-
|1445||Luna||[[:wikidata:Q49375|Q49375]]||[[{{wikidata|label|linked|Q49375}}]]||{{wikidata|title|linked|Q49375}}||Isabela||Bayan
|-
|1446||Maconacon||[[:wikidata:Q49434|Q49434]]||[[{{wikidata|label|linked|Q49434}}]]||{{wikidata|title|linked|Q49434}}||Isabela||Bayan
|-
|1447||Mallig||[[:wikidata:Q49435|Q49435]]||[[{{wikidata|label|linked|Q49435}}]]||{{wikidata|title|linked|Q49435}}||Isabela||Bayan
|-
|1448||Naguilian||[[:wikidata:Q50066|Q50066]]||[[{{wikidata|label|linked|Q50066}}]]||{{wikidata|title|linked|Q50066}}||Isabela||Bayan
|-
|1449||Palanan||[[:wikidata:Q50102|Q50102]]||[[{{wikidata|label|linked|Q50102}}]]||{{wikidata|title|linked|Q50102}}||Isabela||Bayan
|-
|1450||Quezon||[[:wikidata:Q50145|Q50145]]||[[{{wikidata|label|linked|Q50145}}]]||{{wikidata|title|linked|Q50145}}||Isabela||Bayan
|-
|1451||Quirino||[[:wikidata:Q50149|Q50149]]||[[{{wikidata|label|linked|Q50149}}]]||{{wikidata|title|linked|Q50149}}||Isabela||Bayan
|-
|1452||Ramon||[[:wikidata:Q50152|Q50152]]||[[{{wikidata|label|linked|Q50152}}]]||{{wikidata|title|linked|Q50152}}||Isabela||Bayan
|-
|1453||Reina Mercedes||[[:wikidata:Q50153|Q50153]]||[[{{wikidata|label|linked|Q50153}}]]||{{wikidata|title|linked|Q50153}}||Isabela||Bayan
|-
|1454||Roxas||[[:wikidata:Q50154|Q50154]]||[[{{wikidata|label|linked|Q50154}}]]||{{wikidata|title|linked|Q50154}}||Isabela||Bayan
|-
|1455||San Agustin||[[:wikidata:Q50158|Q50158]]||[[{{wikidata|label|linked|Q50158}}]]||{{wikidata|title|linked|Q50158}}||Isabela||Bayan
|-
|1456||San Guillermo||[[:wikidata:Q50160|Q50160]]||[[{{wikidata|label|linked|Q50160}}]]||{{wikidata|title|linked|Q50160}}||Isabela||Bayan
|-
|1457||San Isidro||[[:wikidata:Q50163|Q50163]]||[[{{wikidata|label|linked|Q50163}}]]||{{wikidata|title|linked|Q50163}}||Isabela||Bayan
|-
|1458||San Manuel||[[:wikidata:Q50164|Q50164]]||[[{{wikidata|label|linked|Q50164}}]]||{{wikidata|title|linked|Q50164}}||Isabela||Bayan
|-
|1459||San Mariano||[[:wikidata:Q50167|Q50167]]||[[{{wikidata|label|linked|Q50167}}]]||{{wikidata|title|linked|Q50167}}||Isabela||Bayan
|-
|1460||San Mateo||[[:wikidata:Q50171|Q50171]]||[[{{wikidata|label|linked|Q50171}}]]||{{wikidata|title|linked|Q50171}}||Isabela||Bayan
|-
|1461||San Pablo||[[:wikidata:Q50174|Q50174]]||[[{{wikidata|label|linked|Q50174}}]]||{{wikidata|title|linked|Q50174}}||Isabela||Bayan
|-
|1462||Santa Maria||[[:wikidata:Q50175|Q50175]]||[[{{wikidata|label|linked|Q50175}}]]||{{wikidata|title|linked|Q50175}}||Isabela||Bayan
|-
|1463||Santiago||[[:wikidata:Q50180|Q50180]]||[[{{wikidata|label|linked|Q50180}}]]||{{wikidata|title|linked|Q50180}}||Isabela||Lungsod
|-
|1464||Santo Tomas||[[:wikidata:Q50176|Q50176]]||[[{{wikidata|label|linked|Q50176}}]]||{{wikidata|title|linked|Q50176}}||Isabela||Bayan
|-
|1465||Tumauini||[[:wikidata:Q50177|Q50177]]||[[{{wikidata|label|linked|Q50177}}]]||{{wikidata|title|linked|Q50177}}||Isabela||Bayan
|-
|1466||Abulug||[[:wikidata:Q43500|Q43500]]||[[{{wikidata|label|linked|Q43500}}]]||{{wikidata|title|linked|Q43500}}||Cagayan||Bayan
|-
|1467||Alcala||[[:wikidata:Q43503|Q43503]]||[[{{wikidata|label|linked|Q43503}}]]||{{wikidata|title|linked|Q43503}}||Cagayan||Bayan
|-
|1468||Allacapan||[[:wikidata:Q43508|Q43508]]||[[{{wikidata|label|linked|Q43508}}]]||{{wikidata|title|linked|Q43508}}||Cagayan||Bayan
|-
|1469||Amulung||[[:wikidata:Q43515|Q43515]]||[[{{wikidata|label|linked|Q43515}}]]||{{wikidata|title|linked|Q43515}}||Cagayan||Bayan
|-
|1470||Aparri||[[:wikidata:Q43517|Q43517]]||[[{{wikidata|label|linked|Q43517}}]]||{{wikidata|title|linked|Q43517}}||Cagayan||Bayan
|-
|1471||Baggao||[[:wikidata:Q43520|Q43520]]||[[{{wikidata|label|linked|Q43520}}]]||{{wikidata|title|linked|Q43520}}||Cagayan||Bayan
|-
|1472||Ballesteros||[[:wikidata:Q49058|Q49058]]||[[{{wikidata|label|linked|Q49058}}]]||{{wikidata|title|linked|Q49058}}||Cagayan||Bayan
|-
|1473||Buguey||[[:wikidata:Q49059|Q49059]]||[[{{wikidata|label|linked|Q49059}}]]||{{wikidata|title|linked|Q49059}}||Cagayan||Bayan
|-
|1474||Calayan||[[:wikidata:Q49062|Q49062]]||[[{{wikidata|label|linked|Q49062}}]]||{{wikidata|title|linked|Q49062}}||Cagayan||Bayan
|-
|1475||Camalaniugan||[[:wikidata:Q49313|Q49313]]||[[{{wikidata|label|linked|Q49313}}]]||{{wikidata|title|linked|Q49313}}||Cagayan||Bayan
|-
|1476||Claveria||[[:wikidata:Q49314|Q49314]]||[[{{wikidata|label|linked|Q49314}}]]||{{wikidata|title|linked|Q49314}}||Cagayan||Bayan
|-
|1477||Enrile||[[:wikidata:Q49315|Q49315]]||[[{{wikidata|label|linked|Q49315}}]]||{{wikidata|title|linked|Q49315}}||Cagayan||Bayan
|-
|1478||Gattaran||[[:wikidata:Q49316|Q49316]]||[[{{wikidata|label|linked|Q49316}}]]||{{wikidata|title|linked|Q49316}}||Cagayan||Bayan
|-
|1479||Gonzaga||[[:wikidata:Q49317|Q49317]]||[[{{wikidata|label|linked|Q49317}}]]||{{wikidata|title|linked|Q49317}}||Cagayan||Bayan
|-
|1480||Iguig||[[:wikidata:Q49318|Q49318]]||[[{{wikidata|label|linked|Q49318}}]]||{{wikidata|title|linked|Q49318}}||Cagayan||Bayan
|-
|1481||Lal-lo||[[:wikidata:Q49320|Q49320]]||[[{{wikidata|label|linked|Q49320}}]]||{{wikidata|title|linked|Q49320}}||Cagayan||Bayan
|-
|1482||Lasam||[[:wikidata:Q49321|Q49321]]||[[{{wikidata|label|linked|Q49321}}]]||{{wikidata|title|linked|Q49321}}||Cagayan||Bayan
|-
|1483||Pamplona||[[:wikidata:Q49324|Q49324]]||[[{{wikidata|label|linked|Q49324}}]]||{{wikidata|title|linked|Q49324}}||Cagayan||Bayan
|-
|1484||Peñablanca||[[:wikidata:Q49327|Q49327]]||[[{{wikidata|label|linked|Q49327}}]]||{{wikidata|title|linked|Q49327}}||Cagayan||Bayan
|-
|1485||Piat||[[:wikidata:Q49331|Q49331]]||[[{{wikidata|label|linked|Q49331}}]]||{{wikidata|title|linked|Q49331}}||Cagayan||Bayan
|-
|1486||Rizal||[[:wikidata:Q49333|Q49333]]||[[{{wikidata|label|linked|Q49333}}]]||{{wikidata|title|linked|Q49333}}||Cagayan||Bayan
|-
|1487||Sanchez Mira||[[:wikidata:Q49336|Q49336]]||[[{{wikidata|label|linked|Q49336}}]]||{{wikidata|title|linked|Q49336}}||Cagayan||Bayan
|-
|1488||Santa Ana||[[:wikidata:Q49337|Q49337]]||[[{{wikidata|label|linked|Q49337}}]]||{{wikidata|title|linked|Q49337}}||Cagayan||Bayan
|-
|1489||Santa Praxedes||[[:wikidata:Q49339|Q49339]]||[[{{wikidata|label|linked|Q49339}}]]||{{wikidata|title|linked|Q49339}}||Cagayan||Bayan
|-
|1490||Santa Teresita||[[:wikidata:Q49342|Q49342]]||[[{{wikidata|label|linked|Q49342}}]]||{{wikidata|title|linked|Q49342}}||Cagayan||Bayan
|-
|1491||Santo Niño||[[:wikidata:Q49346|Q49346]]||[[{{wikidata|label|linked|Q49346}}]]||{{wikidata|title|linked|Q49346}}||Cagayan||Bayan
|-
|1492||Solana||[[:wikidata:Q49348|Q49348]]||[[{{wikidata|label|linked|Q49348}}]]||{{wikidata|title|linked|Q49348}}||Cagayan||Bayan
|-
|1493||Tuao||[[:wikidata:Q49350|Q49350]]||[[{{wikidata|label|linked|Q49350}}]]||{{wikidata|title|linked|Q49350}}||Cagayan||Bayan
|-
|1494||Tuguegarao||[[:wikidata:Q2200|Q2200]]||[[{{wikidata|label|linked|Q2200}}]]||{{wikidata|title|linked|Q2200}}||Cagayan||Lungsod
|-
|1495||Basco||[[:wikidata:Q43180|Q43180]]||[[{{wikidata|label|linked|Q43180}}]]||{{wikidata|title|linked|Q43180}}||Batanes||Bayan
|-
|1496||Itbayat||[[:wikidata:Q43451|Q43451]]||[[{{wikidata|label|linked|Q43451}}]]||{{wikidata|title|linked|Q43451}}||Batanes||Bayan
|-
|1497||Ivana||[[:wikidata:Q43454|Q43454]]||[[{{wikidata|label|linked|Q43454}}]]||{{wikidata|title|linked|Q43454}}||Batanes||Bayan
|-
|1498||Mahatao||[[:wikidata:Q43458|Q43458]]||[[{{wikidata|label|linked|Q43458}}]]||{{wikidata|title|linked|Q43458}}||Batanes||Bayan
|-
|1499||Sabtang||[[:wikidata:Q43460|Q43460]]||[[{{wikidata|label|linked|Q43460}}]]||{{wikidata|title|linked|Q43460}}||Batanes||Bayan
|-
|1500||Uyugan||[[:wikidata:Q43469|Q43469]]||[[{{wikidata|label|linked|Q43469}}]]||{{wikidata|title|linked|Q43469}}||Batanes||Bayan
|-
|1501||Agno||[[:wikidata:Q41668|Q41668]]||[[{{wikidata|label|linked|Q41668}}]]||{{wikidata|title|linked|Q41668}}||Pangasinan||Bayan
|-
|1502||Aguilar||[[:wikidata:Q41686|Q41686]]||[[{{wikidata|label|linked|Q41686}}]]||{{wikidata|title|linked|Q41686}}||Pangasinan||Bayan
|-
|1503||Alaminos||[[:wikidata:Q43162|Q43162]]||[[{{wikidata|label|linked|Q43162}}]]||{{wikidata|title|linked|Q43162}}||Pangasinan||Bayan
|-
|1504||Alcala||[[:wikidata:Q41704|Q41704]]||[[{{wikidata|label|linked|Q41704}}]]||{{wikidata|title|linked|Q41704}}||Pangasinan||Bayan
|-
|1505||Anda||[[:wikidata:Q41713|Q41713]]||[[{{wikidata|label|linked|Q41713}}]]||{{wikidata|title|linked|Q41713}}||Pangasinan||Bayan
|-
|1506||Asingan||[[:wikidata:Q41721|Q41721]]||[[{{wikidata|label|linked|Q41721}}]]||{{wikidata|title|linked|Q41721}}||Pangasinan||Bayan
|-
|1507||Balungao||[[:wikidata:Q41725|Q41725]]||[[{{wikidata|label|linked|Q41725}}]]||{{wikidata|title|linked|Q41725}}||Pangasinan||Bayan
|-
|1508||Bani||[[:wikidata:Q41732|Q41732]]||[[{{wikidata|label|linked|Q41732}}]]||{{wikidata|title|linked|Q41732}}||Pangasinan||Bayan
|-
|1509||Basista||[[:wikidata:Q41737|Q41737]]||[[{{wikidata|label|linked|Q41737}}]]||{{wikidata|title|linked|Q41737}}||Pangasinan||Bayan
|-
|1510||Bautista||[[:wikidata:Q41757|Q41757]]||[[{{wikidata|label|linked|Q41757}}]]||{{wikidata|title|linked|Q41757}}||Pangasinan||Bayan
|-
|1511||Bayambang||[[:wikidata:Q41762|Q41762]]||[[{{wikidata|label|linked|Q41762}}]]||{{wikidata|title|linked|Q41762}}||Pangasinan||Bayan
|-
|1512||Binalonan||[[:wikidata:Q41771|Q41771]]||[[{{wikidata|label|linked|Q41771}}]]||{{wikidata|title|linked|Q41771}}||Pangasinan||Bayan
|-
|1513||Binmaley||[[:wikidata:Q41779|Q41779]]||[[{{wikidata|label|linked|Q41779}}]]||{{wikidata|title|linked|Q41779}}||Pangasinan||Bayan
|-
|1514||Bolinao||[[:wikidata:Q41807|Q41807]]||[[{{wikidata|label|linked|Q41807}}]]||{{wikidata|title|linked|Q41807}}||Pangasinan||Bayan
|-
|1515||Bugallon||[[:wikidata:Q41826|Q41826]]||[[{{wikidata|label|linked|Q41826}}]]||{{wikidata|title|linked|Q41826}}||Pangasinan||Bayan
|-
|1516||Burgos||[[:wikidata:Q41850|Q41850]]||[[{{wikidata|label|linked|Q41850}}]]||{{wikidata|title|linked|Q41850}}||Pangasinan||Bayan
|-
|1517||Calasiao||[[:wikidata:Q41855|Q41855]]||[[{{wikidata|label|linked|Q41855}}]]||{{wikidata|title|linked|Q41855}}||Pangasinan||Bayan
|-
|1518||Dagupan||[[:wikidata:Q875070|Q875070]]||[[{{wikidata|label|linked|Q875070}}]]||{{wikidata|title|linked|Q875070}}||Pangasinan||Lungsod
|-
|1519||Dasol||[[:wikidata:Q41917|Q41917]]||[[{{wikidata|label|linked|Q41917}}]]||{{wikidata|title|linked|Q41917}}||Pangasinan||Bayan
|-
|1520||Infanta||[[:wikidata:Q41922|Q41922]]||[[{{wikidata|label|linked|Q41922}}]]||{{wikidata|title|linked|Q41922}}||Pangasinan||Bayan
|-
|1521||Labrador||[[:wikidata:Q41942|Q41942]]||[[{{wikidata|label|linked|Q41942}}]]||{{wikidata|title|linked|Q41942}}||Pangasinan||Bayan
|-
|1522||Laoac||[[:wikidata:Q41965|Q41965]]||[[{{wikidata|label|linked|Q41965}}]]||{{wikidata|title|linked|Q41965}}||Pangasinan||Bayan
|-
|1523||Lingayen||[[:wikidata:Q41978|Q41978]]||[[{{wikidata|label|linked|Q41978}}]]||{{wikidata|title|linked|Q41978}}||Pangasinan||Bayan
|-
|1524||Mabini||[[:wikidata:Q41982|Q41982]]||[[{{wikidata|label|linked|Q41982}}]]||{{wikidata|title|linked|Q41982}}||Pangasinan||Bayan
|-
|1525||Malasiqui||[[:wikidata:Q41985|Q41985]]||[[{{wikidata|label|linked|Q41985}}]]||{{wikidata|title|linked|Q41985}}||Pangasinan||Bayan
|-
|1526||Manaoag||[[:wikidata:Q1020685|Q1020685]]||[[{{wikidata|label|linked|Q1020685}}]]||{{wikidata|title|linked|Q1020685}}||Pangasinan||Bayan
|-
|1527||Mangaldan||[[:wikidata:Q41996|Q41996]]||[[{{wikidata|label|linked|Q41996}}]]||{{wikidata|title|linked|Q41996}}||Pangasinan||Bayan
|-
|1528||Mangatarem||[[:wikidata:Q42001|Q42001]]||[[{{wikidata|label|linked|Q42001}}]]||{{wikidata|title|linked|Q42001}}||Pangasinan||Bayan
|-
|1529||Mapandan||[[:wikidata:Q42006|Q42006]]||[[{{wikidata|label|linked|Q42006}}]]||{{wikidata|title|linked|Q42006}}||Pangasinan||Bayan
|-
|1530||Natividad||[[:wikidata:Q42011|Q42011]]||[[{{wikidata|label|linked|Q42011}}]]||{{wikidata|title|linked|Q42011}}||Pangasinan||Bayan
|-
|1531||Pozorrubio||[[:wikidata:Q42017|Q42017]]||[[{{wikidata|label|linked|Q42017}}]]||{{wikidata|title|linked|Q42017}}||Pangasinan||Bayan
|-
|1532||Rosales||[[:wikidata:Q42024|Q42024]]||[[{{wikidata|label|linked|Q42024}}]]||{{wikidata|title|linked|Q42024}}||Pangasinan||Bayan
|-
|1533||San Carlos||[[:wikidata:Q43165|Q43165]]||[[{{wikidata|label|linked|Q43165}}]]||{{wikidata|title|linked|Q43165}}||Pangasinan||Lungsod
|-
|1534||San Fabian||[[:wikidata:Q42031|Q42031]]||[[{{wikidata|label|linked|Q42031}}]]||{{wikidata|title|linked|Q42031}}||Pangasinan||Bayan
|-
|1535||San Jacinto||[[:wikidata:Q42036|Q42036]]||[[{{wikidata|label|linked|Q42036}}]]||{{wikidata|title|linked|Q42036}}||Pangasinan||Bayan
|-
|1536||San Manuel||[[:wikidata:Q42039|Q42039]]||[[{{wikidata|label|linked|Q42039}}]]||{{wikidata|title|linked|Q42039}}||Pangasinan||Bayan
|-
|1537||San Nicolas||[[:wikidata:Q42043|Q42043]]||[[{{wikidata|label|linked|Q42043}}]]||{{wikidata|title|linked|Q42043}}||Pangasinan||Bayan
|-
|1538||San Quintin||[[:wikidata:Q42044|Q42044]]||[[{{wikidata|label|linked|Q42044}}]]||{{wikidata|title|linked|Q42044}}||Pangasinan||Bayan
|-
|1539||Santa Barbara||[[:wikidata:Q122401|Q122401]]||[[{{wikidata|label|linked|Q122401}}]]||{{wikidata|title|linked|Q122401}}||Pangasinan||Bayan
|-
|1540||Santa Maria||[[:wikidata:Q42055|Q42055]]||[[{{wikidata|label|linked|Q42055}}]]||{{wikidata|title|linked|Q42055}}||Pangasinan||Bayan
|-
|1541||Santo Tomas||[[:wikidata:Q43140|Q43140]]||[[{{wikidata|label|linked|Q43140}}]]||{{wikidata|title|linked|Q43140}}||Pangasinan||Bayan
|-
|1542||Sison||[[:wikidata:Q43143|Q43143]]||[[{{wikidata|label|linked|Q43143}}]]||{{wikidata|title|linked|Q43143}}||Pangasinan||Bayan
|-
|1543||Sual||[[:wikidata:Q43145|Q43145]]||[[{{wikidata|label|linked|Q43145}}]]||{{wikidata|title|linked|Q43145}}||Pangasinan||Bayan
|-
|1544||Tayug||[[:wikidata:Q43148|Q43148]]||[[{{wikidata|label|linked|Q43148}}]]||{{wikidata|title|linked|Q43148}}||Pangasinan||Bayan
|-
|1545||Umingan||[[:wikidata:Q43152|Q43152]]||[[{{wikidata|label|linked|Q43152}}]]||{{wikidata|title|linked|Q43152}}||Pangasinan||Bayan
|-
|1546||Urbiztondo||[[:wikidata:Q43154|Q43154]]||[[{{wikidata|label|linked|Q43154}}]]||{{wikidata|title|linked|Q43154}}||Pangasinan||Bayan
|-
|1547||Urdaneta||[[:wikidata:Q43168|Q43168]]||[[{{wikidata|label|linked|Q43168}}]]||{{wikidata|title|linked|Q43168}}||Pangasinan||Lungsod
|-
|1548||Villasis||[[:wikidata:Q43157|Q43157]]||[[{{wikidata|label|linked|Q43157}}]]||{{wikidata|title|linked|Q43157}}||Pangasinan||Bayan
|-
|1549||Agoo||[[:wikidata:Q40168|Q40168]]||[[{{wikidata|label|linked|Q40168}}]]||{{wikidata|title|linked|Q40168}}||La Union||Bayan
|-
|1550||Aringay||[[:wikidata:Q40239|Q40239]]||[[{{wikidata|label|linked|Q40239}}]]||{{wikidata|title|linked|Q40239}}||La Union||Bayan
|-
|1551||Bacnotan||[[:wikidata:Q40259|Q40259]]||[[{{wikidata|label|linked|Q40259}}]]||{{wikidata|title|linked|Q40259}}||La Union||Bayan
|-
|1552||Bagulin||[[:wikidata:Q40275|Q40275]]||[[{{wikidata|label|linked|Q40275}}]]||{{wikidata|title|linked|Q40275}}||La Union||Bayan
|-
|1553||Balaoan||[[:wikidata:Q40282|Q40282]]||[[{{wikidata|label|linked|Q40282}}]]||{{wikidata|title|linked|Q40282}}||La Union||Bayan
|-
|1554||Bangar||[[:wikidata:Q40298|Q40298]]||[[{{wikidata|label|linked|Q40298}}]]||{{wikidata|title|linked|Q40298}}||La Union||Bayan
|-
|1555||Bauang||[[:wikidata:Q40313|Q40313]]||[[{{wikidata|label|linked|Q40313}}]]||{{wikidata|title|linked|Q40313}}||La Union||Bayan
|-
|1556||Burgos||[[:wikidata:Q40372|Q40372]]||[[{{wikidata|label|linked|Q40372}}]]||{{wikidata|title|linked|Q40372}}||La Union||Bayan
|-
|1557||Caba||[[:wikidata:Q40393|Q40393]]||[[{{wikidata|label|linked|Q40393}}]]||{{wikidata|title|linked|Q40393}}||La Union||Bayan
|-
|1558||Luna||[[:wikidata:Q40419|Q40419]]||[[{{wikidata|label|linked|Q40419}}]]||{{wikidata|title|linked|Q40419}}||La Union||Bayan
|-
|1559||Naguilian||[[:wikidata:Q40450|Q40450]]||[[{{wikidata|label|linked|Q40450}}]]||{{wikidata|title|linked|Q40450}}||La Union||Bayan
|-
|1560||Pugo||[[:wikidata:Q40466|Q40466]]||[[{{wikidata|label|linked|Q40466}}]]||{{wikidata|title|linked|Q40466}}||La Union||Bayan
|-
|1561||Rosario||[[:wikidata:Q40486|Q40486]]||[[{{wikidata|label|linked|Q40486}}]]||{{wikidata|title|linked|Q40486}}||La Union||Bayan
|-
|1562||San Fernando||[[:wikidata:Q40584|Q40584]]||[[{{wikidata|label|linked|Q40584}}]]||{{wikidata|title|linked|Q40584}}||La Union||Lungsod
|-
|1563||San Gabriel||[[:wikidata:Q40500|Q40500]]||[[{{wikidata|label|linked|Q40500}}]]||{{wikidata|title|linked|Q40500}}||La Union||Bayan
|-
|1564||San Juan||[[:wikidata:Q40517|Q40517]]||[[{{wikidata|label|linked|Q40517}}]]||{{wikidata|title|linked|Q40517}}||La Union||Bayan
|-
|1565||Santo Tomas||[[:wikidata:Q40521|Q40521]]||[[{{wikidata|label|linked|Q40521}}]]||{{wikidata|title|linked|Q40521}}||La Union||Bayan
|-
|1566||Santol||[[:wikidata:Q40536|Q40536]]||[[{{wikidata|label|linked|Q40536}}]]||{{wikidata|title|linked|Q40536}}||La Union||Bayan
|-
|1567||Sudipen||[[:wikidata:Q40557|Q40557]]||[[{{wikidata|label|linked|Q40557}}]]||{{wikidata|title|linked|Q40557}}||La Union||Bayan
|-
|1568||Tubao||[[:wikidata:Q40562|Q40562]]||[[{{wikidata|label|linked|Q40562}}]]||{{wikidata|title|linked|Q40562}}||La Union||Bayan
|-
|1569||Alilem||[[:wikidata:Q12813|Q12813]]||[[{{wikidata|label|linked|Q12813}}]]||{{wikidata|title|linked|Q12813}}||Ilocos Sur||Bayan
|-
|1570||Banayoyo||[[:wikidata:Q12818|Q12818]]||[[{{wikidata|label|linked|Q12818}}]]||{{wikidata|title|linked|Q12818}}||Ilocos Sur||Bayan
|-
|1571||Bantay||[[:wikidata:Q12825|Q12825]]||[[{{wikidata|label|linked|Q12825}}]]||{{wikidata|title|linked|Q12825}}||Ilocos Sur||Bayan
|-
|1572||Burgos||[[:wikidata:Q12828|Q12828]]||[[{{wikidata|label|linked|Q12828}}]]||{{wikidata|title|linked|Q12828}}||Ilocos Sur||Bayan
|-
|1573||Cabugao||[[:wikidata:Q12832|Q12832]]||[[{{wikidata|label|linked|Q12832}}]]||{{wikidata|title|linked|Q12832}}||Ilocos Sur||Bayan
|-
|1574||Candon||[[:wikidata:Q205956|Q205956]]||[[{{wikidata|label|linked|Q205956}}]]||{{wikidata|title|linked|Q205956}}||Ilocos Sur||Lungsod
|-
|1575||Caoayan||[[:wikidata:Q12834|Q12834]]||[[{{wikidata|label|linked|Q12834}}]]||{{wikidata|title|linked|Q12834}}||Ilocos Sur||Bayan
|-
|1576||Cervantes||[[:wikidata:Q12835|Q12835]]||[[{{wikidata|label|linked|Q12835}}]]||{{wikidata|title|linked|Q12835}}||Ilocos Sur||Bayan
|-
|1577||Galimuyod||[[:wikidata:Q12838|Q12838]]||[[{{wikidata|label|linked|Q12838}}]]||{{wikidata|title|linked|Q12838}}||Ilocos Sur||Bayan
|-
|1578||Gregorio del Pilar||[[:wikidata:Q12840|Q12840]]||[[{{wikidata|label|linked|Q12840}}]]||{{wikidata|title|linked|Q12840}}||Ilocos Sur||Bayan
|-
|1579||Lidlidda||[[:wikidata:Q12843|Q12843]]||[[{{wikidata|label|linked|Q12843}}]]||{{wikidata|title|linked|Q12843}}||Ilocos Sur||Bayan
|-
|1580||Magsingal||[[:wikidata:Q12845|Q12845]]||[[{{wikidata|label|linked|Q12845}}]]||{{wikidata|title|linked|Q12845}}||Ilocos Sur||Bayan
|-
|1581||Nagbukel||[[:wikidata:Q12848|Q12848]]||[[{{wikidata|label|linked|Q12848}}]]||{{wikidata|title|linked|Q12848}}||Ilocos Sur||Bayan
|-
|1582||Narvacan||[[:wikidata:Q12850|Q12850]]||[[{{wikidata|label|linked|Q12850}}]]||{{wikidata|title|linked|Q12850}}||Ilocos Sur||Bayan
|-
|1583||Quirino||[[:wikidata:Q12853|Q12853]]||[[{{wikidata|label|linked|Q12853}}]]||{{wikidata|title|linked|Q12853}}||Ilocos Sur||Bayan
|-
|1584||Salcedo||[[:wikidata:Q12856|Q12856]]||[[{{wikidata|label|linked|Q12856}}]]||{{wikidata|title|linked|Q12856}}||Ilocos Sur||Bayan
|-
|1585||San Emilio||[[:wikidata:Q12859|Q12859]]||[[{{wikidata|label|linked|Q12859}}]]||{{wikidata|title|linked|Q12859}}||Ilocos Sur||Bayan
|-
|1586||San Esteban||[[:wikidata:Q12863|Q12863]]||[[{{wikidata|label|linked|Q12863}}]]||{{wikidata|title|linked|Q12863}}||Ilocos Sur||Bayan
|-
|1587||San Ildefonso||[[:wikidata:Q12864|Q12864]]||[[{{wikidata|label|linked|Q12864}}]]||{{wikidata|title|linked|Q12864}}||Ilocos Sur||Bayan
|-
|1588||San Juan||[[:wikidata:Q12867|Q12867]]||[[{{wikidata|label|linked|Q12867}}]]||{{wikidata|title|linked|Q12867}}||Ilocos Sur||Bayan
|-
|1589||San Vicente||[[:wikidata:Q12868|Q12868]]||[[{{wikidata|label|linked|Q12868}}]]||{{wikidata|title|linked|Q12868}}||Ilocos Sur||Bayan
|-
|1590||Santa||[[:wikidata:Q12873|Q12873]]||[[{{wikidata|label|linked|Q12873}}]]||{{wikidata|title|linked|Q12873}}||Ilocos Sur||Bayan
|-
|1591||Santa Catalina||[[:wikidata:Q12875|Q12875]]||[[{{wikidata|label|linked|Q12875}}]]||{{wikidata|title|linked|Q12875}}||Ilocos Sur||Bayan
|-
|1592||Santa Cruz||[[:wikidata:Q12880|Q12880]]||[[{{wikidata|label|linked|Q12880}}]]||{{wikidata|title|linked|Q12880}}||Ilocos Sur||Bayan
|-
|1593||Santa Lucia||[[:wikidata:Q12882|Q12882]]||[[{{wikidata|label|linked|Q12882}}]]||{{wikidata|title|linked|Q12882}}||Ilocos Sur||Bayan
|-
|1594||Santa Maria||[[:wikidata:Q12692|Q12692]]||[[{{wikidata|label|linked|Q12692}}]]||{{wikidata|title|linked|Q12692}}||Ilocos Sur||Bayan
|-
|1595||Santiago||[[:wikidata:Q12884|Q12884]]||[[{{wikidata|label|linked|Q12884}}]]||{{wikidata|title|linked|Q12884}}||Ilocos Sur||Bayan
|-
|1596||Santo Domingo||[[:wikidata:Q12885|Q12885]]||[[{{wikidata|label|linked|Q12885}}]]||{{wikidata|title|linked|Q12885}}||Ilocos Sur||Bayan
|-
|1597||Sigay||[[:wikidata:Q12888|Q12888]]||[[{{wikidata|label|linked|Q12888}}]]||{{wikidata|title|linked|Q12888}}||Ilocos Sur||Bayan
|-
|1598||Sinait||[[:wikidata:Q12891|Q12891]]||[[{{wikidata|label|linked|Q12891}}]]||{{wikidata|title|linked|Q12891}}||Ilocos Sur||Bayan
|-
|1599||Sugpon||[[:wikidata:Q12893|Q12893]]||[[{{wikidata|label|linked|Q12893}}]]||{{wikidata|title|linked|Q12893}}||Ilocos Sur||Bayan
|-
|1600||Suyo||[[:wikidata:Q12894|Q12894]]||[[{{wikidata|label|linked|Q12894}}]]||{{wikidata|title|linked|Q12894}}||Ilocos Sur||Bayan
|-
|1601||Tagudin||[[:wikidata:Q12895|Q12895]]||[[{{wikidata|label|linked|Q12895}}]]||{{wikidata|title|linked|Q12895}}||Ilocos Sur||Bayan
|-
|1602||Vigan||[[:wikidata:Q235004|Q235004]]||[[{{wikidata|label|linked|Q235004}}]]||{{wikidata|title|linked|Q235004}}||Ilocos Sur||Lungsod
|-
|1603||Adams||[[:wikidata:Q39241|Q39241]]||[[{{wikidata|label|linked|Q39241}}]]||{{wikidata|title|linked|Q39241}}||Ilocos Norte||Bayan
|-
|1604||Bacarra||[[:wikidata:Q39271|Q39271]]||[[{{wikidata|label|linked|Q39271}}]]||{{wikidata|title|linked|Q39271}}||Ilocos Norte||Bayan
|-
|1605||Badoc||[[:wikidata:Q39303|Q39303]]||[[{{wikidata|label|linked|Q39303}}]]||{{wikidata|title|linked|Q39303}}||Ilocos Norte||Bayan
|-
|1606||Bangui||[[:wikidata:Q39326|Q39326]]||[[{{wikidata|label|linked|Q39326}}]]||{{wikidata|title|linked|Q39326}}||Ilocos Norte||Bayan
|-
|1607||Banna||[[:wikidata:Q39346|Q39346]]||[[{{wikidata|label|linked|Q39346}}]]||{{wikidata|title|linked|Q39346}}||Ilocos Norte||Bayan
|-
|1608||Batac||[[:wikidata:Q39711|Q39711]]||[[{{wikidata|label|linked|Q39711}}]]||{{wikidata|title|linked|Q39711}}||Ilocos Norte||Lungsod
|-
|1609||Burgos||[[:wikidata:Q39368|Q39368]]||[[{{wikidata|label|linked|Q39368}}]]||{{wikidata|title|linked|Q39368}}||Ilocos Norte||Bayan
|-
|1610||Carasi||[[:wikidata:Q39393|Q39393]]||[[{{wikidata|label|linked|Q39393}}]]||{{wikidata|title|linked|Q39393}}||Ilocos Norte||Bayan
|-
|1611||Currimao||[[:wikidata:Q39416|Q39416]]||[[{{wikidata|label|linked|Q39416}}]]||{{wikidata|title|linked|Q39416}}||Ilocos Norte||Bayan
|-
|1612||Dingras||[[:wikidata:Q39429|Q39429]]||[[{{wikidata|label|linked|Q39429}}]]||{{wikidata|title|linked|Q39429}}||Ilocos Norte||Bayan
|-
|1613||Dumalneg||[[:wikidata:Q39511|Q39511]]||[[{{wikidata|label|linked|Q39511}}]]||{{wikidata|title|linked|Q39511}}||Ilocos Norte||Bayan
|-
|1614||Laoag||[[:wikidata:Q39738|Q39738]]||[[{{wikidata|label|linked|Q39738}}]]||{{wikidata|title|linked|Q39738}}||Ilocos Norte||Lungsod
|-
|1615||Marcos||[[:wikidata:Q39523|Q39523]]||[[{{wikidata|label|linked|Q39523}}]]||{{wikidata|title|linked|Q39523}}||Ilocos Norte||Bayan
|-
|1616||Nueva Era||[[:wikidata:Q39540|Q39540]]||[[{{wikidata|label|linked|Q39540}}]]||{{wikidata|title|linked|Q39540}}||Ilocos Norte||Bayan
|-
|1617||Pagudpud||[[:wikidata:Q39559|Q39559]]||[[{{wikidata|label|linked|Q39559}}]]||{{wikidata|title|linked|Q39559}}||Ilocos Norte||Bayan
|-
|1618||Paoay||[[:wikidata:Q39573|Q39573]]||[[{{wikidata|label|linked|Q39573}}]]||{{wikidata|title|linked|Q39573}}||Ilocos Norte||Bayan
|-
|1619||Pasuquin||[[:wikidata:Q39591|Q39591]]||[[{{wikidata|label|linked|Q39591}}]]||{{wikidata|title|linked|Q39591}}||Ilocos Norte||Bayan
|-
|1620||Piddig||[[:wikidata:Q39616|Q39616]]||[[{{wikidata|label|linked|Q39616}}]]||{{wikidata|title|linked|Q39616}}||Ilocos Norte||Bayan
|-
|1621||Pinili||[[:wikidata:Q39629|Q39629]]||[[{{wikidata|label|linked|Q39629}}]]||{{wikidata|title|linked|Q39629}}||Ilocos Norte||Bayan
|-
|1622||San Nicolas||[[:wikidata:Q39653|Q39653]]||[[{{wikidata|label|linked|Q39653}}]]||{{wikidata|title|linked|Q39653}}||Ilocos Norte||Bayan
|-
|1623||Sarrat||[[:wikidata:Q39673|Q39673]]||[[{{wikidata|label|linked|Q39673}}]]||{{wikidata|title|linked|Q39673}}||Ilocos Norte||Bayan
|-
|1624||Solsona||[[:wikidata:Q39677|Q39677]]||[[{{wikidata|label|linked|Q39677}}]]||{{wikidata|title|linked|Q39677}}||Ilocos Norte||Bayan
|-
|1625||Vintar||[[:wikidata:Q39694|Q39694]]||[[{{wikidata|label|linked|Q39694}}]]||{{wikidata|title|linked|Q39694}}||Ilocos Norte||Bayan
|-
|1626||Caloocan||[[:wikidata:Q1478|Q1478]]||[[{{wikidata|label|linked|Q1478}}]]||{{wikidata|title|linked|Q1478}}||Metro Manila||Lungsod
|-
|1627||Las Piñas||[[:wikidata:Q8854|Q8854]]||[[{{wikidata|label|linked|Q8854}}]]||{{wikidata|title|linked|Q8854}}||Metro Manila||Lungsod
|-
|1628||Makati||[[:wikidata:Q1508|Q1508]]||[[{{wikidata|label|linked|Q1508}}]]||{{wikidata|title|linked|Q1508}}||Metro Manila||Lungsod
|-
|1629||Malabon||[[:wikidata:Q8861|Q8861]]||[[{{wikidata|label|linked|Q8861}}]]||{{wikidata|title|linked|Q8861}}||Metro Manila||Lungsod
|-
|1630||Mandaluyong||[[:wikidata:Q9085|Q9085]]||[[{{wikidata|label|linked|Q9085}}]]||{{wikidata|title|linked|Q9085}}||Metro Manila||Lungsod
|-
|1631||Manila||[[:wikidata:Q1461|Q1461]]||[[{{wikidata|label|linked|Q1461}}]]||{{wikidata|title|linked|Q1461}}||Metro Manila||Lungsod
|-
|1632||Marikina||[[:wikidata:Q17175|Q17175]]||[[{{wikidata|label|linked|Q17175}}]]||{{wikidata|title|linked|Q17175}}||Metro Manila||Lungsod
|-
|1633||Muntinlupa||[[:wikidata:Q17176|Q17176]]||[[{{wikidata|label|linked|Q17176}}]]||{{wikidata|title|linked|Q17176}}||Metro Manila||Lungsod
|-
|1634||Navotas||[[:wikidata:Q17179|Q17179]]||[[{{wikidata|label|linked|Q17179}}]]||{{wikidata|title|linked|Q17179}}||Metro Manila||Lungsod
|-
|1635||Parañaque||[[:wikidata:Q17182|Q17182]]||[[{{wikidata|label|linked|Q17182}}]]||{{wikidata|title|linked|Q17182}}||Metro Manila||Lungsod
|-
|1636||Pasay||[[:wikidata:Q17189|Q17189]]||[[{{wikidata|label|linked|Q17189}}]]||{{wikidata|title|linked|Q17189}}||Metro Manila||Lungsod
|-
|1637||Pasig||[[:wikidata:Q1624|Q1624]]||[[{{wikidata|label|linked|Q1624}}]]||{{wikidata|title|linked|Q1624}}||Metro Manila||Lungsod
|-
|1638||Pateros||[[:wikidata:Q1017325|Q1017325]]||[[{{wikidata|label|linked|Q1017325}}]]||{{wikidata|title|linked|Q1017325}}||Metro Manila||Bayan
|-
|1639||Quezon City||[[:wikidata:Q1475|Q1475]]||[[{{wikidata|label|linked|Q1475}}]]||{{wikidata|title|linked|Q1475}}||Metro Manila||Lungsod
|-
|1640||San Juan||[[:wikidata:Q749283|Q749283]]||[[{{wikidata|label|linked|Q749283}}]]||{{wikidata|title|linked|Q749283}}||Metro Manila||Lungsod
|-
|1641||Taguig||[[:wikidata:Q1643|Q1643]]||[[{{wikidata|label|linked|Q1643}}]]||{{wikidata|title|linked|Q1643}}||Metro Manila||Lungsod
|-
|1642||Valenzuela||[[:wikidata:Q1623|Q1623]]||[[{{wikidata|label|linked|Q1623}}]]||{{wikidata|title|linked|Q1623}}||Metro Manila||Lungsod
|}
{| class="wikitable sortable" style="background-color:white;font-size:80%;line-height:1.40em;"
!No!!Prov!!Wikidata!!Template1!!Template 2
|-
|1||Abra||[[:wikidata:Q6667081|Q6667081]]||[[{{wikidata|label|linked|Q6667081}}]]||{{wikidata|title|linked|Q6667081}}
|-
|2||Agusan del Norte||[[:wikidata:Q6672367|Q6672367]]||[[{{wikidata|label|linked|Q6672367}}]]||{{wikidata|title|linked|Q6672367}}
|-
|3||Agusan del Sur||[[:wikidata:Q6672373|Q6672373]]||[[{{wikidata|label|linked|Q6672373}}]]||{{wikidata|title|linked|Q6672373}}
|-
|4||Aklan||[[:wikidata:Q9123556|Q9123556]]||[[{{wikidata|label|linked|Q9123556}}]]||{{wikidata|title|linked|Q9123556}}
|-
|5||Albay||[[:wikidata:Q6675078|Q6675078]]||[[{{wikidata|label|linked|Q6675078}}]]||{{wikidata|title|linked|Q6675078}}
|-
|6||Antique||[[:wikidata:Q10603352|Q10603352]]||[[{{wikidata|label|linked|Q10603352}}]]||{{wikidata|title|linked|Q10603352}}
|-
|7||Apayao||[[:wikidata:Q6681609|Q6681609]]||[[{{wikidata|label|linked|Q6681609}}]]||{{wikidata|title|linked|Q6681609}}
|-
|8||Aurora||[[:wikidata:Q6702159|Q6702159]]||[[{{wikidata|label|linked|Q6702159}}]]||{{wikidata|title|linked|Q6702159}}
|-
|9||Basilan||[[:wikidata:Q10567105|Q10567105]]||[[{{wikidata|label|linked|Q10567105}}]]||{{wikidata|title|linked|Q10567105}}
|-
|10||Bataan||[[:wikidata:Q10567110|Q10567110]]||[[{{wikidata|label|linked|Q10567110}}]]||{{wikidata|title|linked|Q10567110}}
|-
|11||Batanes||[[:wikidata:Q6712794|Q6712794]]||[[{{wikidata|label|linked|Q6712794}}]]||{{wikidata|title|linked|Q6712794}}
|-
|12||Batangas||[[:wikidata:Q6712771|Q6712771]]||[[{{wikidata|label|linked|Q6712771}}]]||{{wikidata|title|linked|Q6712771}}
|-
|13||Benguet||[[:wikidata:Q6715894|Q6715894]]||[[{{wikidata|label|linked|Q6715894}}]]||{{wikidata|title|linked|Q6715894}}
|-
|14||Biliran||[[:wikidata:Q6718456|Q6718456]]||[[{{wikidata|label|linked|Q6718456}}]]||{{wikidata|title|linked|Q6718456}}
|-
|15||Bohol||[[:wikidata:Q6722119|Q6722119]]||[[{{wikidata|label|linked|Q6722119}}]]||{{wikidata|title|linked|Q6722119}}
|-
|16||Bukidnon||[[:wikidata:Q6732301|Q6732301]]||[[{{wikidata|label|linked|Q6732301}}]]||{{wikidata|title|linked|Q6732301}}
|-
|17||Bulacan||[[:wikidata:Q6084786|Q6084786]]||[[{{wikidata|label|linked|Q6084786}}]]||{{wikidata|title|linked|Q6084786}}
|-
|18||Cagayan||[[:wikidata:Q6740144|Q6740144]]||[[{{wikidata|label|linked|Q6740144}}]]||{{wikidata|title|linked|Q6740144}}
|-
|19||Camarines Norte||[[:wikidata:Q10567180|Q10567180]]||[[{{wikidata|label|linked|Q10567180}}]]||{{wikidata|title|linked|Q10567180}}
|-
|20||Camarines Sur||[[:wikidata:Q10566893|Q10566893]]||[[{{wikidata|label|linked|Q10566893}}]]||{{wikidata|title|linked|Q10566893}}
|-
|21||Camiguin||[[:wikidata:Q6855053|Q6855053]]||[[{{wikidata|label|linked|Q6855053}}]]||{{wikidata|title|linked|Q6855053}}
|-
|22||Capiz||[[:wikidata:Q6863001|Q6863001]]||[[{{wikidata|label|linked|Q6863001}}]]||{{wikidata|title|linked|Q6863001}}
|-
|23||Catanduanes||[[:wikidata:Q6864702|Q6864702]]||[[{{wikidata|label|linked|Q6864702}}]]||{{wikidata|title|linked|Q6864702}}
|-
|24||Cavite||[[:wikidata:Q6866729|Q6866729]]||[[{{wikidata|label|linked|Q6866729}}]]||{{wikidata|title|linked|Q6866729}}
|-
|25||Cebu||[[:wikidata:Q10567205|Q10567205]]||[[{{wikidata|label|linked|Q10567205}}]]||{{wikidata|title|linked|Q10567205}}
|-
|26||Cotabato||[[:wikidata:Q7658126|Q7658126]]||[[{{wikidata|label|linked|Q7658126}}]]||{{wikidata|title|linked|Q7658126}}
|-
|27||Davao de Oro||[[:wikidata:Q7646238|Q7646238]]||[[{{wikidata|label|linked|Q7646238}}]]||{{wikidata|title|linked|Q7646238}}
|-
|28||Davao del Norte||[[:wikidata:Q10604243|Q10604243]]||[[{{wikidata|label|linked|Q10604243}}]]||{{wikidata|title|linked|Q10604243}}
|-
|29||Davao del Sur||[[:wikidata:Q10592691|Q10592691]]||[[{{wikidata|label|linked|Q10592691}}]]||{{wikidata|title|linked|Q10592691}}
|-
|30||Davao Occidental||[[:wikidata:Q15293293|Q15293293]]||[[{{wikidata|label|linked|Q15293293}}]]||{{wikidata|title|linked|Q15293293}}
|-
|31||Davao Oriental||[[:wikidata:Q10604433|Q10604433]]||[[{{wikidata|label|linked|Q10604433}}]]||{{wikidata|title|linked|Q10604433}}
|-
|32||Dinagat Islands||[[:wikidata:Q10604624|Q10604624]]||[[{{wikidata|label|linked|Q10604624}}]]||{{wikidata|title|linked|Q10604624}}
|-
|33||Eastern Samar||[[:wikidata:Q10604506|Q10604506]]||[[{{wikidata|label|linked|Q10604506}}]]||{{wikidata|title|linked|Q10604506}}
|-
|34||Guimaras||[[:wikidata:Q10594151|Q10594151]]||[[{{wikidata|label|linked|Q10594151}}]]||{{wikidata|title|linked|Q10594151}}
|-
|35||Ifugao||[[:wikidata:Q10604772|Q10604772]]||[[{{wikidata|label|linked|Q10604772}}]]||{{wikidata|title|linked|Q10604772}}
|-
|36||Ilocos Norte||[[:wikidata:Q10604952|Q10604952]]||[[{{wikidata|label|linked|Q10604952}}]]||{{wikidata|title|linked|Q10604952}}
|-
|37||Ilocos Sur||[[:wikidata:Q10605096|Q10605096]]||[[{{wikidata|label|linked|Q10605096}}]]||{{wikidata|title|linked|Q10605096}}
|-
|38||Iloilo||[[:wikidata:Q10605236|Q10605236]]||[[{{wikidata|label|linked|Q10605236}}]]||{{wikidata|title|linked|Q10605236}}
|-
|39||Isabela||[[:wikidata:Q10605366|Q10605366]]||[[{{wikidata|label|linked|Q10605366}}]]||{{wikidata|title|linked|Q10605366}}
|-
|40||Kalinga||[[:wikidata:Q10605506|Q10605506]]||[[{{wikidata|label|linked|Q10605506}}]]||{{wikidata|title|linked|Q10605506}}
|-
|41||La Union||[[:wikidata:Q11985049|Q11985049]]||[[{{wikidata|label|linked|Q11985049}}]]||{{wikidata|title|linked|Q11985049}}
|-
|42||Laguna||[[:wikidata:Q11985070|Q11985070]]||[[{{wikidata|label|linked|Q11985070}}]]||{{wikidata|title|linked|Q11985070}}
|-
|43||Lanao del Norte||[[:wikidata:Q11707007|Q11707007]]||[[{{wikidata|label|linked|Q11707007}}]]||{{wikidata|title|linked|Q11707007}}
|-
|44||Lanao del Sur||[[:wikidata:Q11985083|Q11985083]]||[[{{wikidata|label|linked|Q11985083}}]]||{{wikidata|title|linked|Q11985083}}
|-
|45||Leyte||[[:wikidata:Q11985059|Q11985059]]||[[{{wikidata|label|linked|Q11985059}}]]||{{wikidata|title|linked|Q11985059}}
|-
|46||Maguindanao del Norte||[[:wikidata:Q114293050|Q114293050]]||[[{{wikidata|label|linked|Q114293050}}]]||{{wikidata|title|linked|Q114293050}}
|-
|47||Maguindanao del Sur||[[:wikidata:Q114294452|Q114294452]]||[[{{wikidata|label|linked|Q114294452}}]]||{{wikidata|title|linked|Q114294452}}
|-
|48||Marinduque||[[:wikidata:Q11985062|Q11985062]]||[[{{wikidata|label|linked|Q11985062}}]]||{{wikidata|title|linked|Q11985062}}
|-
|49||Masbate||[[:wikidata:Q11985063|Q11985063]]||[[{{wikidata|label|linked|Q11985063}}]]||{{wikidata|title|linked|Q11985063}}
|-
|50||Misamis Occidental||[[:wikidata:Q11708566|Q11708566]]||[[{{wikidata|label|linked|Q11708566}}]]||{{wikidata|title|linked|Q11708566}}
|-
|51||Misamis Oriental||[[:wikidata:Q11985074|Q11985074]]||[[{{wikidata|label|linked|Q11985074}}]]||{{wikidata|title|linked|Q11985074}}
|-
|52||Mountain Province||[[:wikidata:Q10651336|Q10651336]]||[[{{wikidata|label|linked|Q10651336}}]]||{{wikidata|title|linked|Q10651336}}
|-
|53||Negros Occidental||[[:wikidata:Q11985067|Q11985067]]||[[{{wikidata|label|linked|Q11985067}}]]||{{wikidata|title|linked|Q11985067}}
|-
|54||Negros Oriental||[[:wikidata:Q11985066|Q11985066]]||[[{{wikidata|label|linked|Q11985066}}]]||{{wikidata|title|linked|Q11985066}}
|-
|55||Northern Samar||[[:wikidata:Q9123634|Q9123634]]||[[{{wikidata|label|linked|Q9123634}}]]||{{wikidata|title|linked|Q9123634}}
|-
|56||Nueva Ecija||[[:wikidata:Q6081752|Q6081752]]||[[{{wikidata|label|linked|Q6081752}}]]||{{wikidata|title|linked|Q6081752}}
|-
|57||Nueva Vizcaya||[[:wikidata:Q11985048|Q11985048]]||[[{{wikidata|label|linked|Q11985048}}]]||{{wikidata|title|linked|Q11985048}}
|-
|58||Occidental Mindoro||[[:wikidata:Q11985069|Q11985069]]||[[{{wikidata|label|linked|Q11985069}}]]||{{wikidata|title|linked|Q11985069}}
|-
|59||Oriental Mindoro||[[:wikidata:Q6081797|Q6081797]]||[[{{wikidata|label|linked|Q6081797}}]]||{{wikidata|title|linked|Q6081797}}
|-
|60||Palawan||[[:wikidata:Q11985072|Q11985072]]||[[{{wikidata|label|linked|Q11985072}}]]||{{wikidata|title|linked|Q11985072}}
|-
|61||Pampanga||[[:wikidata:Q11985061|Q11985061]]||[[{{wikidata|label|linked|Q11985061}}]]||{{wikidata|title|linked|Q11985061}}
|-
|62||Pangasinan||[[:wikidata:Q11985050|Q11985050]]||[[{{wikidata|label|linked|Q11985050}}]]||{{wikidata|title|linked|Q11985050}}
|-
|63||Quezon||[[:wikidata:Q6082606|Q6082606]]||[[{{wikidata|label|linked|Q6082606}}]]||{{wikidata|title|linked|Q6082606}}
|-
|64||Quirino||[[:wikidata:Q12015908|Q12015908]]||[[{{wikidata|label|linked|Q12015908}}]]||{{wikidata|title|linked|Q12015908}}
|-
|65||Rizal||[[:wikidata:Q6084521|Q6084521]]||[[{{wikidata|label|linked|Q6084521}}]]||{{wikidata|title|linked|Q6084521}}
|-
|66||Romblon||[[:wikidata:Q11985057|Q11985057]]||[[{{wikidata|label|linked|Q11985057}}]]||{{wikidata|title|linked|Q11985057}}
|-
|67||Samar||[[:wikidata:Q11925829|Q11925829]]||[[{{wikidata|label|linked|Q11925829}}]]||{{wikidata|title|linked|Q11925829}}
|-
|68||Sarangani||[[:wikidata:Q11985082|Q11985082]]||[[{{wikidata|label|linked|Q11985082}}]]||{{wikidata|title|linked|Q11985082}}
|-
|69||Siquijor||[[:wikidata:Q11336539|Q11336539]]||[[{{wikidata|label|linked|Q11336539}}]]||{{wikidata|title|linked|Q11336539}}
|-
|70||Sorsogon||[[:wikidata:Q11985058|Q11985058]]||[[{{wikidata|label|linked|Q11985058}}]]||{{wikidata|title|linked|Q11985058}}
|-
|71||South Cotabato||[[:wikidata:Q7762450|Q7762450]]||[[{{wikidata|label|linked|Q7762450}}]]||{{wikidata|title|linked|Q7762450}}
|-
|72||Southern Leyte||[[:wikidata:Q7761728|Q7761728]]||[[{{wikidata|label|linked|Q7761728}}]]||{{wikidata|title|linked|Q7761728}}
|-
|73||Sultan Kudarat||[[:wikidata:Q11336523|Q11336523]]||[[{{wikidata|label|linked|Q11336523}}]]||{{wikidata|title|linked|Q11336523}}
|-
|74||Sulu||[[:wikidata:Q11336511|Q11336511]]||[[{{wikidata|label|linked|Q11336511}}]]||{{wikidata|title|linked|Q11336511}}
|-
|75||Surigao del Norte||[[:wikidata:Q11336517|Q11336517]]||[[{{wikidata|label|linked|Q11336517}}]]||{{wikidata|title|linked|Q11336517}}
|-
|76||Surigao del Sur||[[:wikidata:Q11336514|Q11336514]]||[[{{wikidata|label|linked|Q11336514}}]]||{{wikidata|title|linked|Q11336514}}
|-
|77||Tarlac||[[:wikidata:Q11336497|Q11336497]]||[[{{wikidata|label|linked|Q11336497}}]]||{{wikidata|title|linked|Q11336497}}
|-
|78||Tawi-Tawi||[[:wikidata:Q11336499|Q11336499]]||[[{{wikidata|label|linked|Q11336499}}]]||{{wikidata|title|linked|Q11336499}}
|-
|79||Zambales||[[:wikidata:Q10858709|Q10858709]]||[[{{wikidata|label|linked|Q10858709}}]]||{{wikidata|title|linked|Q10858709}}
|-
|80||Zamboanga del Norte||[[:wikidata:Q10858740|Q10858740]]||[[{{wikidata|label|linked|Q10858740}}]]||{{wikidata|title|linked|Q10858740}}
|-
|81||Zamboanga del Sur||[[:wikidata:Q10858708|Q10858708]]||[[{{wikidata|label|linked|Q10858708}}]]||{{wikidata|title|linked|Q10858708}}
|-
|82||Zamboanga Sibugay||[[:wikidata:Q10858742|Q10858742]]||[[{{wikidata|label|linked|Q10858742}}]]||{{wikidata|title|linked|Q10858742}}
|}
sluom0q2oxjlhm48m11mjyqs72icjxd
Template:Infobox location
10
7148
70330
2026-04-25T03:26:51Z
Exec8
6243
.
70330
wikitext
text/x-wiki
<includeonly>{{Infobox settlement
|name = {{{name|{{#invoke:wd|label|{{{qid|}}}}}}}}
|native_name = {{{native_name|}}}
|official_name = {{{official_name|}}}
|settlement_type = {{{settlement_type|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P31}}}}}}}
|image_skyline = {{{image_skyline|{{#invoke:wd|property|raw|best|{{{qid|}}}|P18}}}}}
|image_alt = {{{image_alt|}}}
|image_caption = {{{image_caption|<!--{{#if:{{{image_skyline|}}}|{{{image_caption|}}}|{{#if:{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|Image of {{#if:{{{name|}}}|{{{name}}}|{{#invoke:wd|label|{{{qid|}}}}}}}}}}}--> }}}
|image_size = {{{image_size|280px}}}
|image_flag = {{{image_flag|{{#invoke:wd|property|raw|best|{{{qid|}}}|P41}}}}}
|flag_alt = {{{flag_alt|}}}
|flag_size = {{{flag_size|110x80px}}}
|image_seal = {{{image_seal|{{#invoke:wd|property|raw|best|{{{qid|}}}|P158}}}}}
|seal_alt = {{{seal_alt|}}}
|seal_size = {{{seal_size|100x80px}}}
|image_shield = {{{image_shield|{{#if:{{main other|{{#property:P158}}|{{#property:P158|from={{{qid|}}}}}}}||{{#invoke:wd|property|raw|best|{{{qid|}}}|P94}}}}}}}
|shield_alt = {{{shield_alt|}}}
|shield_size = {{{shield_size|100x80px}}}
|nickname = {{{nickname|}}}
|motto = {{{motto|}}}
|image_map = {{{image_map|{{#invoke:wd|property|raw|best|{{{qid|}}}|P242}} }}}
|mapsize = {{{mapsize|280px}}}
|map_alt = {{{map_alt|Mapa {{safesubst:ifnotempty| {{safesubst:wikidata|property|preferred|P131}} | {{safesubst:wikidata|property|preferred|linked|P131}} | {{safesubst:#invoke:Wikidata|getValue|P131|FETCH_WIKIDATA}} }} nian ho {{safesubst:#invoke:string|replace|{{safesubst:PAGENAME}}|, .*||plain=false}} destakadu {{#invoke:wd|label|{{{qid|}}}}}}}}
|map_caption = {{{map_caption|Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}}}}
|pushpin_map = {{{pushpin_map|}}}
|pushpin_label_position = {{{pushpin_label_position|}}}
|pushpin_label = {{{pushpin_label|}}}
|pushpin_map_alt = {{{pushpin_map_alt|}}}
|pushpin_mapsize = {{{pushpin_mapsize|280px}}}
|pushpin_relief = {{{pushpin_relief|}}}
|pushpin_map_caption = {{{pushpin_map_caption|}}}
|pushpin_map2 = {{#if:{{{pushpin_map|}}}||{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{#tag:mapframe|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|width = 280
|height = 280
|align = center
|frameless = yes
|lang = {{{lang|}}}
}}|}} }}
|pushpin_map2_coord = {{#if:{{{pushpin_map|}}}|{{coord|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}}}}}
|coordinates = {{{coordinates|{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{coord/display/{{main other|inline,title|inline}}|{{#tag:maplink|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|lang = {{{lang|}}}
}} }} |}} }}}
|coordinates_footnotes = {{{coordinates_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P625}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P625}} }} }}}
|subdivision_type = {{{subdivision_type|Subdivizaun}}}
|subdivision_name = {{{subdivision_name|{{#invoke:wd|property|linked|{{{qid|}}}|P17}}}}}
| parts_type = [[Barangay]]
| parts_style = para
| p1 = {{PH Barangay count | {{wikidata|label|raw}} }}
|established_title = {{{established_title|{{#if:{{main other|{{#property:P571}}|{{#property:P571|from={{{qid|}}}}}}}|Angipaletnegan|}}}}}
|established_date = {{{established_date|{{#ifeq:{{{dateformat}}}|dmy|{{PAGENAMEBASE|{{#invoke:wd|property|{{{qid|}}}|P571}}}}|{{PAGENAMEBASE|{{#invoke:wd|property|mdy|{{{qid|}}}|P571}}}} }} }}}
|seat_type = {{{seat_type|{{#if:{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}|Kabesera|}}}}}
|seat = {{{seat|{{#if:{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}}}}}}
|leader_title = {{{leader_title|{{#if:{{main other|{{#property:P6}}|{{#property:P6|from={{{qid|}}}}}}}|{{#if:{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|Pangulo}}}}}}}
|leader_name = {{#property:P6}}
|area_footnotes = {{{area_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P2046}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P2046}} }} }}}
|area_total_km2 = {{{area_total_km2|{{#if:{{main other|{{#property:P2046}}|{{#property:P2046|from={{{qid|}}}}}}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square meter|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} m2|km2|disp=output number only|comma=off}}|2}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square kilometer|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} km2|km2|disp=output number only|comma=off}}|2}}|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} }} }} }} }}}
|elevation_m = {{{elevation_m|{{#ifexpr:{{#invoke:String|find|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|foot}}||{{#invoke:String|replace|{{#invoke:string|replace|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|±[%d%.][%d%.]*||plain=false}}|meter}}}}}}}
|population_footnotes = {{{population_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}}|{{#invoke:wd|references|mdy|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}} }} }}}
|population_as_of = {{{population_as_of|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|qualifier|normal+|single|{{{qid|}}}|P1082|P585}}|{{#invoke:wd|qualifier|mdy|normal+|single|{{{qid|}}}|P1082|P585}} }} }}}
|population_total = {{{population_total|{{#invoke:wd|property|current|{{{qid|}}}|P1082}} }}}
|population_density_km2 = {{{population_density_km2|auto}}}
|timezone = {{{timezone|{{#invoke:wd|properties|linked|{{{qid|}}}|P421}}}}}
|postal_code_type = {{{postal_code_type|Kódigu postál na postal}}}
|postal_code = {{{postal_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P281}}}}}
|area_code = {{{area_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P473}}}}}
|website = {{{website|{{#if:{{main other|{{#property:P856}}|{{#property:P856|from={{{qid|}}}}}}}|{{URL|{{#invoke:wd|property|raw|best|{{{qid|}}}|P856}}}}|}}}}}
| demographics_type1 = {{#if:{{#property:P3087}}| Ekonomia}}
| demographics1_title1 = Klase
| demographics1_info1 = {{#ifeq:{{#property:P1879}}|no value|{{void}}|{{PH wikidata|income_class}}}}
| demographics1_title2 =
| demographics1_info2 =
| demographics1_title3 = Reseita
| demographics1_info3 = {{#if:{{#property:P3087}}| {{PH wikidata|revenue}} ({{wikidata|qualifier|single|P3087|P585}})}}
| demographics1_title4 =
| demographics1_info4 =
| demographics1_title5 = Riku-soin
| demographics1_info5 = {{#if:{{#property:P2403}}| {{PH wikidata|assets}} ({{wikidata|qualifier|single|P2403|P585}})}}
| demographics1_title6 =
| demographics1_info6 =
| demographics1_title7 = Obrigasaun sira
| demographics1_info7 = {{#if:{{#property:P2138}}| {{PH wikidata|liabilities}} ({{wikidata|qualifier|single|P2138|P585}})}}
| demographics1_title8 =
| demographics1_info8 =
| demographics1_title9 = Gastu
| demographics1_info9 = {{#if:{{#property:P2402}}| {{PH wikidata|expenditure}} ({{wikidata|qualifier|single|P2402|P585}})}}
| demographics1_title10 =
| demographics1_info10 =
|footnotes = {{{footnotes|{{#if:{{#invoke:Wikidata|pageId}}||{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{error|Erru!}} Data will appear when article is linked to Wikidata.[[Category:Articles using Template:Infobox location not linked to Wikidata]]}}}} }}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
jvy1eftt9di35nde60g1h0lwczmwze2
70412
70330
2026-04-25T04:18:25Z
Exec8
6243
70412
wikitext
text/x-wiki
<includeonly>{{Infobox settlement
|name = {{{name|{{#invoke:wd|label|{{{qid|}}}}}}}}
|native_name = {{{native_name|}}}
|official_name = {{{official_name|}}}
|settlement_type = {{{settlement_type|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P31}}}}}}}
|image_skyline = {{{image_skyline|{{#invoke:wd|property|raw|best|{{{qid|}}}|P18}}}}}
|image_alt = {{{image_alt|}}}
|image_caption = {{{image_caption|<!--{{#if:{{{image_skyline|}}}|{{{image_caption|}}}|{{#if:{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|Image of {{#if:{{{name|}}}|{{{name}}}|{{#invoke:wd|label|{{{qid|}}}}}}}}}}}--> }}}
|image_size = {{{image_size|280px}}}
|image_flag = {{{image_flag|{{#invoke:wd|property|raw|best|{{{qid|}}}|P41}}}}}
|flag_alt = {{{flag_alt|}}}
|flag_size = {{{flag_size|110x80px}}}
|image_seal = {{{image_seal|{{#invoke:wd|property|raw|best|{{{qid|}}}|P158}}}}}
|seal_alt = {{{seal_alt|}}}
|seal_size = {{{seal_size|100x80px}}}
|image_shield = {{{image_shield|{{#if:{{main other|{{#property:P158}}|{{#property:P158|from={{{qid|}}}}}}}||{{#invoke:wd|property|raw|best|{{{qid|}}}|P94}}}}}}}
|shield_alt = {{{shield_alt|}}}
|shield_size = {{{shield_size|100x80px}}}
|nickname = {{{nickname|}}}
|motto = {{{motto|}}}
|image_map = {{{image_map|{{#invoke:wd|property|raw|best|{{{qid|}}}|P242}} }}}
|mapsize = {{{mapsize|280px}}}
|map_alt = {{{map_alt|Mapa {{safesubst:ifnotempty| {{safesubst:wikidata|property|preferred|P131}} | {{safesubst:wikidata|property|preferred|linked|P131}} | {{safesubst:#invoke:Wikidata|getValue|P131|FETCH_WIKIDATA}} }} nian ho {{safesubst:#invoke:string|replace|{{safesubst:PAGENAME}}|, .*||plain=false}} destakadu {{#invoke:wd|label|{{{qid|}}}}}}}}
|map_caption = {{{map_caption|Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}}}}
|pushpin_map = {{{pushpin_map|}}}
|pushpin_label_position = {{{pushpin_label_position|}}}
|pushpin_label = {{{pushpin_label|}}}
|pushpin_map_alt = {{{pushpin_map_alt|}}}
|pushpin_mapsize = {{{pushpin_mapsize|280px}}}
|pushpin_relief = {{{pushpin_relief|}}}
|pushpin_map_caption = {{{pushpin_map_caption|}}}
|pushpin_map2 = {{#if:{{{pushpin_map|}}}||{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{#tag:mapframe|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Fatin iha {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|width = 280
|height = 280
|align = center
|frameless = yes
|lang = {{{lang|}}}
}}|}} }}
|pushpin_map2_coord = {{#if:{{{pushpin_map|}}}|{{coord|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}}}}}
|coordinates = {{{coordinates|{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{coord/display/{{main other|inline,title|inline}}|{{#tag:maplink|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|lang = {{{lang|}}}
}} }} |}} }}}
|coordinates_footnotes = {{{coordinates_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P625}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P625}} }} }}}
|subdivision_type = {{{subdivision_type|Subdivizaun}}}
|subdivision_name = {{{subdivision_name|{{#invoke:wd|property|linked|{{{qid|}}}|P17}}}}}
| parts_type = [[Barangay]]
| parts_style = para
| p1 = {{PH Barangay count | {{wikidata|label|raw}} }}
|established_title = {{{established_title|{{#if:{{main other|{{#property:P571}}|{{#property:P571|from={{{qid|}}}}}}}|Angipaletnegan|}}}}}
|established_date = {{{established_date|{{#ifeq:{{{dateformat}}}|dmy|{{PAGENAMEBASE|{{#invoke:wd|property|{{{qid|}}}|P571}}}}|{{PAGENAMEBASE|{{#invoke:wd|property|mdy|{{{qid|}}}|P571}}}} }} }}}
|seat_type = {{{seat_type|{{#if:{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}|Kabesera|}}}}}
|seat = {{{seat|{{#if:{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}}}}}}
|leader_title = {{{leader_title|{{#if:{{main other|{{#property:P6}}|{{#property:P6|from={{{qid|}}}}}}}|{{#if:{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|Pangulo}}}}}}}
|leader_name = {{#property:P6}}
|area_footnotes = {{{area_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P2046}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P2046}} }} }}}
|area_total_km2 = {{{area_total_km2|{{#if:{{main other|{{#property:P2046}}|{{#property:P2046|from={{{qid|}}}}}}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square meter|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} m2|km2|disp=output number only|comma=off}}|2}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square kilometer|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} km2|km2|disp=output number only|comma=off}}|2}}|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} }} }} }} }}}
|elevation_m = {{{elevation_m|{{#ifexpr:{{#invoke:String|find|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|foot}}||{{#invoke:String|replace|{{#invoke:string|replace|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|±[%d%.][%d%.]*||plain=false}}|meter}}}}}}}
|population_footnotes = {{{population_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}}|{{#invoke:wd|references|mdy|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}} }} }}}
|population_as_of = {{{population_as_of|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|qualifier|normal+|single|{{{qid|}}}|P1082|P585}}|{{#invoke:wd|qualifier|mdy|normal+|single|{{{qid|}}}|P1082|P585}} }} }}}
|population_total = {{{population_total|{{#invoke:wd|property|current|{{{qid|}}}|P1082}} }}}
|population_density_km2 = {{{population_density_km2|auto}}}
|timezone = {{{timezone|{{#invoke:wd|properties|linked|{{{qid|}}}|P421}}}}}
|postal_code_type = {{{postal_code_type|Kódigu postál na postal}}}
|postal_code = {{{postal_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P281}}}}}
|area_code = {{{area_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P473}}}}}
|website = {{{website|{{#if:{{main other|{{#property:P856}}|{{#property:P856|from={{{qid|}}}}}}}|{{URL|{{#invoke:wd|property|raw|best|{{{qid|}}}|P856}}}}|}}}}}
| demographics_type1 = {{#if:{{#property:P3087}}| Ekonomia}}
| demographics1_title1 = Klase
| demographics1_info1 = {{#ifeq:{{#property:P1879}}|no value|{{void}}|{{PH wikidata|income_class}}}}
| demographics1_title2 =
| demographics1_info2 =
| demographics1_title3 = Reseita
| demographics1_info3 = {{#if:{{#property:P3087}}| {{PH wikidata|revenue}} ({{wikidata|qualifier|single|P3087|P585}})}}
| demographics1_title4 =
| demographics1_info4 =
| demographics1_title5 = Riku-soin
| demographics1_info5 = {{#if:{{#property:P2403}}| {{PH wikidata|assets}} ({{wikidata|qualifier|single|P2403|P585}})}}
| demographics1_title6 =
| demographics1_info6 =
| demographics1_title7 = Obrigasaun sira
| demographics1_info7 = {{#if:{{#property:P2138}}| {{PH wikidata|liabilities}} ({{wikidata|qualifier|single|P2138|P585}})}}
| demographics1_title8 =
| demographics1_info8 =
| demographics1_title9 = Gastu
| demographics1_info9 = {{#if:{{#property:P2402}}| {{PH wikidata|expenditure}} ({{wikidata|qualifier|single|P2402|P585}})}}
| demographics1_title10 =
| demographics1_info10 =
|footnotes = {{{footnotes|{{#if:{{#invoke:Wikidata|pageId}}||{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{error|Erru!}} Data will appear when article is linked to Wikidata.[[Category:Articles using Template:Infobox location not linked to Wikidata]]}}}} }}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
d57nee9xdd111fzw6d1qwpebg686a04
70413
70412
2026-04-25T04:19:00Z
Exec8
6243
70413
wikitext
text/x-wiki
<includeonly>{{Infobox settlement
|name = {{{name|{{#invoke:wd|label|{{{qid|}}}}}}}}
|native_name = {{{native_name|}}}
|official_name = {{{official_name|}}}
|settlement_type = {{{settlement_type|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P31}}}}}}}
|image_skyline = {{{image_skyline|{{#invoke:wd|property|raw|best|{{{qid|}}}|P18}}}}}
|image_alt = {{{image_alt|}}}
|image_caption = {{{image_caption|<!--{{#if:{{{image_skyline|}}}|{{{image_caption|}}}|{{#if:{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|Image of {{#if:{{{name|}}}|{{{name}}}|{{#invoke:wd|label|{{{qid|}}}}}}}}}}}--> }}}
|image_size = {{{image_size|280px}}}
|image_flag = {{{image_flag|{{#invoke:wd|property|raw|best|{{{qid|}}}|P41}}}}}
|flag_alt = {{{flag_alt|}}}
|flag_size = {{{flag_size|110x80px}}}
|image_seal = {{{image_seal|{{#invoke:wd|property|raw|best|{{{qid|}}}|P158}}}}}
|seal_alt = {{{seal_alt|}}}
|seal_size = {{{seal_size|100x80px}}}
|image_shield = {{{image_shield|{{#if:{{main other|{{#property:P158}}|{{#property:P158|from={{{qid|}}}}}}}||{{#invoke:wd|property|raw|best|{{{qid|}}}|P94}}}}}}}
|shield_alt = {{{shield_alt|}}}
|shield_size = {{{shield_size|100x80px}}}
|nickname = {{{nickname|}}}
|motto = {{{motto|}}}
|image_map = {{{image_map|{{#invoke:wd|property|raw|best|{{{qid|}}}|P242}} }}}
|mapsize = {{{mapsize|280px}}}
|map_alt = {{{map_alt|Mapa {{safesubst:ifnotempty| {{safesubst:wikidata|property|preferred|P131}} | {{safesubst:wikidata|property|preferred|linked|P131}} | {{safesubst:#invoke:Wikidata|getValue|P131|FETCH_WIKIDATA}} }} nian ho {{safesubst:#invoke:string|replace|{{safesubst:PAGENAME}}|, .*||plain=false}} destakadu {{#invoke:wd|label|{{{qid|}}}}}}}}
|map_caption = {{{map_caption|Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}}}}
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|width = 280
|height = 280
|align = center
|frameless = yes
|lang = {{{lang|}}}
}}|}} }}
|pushpin_map2_coord = {{#if:{{{pushpin_map|}}}|{{coord|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}}}}}
|coordinates = {{{coordinates|{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{coord/display/{{main other|inline,title|inline}}|{{#tag:maplink|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|lang = {{{lang|}}}
}} }} |}} }}}
|coordinates_footnotes = {{{coordinates_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P625}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P625}} }} }}}
|subdivision_type = {{{subdivision_type|Subdivizaun}}}
|subdivision_name = {{{subdivision_name|{{#invoke:wd|property|linked|{{{qid|}}}|P17}}}}}
| parts_type = [[Barangay]]
| parts_style = para
| p1 = {{PH Barangay count | {{wikidata|label|raw}} }}
|established_title = {{{established_title|{{#if:{{main other|{{#property:P571}}|{{#property:P571|from={{{qid|}}}}}}}|Angipaletnegan|}}}}}
|established_date = {{{established_date|{{#ifeq:{{{dateformat}}}|dmy|{{PAGENAMEBASE|{{#invoke:wd|property|{{{qid|}}}|P571}}}}|{{PAGENAMEBASE|{{#invoke:wd|property|mdy|{{{qid|}}}|P571}}}} }} }}}
|seat_type = {{{seat_type|{{#if:{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}|Kabesera|}}}}}
|seat = {{{seat|{{#if:{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}}}}}}
|leader_title = {{{leader_title|{{#if:{{main other|{{#property:P6}}|{{#property:P6|from={{{qid|}}}}}}}|{{#if:{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|Pangulo}}}}}}}
|leader_name = {{#property:P6}}
|area_footnotes = {{{area_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P2046}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P2046}} }} }}}
|area_total_km2 = {{{area_total_km2|{{#if:{{main other|{{#property:P2046}}|{{#property:P2046|from={{{qid|}}}}}}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square meter|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} m2|km2|disp=output number only|comma=off}}|2}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square kilometer|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} km2|km2|disp=output number only|comma=off}}|2}}|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} }} }} }} }}}
|elevation_m = {{{elevation_m|{{#ifexpr:{{#invoke:String|find|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|foot}}||{{#invoke:String|replace|{{#invoke:string|replace|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|±[%d%.][%d%.]*||plain=false}}|meter}}}}}}}
|population_footnotes = {{{population_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}}|{{#invoke:wd|references|mdy|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}} }} }}}
|population_as_of = {{{population_as_of|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|qualifier|normal+|single|{{{qid|}}}|P1082|P585}}|{{#invoke:wd|qualifier|mdy|normal+|single|{{{qid|}}}|P1082|P585}} }} }}}
|population_total = {{{population_total|{{#invoke:wd|property|current|{{{qid|}}}|P1082}} }}}
|population_density_km2 = {{{population_density_km2|auto}}}
|timezone = {{{timezone|{{#invoke:wd|properties|linked|{{{qid|}}}|P421}}}}}
|postal_code_type = {{{postal_code_type|Kódigu postál na postal}}}
|postal_code = {{{postal_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P281}}}}}
|area_code = {{{area_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P473}}}}}
|website = {{{website|{{#if:{{main other|{{#property:P856}}|{{#property:P856|from={{{qid|}}}}}}}|{{URL|{{#invoke:wd|property|raw|best|{{{qid|}}}|P856}}}}|}}}}}
| demographics_type1 = {{#if:{{#property:P3087}}| Ekonomia}}
| demographics1_title1 = Klase
| demographics1_info1 = {{#ifeq:{{#property:P1879}}|no value|{{void}}|{{PH wikidata|income_class}}}}
| demographics1_title2 =
| demographics1_info2 =
| demographics1_title3 = Reseita
| demographics1_info3 = {{#if:{{#property:P3087}}| {{PH wikidata|revenue}} ({{wikidata|qualifier|single|P3087|P585}})}}
| demographics1_title4 =
| demographics1_info4 =
| demographics1_title5 = Riku-soin
| demographics1_info5 = {{#if:{{#property:P2403}}| {{PH wikidata|assets}} ({{wikidata|qualifier|single|P2403|P585}})}}
| demographics1_title6 =
| demographics1_info6 =
| demographics1_title7 = Obrigasaun sira
| demographics1_info7 = {{#if:{{#property:P2138}}| {{PH wikidata|liabilities}} ({{wikidata|qualifier|single|P2138|P585}})}}
| demographics1_title8 =
| demographics1_info8 =
| demographics1_title9 = Gastu
| demographics1_info9 = {{#if:{{#property:P2402}}| {{PH wikidata|expenditure}} ({{wikidata|qualifier|single|P2402|P585}})}}
| demographics1_title10 =
| demographics1_info10 =
|footnotes = {{{footnotes|{{#if:{{#invoke:Wikidata|pageId}}||{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{error|Erru!}} Data will appear when article is linked to Wikidata.[[Category:Articles using Template:Infobox location not linked to Wikidata]]}}}} }}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
ax9kgdgnw2xnwznb91x7wsn8fp4ouf4
70414
70413
2026-04-25T04:19:29Z
Exec8
6243
70414
wikitext
text/x-wiki
<includeonly>{{Infobox settlement
|name = {{{name|{{#invoke:wd|label|{{{qid|}}}}}}}}
|native_name = {{{native_name|}}}
|official_name = {{{official_name|}}}
|settlement_type = {{{settlement_type|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P31}}}}}}}
|image_skyline = {{{image_skyline|{{#invoke:wd|property|raw|best|{{{qid|}}}|P18}}}}}
|image_alt = {{{image_alt|}}}
|image_caption = {{{image_caption|<!--{{#if:{{{image_skyline|}}}|{{{image_caption|}}}|{{#if:{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA|id={{{qid|}}}}}|Image of {{#if:{{{name|}}}|{{{name}}}|{{#invoke:wd|label|{{{qid|}}}}}}}}}}}--> }}}
|image_size = {{{image_size|280px}}}
|image_flag = {{{image_flag|{{#invoke:wd|property|raw|best|{{{qid|}}}|P41}}}}}
|flag_alt = {{{flag_alt|}}}
|flag_size = {{{flag_size|110x80px}}}
|image_seal = {{{image_seal|{{#invoke:wd|property|raw|best|{{{qid|}}}|P158}}}}}
|seal_alt = {{{seal_alt|}}}
|seal_size = {{{seal_size|100x80px}}}
|image_shield = {{{image_shield|{{#if:{{main other|{{#property:P158}}|{{#property:P158|from={{{qid|}}}}}}}||{{#invoke:wd|property|raw|best|{{{qid|}}}|P94}}}}}}}
|shield_alt = {{{shield_alt|}}}
|shield_size = {{{shield_size|100x80px}}}
|nickname = {{{nickname|}}}
|motto = {{{motto|}}}
|image_map = {{{image_map|{{#invoke:wd|property|raw|best|{{{qid|}}}|P242}} }}}
|mapsize = {{{mapsize|280px}}}
|map_alt = {{{map_alt|Mapa {{safesubst:ifnotempty| {{safesubst:wikidata|property|preferred|P131}} | {{safesubst:wikidata|property|preferred|linked|P131}} | {{safesubst:#invoke:Wikidata|getValue|P131|FETCH_WIKIDATA}} }} nian ho {{safesubst:#invoke:string|replace|{{safesubst:PAGENAME}}|, .*||plain=false}} destakadu {{#invoke:wd|label|{{{qid|}}}}}}}}
|map_caption = {{{map_caption|Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}}}}
|pushpin_map = {{{pushpin_map|}}}
|pushpin_label_position = {{{pushpin_label_position|}}}
|pushpin_label = {{{pushpin_label|}}}
|pushpin_map_alt = {{{pushpin_map_alt|}}}
|pushpin_mapsize = {{{pushpin_mapsize|280px}}}
|pushpin_relief = {{{pushpin_relief|}}}
|pushpin_map_caption = {{{pushpin_map_caption|}}}
|pushpin_map2 = {{#if:{{{pushpin_map|}}}||{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{#tag:mapframe|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Fatin iha {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|width = 280
|height = 280
|align = center
|frameless = yes
|lang = {{{lang|}}}
}}|}} }}
|pushpin_map2_coord = {{#if:{{{pushpin_map|}}}|{{coord|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}|{{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}}}}}
|coordinates = {{{coordinates|{{#if:{{#invoke:Wikidata|pageId}}{{{qid|}}}|{{coord/display/{{main other|inline,title|inline}}|{{#tag:maplink|
[
{
"type": "ExternalData",
"properties": { "fill": "#FF0000", "fill-opacity": 0.1, "stroke": "#FF9999" },
"service": "geoshape",
"ids": "{{{qid|{{#invoke:Wikidata|pageId}}}}}"
},
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB |getValue |maxvals =1 |P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=longlat}}] },
"properties": {
"title": "Lokasyon na {{#invoke:wd|label|{{{qid|}}}}}",
"marker-color": "0050d0",
"marker-symbol": "circle-stroked"
}
}
]
|longitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}}|noicon=true |show=long}}
|latitude = {{#invoke:WikidataIB |getValue |maxvals =1|P625 |fwd=ALL |osd=no |qid={{{qid|}}} |noicon=true |show=lat}}
|zoom = {{{zoom|10}}}
|lang = {{{lang|}}}
}} }} |}} }}}
|coordinates_footnotes = {{{coordinates_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P625}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P625}} }} }}}
|subdivision_type = {{{subdivision_type|Subdivizaun}}}
|subdivision_name = {{{subdivision_name|{{#invoke:wd|property|linked|{{{qid|}}}|P17}}}}}
| parts_type = [[Barangay]]
| parts_style = para
| p1 = {{PH Barangay count | {{wikidata|label|raw}} }}
|established_title = {{{established_title|{{#if:{{main other|{{#property:P571}}|{{#property:P571|from={{{qid|}}}}}}}|Angipaletnegan|}}}}}
|established_date = {{{established_date|{{#ifeq:{{{dateformat}}}|dmy|{{PAGENAMEBASE|{{#invoke:wd|property|{{{qid|}}}|P571}}}}|{{PAGENAMEBASE|{{#invoke:wd|property|mdy|{{{qid|}}}|P571}}}} }} }}}
|seat_type = {{{seat_type|{{#if:{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}|Kabesera|}}}}}
|seat = {{{seat|{{#if:{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{#invoke:wd|property|linked|{{{qid|}}}|P36}}|{{main other|{{#property:P36}}|{{#property:P36|from={{{qid|}}}}}}}}}}}}
|leader_title = {{{leader_title|{{#if:{{main other|{{#property:P6}}|{{#property:P6|from={{{qid|}}}}}}}|{{#if:{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|{{#invoke:String2|label|{{#invoke:wd|property|linked|{{{qid|}}}|P1313}}}}|Pangulo}}}}}}}
|leader_name = {{#property:P6}}
|area_footnotes = {{{area_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|current|{{{qid|}}}|P2046}}|{{#invoke:wd|references|mdy|current|{{{qid|}}}|P2046}} }} }}}
|area_total_km2 = {{{area_total_km2|{{#if:{{main other|{{#property:P2046}}|{{#property:P2046|from={{{qid|}}}}}}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square meter|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} m2|km2|disp=output number only|comma=off}}|2}}|{{#ifeq:{{#invoke:Wikidata|getUnits|qid={{{qid|}}}|P2046|FETCH_WIKIDATA}}|square kilometer|{{rnd|{{convert|input={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} km2|km2|disp=output number only|comma=off}}|2}}|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:wd|property|{{{qid|}}}|P2046}}| %D+||plain=false}}|±[%d%.][%d%.]*||plain=false}} }} }} }} }}}
|elevation_m = {{{elevation_m|{{#ifexpr:{{#invoke:String|find|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|foot}}||{{#invoke:String|replace|{{#invoke:string|replace|{{#invoke:wd|property|raw|best|{{{qid|}}}|P2044}}|±[%d%.][%d%.]*||plain=false}}|meter}}}}}}}
|population_footnotes = {{{population_footnotes|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|references|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}}|{{#invoke:wd|references|mdy|{{{qid|}}}|P1082|{{formatnum:{{#invoke:wd|property|{{{qid|}}}|P1082}}|R}}}} }} }}}
|population_as_of = {{{population_as_of|{{#ifeq:{{{dateformat}}}|dmy|{{#invoke:wd|qualifier|normal+|single|{{{qid|}}}|P1082|P585}}|{{#invoke:wd|qualifier|mdy|normal+|single|{{{qid|}}}|P1082|P585}} }} }}}
|population_total = {{{population_total|{{#invoke:wd|property|current|{{{qid|}}}|P1082}} }}}
|population_density_km2 = {{{population_density_km2|auto}}}
|timezone = {{{timezone|{{#invoke:wd|properties|linked|{{{qid|}}}|P421}}}}}
|postal_code_type = {{{postal_code_type|Kódigu postál na postal}}}
|postal_code = {{{postal_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P281}}}}}
|area_code = {{{area_code|{{#invoke:wd|properties|raw|{{{qid|}}}|P473}}}}}
|website = {{{website|{{#if:{{main other|{{#property:P856}}|{{#property:P856|from={{{qid|}}}}}}}|{{URL|{{#invoke:wd|property|raw|best|{{{qid|}}}|P856}}}}|}}}}}
| demographics_type1 = {{#if:{{#property:P3087}}| Ekonomia}}
| demographics1_title1 = Klase
| demographics1_info1 = {{#ifeq:{{#property:P1879}}|no value|{{void}}|{{PH wikidata|income_class}}}}
| demographics1_title2 =
| demographics1_info2 =
| demographics1_title3 = Reseita
| demographics1_info3 = {{#if:{{#property:P3087}}| {{PH wikidata|revenue}} ({{wikidata|qualifier|single|P3087|P585}})}}
| demographics1_title4 =
| demographics1_info4 =
| demographics1_title5 = Riku-soin
| demographics1_info5 = {{#if:{{#property:P2403}}| {{PH wikidata|assets}} ({{wikidata|qualifier|single|P2403|P585}})}}
| demographics1_title6 =
| demographics1_info6 =
| demographics1_title7 = Obrigasaun sira
| demographics1_info7 = {{#if:{{#property:P2138}}| {{PH wikidata|liabilities}} ({{wikidata|qualifier|single|P2138|P585}})}}
| demographics1_title8 =
| demographics1_info8 =
| demographics1_title9 = Gastu
| demographics1_info9 = {{#if:{{#property:P2402}}| {{PH wikidata|expenditure}} ({{wikidata|qualifier|single|P2402|P585}})}}
| demographics1_title10 =
| demographics1_info10 =
|footnotes = {{{footnotes|{{#if:{{#invoke:Wikidata|pageId}}||{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{error|Erru!}} Data will appear when article is linked to Wikidata.[[Category:Articles using Template:Infobox location not linked to Wikidata]]}}}} }}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
d57nee9xdd111fzw6d1qwpebg686a04
Template:Infobox settlement
10
7149
70331
2026-04-25T03:27:59Z
Exec8
6243
Pájina foun: '<includeonly>{{main other|{{#invoke:Settlement short description|main}}|}}{{Infobox | child = {{yesno|{{{embed|}}}}} | templatestyles = Infobox settlement/styles.css | bodyclass = ib-settlement vcard <!--** names, type, and transliterations ** --> | above = <div class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}</div> {{#if:{{{native_name|}}}|<div class="nickname ib-settlement-native" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"...'
70331
wikitext
text/x-wiki
<includeonly>{{main other|{{#invoke:Settlement short description|main}}|}}{{Infobox
| child = {{yesno|{{{embed|}}}}}
| templatestyles = Infobox settlement/styles.css
| bodyclass = ib-settlement vcard
<!--** names, type, and transliterations ** -->
| above = <div class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}</div>
{{#if:{{{native_name|}}}|<div class="nickname ib-settlement-native" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}{{#if:{{{other_name|}}}|<div class="nickname ib-settlement-other-name">{{{other_name}}}</div>}}
| subheader = {{#if:{{{settlement_type|}}}{{{type|}}}|<div class="category">{{if empty|{{{settlement_type|}}}|{{{type}}}}}</div>}}
| rowclass1 = mergedtoprow ib-settlement-official
| data1 = {{#if:{{{name|}}}|{{{official_name|}}}}}
<!-- ***Transliteration language 1*** -->
| rowclass2 = mergedtoprow
| header2 = {{#if:{{{translit_lang1|}}}|{{{translit_lang1}}} transcription(s)}}
| rowclass3 = {{#if:{{{translit_lang1_type1|}}}|mergedrow|mergedbottomrow}}
| label3 = • {{{translit_lang1_type}}}
| data3 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type|}}}|{{{translit_lang1_info|}}}}}}}
| rowclass4 = {{#if:{{{translit_lang1_type2|}}}|mergedrow|mergedbottomrow}}
| label4 = • {{{translit_lang1_type1}}}
| data4 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type1|}}}|{{{translit_lang1_info1|}}}}}}}
| rowclass5 = {{#if:{{{translit_lang1_type3|}}}|mergedrow|mergedbottomrow}}
| label5 = • {{{translit_lang1_type2}}}
| data5 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type2|}}}|{{{translit_lang1_info2|}}}}}}}
| rowclass6 = {{#if:{{{translit_lang1_type4|}}}|mergedrow|mergedbottomrow}}
| label6 = • {{{translit_lang1_type3}}}
| data6 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type3|}}}|{{{translit_lang1_info3|}}}}}}}
| rowclass7 = {{#if:{{{translit_lang1_type5|}}}|mergedrow|mergedbottomrow}}
| label7 = • {{{translit_lang1_type4}}}
| data7 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type4|}}}|{{{translit_lang1_info4|}}}}}}}
| rowclass8 = {{#if:{{{translit_lang1_type6|}}}|mergedrow|mergedbottomrow}}
| label8 = • {{{translit_lang1_type5}}}
| data8 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type5|}}}|{{{translit_lang1_info5|}}}}}}}
| rowclass9 = mergedbottomrow
| label9 = • {{{translit_lang1_type6}}}
| data9 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type6|}}}|{{{translit_lang1_info6|}}}}}}}
<!-- ***Transliteration language 2*** -->
| rowclass10 = mergedtoprow
| header10 = {{#if:{{{translit_lang2|}}}|{{{translit_lang2}}} transcription(s)}}
| rowclass11 = {{#if:{{{translit_lang2_type1|}}}|mergedrow|mergedbottomrow}}
| label11 = • {{{translit_lang2_type}}}
| data11 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type|}}}|{{{translit_lang2_info|}}}}}}}
| rowclass12 = {{#if:{{{translit_lang2_type2|}}}|mergedrow|mergedbottomrow}}
| label12 = • {{{translit_lang2_type1}}}
| data12 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type1|}}}|{{{translit_lang2_info1|}}}}}}}
| rowclass13 = {{#if:{{{translit_lang2_type3|}}}|mergedrow|mergedbottomrow}}
| label13 = • {{{translit_lang2_type2}}}
| data13 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type2|}}}|{{{translit_lang2_info2|}}}}}}}
| rowclass14 = {{#if:{{{translit_lang2_type4|}}}|mergedrow|mergedbottomrow}}
| label14 = • {{{translit_lang2_type3}}}
| data14 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type3|}}}|{{{translit_lang2_info3|}}}}}}}
| rowclass15 = {{#if:{{{translit_lang2_type5|}}}|mergedrow|mergedbottomrow}}
| label15 = • {{{translit_lang2_type4}}}
| data15 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type4|}}}|{{{translit_lang2_info4|}}}}}}}
| rowclass16 = {{#if:{{{translit_lang2_type6|}}}|mergedrow|mergedbottomrow}}
| label16 = • {{{translit_lang2_type5}}}
| data16 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type5|}}}|{{{translit_lang2_info5|}}}}}}}
| rowclass17 = mergedbottomrow
| label17 = • {{{translit_lang2_type6}}}
| data17 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type6|}}}|{{{translit_lang2_info6|}}}}}}}
<!-- end ** names, type, and transliterations ** -->
<!-- ***Skyline Image*** -->
| rowclass18 = mergedtoprow
| data18 = {{#if:{{{image_skyline|}}}|<!--
-->{{#invoke:InfoboxImage|InfoboxImage<!--
-->|image={{{image_skyline|}}}<!--
-->|size={{if empty|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=250px|upright={{{image_upright|}}}<!--
-->|alt={{if empty|{{{image_alt|}}}|{{{alt|}}}}}<!--
-->|title={{if empty|{{{image_caption|}}}|{{{caption|}}}|{{{image_alt|}}}|{{{alt|}}}}}}}<!--
-->{{#if:{{{image_caption|}}}{{{caption|}}}|<div class="ib-settlement-caption">{{if empty|{{{image_caption|}}}|{{{caption|}}}}}</div>}} }}
<!-- ***Flag, Seal, Shield and Coat of arms*** -->
| rowclass19 = mergedtoprow
| class19 = maptable
| data19 = {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{image_shield|}}}{{{image_blank_emblem|}}}{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}
|{{Infobox settlement/columns
| 1 = {{#if:{{{image_flag|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_flag}}}|size={{{flag_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|125px|100x100px}}|border={{yesno |{{{flag_border|}}}|yes=yes|blank=yes}}|alt={{{flag_alt|}}}|title=Flag of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type=Flag|link={{{flag_link|}}}|name={{{official_name}}}}}</div>}}
| 2 = {{#if:{{{image_seal|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_seal|}}}|size={{{seal_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100x100px}}|alt={{{seal_alt|}}}|title=Official seal of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}|class={{{seal_class|}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type={{if empty|{{{seal_type|}}}|Seal}}|link={{{seal_link|}}}|name={{{official_name}}}}}</div>}}
| 3 = {{#if:{{{image_shield|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_shield|}}}||size={{{shield_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100x100px}}|alt={{{shield_alt|}}}|title=Coat of arms of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type=Coat of arms|link={{{shield_link|}}}|name={{{official_name}}}}}</div>}}
| 4 = {{#if:{{{image_blank_emblem|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_blank_emblem|}}}|size={{{blank_emblem_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100x100px}}|upright={{{blank_emblem_upright|}}}|alt={{{blank_emblem_alt|}}}|title=Official logo of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type={{#if:{{{blank_emblem_type|}}}|{{{blank_emblem_type}}}}}|link={{{blank_emblem_link|}}}|name={{{official_name}}}}}</div>}}
| 5 = {{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map}}}|size={{{mapsize|}}}|sizedefault=100x100px|alt={{{map_alt|}}}|title={{{map_caption|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption|}}}|<div class="ib-settlement-caption-link">{{{map_caption}}}</div>}}}}
| 0 = {{#if:{{{pushpin_map_narrow|}}}|{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
{{location map|{{{pushpin_map|}}}
|border = infobox
|alt = {{{pushpin_map_alt|}}}
|caption ={{#if:{{{pushpin_map_caption_notsmall|}}}|{{{pushpin_map_caption_notsmall|}}}|{{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|{{#if:{{{map_caption|}}}|{{{map_caption}}}}}}}}}
|float = center
|width = {{if empty|{{{pushpin_mapsize|}}}|150}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|overlay_image = {{{pushpin_overlay|}}}
|coordinates = {{{coordinates|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}} }}
|marksize =6
|outside = {{{pushpin_outside|}}}<!-- pin is outside the map -->
|position = {{{pushpin_label_position|}}}
}}
}} }}
}} }}
<!-- ***Etymology*** -->
| rowclass20 = mergedtoprow
| data20 = {{#if:{{{etymology|}}}|Etymology: {{{etymology}}} }}
<!-- ***Nickname*** -->
| rowclass21 = {{#if:{{{etymology|}}}|mergedrow|mergedtoprow}}
| data21 = {{#if:{{{nickname|}}}{{{nicknames|}}}|<!--
-->{{Pluralize from text|parse_links=1|{{if empty|{{{nickname|}}}|{{{nicknames|}}}{{force plural}}}}|<!--
-->link={{{nickname_link|}}}|singular=Nickname|likely=Nickname(s)|plural=Nicknames}}: <!--
--><div class="ib-settlement-nickname nickname">{{if empty|{{{nickname|}}}|{{{nicknames|}}}}}</div><!--
-->{{Main other|{{Pluralize from text|parse_links=1|{{{nickname|}}}|<!--
-->likely=[[Category:Pages using infobox settlement with possible nickname list]]}}}}}}
<!-- ***Motto*** -->
| rowclass22 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}|mergedrow|mergedtoprow}}
| data22 = {{#if:{{{motto|}}}{{{mottoes|}}}|<!--
-->{{Pluralize from text|{{if empty|{{{motto|}}}|{{{mottoes|}}}{{force plural}}}}|<!--
-->link={{{motto_link|}}}|singular=Motto|likely=Motto(s)|plural=Mottoes}}: <!--
--><div class="ib-settlement-nickname nickname">{{if empty|{{{motto|}}}|{{{mottoes|}}}}}</div><!--
-->{{Main other|{{Pluralize from text|{{{motto|}}}|<!--
-->likely=[[Category:Pages using infobox settlement with possible motto list]]}}}}}}
<!-- ***Anthem*** -->
| rowclass23 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}{{{motto|}}}{{{mottoes|}}}|mergedrow|mergedtoprow}}
| data23 = {{#if:{{{anthem|}}}|{{#if:{{{anthem_link|}}}|[[{{{anthem_link|}}}|Anthem:]]|Anthem:}} {{{anthem}}}}}
<!-- ***Map*** -->
| rowclass24 = mergedtoprow
| data24 = {{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}||{{#if:{{{image_map|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map}}}|size={{{mapsize|}}}|sizedefault=250px|upright={{{image_upright|}}}|alt={{{map_alt|}}}|title={{{map_caption|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption|}}}|<div class="ib-settlement-caption">{{{map_caption}}}</div>}}
}}}}
| rowclass25 = mergedrow
| data25 = {{#if:{{{image_map1|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map1}}}|size={{{mapsize1|}}}|sizedefault=250px|upright={{{image_upright|}}}|alt={{{map_alt1|}}}|title={{{map_caption1|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption1|}}}|<div class="ib-settlement-caption">{{{map_caption1}}}</div>}} }}
| data26 = {{#invoke:Infobox mapframe
| autoWithCaption
| onByDefault = {{#if:{{{pushpin_map|}}}{{{image_map|}}}{{{image_map1|}}}|no|yes}}
| mapframe-frame-width = 250
| mapframe-stroke-width = 2
| mapframe-length_km = {{{length_km|}}}
| mapframe-length_mi = {{{length_mi|}}}
| mapframe-width_km = {{{width_km|}}}
| mapframe-width_mi = {{{width_mi|}}}
| mapframe-area_km2 = {{{area_total_km2|}}}
| mapframe-area_ha = {{{area_total_ha|}}}
| mapframe-area_acre = {{{area_total_acre|}}}
| mapframe-area_sq_mi = {{{area_total_sq_mi|}}}
| mapframe-type = city
| mapframe-population = {{if empty|{{{population_metro|}}}|{{{population_total|}}}}}
| mapframe-marker = town
| mapframe-wikidata = yes
| mapframe-caption = Interactive map of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}
}}
<!-- ***Pushpin Map*** -->
| rowclass28 = mergedtoprow
| data28 = {{#if:{{{pushpin_map_narrow|}}}||{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
{{location map|{{{pushpin_map|}}}
|border = infobox
|alt = {{{pushpin_map_alt|}}}
|caption ={{#if:{{{pushpin_map_caption_notsmall|}}}|{{{pushpin_map_caption_notsmall|}}}|{{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|{{#if:{{{map_caption|}}}|{{#if:{{{image_map|}}}||{{{map_caption}}}}}}}}}}}
|float = center
|width = {{{pushpin_mapsize|}}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|overlay_image = {{{pushpin_overlay|}}}
|coordinates = {{{coordinates|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{if empty|{{{name|}}}|{{{official_name|}}}}}}} }}
|marksize =6
|outside = {{{pushpin_outside|}}}<!-- pin is outside the map -->
|position = {{{pushpin_label_position|}}}
}}
}} }}
<!-- ***Coordinates*** -->
| data29 = {{#if:{{{coordinates|}}}|{{#if:{{#invoke:string|match|s={{{coordinates|}}}|pattern=geo-inline-hidden|ignore_errors=true|plain=true}}|<!-- Nothing to display -->
|Coordinates{{#if:{{{coor_pinpoint|}}}{{{coor_type|}}}| ({{if empty|{{{coor_pinpoint|}}}|{{{coor_type|}}}}})}}: {{#invoke:ISO 3166|geocoordinsert|nocat=true|1={{{coordinates|}}}|country={{{subdivision_name|}}}|subdivision1={{{subdivision_name1|}}}|subdivision2={{{subdivision_name2|}}}|subdivision3={{{subdivision_name3|}}}|type=city{{#if:{{{population_total|}}}|{{#iferror:{{#expr:{{formatnum:{{{population_total}}}|R}}+1}}||({{formatnum:{{replace|{{{population_total}}}|,|}}|R}})}}}} }}{{{coordinates_footnotes|}}} }}}}
| rowclass30 = {{#if:{{{image_map|}}}{{{image_map1|}}}{{{pushpin_map|}}}|mergedbottomrow|mergedrow}}
| label30 = {{if empty|{{{grid_name|}}}|Grid position}}
| data30 = {{{grid_position|}}}
<!-- ***Subdivisions*** -->
| rowclass31 = mergedtoprow
| label31 = {{{subdivision_type}}}
| data31 = {{#if:{{{subdivision_type|}}}|{{{subdivision_name|}}} }}
| rowclass32 = mergedrow
| label32 = {{{subdivision_type1}}}
| data32 = {{#if:{{{subdivision_type1|}}}|{{{subdivision_name1|}}} }}
| rowclass33 = mergedrow
| label33 = {{{subdivision_type2}}}
| data33 = {{#if:{{{subdivision_type2|}}}|{{{subdivision_name2|}}} }}
| rowclass34 = mergedrow
| label34 = {{{subdivision_type3}}}
| data34 = {{#if:{{{subdivision_type3|}}}|{{{subdivision_name3|}}} }}
| rowclass35 = mergedrow
| label35 = {{{subdivision_type4}}}
| data35 = {{#if:{{{subdivision_type4|}}}|{{{subdivision_name4|}}} }}
| rowclass36 = mergedrow
| label36 = {{{subdivision_type5}}}
| data36 = {{#if:{{{subdivision_type5|}}}|{{{subdivision_name5|}}} }}
| rowclass37 = mergedrow
| label37 = {{{subdivision_type6}}}
| data37 = {{#if:{{{subdivision_type6|}}}|{{{subdivision_name6|}}} }}
<!--***Established*** -->
| rowclass38 = mergedtoprow
| label38 = {{if empty|{{{established_title|}}}|Established}}
| data38 = {{{established_date|}}}
| rowclass39 = mergedrow
| label39 = {{{established_title1}}}
| data39 = {{#if:{{{established_title1|}}}|{{{established_date1|}}} }}
| rowclass40 = mergedrow
| label40 = {{{established_title2}}}
| data40 = {{#if:{{{established_title2|}}}|{{{established_date2|}}} }}
| rowclass41 = mergedrow
| label41 = {{{established_title3}}}
| data41 = {{#if:{{{established_title3|}}}|{{{established_date3|}}} }}
| rowclass42 = mergedrow
| label42 = {{{established_title4}}}
| data42 = {{#if:{{{established_title4|}}}|{{{established_date4|}}} }}
| rowclass43 = mergedrow
| label43 = {{{established_title5}}}
| data43 = {{#if:{{{established_title5|}}}|{{{established_date5|}}} }}
| rowclass44 = mergedrow
| label44 = {{{established_title6}}}
| data44 = {{#if:{{{established_title6|}}}|{{{established_date6|}}} }}
| rowclass45 = mergedrow
| label45 = {{{established_title7}}}
| data45 = {{#if:{{{established_title7|}}}|{{{established_date7|}}} }}
| rowclass46 = mergedrow
| label46 = {{{extinct_title}}}
| data46 = {{#if:{{{extinct_title|}}}|{{{extinct_date|}}} }}
| rowclass47 = mergedrow
| label47 = Founded by
| data47 = {{{founder|}}}
| rowclass48 = mergedrow
| label48 = [[Namesake|Named after]]
| data48 = {{{named_for|}}}
<!-- ***Seat of government and subdivisions within the settlement*** -->
| rowclass49 = mergedtoprow
| label49 = {{if empty|{{{seat_type|}}}|Seat}}
| data49 = {{{seat|}}}
| rowclass50 = mergedrow
| label50 = {{if empty|{{{seat1_type|}}}|Former seat}}
| data50 = {{{seat1|}}}
| rowclass51 = mergedrow
| label51 = {{if empty|{{{seat2_type|}}}|Former seat}}
| data51 = {{{seat2|}}}
| rowclass52 = {{#if:{{{seat|}}}{{{seat1|}}}{{{seat2|}}}|mergedrow|mergedtoprow}}
| label52 = {{if empty|{{{parts_type|}}}|Boroughs}}
| data52 = {{#if:{{{parts|}}}{{{p1|}}}
|{{#ifeq:{{{parts_style|}}}|para
|<b>{{{parts|}}}{{#if:{{both|{{{parts|}}}|{{{p1|}}}}}|: |}}</b>{{comma separated entries|{{{p1|}}}|{{{p2|}}}|{{{p3|}}}|{{{p4|}}}|{{{p5|}}}|{{{p6|}}}|{{{p7|}}}|{{{p8|}}}|{{{p9|}}}|{{{p10|}}}|{{{p11|}}}|{{{p12|}}}|{{{p13|}}}|{{{p14|}}}|{{{p15|}}}|{{{p16|}}}|{{{p17|}}}|{{{p18|}}}|{{{p19|}}}|{{{p20|}}}|{{{p21|}}}|{{{p22|}}}|{{{p23|}}}|{{{p24|}}}|{{{p25|}}}|{{{p26|}}}|{{{p27|}}}|{{{p28|}}}|{{{p29|}}}|{{{p30|}}}|{{{p31|}}}|{{{p32|}}}|{{{p33|}}}|{{{p34|}}}|{{{p35|}}}|{{{p36|}}}|{{{p37|}}}|{{{p38|}}}|{{{p39|}}}|{{{p40|}}}|{{{p41|}}}|{{{p42|}}}|{{{p43|}}}|{{{p44|}}}|{{{p45|}}}|{{{p46|}}}|{{{p47|}}}|{{{p48|}}}|{{{p49|}}}|{{{p50|}}}}}
|{{#if:{{{p1|}}}|{{Collapsible list|title={{{parts|}}}|expand={{#switch:{{{parts_style|}}}|coll=|list=y|{{#if:{{{p6|}}}||y}}}}|1={{{p1|}}}|2={{{p2|}}}|3={{{p3|}}}|4={{{p4|}}}|5={{{p5|}}}|6={{{p6|}}}|7={{{p7|}}}|8={{{p8|}}}|9={{{p9|}}}|10={{{p10|}}}|11={{{p11|}}}|12={{{p12|}}}|13={{{p13|}}}|14={{{p14|}}}|15={{{p15|}}}|16={{{p16|}}}|17={{{p17|}}}|18={{{p18|}}}|19={{{p19|}}}|20={{{p20|}}}|21={{{p21|}}}|22={{{p22|}}}|23={{{p23|}}}|24={{{p24|}}}|25={{{p25|}}}|26={{{p26|}}}|27={{{p27|}}}|28={{{p28|}}}|29={{{p29|}}}|30={{{p30|}}}|31={{{p31|}}}|32={{{p32|}}}|33={{{p33|}}}|34={{{p34|}}}|35={{{p35|}}}|36={{{p36|}}}|37={{{p37|}}}|38={{{p38|}}}|39={{{p39|}}}|40={{{p40|}}}|41={{{p41|}}}|42={{{p42|}}}|43={{{p43|}}}|44={{{p44|}}}|45={{{p45|}}}|46={{{p46|}}}|47={{{p47|}}}|48={{{p48|}}}|49={{{p49|}}}|50={{{p50|}}}}}
|{{{parts}}}
}}
}} }}
<!-- ***Government type and Leader*** -->
| rowclass53 = mergedtoprow
| header53 = {{#if:{{{government_type|}}}{{{governing_body|}}}{{{leader_name|}}}{{{leader_name1|}}}{{{leader_name2|}}}{{{leader_name3|}}}{{{leader_name4|}}}|Government<div class="ib-settlement-fn">{{{government_footnotes|}}}</div>}}
<!-- ***Government*** -->
| rowclass54 = mergedrow
| label54 = • Type
| data54 = {{{government_type|}}}
| rowclass55 = mergedrow
| label55 = • Body
| class55 = agent
| data55 = {{{governing_body|}}}
| rowclass56 = mergedrow
| label56 = • {{{leader_title}}}
| data56 = {{#if:{{{leader_title|}}}|{{{leader_name|}}} {{#if:{{{leader_party|}}}|({{Polparty|{{{subdivision_name}}}|{{{leader_party}}}}})}}}}
| rowclass57 = mergedrow
| label57 = • {{{leader_title1}}}
| data57 = {{#if:{{{leader_title1|}}}|{{{leader_name1|}}}}}
| rowclass58 = mergedrow
| label58 = • {{{leader_title2}}}
| data58 = {{#if:{{{leader_title2|}}}|{{{leader_name2|}}}}}
| rowclass59 = mergedrow
| label59 = • {{{leader_title3}}}
| data59 = {{#if:{{{leader_title3|}}}|{{{leader_name3|}}}}}
| rowclass60 = mergedrow
| label60 = • {{{leader_title4}}}
| data60 = {{#if:{{{leader_title4|}}}|{{{leader_name4|}}}}}
| rowclass61 = mergedrow
| label61 = • {{{leader_title5}}}
| data61 = {{#if:{{{leader_title5|}}}|{{{leader_name5|}}}}}
| rowclass62 = mergedrow
| label62 = {{{government_blank1_title}}}
| data62 = {{#if:{{{government_blank1|}}}|{{{government_blank1|}}}}}
| rowclass63 = mergedrow
| label63 = {{{government_blank2_title}}}
| data63 = {{#if:{{{government_blank2|}}}|{{{government_blank2|}}}}}
| rowclass64 = mergedrow
| label64 = {{{government_blank3_title}}}
| data64 = {{#if:{{{government_blank3|}}}|{{{government_blank3|}}}}}
| rowclass65 = mergedrow
| label65 = {{{government_blank4_title}}}
| data65 = {{#if:{{{government_blank4|}}}|{{{government_blank4|}}}}}
| rowclass66 = mergedrow
| label66 = {{{government_blank5_title}}}
| data66 = {{#if:{{{government_blank5|}}}|{{{government_blank5|}}}}}
| rowclass67 = mergedrow
| label67 = {{{government_blank6_title}}}
| data67 = {{#if:{{{government_blank6|}}}|{{{government_blank6|}}}}}
<!-- ***Geographical characteristics*** -->
<!-- ***Area*** -->
| rowclass68 = mergedtoprow
| header68 = {{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_ha|}}}{{{area_urban_acre|}}}{{{area_urban_sq_mi|}}}{{{area_rural_sq_mi|}}}{{{area_rural_ha|}}}{{{area_rural_acre|}}}{{{area_rural_km2|}}}{{{area_metro_km2|}}}{{{area_metro_ha|}}}{{{area_metro_acre|}}}{{{area_blank1_km2|}}}{{{area_blank1_ha|}}}{{{area_blank1_acre|}}}{{{area_metro_sq_mi|}}}{{{area_blank1_sq_mi|}}}
|{{#if:{{both|{{#ifeq:{{{total_type}}}| |1}}|{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}}}
|<!-- displayed below -->
|Area<div class="ib-settlement-fn">{{{area_footnotes|}}}</div>
}}
}}
| rowclass69 = {{#if:{{both|{{#ifeq:{{{total_type}}}| |1}}|{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}}}|mergedtoprow|mergedrow}}
| label69 = <div style="white-space:nowrap;">{{#if:{{both|{{#ifeq:{{{total_type}}}| |1}}|{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}}}
|Area<div class="ib-settlement-fn">{{{area_footnotes|}}}</div>
| • {{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}|{{#if:{{{settlement_type|}}}{{{type|}}}|{{if empty|{{{settlement_type|}}}|{{{type}}}}}|City}}|Total}}}}
}}</div>
| data69 = {{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_total_km2|}}}
|ha ={{{area_total_ha|}}}
|acre ={{{area_total_acre|}}}
|sqmi ={{{area_total_sq_mi|}}}
|dunam={{{area_total_dunam|}}}
|link ={{#switch:{{{dunam_link|}}}||on|total=on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass70 = mergedrow
| label70 = • Land
| data70 = {{#if:{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_land_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_land_km2|}}}
|ha ={{{area_land_ha|}}}
|acre ={{{area_land_acre|}}}
|sqmi ={{{area_land_sq_mi|}}}
|dunam={{{area_land_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|land|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass71 = mergedrow
| label71 = • Water
| data71 = {{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_water_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_water_km2|}}}
|ha ={{{area_water_ha|}}}
|acre ={{{area_water_acre|}}}
|sqmi ={{{area_water_sq_mi|}}}
|dunam={{{area_water_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|water|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}} {{#if:{{{area_water_percent|}}}| {{{area_water_percent}}}{{#ifeq:%|{{#invoke:string|sub|{{{area_water_percent|}}}|-1}}||%}}}}}}
| rowclass72 = mergedrow
| label72 = • Urban<div class="ib-settlement-fn">{{{area_urban_footnotes|}}}</div>
| data72 = {{#if:{{{area_urban_km2|}}}{{{area_urban_ha|}}}{{{area_urban_acre|}}}{{{area_urban_sq_mi|}}}{{{area_urban_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_urban_km2|}}}
|ha ={{{area_urban_ha|}}}
|acre ={{{area_urban_acre|}}}
|sqmi ={{{area_urban_sq_mi|}}}
|dunam={{{area_urban_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|urban|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass73 = mergedrow
| label73 = • Rural<div class="ib-settlement-fn">{{{area_rural_footnotes|}}}</div>
| data73 = {{#if:{{{area_rural_km2|}}}{{{area_rural_ha|}}}{{{area_rural_acre|}}}{{{area_rural_sq_mi|}}}{{{area_rural_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_rural_km2|}}}
|ha ={{{area_rural_ha|}}}
|acre ={{{area_rural_acre|}}}
|sqmi ={{{area_rural_sq_mi|}}}
|dunam={{{area_rural_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|rural|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass74 = mergedrow
| label74 = • Metro<div class="ib-settlement-fn">{{{area_metro_footnotes|}}}</div>
| data74 = {{#if:{{{area_metro_km2|}}}{{{area_metro_ha|}}}{{{area_metro_acre|}}}{{{area_metro_sq_mi|}}}{{{area_metro_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_metro_km2|}}}
|ha ={{{area_metro_ha|}}}
|acre ={{{area_metro_acre|}}}
|sqmi ={{{area_metro_sq_mi|}}}
|dunam={{{area_metro_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|metro|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
<!-- ***Area rank*** -->
| rowclass75 = mergedrow
| label75 = • Rank
| data75 = {{{area_rank|}}}
| rowclass76 = mergedrow
| label76 = • {{{area_blank1_title}}}
| data76 = {{#if:{{{area_blank1_km2|}}}{{{area_blank1_ha|}}}{{{area_blank1_acre|}}}{{{area_blank1_sq_mi|}}}{{{area_blank1_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_blank1_km2|}}}
|ha ={{{area_blank1_ha|}}}
|acre ={{{area_blank1_acre|}}}
|sqmi ={{{area_blank1_sq_mi|}}}
|dunam={{{area_blank1_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|blank1|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass77 = mergedrow
| label77 = • {{{area_blank2_title}}}
| data77 = {{#if:{{{area_blank2_km2|}}}{{{area_blank2_ha|}}}{{{area_blank2_acre|}}}{{{area_blank2_sq_mi|}}}{{{area_blank2_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_blank2_km2|}}}
|ha ={{{area_blank2_ha|}}}
|acre ={{{area_blank2_acre|}}}
|sqmi ={{{area_blank2_sq_mi|}}}
|dunam={{{area_blank2_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|blank2|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass78 = mergedrow
| label78 =
| data78 = {{{area_note|}}}
<!-- ***Dimensions*** -->
| rowclass79 = mergedtoprow
| header79 = {{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}|Dimensions<div class="ib-settlement-fn">{{{dimensions_footnotes|}}}</div>}}
| rowclass80 = mergedrow
| label80 = • Length
| data80 = {{#if:{{{length_km|}}}{{{length_mi|}}}
| {{infobox_settlement/lengthdisp
|km ={{{length_km|}}}
|mi ={{{length_mi|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
| rowclass81 = mergedrow
| label81 = • Width
| data81 = {{#if:{{{width_km|}}}{{{width_mi|}}}
|{{infobox_settlement/lengthdisp
|km ={{{width_km|}}}
|mi ={{{width_mi|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation*** -->
| rowclass82 = mergedtoprow
| label82 = {{#if:{{{elevation_link|}}}|[[{{{elevation_link|}}}|Elevation]]|Elevation}}<div class="ib-settlement-fn">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}| ({{{elevation_point}}})}}</div>
| data82 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_m|}}}
|ft ={{{elevation_ft|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
| rowclass83 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|mergedrow|mergedtoprow}}
| label83 = Highest elevation<div class="ib-settlement-fn">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}| ({{{elevation_max_point}}})}}</div>
| data83 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_max_m|}}}
|ft ={{{elevation_max_ft|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation max rank*** -->
| rowclass84 = mergedrow
| label84 = • Rank
| data84 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}| {{{elevation_max_rank|}}} }}
| rowclass85 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}
| label85 = Lowest elevation<div class="ib-settlement-fn">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}| ({{{elevation_min_point}}})}}</div>
| data85 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_min_m|}}}
|ft ={{{elevation_min_ft|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation min rank*** -->
| rowclass86 = mergedrow
| label86 = • Rank
| data86 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}}
<!-- ***Population*** -->
| rowclass87 = mergedtoprow
| label87 = Population<div class="ib-settlement-fn">{{#if:{{{population_as_of|}}}|{{nbsp}}({{{population_as_of}}})}}{{{population_footnotes|}}}</div>
| data87 = {{fix comma category|{{#ifeq:{{{total_type}}}|
| {{#if:{{{population_total|}}}
| {{formatnum:{{replace|{{{population_total}}}|,|}}}}
}}
}}
}}
| rowclass88 = mergedtoprow
| header88 ={{#ifeq:{{{total_type}}}|
|
|{{#if:{{{population_total|}}}{{{population_urban|}}}{{{population_rural|}}}{{{population_metro|}}}{{{population_blank1|}}}{{{population_blank2|}}}{{{population_est|}}}
|Population<div class="ib-settlement-fn">{{#if:{{{population_as_of|}}}|{{nbsp}}({{{population_as_of}}})}}{{{population_footnotes|}}}</div>
}}
}}
| rowclass89 = mergedrow
| label89 = <div style="white-space:nowrap;"> • {{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}|{{#if:{{{settlement_type|}}}{{{type|}}}|{{if empty|{{{settlement_type|}}}|{{{type}}}}}|City}}|Total}}}}</div>
| data89 = {{#ifeq:{{{total_type}}}|
|
|{{#if:{{{population_total|}}}
| {{fix comma category|{{formatnum:{{replace|{{{population_total}}}|,|}}}}}}
}}
}}
| rowclass90 = mergedrow
| label90 = <div style="white-space:nowrap;"> • Estimate {{#if:{{{pop_est_as_of|}}}|<div class="ib-settlement-fn">({{{pop_est_as_of}}}){{{pop_est_footnotes|}}}</div>}}</div>
| data90 = {{#if:{{{population_est|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_est}}}|,|}}}}}} }}
<!-- ***Population rank*** -->
| rowclass91 = mergedrow
| label91 = • Rank
| data91 = {{{population_rank|}}}
| rowclass92 = mergedrow
| label92 = • Density
| data92 = {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}{{{population_total|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_km2|}}}
|/sqmi={{{population_density_sq_mi|}}}
|pop ={{{population_total|}}}
|dunam={{if empty|{{{area_land_dunam|}}}|{{{area_total_dunam|}}}}}
|ha ={{if empty|{{{area_land_ha|}}}|{{{area_total_ha|}}}}}
|km2 ={{if empty|{{{area_land_km2|}}}|{{{area_total_km2|}}}}}
|acre ={{if empty|{{{area_land_acre|}}}|{{{area_total_acre|}}}}}
|sqmi ={{if empty|{{{area_land_sq_mi|}}}|{{{area_total_sq_mi|}}}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
<!-- ***Population density rank*** -->
| rowclass93 = mergedrow
| label93 = • Rank
| data93 = {{{population_density_rank|}}}
| rowclass94 = mergedrow
| label94 = • [[Urban area|Urban]]<div class="ib-settlement-fn">{{{population_urban_footnotes|}}}</div>
| data94 = {{#if:{{{population_urban|}}}| {{fix comma category|{{formatnum:{{replace|{{{population_urban}}}|,|}}}}}} }}
| rowclass95 = mergedrow
| label95 = • Urban density
| data95 = {{#if:{{{population_density_urban_km2|}}}{{{population_density_urban_sq_mi|}}}{{{population_urban|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_urban_km2|}}}
|/sqmi={{{population_density_urban_sq_mi|}}}
|pop ={{{population_urban|}}}
|ha ={{{area_urban_ha|}}}
|km2 ={{{area_urban_km2|}}}
|acre ={{{area_urban_acre|}}}
|sqmi ={{{area_urban_sq_mi|}}}
|dunam={{{area_urban_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass96 = mergedrow
| label96 = • [[Rural area|Rural]]<div class="ib-settlement-fn">{{{population_rural_footnotes|}}}</div>
| data96 = {{#if:{{{population_rural|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_rural}}}|,|}}}}}}}}
| rowclass97 = mergedrow
| label97 = • Rural density
| data97 = {{#if:{{{population_density_rural_km2|}}}{{{population_density_rural_sq_mi|}}}{{{population_rural|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_rural_km2|}}}
|/sqmi={{{population_density_rural_sq_mi|}}}
|pop ={{{population_rural|}}}
|ha ={{{area_rural_ha|}}}
|km2 ={{{area_rural_km2|}}}
|acre ={{{area_rural_acre|}}}
|sqmi ={{{area_rural_sq_mi|}}}
|dunam={{{area_rural_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass98 = mergedrow
| label98 = • [[Metropolitan area|Metro]]<div class="ib-settlement-fn">{{{population_metro_footnotes|}}}</div>
| data98 = {{#if:{{{population_metro|}}}| {{fix comma category|{{formatnum:{{replace|{{{population_metro}}}|,|}}}}}} }}
| rowclass99 = mergedrow
| label99 = • Metro density
| data99 = {{#if:{{{population_density_metro_km2|}}}{{{population_density_metro_sq_mi|}}}{{{population_metro|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_metro_km2|}}}
|/sqmi={{{population_density_metro_sq_mi|}}}
|pop ={{{population_metro|}}}
|ha ={{{area_metro_ha|}}}
|km2 ={{{area_metro_km2|}}}
|acre ={{{area_metro_acre|}}}
|sqmi ={{{area_metro_sq_mi|}}}
|dunam={{{area_metro_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass100 = mergedrow
| label100 = • {{{population_blank1_title|}}}<div class="ib-settlement-fn">{{{population_blank1_footnotes|}}}</div>
| data100 = {{#if:{{{population_blank1|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_blank1}}}|,|}}}}}}}}
| rowclass101 = mergedrow
| label101 = • {{#if:{{{population_blank1_title|}}}|{{{population_blank1_title}}} density|Density}}
| data101 = {{#if:{{{population_density_blank1_km2|}}}{{{population_density_blank1_sq_mi|}}}{{{population_blank1|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_blank1_km2|}}}
|/sqmi={{{population_density_blank1_sq_mi|}}}
|pop ={{{population_blank1|}}}
|ha ={{{area_blank1_ha|}}}
|km2 ={{{area_blank1_km2|}}}
|acre ={{{area_blank1_acre|}}}
|sqmi ={{{area_blank1_sq_mi|}}}
|dunam={{{area_blank1_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass102 = mergedrow
| label102 = • {{{population_blank2_title|}}}<div class="ib-settlement-fn">{{{population_blank2_footnotes|}}}</div>
| data102 = {{#if:{{{population_blank2|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_blank2}}}|,|}}}}}}}}
| rowclass103 = mergedrow
| label103 = • {{#if:{{{population_blank2_title|}}}|{{{population_blank2_title}}} density|Density}}
| data103 = {{#if:{{{population_density_blank2_km2|}}}{{{population_density_blank2_sq_mi|}}}{{{population_blank2|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_blank2_km2|}}}
|/sqmi={{{population_density_blank2_sq_mi|}}}
|pop ={{{population_blank2|}}}
|ha ={{{area_blank2_ha|}}}
|km2 ={{{area_blank2_km2|}}}
|acre ={{{area_blank2_acre|}}}
|sqmi ={{{area_blank2_sq_mi|}}}
|dunam={{{area_blank2_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass104 = mergedrow
| label104 =
| data104 = {{{population_note|}}}
| rowclass105 = mergedtoprow
| label105 = {{Pluralize from text|{{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}{{force plural}}}}|<!--
-->link=Demonym|singular=Demonym|likely=Demonym(s)|plural=Demonyms}}
| data105 = {{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}}}{{Main other|{{Pluralize from text|{{{population_demonym|}}}|likely=[[Category:Pages using infobox settlement with possible demonym list]]}}}}
<!-- ***Demographics 1*** -->
| rowclass106 = mergedtoprow
| header106 = {{#if:{{{demographics_type1|}}}
|{{{demographics_type1}}}<div class="ib-settlement-fn">{{{demographics1_footnotes|}}}</div>}}
| rowclass107 = mergedrow
| label107 = • {{{demographics1_title1}}}
| data107 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title1|}}}|{{{demographics1_info1|}}}}}}}
| rowclass108 = mergedrow
| label108 = • {{{demographics1_title2}}}
| data108 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title2|}}}|{{{demographics1_info2|}}}}}}}
| rowclass109 = mergedrow
| label109 = • {{{demographics1_title3}}}
| data109 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title3|}}}|{{{demographics1_info3|}}}}}}}
| rowclass110 = mergedrow
| label110 = • {{{demographics1_title4}}}
| data110 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title4|}}}|{{{demographics1_info4|}}}}}}}
| rowclass111 = mergedrow
| label111 = • {{{demographics1_title5}}}
| data111 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title5|}}}|{{{demographics1_info5|}}}}}}}
| rowclass112 = mergedrow
| label112 = • {{{demographics1_title6}}}
| data112 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title6|}}}|{{{demographics1_info6|}}}}}}}
| rowclass113 = mergedrow
| label113 = • {{{demographics1_title7}}}
| data113 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title7|}}}|{{{demographics1_info7|}}}}}}}
| rowclass114 = mergedrow
| label114 = • {{{demographics1_title8}}}
| data114 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title8|}}}|{{{demographics1_info8|}}}}}}}
| rowclass115 = mergedrow
| label115 = • {{{demographics1_title9}}}
| data115 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title9|}}}|{{{demographics1_info9|}}}}}}}
| rowclass116 = mergedrow
| label116 = • {{{demographics1_title10}}}
| data116 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title10|}}}|{{{demographics1_info10|}}}}}}}
<!-- ***Demographics 2*** -->
| rowclass117 = mergedtoprow
| header117 = {{#if:{{{demographics_type2|}}}
|{{{demographics_type2}}}<div class="ib-settlement-fn">{{{demographics2_footnotes|}}}</div>}}
| rowclass118 = mergedrow
| label118 = • {{{demographics2_title1}}}
| data118 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title1|}}}|{{{demographics2_info1|}}}}}}}
| rowclass119 = mergedrow
| label119 = • {{{demographics2_title2}}}
| data119 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title2|}}}|{{{demographics2_info2|}}}}}}}
| rowclass120 = mergedrow
| label120 = • {{{demographics2_title3}}}
| data120 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title3|}}}|{{{demographics2_info3|}}}}}}}
| rowclass121 = mergedrow
| label121 = • {{{demographics2_title4}}}
| data121 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title4|}}}|{{{demographics2_info4|}}}}}}}
| rowclass122 = mergedrow
| label122 = • {{{demographics2_title5}}}
| data122 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title5|}}}|{{{demographics2_info5|}}}}}}}
| rowclass123 = mergedrow
| label123 = • {{{demographics2_title6}}}
| data123 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title6|}}}|{{{demographics2_info6|}}}}}}}
| rowclass124 = mergedrow
| label124 = • {{{demographics2_title7}}}
| data124 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title7|}}}|{{{demographics2_info7|}}}}}}}
| rowclass125 = mergedrow
| label125 = • {{{demographics2_title8}}}
| data125 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title8|}}}|{{{demographics2_info8|}}}}}}}
| rowclass126 = mergedrow
| label126 = • {{{demographics2_title9}}}
| data126 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title9|}}}|{{{demographics2_info9|}}}}}}}
| rowclass127 = mergedrow
| label127 = • {{{demographics2_title10}}}
| data127 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title10|}}}|{{{demographics2_info10|}}}}}}}
<!-- ***Time Zones*** -->
| rowclass128 = mergedtoprow
| header128 = {{#if:{{{timezone1_location|}}}|{{#if:{{{timezone2|}}}|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]s|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]}}|}}
| rowclass129 = {{#if:{{{timezone1_location|}}}|mergedrow|mergedtoprow}}
| label129 = {{#if:{{{timezone1_location|}}}|{{{timezone1_location}}}|{{#if:{{{timezone2_location|}}}|{{{timezone2_location}}}|{{#if:{{{timezone2|}}}|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]s|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]}}}}}}
| data129 = {{#if:{{{utc_offset1|}}}{{{utc_offset|}}}
|[[UTC{{if empty|{{{utc_offset1|}}}|{{{utc_offset}}}}}]] {{#if:{{{timezone1|}}}{{{timezone|}}}|({{if empty|{{{timezone1|}}}|{{{timezone}}}}})}}
|{{if empty|{{{timezone1|}}}|{{{timezone|}}}}}
}}
| rowclass130 = mergedrow
| label130 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data130 = {{#if:{{{utc_offset1_DST|}}}{{{utc_offset_DST|}}}
|[[UTC{{if empty|{{{utc_offset1_DST|}}}|{{{utc_offset_DST|}}}}}]] {{#if:{{{timezone1_DST|}}}{{{timezone_DST|}}}|({{if empty|{{{timezone1_DST|}}}|{{{timezone_DST}}}}})}}
|{{if empty|{{{timezone1_DST|}}}|{{{timezone_DST|}}}}}
}}
| rowclass131 = mergedrow
| label131 = {{if empty|{{{timezone2_location|}}}|<nowiki />}}
| data131 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset2|}}}
|[[UTC{{{utc_offset2|}}}]] {{#if:{{{timezone2|}}}|({{{timezone2}}})}}
|{{{timezone2|}}}
}}
}}
| rowclass132 = mergedrow
| label132 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data132 = {{#if:{{{utc_offset2_DST|}}}|[[UTC{{{utc_offset2_DST|}}}]] {{#if:{{{timezone2_DST|}}}|({{{timezone2_DST|}}})}}
|{{{timezone2_DST|}}}
}}
| rowclass133 = mergedrow
| label133 = {{if empty|{{{timezone3_location|}}}|<nowiki />}}
| data133 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset3|}}}
|[[UTC{{{utc_offset3|}}}]] {{#if:{{{timezone3|}}}|({{{timezone3}}})}}
|{{{timezone3|}}}
}}
}}
| rowclass134 = mergedrow
| label134 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data134 = {{#if:{{{utc_offset3_DST|}}}|[[UTC{{{utc_offset3_DST|}}}]] {{#if:{{{timezone3_DST|}}}|({{{timezone3_DST|}}})}}
|{{{timezone3_DST|}}}
}}
| rowclass135 = mergedrow
| label135 = {{if empty|{{{timezone4_location|}}}|<nowiki />}}
| data135 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset4|}}}
|[[UTC{{{utc_offset4|}}}]] {{#if:{{{timezone4|}}}|({{{timezone4}}})}}
|{{{timezone4|}}}
}}
}}
| rowclass136 = mergedrow
| label136 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data136 = {{#if:{{{utc_offset4_DST|}}}|[[UTC{{{utc_offset4_DST|}}}]] {{#if:{{{timezone4_DST|}}}|({{{timezone4_DST|}}})}}
|{{{timezone4_DST|}}}
}}
| rowclass137 = mergedrow
| label137 = {{if empty|{{{timezone5_location|}}}|<nowiki />}}
| data137 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset5|}}}
|[[UTC{{{utc_offset5|}}}]] {{#if:{{{timezone5|}}}|({{{timezone5}}})}}
|{{{timezone5|}}}
}}
}}
| rowclass138 = mergedrow
| label138 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data138 = {{#if:{{{utc_offset5_DST|}}}|[[UTC{{{utc_offset5_DST|}}}]] {{#if:{{{timezone5_DST|}}}|({{{timezone5_DST|}}})}}
|{{{timezone5_DST|}}}
}}
<!-- ***Postal Code(s)*** -->
| rowclass139 = mergedtoprow
| label139 = {{if empty|{{{postal_code_type|}}}|{{Pluralize from text|any_comma=1|parse_links=1|{{{postal_code|}}}|link=Postal code|singular=Postal code|plural=Postal codes}}}}
| class139 = adr
| data139 = {{#if:{{{postal_code|}}}|<div class="postal-code">{{{postal_code}}}</div>}}
| rowclass140 = {{#if:{{{postal_code|}}}|mergedbottomrow|mergedtoprow}}
| label140 = {{if empty|{{{postal2_code_type|}}}|{{Pluralize from text|any_comma=1|parse_links=1|{{{postal2_code|}}}|link=Postal code|singular=Postal code|plural=Postal codes}}}}
| class140 = adr
| data140 = {{#if:{{{postal2_code|}}}|<div class="postal-code">{{{postal2_code}}}</div>}}
<!-- ***Area Code(s)*** -->
| rowclass141 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}|mergedrow|mergedtoprow}}
| label141 = {{if empty|{{{area_code_type|}}}|{{Pluralize from text|any_comma=1|parse_links=1|{{if empty|{{{area_code|}}}|{{{area_codes|}}}{{force plural}}}}|<!--
-->link=Telephone numbering plan|singular=Area code|likely=Area code(s)|plural=Area codes}}}}
| data141 = {{if empty|{{{area_code|}}}|{{{area_codes|}}}}}{{#if:{{{area_code_type|}}}||{{Main other|{{Pluralize from text|any_comma=1|parse_links=1|{{{area_code|}}}|||[[Category:Pages using infobox settlement with possible area code list]]}}}}}}
<!-- Geocode-->
| rowclass142 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}|mergedrow|mergedtoprow}}
| label142 = [[Geocode]]
| class142 = nickname
| data142 = {{{geocode|}}}
<!-- ISO Code-->
| rowclass143 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}|mergedrow|mergedtoprow}}
| label143 = [[ISO 3166|ISO 3166 code]]
| class143 = nickname
| data143 = {{{iso_code|}}}
<!-- Vehicle registration plate-->
| rowclass144 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}{{{iso_code|}}}|mergedrow|mergedtoprow}}
| label144 = {{if empty|{{{registration_plate_type|}}}|[[Vehicle registration plate|Vehicle registration]]}}
| data144 = {{{registration_plate|}}}
<!-- Other codes -->
| rowclass145 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}{{{iso_code|}}}{{{registration_plate|}}}|mergedrow|mergedtoprow}}
| label145 = {{{code1_name|}}}
| class145 = nickname
| data145 = {{#if:{{{code1_name|}}}|{{{code1_info|}}}}}
| rowclass146 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}{{{iso_code|}}}{{{registration_plate|}}}{{{code1_name|}}}|mergedrow|mergedtoprow}}
| label146 = {{{code2_name|}}}
| class146 = nickname
| data146 = {{#if:{{{code2_name|}}}|{{{code2_info|}}}}}
<!-- ***Blank Fields (two sections)*** -->
| rowclass147 = mergedtoprow
| label147 = {{if empty|{{{blank_name_sec1|}}}|{{{blank_name|}}}}}
| data147 = {{#if:{{{blank_name_sec1|}}}{{{blank_name|}}}|{{if empty|{{{blank_info_sec1|}}}|{{{blank_info|}}}}}}}
| rowclass148 = mergedrow
| label148 = {{if empty|{{{blank1_name_sec1|}}}|{{{blank1_name|}}}}}
| data148 = {{#if:{{{blank1_name_sec1|}}}{{{blank1_name|}}}|{{if empty|{{{blank1_info_sec1|}}}|{{{blank1_info|}}}}}}}
| rowclass149 = mergedrow
| label149 = {{if empty|{{{blank2_name_sec1|}}}|{{{blank2_name|}}}}}
| data149 = {{#if:{{{blank2_name_sec1|}}}{{{blank2_name|}}}|{{if empty|{{{blank2_info_sec1|}}}|{{{blank2_info|}}}}}}}
| rowclass150 = mergedrow
| label150 = {{if empty|{{{blank3_name_sec1|}}}|{{{blank3_name|}}}}}
| data150 = {{#if:{{{blank3_name_sec1|}}}{{{blank3_name|}}}|{{if empty|{{{blank3_info_sec1|}}}|{{{blank3_info|}}}}}}}
| rowclass151 = mergedrow
| label151 = {{if empty|{{{blank4_name_sec1|}}}|{{{blank4_name|}}}}}
| data151 = {{#if:{{{blank4_name_sec1|}}}{{{blank4_name|}}}|{{if empty|{{{blank4_info_sec1|}}}|{{{blank4_info|}}}}}}}
| rowclass152 = mergedrow
| label152 = {{if empty|{{{blank5_name_sec1|}}}|{{{blank5_name|}}}}}
| data152 = {{#if:{{{blank5_name_sec1|}}}{{{blank5_name|}}}|{{if empty|{{{blank5_info_sec1|}}}|{{{blank5_info|}}}}}}}
| rowclass153 = mergedrow
| label153 = {{if empty|{{{blank6_name_sec1|}}}|{{{blank6_name|}}}}}
| data153 = {{#if:{{{blank6_name_sec1|}}}{{{blank6_name|}}}|{{if empty|{{{blank6_info_sec1|}}}|{{{blank6_info|}}}}}}}
| rowclass154 = mergedrow
| label154 = {{if empty|{{{blank7_name_sec1|}}}|{{{blank7_name|}}}}}
| data154 = {{#if:{{{blank7_name_sec1|}}}{{{blank7_name|}}}|{{if empty|{{{blank7_info_sec1|}}}|{{{blank7_info|}}}}}}}
| rowclass155 = mergedtoprow
| label155 = {{{blank_name_sec2}}}
| data155 = {{#if:{{{blank_name_sec2|}}}|{{{blank_info_sec2|}}}}}
| rowclass156 = mergedrow
| label156 = {{{blank1_name_sec2}}}
| data156 = {{#if:{{{blank1_name_sec2|}}}|{{{blank1_info_sec2|}}}}}
| rowclass157 = mergedrow
| label157 = {{{blank2_name_sec2}}}
| data157 = {{#if:{{{blank2_name_sec2|}}}|{{{blank2_info_sec2|}}}}}
| rowclass158 = mergedrow
| label158 = {{{blank3_name_sec2}}}
| data158 = {{#if:{{{blank3_name_sec2|}}}|{{{blank3_info_sec2|}}}}}
| rowclass159 = mergedrow
| label159 = {{{blank4_name_sec2}}}
| data159 = {{#if:{{{blank4_name_sec2|}}}|{{{blank4_info_sec2|}}}}}
| rowclass160 = mergedrow
| label160 = {{{blank5_name_sec2}}}
| data160 = {{#if:{{{blank5_name_sec2|}}}|{{{blank5_info_sec2|}}}}}
| rowclass161 = mergedrow
| label161 = {{{blank6_name_sec2}}}
| data161 = {{#if:{{{blank6_name_sec2|}}}|{{{blank6_info_sec2|}}}}}
| rowclass162 = mergedrow
| label162 = {{{blank7_name_sec2}}}
| data162 = {{#if:{{{blank7_name_sec2|}}}|{{{blank7_info_sec2|}}}}}
<!-- ***Website*** -->
| rowclass163 = mergedtoprow
| label163 = Website
| data163 = {{#if:{{{website|}}}|{{{website}}}}}
| class164 = maptable
| data164 = {{#if:{{{module|}}}|{{{module}}}}}
<!-- ***Footnotes*** -->
| belowrowclass = mergedtoprow
| below = {{{footnotes|}}}
}}<!-- Check for unknowns
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using {{if empty|{{lcfirst:{{{template_name|}}}}}|infobox settlement}} with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:{{if empty|{{ucfirst:{{{template_name|}}}}}|Infobox settlement}}]] with unknown parameter "_VALUE_"|ignoreblank=y|mapframe_args=y
| alt | anthem | anthem_link | area_blank1_acre | area_blank1_dunam | area_blank1_ha | area_blank1_km2 | area_blank1_sq_mi | area_blank1_title | area_blank2_acre | area_blank2_dunam | area_blank2_ha | area_blank2_km2 | area_blank2_sq_mi | area_blank2_title | area_code | area_code_type | area_codes | area_footnotes | area_land_acre | area_land_dunam | area_land_ha | area_land_km2 | area_land_sq_mi | area_metro_acre | area_metro_dunam | area_metro_footnotes | area_metro_ha | area_metro_km2 | area_metro_sq_mi | area_note | area_rank | area_rural_acre | area_rural_dunam | area_rural_footnotes | area_rural_ha | area_rural_km2 | area_rural_sq_mi | area_total_acre | area_total_dunam | area_total_ha | area_total_km2 | area_total_sq_mi | area_urban_acre | area_urban_dunam | area_urban_footnotes | area_urban_ha | area_urban_km2 | area_urban_sq_mi | area_water_acre | area_water_dunam | area_water_ha | area_water_km2 | area_water_percent | area_water_sq_mi
| blank_emblem_alt | blank_emblem_link | blank_emblem_size | blank_emblem_type | blank_emblem_upright
| blank_info | blank_info_sec1 | blank_info_sec2 | blank_name | blank_name_sec1 | blank_name_sec2 | blank1_info | blank1_info_sec1 | blank1_info_sec2 | blank1_name | blank1_name_sec1 | blank1_name_sec2 | blank2_info | blank2_info_sec1 | blank2_info_sec2 | blank2_name | blank2_name_sec1 | blank2_name_sec2 | blank3_info | blank3_info_sec1 | blank3_info_sec2 | blank3_name | blank3_name_sec1 | blank3_name_sec2 | blank4_info | blank4_info_sec1 | blank4_info_sec2 | blank4_name | blank4_name_sec1 | blank4_name_sec2 | blank5_info | blank5_info_sec1 | blank5_info_sec2 | blank5_name | blank5_name_sec1 | blank5_name_sec2 | blank6_info | blank6_info_sec1 | blank6_info_sec2 | blank6_name | blank6_name_sec1 | blank6_name_sec2 | blank7_info | blank7_info_sec1 | blank7_info_sec2 | blank7_name | blank7_name_sec1 | blank7_name_sec2 | caption | code1_info | code1_name | code2_info | code2_name | coor_pinpoint | coor_type | coordinates | coordinates_footnotes | demographics_type1 | demographics_type2 | demographics1_footnotes | demographics1_info1 | demographics1_info10 | demographics1_info2 | demographics1_info3 | demographics1_info4 | demographics1_info5 | demographics1_info6 | demographics1_info7 | demographics1_info8 | demographics1_info9 | demographics1_title1 | demographics1_title10 | demographics1_title2 | demographics1_title3 | demographics1_title4 | demographics1_title5 | demographics1_title6 | demographics1_title7 | demographics1_title8 | demographics1_title9 | demographics2_footnotes | demographics2_info1 | demographics2_info10 | demographics2_info2 | demographics2_info3 | demographics2_info4 | demographics2_info5 | demographics2_info6 | demographics2_info7 | demographics2_info8 | demographics2_info9 | demographics2_title1 | demographics2_title10 | demographics2_title2 | demographics2_title3 | demographics2_title4 | demographics2_title5 | demographics2_title6 | demographics2_title7 | demographics2_title8 | demographics2_title9 | dimensions_footnotes | dunam_link | elevation_footnotes | elevation_ft | elevation_link | elevation_m | elevation_max_footnotes | elevation_max_ft | elevation_max_m | elevation_max_point | elevation_max_rank | elevation_min_footnotes | elevation_min_ft | elevation_min_m | elevation_min_point | elevation_min_rank | elevation_point | embed | established_date | established_date1 | established_date2 | established_date3 | established_date4 | established_date5 | established_date6 | established_date7 | established_title | established_title1 | established_title2 | established_title3 | established_title4 | established_title5 | established_title6 | established_title7 | etymology | extinct_date | extinct_title | flag_alt | flag_border | flag_link | flag_size | footnotes | founder | geocode | governing_body | government_footnotes | government_type | government_blank1_title | government_blank1 | government_blank2_title | government_blank2 | government_blank2_title | government_blank3 | government_blank3_title | government_blank3 | government_blank4_title | government_blank4 | government_blank5_title | government_blank5 | government_blank6_title | government_blank6 | grid_name | grid_position
| image_alt | image_blank_emblem | image_caption | image_flag | image_map | image_map1 | image_seal | image_shield | image_size | image_skyline | imagesize | image_upright
| iso_code | leader_name | leader_name1 | leader_name2 | leader_name3 | leader_name4 | leader_name5 | leader_party | leader_title | leader_title1 | leader_title2 | leader_title3 | leader_title4 | leader_title5 | length_km | length_mi | map_alt | map_alt1 | map_caption | map_caption1 | mapsize | mapsize1 | module | motto | motto_link | mottoes | name | named_for | native_name | native_name_lang | nickname | nickname_link | nicknames | official_name | other_name | p1 | p10 | p11 | p12 | p13 | p14 | p15 | p16 | p17 | p18 | p19 | p2 | p20 | p21 | p22 | p23 | p24 | p25 | p26 | p27 | p28 | p29 | p3 | p30 | p31 | p32 | p33 | p34 | p35 | p36 | p37 | p38 | p39 | p4 | p40 | p41 | p42 | p43 | p44 | p45 | p46 | p47 | p48 | p49 | p5 | p50 | p6 | p7 | p8 | p9 | parts | parts_style | parts_type | pop_est_as_of | pop_est_footnotes | population_as_of | population_blank1 | population_blank1_footnotes | population_blank1_title | population_blank2 | population_blank2_footnotes | population_blank2_title | population_demonym | population_demonyms | population_density_blank1_km2 | population_density_blank1_sq_mi | population_density_blank2_km2 | population_density_blank2_sq_mi | population_density_km2 | population_density_metro_km2 | population_density_metro_sq_mi | population_density_rank | population_density_rural_km2 | population_density_rural_sq_mi | population_density_sq_mi | population_density_urban_km2 | population_density_urban_sq_mi | population_est | population_footnotes | population_metro | population_metro_footnotes | population_note | population_rank | population_rural | population_rural_footnotes | population_total | population_urban | population_urban_footnotes | postal_code | postal_code_type | postal2_code | postal2_code_type | pushpin_image | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_caption_notsmall | pushpin_map_narrow | pushpin_mapsize | pushpin_outside | pushpin_overlay | pushpin_relief | registration_plate | registration_plate_type | seal_alt | seal_class | seal_link | seal_size | seal_type | seat | seat_type | seat1 | seat1_type | seat2 | seat2_type | settlement_type | shield_alt | shield_link | shield_size | short_description <!--used by Module:Settlement short description-->| subdivision_name | subdivision_name1 | subdivision_name2 | subdivision_name3 | subdivision_name4 | subdivision_name5 | subdivision_name6 | subdivision_type | subdivision_type1 | subdivision_type2 | subdivision_type3 | subdivision_type4 | subdivision_type5 | subdivision_type6 | template_name | timezone | timezone_DST | timezone_link | timezone1 | timezone1_DST | timezone1_location | timezone2 | timezone2_DST | timezone2_location | timezone3 | timezone3_DST | timezone3_location | timezone4 | timezone4_DST | timezone4_location | timezone5 | timezone5_DST | timezone5_location | total_type | translit_lang1 | translit_lang1_info | translit_lang1_info1 | translit_lang1_info2 | translit_lang1_info3 | translit_lang1_info4 | translit_lang1_info5 | translit_lang1_info6 | translit_lang1_type | translit_lang1_type1 | translit_lang1_type2 | translit_lang1_type3 | translit_lang1_type4 | translit_lang1_type5 | translit_lang1_type6 | translit_lang2 | translit_lang2_info | translit_lang2_info1 | translit_lang2_info2 | translit_lang2_info3 | translit_lang2_info4 | translit_lang2_info5 | translit_lang2_info6 | translit_lang2_type | translit_lang2_type1 | translit_lang2_type2 | translit_lang2_type3 | translit_lang2_type4 | translit_lang2_type5 | translit_lang2_type6 | type | unit_pref | utc_offset | utc_offset_DST | utc_offset1 | utc_offset1_DST | utc_offset2 | utc_offset2_DST | utc_offset3 | utc_offset3_DST | utc_offset4 | utc_offset4_DST | utc_offset5 | utc_offset5_DST | website | width_km | width_mi }}<!--
-->{{#invoke:Check for conflicting parameters|check
| template = [[Template:{{if empty|{{ucfirst:{{{template_name|}}}}}|Infobox settlement}}]]
| cat = {{main other|Category:Pages using {{if empty|{{lcfirst:{{{template_name|}}}}}|infobox settlement}} with conflicting parameters}}
| settlement_type; type
| image_size; imagesize
| image_alt; alt
| image_caption; caption
| nickname; nicknames
| motto; mottoes
| coor_pinpoint; coor_type
| population_demonym; population_demonyms
| utc_offset1; utc_offset
| timezone1; timezone
| utc_offset1_DST; utc_offset_DST
| timezone1_DST; timezone_DST
| area_code; area_codes
| blank_name_sec1; blank_name
| blank_info_sec1; blank_info
| blank1_name_sec1; blank1_name
| blank1_info_sec1; blank1_info
| blank2_name_sec1; blank2_name
| blank2_info_sec1; blank2_info
| blank3_name_sec1; blank3_name
| blank3_info_sec1; blank3_info
| blank4_name_sec1; blank4_name
| blank4_info_sec1; blank4_info
| blank5_name_sec1; blank5_name
| blank5_info_sec1; blank5_info
| blank6_name_sec1; blank6_name
| blank6_info_sec1; blank6_info
| blank7_name_sec1; blank7_name
| blank7_info_sec1; blank7_info
}}<!-- Wikidata
-->{{#if:{{{coordinates_wikidata|}}}{{{wikidata|}}}
|[[Category:Pages using infobox settlement with the wikidata parameter]]
}}{{main other|<!-- Missing country
-->{{#if:{{{subdivision_name|}}}||[[Category:Pages using infobox settlement with missing country]]}}<!-- No map
-->{{#if:{{{pushpin_map|}}}{{{image_map|}}}{{{image_map1|}}}||[[Category:Pages using infobox settlement with no map]]}}<!-- Image_map1 without image_map
-->{{#if:{{{image_map1|}}}|{{#if:{{{image_map|}}}||[[Category:Pages using infobox settlement with image_map1 but not image_map]]}}}}<!-- No coordinates
-->{{#if:{{{coordinates|}}}||[[Category:Pages using infobox settlement with no coordinates]]}}<!--
-->{{#if:{{{embed|}}}|[[Category:Pages using infobox settlement with embed]]}}
}}<!-- Gathering information on over-use of maps
-->{{#ifexpr:{{#invoke:ParameterCount|main|mapframe|image_map|image_map1|pushpin_map}} >2 |{{main other| [[Category:Pages using infobox settlement with potentially too many maps]]}}}}</includeonly><noinclude>
{{documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
pkqsubwyzeehptxrn9z7lec6zup5fve
70332
70331
2026-04-25T03:29:35Z
Exec8
6243
70332
wikitext
text/x-wiki
<includeonly>{{Infocaixa
|templatestyles = Predefinição:Info/Assentamento/styles.css
|classe = ib-settlement vcard
|estilo = width:23em;
|título-estilo = background-color:{{if empty|{{{título_cor_fundo|}}}|#f9f9f9}}; color:{{if empty|{{{título_cor|}}}|#000}};
|título = <div class="fn org">{{se_vazio|{{{nome|}}}|{{{nome_oficial|}}}|{{PAGENAMEBASE}}}}</div>
{{#if:{{{nome_nativo|}}}|<div class="nickname ib-settlement-native" {{#if:{{{nome_nativo_ling|}}}|lang="{{{nome_nativo_ling}}}"}}>{{nobold|{{{nome_nativo}}}}}</div>}}{{#if:{{{outro_nome|}}}|<div class="nickname ib-settlement-other-name">{{{outro_nome}}}</div>}}
|subtítulo = {{#if:{{{assentamento_tipo|}}}{{{tipo|}}}|<div class="category">{{se vazio|{{{assentamento_tipo|}}}|{{{tipo}}}}}</div>}}
|classe-linha1 = mergedtoprow ib-settlement-official
|dados1 = {{#if:{{{nome|}}}|{{{nome_oficial|}}}}}
|classe-linha2 = mergedtoprow
|tópico2 = {{#if: {{{translit_ling1|}}}|transliterações em {{{translit_ling1|}}}}}
|classe-linha3 = {{#if:{{{translit_ling1_tipo1|}}}|mergedrow|mergedbottomrow}}
|rótulo3 = {{#if: {{{translit_ling1_tipo|}}}| • {{{translit_ling1_tipo|}}}}}
|dados3 = {{{translit_ling1_info|}}}
|classe-linha4 = {{#if:{{{translit_ling1_tipo2|}}}|mergedrow|mergedbottomrow}}
|rótulo4 = {{#if: {{{translit_ling1_tipo1|}}}| • {{{translit_ling1_tipo1|}}}}}
|dados4 = {{{translit_ling1_info1|}}}
|classe-linha5 = {{#if:{{{translit_ling1_tipo3|}}}|mergedrow|mergedbottomrow}}
|rótulo5 = {{#if: {{{translit_ling1_tipo2|}}}| • {{{translit_ling1_tipo2|}}}}}
|dados5 = {{{translit_ling1_info2|}}}
|classe-linha6 = {{#if:{{{translit_ling1_tipo4|}}}|mergedrow|mergedbottomrow}}
|rótulo6 = {{#if: {{{translit_ling1_tipo3|}}}| • {{{translit_ling1_tipo3|}}}}}
|dados6 = {{{translit_ling1_info3|}}}
|classe-linha7 = {{#if:{{{translit_ling1_tipo5|}}}|mergedrow|mergedbottomrow}}
|rótulo7 = {{#if: {{{translit_ling1_tipo4|}}}| • {{{translit_ling1_tipo4|}}}}}
|dados7 = {{{translit_ling1_info4|}}}
|classe-linha8 = {{#if:{{{translit_ling1_tipo6|}}}|mergedrow|mergedbottomrow}}
|rótulo8 = {{#if: {{{translit_ling1_tipo5|}}}| • {{{translit_ling1_tipo5|}}}}}
|dados8 = {{{translit_ling1_info5|}}}
|classe-linha9 = mergedbottomrow
|rótulo9 = {{#if: {{{translit_ling1_tipo6|}}}| • {{{translit_ling1_tipo6|}}}}}
|dados9 = {{{translit_ling1_info6|}}}
|classe-linha10 = mergedtoprow
|tópico10 = {{#if: {{{translit_ling2|}}}|transliterações em {{{translit_ling2|}}}}}
|classe-linha11 = {{#if:{{{translit_ling2_tipo1|}}}|mergedrow|mergedbottomrow}}
|rótulo11 = {{#if: {{{translit_ling2_tipo|}}}| • {{{translit_ling2_tipo|}}}}}
|dados11 = {{{translit_ling2_info|}}}
|classe-linha12 = {{#if:{{{translit_ling2_tipo2|}}}|mergedrow|mergedbottomrow}}
|rótulo12 = {{#if: {{{translit_ling2_tipo1|}}}| • {{{translit_ling2_tipo1|}}}}}
|dados12 = {{{translit_ling2_info1|}}}
|classe-linha13 = {{#if:{{{translit_ling2_tipo3|}}}|mergedrow|mergedbottomrow}}
|rótulo13 = {{#if: {{{translit_ling2_tipo2|}}}| • {{{translit_ling2_tipo2|}}}}}
|dados13 = {{{translit_ling2_info2|}}}
|classe-linha14 = {{#if:{{{translit_ling2_tipo4|}}}|mergedrow|mergedbottomrow}}
|rótulo14 = {{#if: {{{translit_ling2_tipo3|}}}| • {{{translit_ling2_tipo3|}}}}}
|dados14 = {{{translit_ling2_info3|}}}
|classe-linha15 = {{#if:{{{translit_ling2_tipo5|}}}|mergedrow|mergedbottomrow}}
|rótulo15 = {{#if: {{{translit_ling2_tipo4|}}}| • {{{translit_ling2_tipo4|}}}}}
|dados15 = {{{translit_ling2_info4|}}}
|classe-linha16 = {{#if:{{{translit_ling2_tipo6|}}}|mergedrow|mergedbottomrow}}
|rótulo16 = {{#if: {{{translit_ling2_tipo5|}}}| • {{{translit_ling2_tipo5|}}}}}
|dados16 = {{{translit_ling2_info5|}}}
|classe-linha17 = mergedbottomrow
|rótulo17 = {{#if: {{{translit_ling2_tipo6|}}}| • {{{translit_ling2_tipo6|}}}}}
|dados17 = {{{translit_ling2_info6|}}}
|dados18 = {{{imagem_múltipla|}}}
|classe-linha19 = mergedtoprow
|dados19 = {{#if: {{{imagem_horizonte|}}}{{{imagem|}}}
|[[Imagem:{{if empty|{{{imagem_horizonte|}}}|{{{imagem|}}}}}|{{
px | {{{imagem_tamanho|}}} | {{{imagens_tamanho|}}} |250 }}|centro|{{{imagem_legenda|Horizonte de {{
Argvar | {{{nome|}}} | {{{nome_oficial|}}} }}}}}]]{{
#if: {{{imagem_legenda|}}}|<small>{{{imagem_legenda|}}}</small>}}}}{{
#if: {{{imagem_horizonte1|}}} |
{{{imagem_horizonte1|}}}
}}<!--
-->|classe-linha20 = mergedtoprow
|dados20 ={{#if: {{{imagem_bandeira|}}}{{{bandeira_imagem|}}}{{{imagem_selo|}}}{{{selo_imagem|}}}{{{imagem_escudo|}}}{{{escudo_imagem|}}}{{{imagem_emblema_vazio|}}}{{{emblema_vazio_imagem|}}}
|{{Info/Assentamento/colunas
| 1 = {{#if:{{{imagem_bandeira|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{imagem_bandeira}}}|size={{{tamanho_bandeira|}}}{{{bandeira_tamanho|}}}|sizedefault=125px|border={{yesno |{{{flag_border|}}}|yes=yes|blank=yes}}|alt={{{flag_alt|}}}|title=Bandeira de {{if empty|{{{nome|}}}|{{{nome_oficial|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link"><div style="padding-top:0.15em;">{{Info/Assentamento/link|tipo=Bandeira|link={{{bandeira_link|}}}|nome={{if empty|{{{nome|}}}|{{{nome_oficial}}}}}}}</div></div>}}
| 2 = {{#if:{{{imagem_selo|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{imagem_selo|}}}|size={{{selo_tamanho|}}}|sizedefault=85px|alt={{{selo_alt|}}}|title=Selo oficial de {{if empty|{{{nome|}}}|{{{nome_oficial|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link"><div style="padding-top:0.15em;">{{Info/Assentamento/link|tipo={{if empty|{{{selo_tipo|}}}|Selo}}|link={{{selo_link|}}}|nome={{if empty|{{{nome|}}}|{{{nome_oficial}}}}}}}</div></div>}}
| 3 = {{#if:{{{imagem_escudo|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{imagem_escudo|}}}|size={{{escudo_tamanho|}}}|sizedefault=85px|alt={{{escudo_alt|}}}|title=Brasão de armas de {{if empty|{{{nome|}}}|{{{nome_oficial|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link"><div style="padding-top:0.15em;">{{Info/Assentamento/link|tipo=Brasão de armas|link={{{escudo_link|}}}|nome={{if empty|{{{nome|}}}|{{{nome_oficial}}}}}}}</div></div>}}
| 4 = {{#if:{{{emblema_vazio_imagem|}}}{{{imagem_emblema_vazio|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{emblema_vazio_imagem|}}}{{{imagem_emblema_vazio|}}}|size={{{emblema_vazio_tamanho|}}}|sizedefault=85px|alt={{{emblema_vazio_alt|}}}|title=Logo oficial de {{if empty|{{{nome|}}}|{{{nome_oficial|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link"><div style="padding-top:0.15em;">{{Info/Assentamento/link|tipo={{#if:{{{emblema_vazio_tipo|}}}|{{{emblema_vazio_tipo}}}}}|link={{{emblema_vazio_link|}}}|nome={{if empty|{{{nome|}}}|{{{nome_oficial}}}}}}}</div></div>}}
}}}}<!-- dados20
-->|classe-linha21 = mergedtoprow
|rótulo21 ={{#if: {{{hino|}}} |[[Hino]]}}
|dados21 ={{if empty|{{{hino|}}}|{{{hino2|}}}}}
|classe-linha22 = {{#if:{{{hino|}}}{{{hino2|}}}|mergedrow|mergedtoprow}}
|rótulo22 =[[Lema]]
|dados22 ={{{lema|}}}
|classe-linha23 = {{#if:{{{hino|}}}{{{hino2|}}}{{{lema|}}}|mergedrow|mergedtoprow}}
|rótulo23 =[[Alcunha{{!}}{{Iflang | {{if empty|{{{lang|}}}|br}} |{{
#if: {{{alcunha|}}} | Alcunha | Apelido}} | Alcunha}}(s)]]
|dados23 ={{if empty|{{{apelido|}}}|{{{alcunha|}}}}}
|classe-linha24 = mergedbottomrow
|rótulo24 =[[Gentílico]]
|dados24 ={{{gentílico|}}}
|dados25 ={{#if: {{{imagem_mapa|}}}{{{mapa_imagem|}}}
|[[Imagem:{{{imagem_mapa|}}}{{{mapa_imagem|}}}|{{
px | {{{mapa_tamanho|}}} | {{{imagens_tamanho|}}} |250 }}|centro|{{{mapa_legenda|Localização de {{se_vazio | {{{nome|}}} | {{{nome_oficial|}}} }}}}}]]{{
#if: {{{mapa_legenda|}}}
|<small>{{{mapa_legenda|}}}</small>}}
}}{{
#if: {{{imagem_mapa1|}}}{{{mapa_imagem1|}}}
|[[Imagem:{{{imagem_mapa1|}}}{{{mapa_imagem1|}}}|{{
px | {{{mapa_tamanho1|}}} | {{{imagens_tamanho|}}} |250 }}|centro|{{{mapa_legenda1|Localização de {{se_vazio | {{{nome|}}} | {{{nome_oficial|}}} }}}}}]]{{
#if: {{{mapa_legenda1|}}}
|<small>{{{mapa_legenda1|}}}</small>}}
}}<!--*****Dot Map***** -->{{
#if: {{{imagem_mapa_ponto|}}}{{{mapa_ponto_imagem|}}} |
{{superimpose
|base = {{{imagem_mapa_ponto|}}}{{{mapa_ponto_imagem|}}}
|base_width = {{px | {{{mapa_ponto_tamanho|}}} |180 }}
|base_caption = {{se_vazio | {{{nome|}}} | {{{nome_oficial|}}} }}
|float = Disc Plain red.svg
|float_width = 9px
|float_caption = {{{mapa_ponto_legenda|}}}
|x = {{{ponto_x|}}}
|y = {{{ponto_y|}}}
}}{{
#if: {{{mapa_ponto_legenda|}}}
|<small>{{{mapa_ponto_legenda|}}}</small>}}
}}<!-- ***** Pushpin Map ***** -->{{
#if: {{Coor dms/str | {{{latd|}}} | {{{coord_str|}}} |1|2}}
|{{#switch: X{{{mapa_alfinete|}}}X
|XX|X-X=
|#default =
{{Mapa de localização|{{{mapa_alfinete|}}}
|label = {{#ifeq: {{lc: {{{mapa_alfinete_posição|}}} }} | none | | {{se_vazio | {{{nome|}}} | {{{nome_oficial|}}} }}}}
|coord_str ={{{coord_str|}}}
|latG={{{latd|}}}
|latM={{{latm|}}}
|latS={{{lats|}}}
|latP={{if empty|{{{latNS|}}}|N}}
|lonG={{{longd|}}}
|lonM={{{longm|}}}
|lonS={{{longs|}}}
|lonP={{#switch: {{uc:{{{longEW|}}}}}
|E|L=E|#default=W}}
|float= center
|borda= none
|posição= {{{mapa_alfinete_posição|right|}}}
|largura= {{se_vazio | {{{mapa_alfinete_tamanho|}}} | {{{imagens_tamanho|}}} |250}}
}}{{#if: {{{mapa_alfinete_legenda|}}}
|<small>{{{mapa_alfinete_legenda|}}}</small>|{{#if: {{{mapa_legenda|}}}|<small>{{{mapa_legenda|}}}</small> }} }}
}}}}{{
#if: {{Coor dms/str | {{{latd|}}} | {{{coord_str|}}} |1|2}}
|{{#switch: X{{{mapa_alfinete1|}}}X
|XX|X-X=
|#default =
{{Mapa de localização|{{{mapa_alfinete1|}}}
|label = {{#ifeq: {{lc: {{{mapa_alfinete_posição1|}}} }} | none | | {{se_vazio | {{{nome|}}} | {{{nome_oficial|}}} }}}}
|coord_str ={{{coord_str|}}}
|latG={{{latd|}}}
|latM={{{latm|}}}
|latS={{{lats|}}}
|latP={{if empty|{{{latNS|}}}|N}}
|lonG={{{longd|}}}
|lonM={{{longm|}}}
|lonS={{{longs|}}}
|lonP={{#switch: {{uc:{{{longEW|}}}}}
|E|L=E|#default=W}}
|float= center
|borda= none
|posição= {{{mapa_alfinete_posição1|right|}}}
|largura = {{se_vazio | {{{mapa_alfinete_tamanho1|}}} | {{{imagens_tamanho|}}} |250}}
}}{{#if: {{{mapa_alfinete_legenda1|}}}
|<small>{{{mapa_alfinete_legenda1|}}}</small>|{{#if: {{{mapa_legenda|}}}|<small>{{{mapa_legenda|}}}</small> }} }}
}}}}{{
Info/Mapa dinâmico | {{{latd|}}} | {{{latm|}}} | {{{lats|}}} | {{{latNS|}}} | {{{longd|}}} | {{{longm|}}} | {{{longs|}}} | {{{longEW|}}} |
coord_str ={{{coord_str|}}}|
legenda ={{{mapa_dinâmico_legenda|}}}|
zoom ={{if empty|{{{mapa_dinâmico_zoom|}}}|13}}|
altura ={{if empty|{{{mapa_dinâmico_altura|}}}|250}}|
visível ={{{mapa_dinâmico|}}}{{{mapa_dinâmico_zoom|}}}{{{mapa_dinâmico_altura|}}}{{{mapa_dinâmico_largura|}}}|
largura ={{se_vazio | {{{mapa_dinâmico_largura|}}}| {{{mapa_dinâmico_tamanho|}}} | {{{imagens_tamanho|}}} |250 }} }}
|dados26 = {{#if:{{{coordenadas|}}}{{{latd|}}}{{{coord_str|}}}|Coordenadas: {{#if:{{{coordenadas|}}}|{{{coordenadas}}}|{{Info/coord|
display=inline{{#if:{{{coord_título|}}}|,title}}|
latd={{Coor dms/str | {{{latd|}}} | {{{coord_str|}}} |1|2}}|
latm={{Coor dms/str | {{{latm|}}} | {{{coord_str|}}} |4|2}}|
lats={{Coor dms/str | {{{lats|}}} | {{{coord_str|}}} |7|2}}|
latNS={{#if:{{{latd|}}}|{{if empty|{{{latNS|}}}|N}}|{{Coor dms/strL||lat|{{{coord_str|}}}}}}}|
longd={{Coor dms/str | {{{longd|}}} | {{{coord_str|}}} |12|2}}|
longm={{Coor dms/str | {{{longm|}}} | {{{coord_str|}}} |15|2}}|
longs={{Coor dms/str | {{{longs|}}} | {{{coord_str|}}} |18|2}}|
longEW={{#if:{{{latd|}}}|
{{#switch:{{uc:{{{longEW|}}}}}|E|L=E|#default=W}}
|{{Coor dms/strL||lon|{{{coord_str|}}}}}}}|
coord_sufixo={{if empty|{{{coord_sufixo|}}}|scale:4000000}}
}}}}}}
|classe-linha27 = mergedtoprow
|rótulo27 ={{if empty|{{{subdivisão_tipo0|}}}|País}}
|dados27 ={{if empty|{{{subdivisão_nome0|}}}|{{{país|}}}}}
|classe-linha28 = mergedrow
|rótulo28 ={{{subdivisão_tipo|}}}
|dados28 ={{{subdivisão_nome|}}}
|classe-linha29 = mergedrow
|rótulo29 ={{{subdivisão_tipo1|}}}
|dados29 ={{{subdivisão_nome1|}}}
|classe-linha30 = mergedrow
|rótulo30 ={{{subdivisão_tipo2|}}}
|dados30 ={{{subdivisão_nome2|}}}
|classe-linha31 = mergedrow
|rótulo31 ={{{subdivisão_tipo3|}}}
|dados31 ={{{subdivisão_nome3|}}}
|classe-linha32 = mergedrow
|rótulo32 ={{{subdivisão_tipo4|}}}
|dados32 ={{{subdivisão_nome4|}}}
|classe-linha33 = mergedrow
|rótulo33 ={{{subdivisão_tipo5|}}}
|dados33 ={{{subdivisão_nome5|}}}
|classe-linha34 = mergedrow
|rótulo34 ={{{subdivisão_tipo6|}}}
|dados34 ={{{subdivisão_nome6|}}}
|classe-linha35 = mergedrow
|rótulo35 ={{{subdivisão_tipo7|}}}
|dados35 ={{{subdivisão_nome7|}}}
|classe-linha36 = mergedrow
|rótulo36 ={{{subdivisão_tipo8|}}}
|dados36 ={{{subdivisão_nome8|}}}
|classe-linha37 = mergedrow
|rótulo37 ={{{subdivisão_tipo9|}}}
|dados37 ={{{subdivisão_nome9|}}}
|classe-linha38 = mergedrow
|rótulo38 ={{{subdivisão_tipo10|}}}
|dados38 ={{{subdivisão_nome10|}}}
|classe-linha39 = mergedrow
|rótulo39 =[[Freguesia#Códigos|Código]]
|dados39 ={{{dicofre|}}}
|classe-linha40 = mergedrow
|rótulo40 =Vizinhos
|dados40 ={{{vizinhos|}}}
|classe-linha41 = mergedtoprow
|rótulo41 = {{se vazio|{{{estabelecido_título|}}}|Estabelecido}}
|dados41 = {{{estabelecido_data|}}}
|classe-linha42 = mergedrow
|rótulo42 = {{{estabelecido_título1|}}}
|dados42 = {{{estabelecido_data1|}}}
|classe-linha43 = mergedrow
|rótulo43 = {{{estabelecido_título2|}}}
|dados43 = {{{estabelecido_data2|}}}
|classe-linha44 = mergedrow
|rótulo44 = {{{estabelecido_título3|}}}
|dados44 = {{{estabelecido_data3|}}}
|classe-linha45 = mergedrow
|rótulo45 = {{{estabelecido_título4|}}}
|dados45 = {{{estabelecido_data4|}}}
|classe-linha46 = mergedrow
|rótulo46 = {{{estabelecido_título5|}}}
|dados46 = {{{estabelecido_data5|}}}
|classe-linha47 = mergedrow
|rótulo47 = {{{extinto_título|}}}
|dados47 = {{{extinto_data|}}}
|classe-linha48 = mergedrow
|rótulo48 = Fundador
|dados48 = {{{fundador|}}}
|classe-linha49 = mergedrow
|rótulo49 = Nomeado por
|dados49 = {{{nomeado_por|}}}
|classe-linha50 = mergedtoprow
|rótulo50 = {{if empty|{{{sede_tipo|}}}|Sede}}
|dados50 = {{{sede|}}}
|classe-linha51 = {{#if:{{{sede|}}}|mergedrow|mergedtoprow}}
|rótulo51 = {{if empty|{{{partes_tipo|}}}|Distritos}}
|dados51 = {{#ifeq:{{{partes_estilo|}}}|para|<b>{{{partes|}}}{{#if:{{both|{{{partes|}}}|{{{p1|}}}}}|: |}}</b>{{#if: {{{p1|}}}|{{{p1|}}}{{#if: {{{p2|}}}|, {{{p2|}}}{{#if: {{{p3|}}}|, {{{p3|}}}{{#if: {{{p4|}}}|, {{{p4|}}}{{#if: {{{p5|}}}|, {{{p5|}}}{{#if: {{{p6|}}}|, {{{p6|}}}{{#if: {{{p7|}}}|, {{{p7|}}}{{#if: {{{p8|}}}|, {{{p8|}}}{{#if: {{{p9|}}}|, {{{p9|}}}{{#if: {{{p10|}}}|, {{{p10|}}}{{#if: {{{p11|}}}|, {{{p11|}}}{{#if: {{{p12|}}}|, {{{p12|}}}{{#if: {{{p13|}}}|, {{{p13|}}}{{#if: {{{p14|}}}|, {{{p14|}}}{{#if: {{{p15|}}}|, {{{p15|}}}{{#if: {{{p16|}}}|, {{{p16|}}}{{#if: {{{p17|}}}|, {{{p17|}}}{{#if: {{{p18|}}}|, {{{p18|}}}{{#if: {{{p19|}}}|, {{{p19|}}}{{#if: {{{p20|}}}|, {{{p20|}}}{{#if: {{{p21|}}}|, {{{p21|}}}{{#if: {{{p22|}}}|, {{{p22|}}}{{#if: {{{p23|}}}|, {{{p23|}}}{{#if: {{{p24|}}}|, {{{p24|}}}{{#if: {{{p25|}}}|, {{{p25|}}}{{#if: {{{p26|}}}|, {{{p26|}}}{{#if: {{{p27|}}}|, {{{p27|}}}{{#if: {{{p28|}}}|, {{{p28|}}}{{#if: {{{p29|}}}|, {{{p29|}}}{{#if: {{{p30|}}}|, {{{p30|}}}{{#if: {{{p31|}}}|, {{{p31|}}}{{#if: {{{p32|}}}|, {{{p32|}}}{{#if: {{{p33|}}}|, {{{p33|}}}{{#if: {{{p34|}}}|, {{{p34|}}}{{#if: {{{p35|}}}|, {{{p35|}}}{{#if: {{{p36|}}}|, {{{p36|}}}{{#if: {{{p37|}}}|, {{{p37|}}}{{#if: {{{p38|}}}|, {{{p38|}}}{{#if: {{{p39|}}}|, {{{p39|}}}{{#if: {{{p40|}}}|, {{{p40|}}}{{#if: {{{p41|}}}|, {{{p41|}}}{{#if: {{{p42|}}}|, {{{p42|}}}{{#if: {{{p43|}}}|, {{{p43|}}}{{#if: {{{p44|}}}|, {{{p44|}}}{{#if: {{{p45|}}}|, {{{p45|}}}{{#if: {{{p46|}}}|, {{{p46|}}}{{#if: {{{p47|}}}|, {{{p47|}}}{{#if: {{{p48|}}}|, {{{p48|}}}{{#if: {{{p49|}}}|, {{{p49|}}}{{#if: {{{p50|}}}|, {{{p50|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|{{#if: {{{p1|}}}|{{Collapsible list|título={{{partes|}}}|frame_style=border:none;padding:0;|list_style=text-align:left;display:{{#if:{{#ifeq:{{{partes_estilo|}}}|coll|1|}}{{both|{{{p6|}}}}}|none|on}}|1={{{p1|}}}|2={{{p2|}}}|3={{{p3|}}}|4={{{p4|}}}|5={{{p5|}}}|6={{{p6|}}}|7={{{p7|}}}|8={{{p8|}}}|9={{{p9|}}}|10={{{p10|}}}|11={{{p11|}}}|12={{{p12|}}}|13={{{p13|}}}|14={{{p14|}}}|15={{{p15|}}}|16={{{p16|}}}|17={{{p17|}}}|18={{{p18|}}}|19={{{p19|}}}|20={{{p20|}}}|21={{{p21|}}}|22={{{p22|}}}|23={{{p23|}}}|24={{{p24|}}}|25={{{p25|}}}|26={{{p26|}}}|27={{{p27|}}}|28={{{p28|}}}|29={{{p29|}}}|30={{{p30|}}}|31={{{p31|}}}|32={{{p32|}}}|33={{{p33|}}}|34={{{p34|}}}|35={{{p35|}}}|36={{{p36|}}}|37={{{p37|}}}|38={{{p38|}}}|39={{{p39|}}}|40={{{p40|}}}|41={{{p41|}}}|42={{{p42|}}}|43={{{p43|}}}|44={{{p44|}}}|45={{{p45|}}}|46={{{p46|}}}|47={{{p47|}}}|48={{{p48|}}}|49={{{p49|}}}|50={{{p50|}}}}}|{{{partes|}}}}}}}
|classe-linha52 = mergedtoprow
|tópico52 = {{#if:{{{governo_tipo|}}}{{{líder_nome|}}}{{{líder_nome1|}}}{{{líder_nome2|}}}{{{líder_nome3|}}}{{{líder_nome4|}}}|Governo}}
|classe-linha53 = mergedrow
|rótulo53 = • Tipo
|dados53 ={{{governo_tipo|}}} {{{governo_notas|}}}
|classe-linha54 = mergedrow
|rótulo54 = • {{{líder_título|}}}
|dados54 ={{Info/Assentamento/líderes|{{{líder_nome|}}}|{{{líder_partido|}}}|{{{líder_ano|}}}}}
|classe-linha55 = mergedrow
|rótulo55 = • {{{líder_título1|}}}
|dados55 ={{Info/Assentamento/líderes|{{{líder_nome1|}}}|{{{líder_partido1|}}}|{{{líder_ano1|}}}}}
|classe-linha56 = mergedrow
|rótulo56 = • {{{líder_título2|}}}
|dados56 ={{Info/Assentamento/líderes|{{{líder_nome2|}}}|{{{líder_partido2|}}}|{{{líder_ano2|}}}}}
|classe-linha57 = mergedrow
|rótulo57 = • {{{líder_título3|}}}
|dados57 ={{Info/Assentamento/líderes|{{{líder_nome3|}}}|{{{líder_partido3|}}}|{{{líder_ano3|}}}}}
|classe-linha58 = mergedrow
|rótulo58 = • {{{líder_título4|}}}
|dados58 ={{Info/Assentamento/líderes|{{{líder_nome4|}}}|{{{líder_partido4|}}}|{{{líder_ano4|}}}}}
|classe-linha59 = mergedtoprow
|tópico59 = {{#if: {{{área_total_km2|}}}{{{área_total_sq_mi|}}}{{{área_total_dunam|}}}{{{área_terra_km2|}}}{{{área_terra_sq_mi|}}}{{{área_água_km2|}}}{{{área_água_sq_mi|}}}{{{área_urbana_km2|}}}{{{área_urbana_sq_mi|}}}{{{área_metro_km2|}}}{{{área_vazio1_km2|}}}{{{área_metro_sq_mi|}}}{{{área_vazio1_sq_mi|}}}{{{área_total|}}} | Área }}
|classe-linha60 = mergedrow
|rótulo60 = • [[Território|Total]] {{#if: {{{área_notas|}}} | {{nobold|{{{área_notas|}}}}}}}
|dados60 = {{formatnum:{{#if: {{{área_total_km2|}}}{{{área_total_sq_mi|}}}{{{área_total_dunam|}}}|{{#if:{{both|{{among|unid_pref|dunam|Dunam}}|{{{área_total_dunam|}}}}}|{{formatnum:{{{área_total_dunam|}}} [[Dunam|dunams]] ({{#if: {{{área_total_km2|}}}|{{{área_total_km2|}}} [[quilômetro quadrado|km²]]|{{#expr: {{{área_total_dunam|}}} *0.001 round 1}} [[quilômetro quadrado|km²]]}} '''/''' {{#if: {{{área_total_sq_mi|}}}|{{{área_total_sq_mi|}}} [[milha quadrada|sq mi]]|{{#expr: {{{área_total_dunam|}}} *0.000386102 round 1}} [[milha quadrada|sq mi]]}})}}|{{areadisp|{{{unid_pref|}}}|{{{área_total_sq_mi|}}}|{{{área_total_km2|}}}|{{{área_magnitude|}}}||{{{subdivisão_nome|}}}}}}}}} }}{{{área_total|}}}
|classe-linha61 = mergedrow
|rótulo61 = • Seca
|dados61 = {{#if: {{{área_terra_km2|}}}{{{área_terra_sq_mi|}}}
| {{formatnum:{{{área_terra_km2|{{Mi2km2|{{{área_terra_sq_mi|}}}}}}}}}} km²}}
|classe-linha62 = mergedrow
|rótulo62 = • Molhada
|dados62 = {{#if: {{{área_água_km2|}}}{{{área_água_sq_mi|}}}
| {{formatnum:{{{área_água_km2|{{Mi2km2|{{{área_água_sq_mi|}}}}}}}}}} km²}}{{
#if: {{{área_água_percent|}}}| {{{área_água_percent|}}}%}}
|classe-linha63 = mergedrow
|rótulo63 = • Urbana {{
#if: {{{área_urbana_data|}}}| {{nobold|({{{área_urbana_data|}}})}} }}{{
#if: {{{área_urbana_ref|}}}| {{nobold|{{{área_urbana_ref|}}}}} }}
|dados63 = {{#if: {{{área_urbana_km2|}}}{{{área_urbana_sq_mi|}}}
| {{formatnum:{{{área_urbana_km2|{{Mi2km2||{{{área_urbana_sq_mi|}}}}}}}}}} km²}}
|classe-linha64 = mergedrow
|rótulo64 = • Metropolitana
|dados64 = {{#if: {{{área_metro_km2|}}}{{{área_metro_sq_mi|}}}
| {{formatnum:{{{área_metro_km2|{{Mi2km2|{{{área_metro_sq_mi|}}}}}}}}}} km² }}
|classe-linha65 = mergedrow
|rótulo65 = • {{{área_vazio1_título|}}}
|dados65 = {{#if: {{{área_vazio1_km2|}}}{{{área_vazio1_sq_mi|}}}
| {{formatnum:{{{área_vazio1_km2|{{Mi2km2|{{{área_vazio1_sq_mi|}}}}}}}}}} km²
| {{{área_vazio1|}}} }}
|classe-linha66 = mergedrow
|rótulo66 = • {{{área_vazio2_título|}}}
|dados66 = {{#if: {{{área_vazio2_km2|}}}{{{área_vazio2_sq_mi|}}}
| {{formatnum:{{{área_vazio2_km2|{{Mi2km2|{{{área_vazio2_sq_mi|}}}}}}}}}} km²}}
|classe-linha67 = mergedtoprow
|rótulo67 =[[Altitude]]{{#if: {{{elevação_notas|}}}{{{altitude_notas|}}}
|{{nobold |{{{altitude_notas|}}}{{{elevação_notas|}}}}}}}
|dados67 ={{#if: {{{elevação0|}}}{{{altitude0|}}}| {{if empty|{{{elevação0|}}}|{{{altitude0|}}}}}<!-- para quando a vírgula é separador decimal --> | {{FmtMetroFt
| {{if empty|{{{elevação_m|}}}|{{{altitude_m|}}}}}
| {{if empty|{{{elevação_ft|}}}|{{{altitude_ft|}}}}}}} }}
|classe-linha68 = mergedrow
|rótulo68 = • Posição
|dados68 ={{if empty|{{{elevação_pos|}}}|{{{altitude_pos|}}}}}
|classe-linha69 = {{#if:{{{elevação_m|}}}{{{elevação_ft|}}}{{{altitude_m|}}}{{{altitude_ft|}}}|mergedrow|mergedtoprow}}
|rótulo69 = Altitude máx.{{#if: {{{elevação_max_notas|}}}{{{altitude_max_notas|}}}
|{{nobold |{{{elevação_max_notas|}}}{{{altitude_max_notas|}}}}}}}
|dados69 ={{FmtMetroFt
| {{if empty|{{{elevação_max_m|}}}|{{{altitude_max_m|}}}}}
| {{if empty|{{{elevação_max_ft|}}}|{{{altitude_max_ft|}}}}}}}
|classe-linha70 = mergedrow
|rótulo70 = • Posição
|dados70 ={{if empty|{{{elevação_max_pos|}}}|{{{altitude_max_pos|}}}}}
|classe-linha71 = {{#if:{{{elevação_max_m|}}}{{{elevação_max_ft|}}}{{{altitude_max_m|}}}{{{altitude_max_ft|}}}|mergedrow|mergedtoprow}}
|rótulo71 =Altitude mín.{{#if: {{{elevação_min_notas|}}}{{{altitude_min_notas|}}}
|{{nobold |{{{altitude_min_notas|}}}{{{elevação_min_notas|}}}}}}}
|dados71 ={{FmtMetroFt
| {{if empty|{{{elevação_min_m|}}}|{{{altitude_min_m|}}}}}
| {{if empty|{{{elevação_min_ft|}}}|{{{altitude_min_ft|}}}}}}}
|classe-linha72 = mergedrow
|rótulo72 = • Posição
|dados72 ={{if empty|{{{elevação_min_pos|}}}|{{{altitude_min_pos|}}}}}
|classe-linha73 = mergedtoprow
|tópico73 = {{#if: {{{população_em|}}}{{{população_total|}}}{{{população_total_pos|}}}{{{população_est|}}}{{{pop_est|}}}{{{população_urbana|}}}{{{população_rural|}}}{{{população_metro|}}} | População }}
|classe-linha74 = mergedrow
|rótulo74 = • Total {{
#if: {{{população_em|}}}| {{nobold|({{{população_em|}}})}} }}{{
#if: {{{população_notas|}}}| {{nobold|{{{população_notas|}}}}} }}
|dados74 = {{#if: {{{população_total|}}} | {{fmtn|{{{população_total|}}}}} hab.}}
|classe-linha75 = mergedrow
|rótulo75 = • Posição
|dados75 ={{#if: {{{população_total|}}} | {{{população_total_pos|}}} }}
|classe-linha76 = mergedrow
|rótulo76 ={{#if: {{{população_est|}}}{{{pop_est|}}}
| • {{#if: {{{população_total|}}}
| Estimativa | Estimada}}{{
#if: {{if empty|{{{população_est_em|}}}|{{{pop_est_em|}}}}}
| <small>({{if empty|{{{população_est_em|}}}|{{{pop_est_em|}}}}})</small>}} }}
|dados76 ={{#if: {{{população_est|}}}{{{pop_est|}}}
|{{formatnum:{{if empty|{{{população_est|}}}|{{{pop_est|}}}}}}} }}
|classe-linha77 = mergedrow
|rótulo77 = • Posição
|dados77 ={{#if: {{{população_est|}}}{{{pop_est|}}} | {{{população_est_pos|}}} }}
|classe-linha78 = mergedrow
|rótulo78 = • Urbana
|dados78 ={{#if: {{{população_urbana|}}}|{{formatnum:{{{população_urbana|}}}}}}}
|classe-linha79 = mergedrow
|rótulo79 = • Posição
|dados79 ={{{população_urbana_pos|}}}
|classe-linha80 = mergedrow
|rótulo80 = • Rural
|dados80 = {{#if: {{{população_rural|}}}|{{formatnum:{{{população_rural|}}}}}}}
|classe-linha81 = mergedrow
|rótulo81 = • Posição
|dados81 ={{{população_rural_pos|}}}
|classe-linha82 = mergedrow
|rótulo82 = • Metropolitana
|dados82 ={{#if: {{{população_metro|}}}|{{formatnum:{{{população_metro|}}}}}}}
|classe-linha83 = mergedrow
|rótulo83 =[[Densidade populacional|Densidade]]
|dados83 ={{Densidade populacional3|
dkm={{{população_densidade_km2|}}}|
dmi={{{população_densidade_sq_mi|}}}|
pop={{{população_total|}}}|
akm={{{área_total_km2|}}}|
ami={{{área_total_sq_mi|}}} }}
|classe-linha84 = mergedrow
|rótulo84 = • Posição
|dados84 ={{{população_densidade_pos|}}}
|classe-linha85 = mergedrow
|rótulo85 = • Densidade urbana
|dados85 ={{Densidade populacional3|
dkm={{{população_densidade_urbana_km2|}}}|
dmi={{{população_densidade_urbana_sq_mi|}}}|
pop={{{população_urbana|}}}|
akm={{{área_urbana_km2|}}}|
ami={{{área_urbana_sq_mi|}}} }}
|classe-linha86 = mergedrow
|rótulo86 = {{nowrap|{{nobold| • Posição}}}}
|dados86 = {{{população_densidade_urbana_pos|}}}
|classe-linha87 = mergedrow
|rótulo87 = • Densidade metrop.
|dados87 ={{Densidade populacional3|
dkm={{{população_densidade_metro_km2|}}}|
dmi={{{população_densidade_metro_sq_mi|}}}|
pop={{{população_metro|}}}|
akm={{{área_metro_km2|}}}|
ami={{{área_metro_sq_mi|}}} }}
|classe-linha88 = mergedrow
|rótulo88 = • {{{população_vazio1_título|}}}
|dados88 = {{#if: {{{população_vazio1|}}}|{{formatnum:{{{população_vazio1|}}}}}}}
|classe-linha89 = mergedrow
|rótulo89 = • Densidade {{lc:{{{população_vazio1_título|}}}}}
|dados89 ={{Densidade populacional3|
dkm={{{população_densidade_vazio1_km2|}}}|
dmi={{{população_densidade_vazio1_sq_mi|}}}|
pop={{{população_vazio1|}}}|
akm={{{área_vazio1_km2|}}}|
ami={{{área_vazio1_sq_mi|}}} }}
|classe-linha90 = mergedrow
|rótulo90 = • {{{população_vazio2_título|}}}
|dados90 ={{#if: {{{população_vazio2|}}}|{{formatnum:{{{população_vazio2|}}}}}}}
|classe-linha91 = mergedrow
|rótulo91 = • Densidade {{lc:{{{população_vazio2_título|}}}}}
|dados91 ={{Densidade populacional3|
dkm={{{população_densidade_vazio2_km2|}}}|
dmi={{{população_densidade_vazio2_sq_mi|}}}|
pop={{{população_vazio2|}}}|
akm={{{área_vazio2_km2|}}}|
ami={{{área_vazio2_sq_mi|}}} }}
|classe-linha92 = mergedrow
|rótulo92 =
|dados92 = {{#if: {{{população_obs|}}}|<small>{{{população_obs|}}}</small>}}
|classe-linha93 = mergedtoprow
|tópico93 = {{#if: {{{demografia_tipo1|}}} | {{{demografia_tipo1|}}} {{#if: {{{demografia1_notas|}}}| {{{demografia1_notas|}}} }}}}
|classe-linha94 = mergedrow
|rótulo94 = • {{{demografia1_título1|}}}
|dados94 = {{#if: {{{demografia1_título1|}}}|{{{demografia1_info1|}}}}}
|classe-linha95 = mergedrow
|rótulo95 = • {{{demografia1_título2|}}}
|dados95 = {{#if: {{{demografia1_título2|}}}|{{{demografia1_info2|}}}}}
|classe-linha96 = mergedrow
|rótulo96 = • {{{demografia1_título3|}}}
|dados96 = {{#if: {{{demografia1_título3|}}}|{{{demografia1_info3|}}}}}
|classe-linha97 = mergedrow
|rótulo97 = • {{{demografia1_título4|}}}
|dados97 = {{#if: {{{demografia1_título4|}}}|{{{demografia1_info4|}}}}}
|classe-linha98 = mergedrow
|rótulo98 = • {{{demografia1_título5|}}}
|dados98 = {{#if: {{{demografia1_título5|}}}|{{{demografia1_info5|}}}}}
|classe-linha99 = mergedtoprow
|tópico99 = {{#if: {{{demografia_tipo2|}}}|'''{{{demografia_tipo2|}}}''' {{#if: {{{demografia2_notas|}}}|{{{demografia2_notas|}}}}}}}
|classe-linha100 = mergedrow
|rótulo100 = • {{{demografia2_título1|}}}
|dados100 = {{#if: {{{demografia2_título1|}}}|{{{demografia2_info1|}}}}}
|classe-linha101 = mergedrow
|rótulo101 = • {{{demografia2_título2|}}}
|dados101 = {{#if: {{{demografia2_título2|}}}|{{{demografia2_info2|}}}}}
|classe-linha102 = mergedrow
|rótulo102 = • {{{demografia2_título3|}}}
|dados102 = {{#if: {{{demografia2_título3|}}}|{{{demografia2_info3|}}}}}
|classe-linha103 = mergedrow
|rótulo103 = • {{{demografia2_título4|}}}
|dados103 = {{#if: {{{demografia2_título4|}}}|{{{demografia2_info4|}}}}}
|classe-linha104 = mergedrow
|rótulo104 = • {{{demografia2_título5|}}}
|dados104 = {{#if: {{{demografia2_título5|}}}|{{{demografia2_info5|}}}}}
|classe-linha105 = mergedtoprow
|rótulo105 =Extensão do [[litoral]]
|dados105 ={{{litoral|}}}
|classe-linha106 = mergedrow
|rótulo106 = • Posição
|dados106 ={{{litoral_pos|}}}
|rótulo107 =Clima
|dados107 ={{{clima|}}}
|classe-linha108 = mergedtoprow
|rótulo108 = {{#if: {{{timezone2|}}}|Fusos horários|Fuso horário}}
|dados108 = {{#if: {{{timezone1|}}}{{{timezone|}}}
|{{if empty|{{{timezone1|}}}|{{{timezone|}}}}} {{
#if: {{if empty|{{{utc_offset1|}}}|{{{utc_offset|}}}}}
|([[UTC{{if empty|{{{utc_offset1|}}}|{{{utc_offset|}}}}}]]) }}{{
#if: {{{timezone2|}}}
|<br />{{{timezone2|}}} {{
#if: {{{utc_offset2|}}}
|([[UTC{{{utc_offset2|}}}]]) }} }} }}
|classe-linha109 = mergedrow
|rótulo109 = <span class="nowrap"> • [[Horário de verão|Verão]]</span>
|dados109 = {{#if: {{{timezone1_DST|}}}{{{timezone_DST|}}}
|{{if empty|{{{timezone1_DST|}}}|{{{timezone_DST|}}}}} {{
#if: {{if empty|{{{utc_offset1_DST|}}}|{{{utc_offset_DST|}}}}}
|([[UTC{{if empty|{{{utc_offset1_DST|}}}|{{{utc_offset_DST|}}}}}]]){{
#if: {{{timezone2_DST|}}}
|<br />{{{timezone2_DST|}}} {{
#if: {{{utc_offset2_DST|}}}
|([[UTC{{{utc_offset2_DST|}}}]]) }} }} }} }}
|classe-linha110 = mergedtoprow
|rótulo110 = {{se vazio|{{{código_postal_tipo|}}}|[[Código postal]]}}
|dados110 = {{#if: {{{código_postal|}}}
|<span class="codigo_postal">{{{código_postal|}}}</span>}}
|classe-linha111 = {{#if:{{{código_postal|}}}|mergedbottomrow|mergedtoprow}}
|rótulo111 = [[Código postal]]
|dados111 = {{#if: {{{código_postal2_tipo|}}}|<span class="codigo_postal">{{{código_postal2|}}}</span>[[Categoria:!Info/Assentamento que usa código_postal2]]}}
|classe-linha112 = {{#if:{{{código_postal|}}}{{{código_postal2|}}}|mergedrow|mergedtoprow}}
|rótulo112 ={{se vazio|{{{código_área_tipo|}}}|[[Lista de códigos telefónicos|Código de área]]}}
|dados112 ={{{código_área|}}}
|classe-linha113 = mergedrow
|rótulo113 ={{#if: {{{código_área2_tipo|}}} | {{{código_área2_tipo|}}} | <span class="error" style="font-size:75%">erro: legenda não indicada</span>}}
|dados113 ={{{código_área2|}}}
|classe-linha114 = mergedtoprow
|rótulo114 = [[Índice de Desenvolvimento Humano|IDH]] {{
#if: {{if empty|{{{idh_data|}}}|{{{data_idh}}}}}| {{nobold|({{if empty|{{{idh_data|}}}|{{{data_idh}}}}})}} }}{{
#if: {{{idh_ref|}}}| {{nobold|{{{idh_ref|}}}}} }}
|dados114 = {{#if: {{{idh|}}}| {{fmtn |{{{idh|}}}}} ''<small>— {{#ifexpr: {{{idh}}} >= 0.8 | <span style=color:blue;">muito alto</span> | {{#ifexpr: {{{idh}}} >= 0.7 | <span style=color:green;">alto</span> | {{#ifexpr: {{{idh}}} >= 0.6 | <span style=color:#ffa500;">médio</span> | {{#ifexpr: {{{idh}}} >= 0.5 | <span style=color:red;">baixo</span> | <span style=color:#f00;">muito baixo</span> }} }} }} }}</small>'' }}
|classe-linha115 = mergedrow
|rótulo115 = • Posição
|dados115 = {{{idh_pos|}}}
|classe-linha116 = mergedtoprow
|rótulo116 = [[Coeficiente de Gini|Gini]] {{
#if: {{if empty|{{{gini_data|}}}|{{{data_gini}}}}}| {{nobold|({{if empty|{{{gini_data|}}}|{{{data_gini}}}}})}} }}{{
#if: {{{gini_ref|}}}| {{nobold|{{{gini_ref|}}}}} }}
|dados116 = {{{gini|}}}
|classe-linha117 = mergedrow
|rótulo117 = • Posição
|dados117 = {{{gini_pos|}}}
|classe-linha118 = mergedtoprow
|rótulo118 = [[Produto interno bruto|PIB]] {{
#if: {{if empty|{{{pib_data|}}}|{{{data_pib}}}}}| {{nobold|({{if empty|{{{pib_data|}}}|{{{data_pib}}}}})}} }}{{
#if: {{{pib_ref|}}}| {{nobold|{{{pib_ref|}}}}} }}
|dados118 = {{{pib|}}}
|classe-linha119 = mergedrow
|rótulo119 = • Posição
|dados119 = {{{pib_pos|}}}
|classe-linha120 = mergedrow
|rótulo120 = • Per capita {{
#if: {{if empty|{{{pib_per_capita_data|}}}|{{{data_pib_per_capita}}}}}| {{nobold|({{if empty|{{{pib_per_capita_data|}}}|{{{data_pib_per_capita}}}}})}} }}{{
#if: {{{pib_ref_per_capita|}}}| {{nobold|{{{pib_ref_per_capita|}}}}} }}
|dados120 = {{#if: {{{pib_per_capita|}}}| {{{pib_per_capita}}} {{#if: {{{pib_per_capita_pos|}}}|({{{pib_per_capita_pos}}})}}}}
|classe-linha121 = mergedtoprow
|rótulo121 = {{{indicador1_nome}}}
|dados121 = {{#if: {{{indicador1_nome|}}} |{{{indicador1_info}}}}}
|classe-linha122 = mergedrow
|rótulo122 = {{{indicador2_nome}}}
|dados122 = {{#if: {{{indicador2_nome|}}} |{{{indicador2_info}}}}}
|classe-linha123 = mergedtoprow
|tópico123 ={{#if: {{{gêmea1|}}}{{{gémea1|}}}
| [[Geminação de cidades|Cidades g{{Iflang | {{if empty|{{{lang|}}}|br}} |{{
#if: {{{gémea1|}}} |é|ê}}|é}}meas]] }}
|classe-linha124 = {{#if:{{{gêmea2|}}}{{{gémea2|}}}|mergedrow|mergedbottomrow}}
|rótulo124 ={{if empty|{{{gêmea1|}}}|{{{gémea1|}}}}}
|dados124 ={{#if: {{{gêmea1|}}}{{{gémea1|}}} | {{if empty|{{{gêmea1_país|}}}|{{{gémea1_país|}}}}} }}
|classe-linha125 = {{#if:{{{gêmea3|}}}{{{gémea3|}}}|mergedrow|mergedbottomrow}}
|rótulo125 ={{if empty|{{{gêmea2|}}}|{{{gémea2|}}}}}
|dados125 ={{#if: {{{gêmea2|}}}{{{gémea2|}}} | {{if empty|{{{gêmea2_país|}}}|{{{gémea2_país|}}}}} }}
|classe-linha126 = {{#if:{{{gêmea4|}}}{{{gémea4|}}}|mergedrow|mergedbottomrow}}
|rótulo126 ={{if empty|{{{gêmea3|}}}|{{{gémea3|}}}}}
|dados126 ={{#if: {{{gêmea3|}}}{{{gémea3|}}} | {{if empty|{{{gêmea3_país|}}}|{{{gémea3_país|}}}}} }}
|classe-linha127 = {{#if:{{{gêmea5|}}}{{{gémea5|}}}|mergedrow|mergedbottomrow}}
|rótulo127 ={{if empty|{{{gêmea4|}}}|{{{gémea4|}}}}}
|dados127 ={{#if: {{{gêmea4|}}}{{{gémea4|}}} | {{if empty|{{{gêmea4_país|}}}|{{{gémea4_país|}}}}} }}
|classe-linha128 = {{#if:{{{gêmea6|}}}{{{gémea6|}}}|mergedrow|mergedbottomrow}}
|rótulo128 ={{if empty|{{{gêmea5|}}}|{{{gémea5|}}}}}
|dados128 ={{#if: {{{gêmea5|}}}{{{gémea5|}}} | {{if empty|{{{gêmea5_país|}}}|{{{gémea5_país|}}}}} }}
|classe-linha129 = {{#if:{{{gêmea7|}}}{{{gémea7|}}}|mergedrow|mergedbottomrow}}
|rótulo129 ={{if empty|{{{gêmea6|}}}|{{{gémea6|}}}}}
|dados129 ={{#if: {{{gêmea6|}}}{{{gémea6|}}} | {{if empty|{{{gêmea6_país|}}}|{{{gémea6_país|}}}}} }}
|classe-linha130 = {{#if:{{{gêmea8|}}}{{{gémea8|}}}|mergedrow|mergedbottomrow}}
|rótulo130 ={{if empty|{{{gêmea7|}}}|{{{gémea7|}}}}}
|dados130 ={{#if: {{{gêmea7|}}}{{{gémea7|}}} | {{if empty|{{{gêmea7_país|}}}|{{{gémea7_país|}}}}} }}
|classe-linha131 = {{#if:{{{gêmea9|}}}{{{gémea9|}}}|mergedrow|mergedbottomrow}}
|rótulo131 ={{if empty|{{{gêmea8|}}}|{{{gémea8|}}}}}
|dados131 ={{#if: {{{gêmea8|}}}{{{gémea8|}}} | {{if empty|{{{gêmea8_país|}}}|{{{gémea8_país|}}}}} }}
|classe-linha132 = mergedbottomrow
|rótulo132 ={{if empty|{{{gêmea9|}}}|{{{gémea9|}}}}}
|dados132 ={{#if: {{{gêmea9|}}}{{{gémea9|}}} | {{if empty|{{{gêmea9_país|}}}|{{{gémea9_país|}}}}} }}
|classe-linha133 = {{#if:{{{vazio_tópico_sec1|}}}|mergedtoprow|}}
|tópico133 = {{#if: {{{vazio_info_sec1|}}}{{{vazio_info|}}}{{{vazio1_info_sec1|}}}{{{vazio1_info|}}}{{{vazio2_info_sec1|}}}{{{vazio2_info|}}}{{{vazio3_info_sec1|}}}{{{vazio3_info|}}}{{{vazio4_info_sec1|}}}{{{vazio4_info|}}}{{{vazio5_info_sec1|}}}{{{vazio5_info|}}}{{{vazio6_info_sec1|}}}{{{vazio6_info|}}} | {{{vazio_tópico_sec1|}}} }}
|classe-linha134 = {{#if:{{{vazio_tópico_sec1|}}}|mergedrow|mergedtoprow}}
|rótulo134 = {{if empty|{{{vazio_nome_sec1|}}}|{{{vazio_nome|}}}}}
|dados134 = {{#if: {{{vazio_nome_sec1|}}}{{{vazio_nome|}}}|{{if empty|{{{vazio_info_sec1|}}}|{{{vazio_info|}}}}}}}
|classe-linha135 = {{#if:{{{vazio2_nome_sec1|}}}{{{vazio2_nome|}}}|mergedrow|mergedbottomrow}}
|rótulo135 = {{if empty|{{{vazio1_nome_sec1|}}}|{{{vazio1_nome|}}}}}
|dados135 = {{#if: {{{vazio1_nome_sec1|}}}{{{vazio1_nome|}}}|{{if empty|{{{vazio1_info_sec1|}}}|{{{vazio1_info|}}}}}}}
|classe-linha136 = {{#if:{{{vazio3_nome_sec1|}}}{{{vazio3_nome|}}}|mergedrow|mergedbottomrow}}
|rótulo136 = {{if empty|{{{vazio2_nome_sec1|}}}|{{{vazio2_nome|}}}}}
|dados136 = {{#if: {{{vazio2_nome_sec1|}}}{{{vazio2_nome|}}}|{{if empty|{{{vazio2_info_sec1|}}}|{{{vazio2_info|}}}}}}}
|classe-linha137 = {{#if:{{{vazio4_nome_sec1|}}}{{{vazio4_nome|}}}|mergedrow|mergedbottomrow}}
|rótulo137 = {{if empty|{{{vazio3_nome_sec1|}}}|{{{vazio3_nome|}}}}}
|dados137 = {{#if: {{{vazio3_nome_sec1|}}}{{{vazio3_nome|}}}|{{if empty|{{{vazio3_info_sec1|}}}|{{{vazio3_info|}}}}}}}
|classe-linha138 = {{#if:{{{vazio5_nome_sec1|}}}{{{vazio5_nome|}}}|mergedrow|mergedbottomrow}}
|rótulo138 = {{if empty|{{{vazio4_nome_sec1|}}}|{{{vazio4_nome|}}}}}
|dados138 = {{#if: {{{vazio4_nome_sec1|}}}{{{vazio4_nome|}}}|{{if empty|{{{vazio4_info_sec1|}}}|{{{vazio4_info|}}}}}}}
|classe-linha139 = {{#if:{{{vazio6_nome_sec1|}}}{{{vazio6_nome|}}}|mergedrow|mergedbottomrow}}
|rótulo139 = {{if empty|{{{vazio5_nome_sec1|}}}|{{{vazio5_nome|}}}}}
|dados139 = {{#if: {{{vazio5_nome_sec1|}}}{{{vazio5_nome|}}}|{{if empty|{{{vazio5_info_sec1|}}}|{{{vazio5_info|}}}}}}}
|classe-linha140 = mergedbottomrow
|rótulo140 = {{if empty|{{{vazio6_nome_sec1|}}}|{{{vazio6_nome|}}}}}
|dados140 = {{#if: {{{vazio6_nome_sec1|}}}{{{vazio6_nome|}}}|{{if empty|{{{vazio6_info_sec1|}}}|{{{vazio6_info|}}}}}}}
|classe-linha141 = {{#if:{{{vazio_tópico_sec2|}}}|mergedtoprow|}}
|tópico141 = {{#if: {{{vazio_info_sec2|}}}{{{vazio1_info_sec2|}}}{{{vazio2_info_sec2|}}}{{{vazio3_info_sec2|}}}{{{vazio4_info_sec2|}}}{{{vazio5_info_sec2|}}}{{{vazio6_info_sec2|}}} | {{{vazio_tópico_sec2|}}} }}
|classe-linha142 = {{#if:{{{vazio_tópico_sec2|}}}|mergedrow|mergedtoprow}}
|rótulo142 = {{{vazio_nome_sec2|}}}
|dados142 = {{#if: {{{vazio_nome_sec2|}}}|{{{vazio_info_sec2|}}}}}
|classe-linha143 = {{#if:{{{vazio2_info_sec2|}}}|mergedrow|mergedbottomrow}}
|rótulo143 = {{{vazio1_nome_sec2|}}}
|dados143 = {{#if: {{{vazio1_nome_sec2|}}}|{{{vazio1_info_sec2|}}}}}
|classe-linha144 = {{#if:{{{vazio3_info_sec2|}}}|mergedrow|mergedbottomrow}}
|rótulo144 = {{{vazio2_nome_sec2|}}}
|dados144 = {{#if: {{{vazio2_nome_sec2|}}}|{{{vazio2_info_sec2|}}}}}
|classe-linha145 = {{#if:{{{vazio4_info_sec2|}}}|mergedrow|mergedbottomrow}}
|rótulo145 = {{{vazio3_nome_sec2|}}}
|dados145 = {{#if: {{{vazio3_nome_sec2|}}}|{{{vazio3_info_sec2|}}}}}
|classe-linha146 = {{#if:{{{vazio5_info_sec2|}}}|mergedrow|mergedbottomrow}}
|rótulo146 = {{{vazio4_nome_sec2|}}}
|dados146 = {{#if: {{{vazio4_nome_sec2|}}}|{{{vazio4_info_sec2|}}}}}
|classe-linha147 = {{#if:{{{vazio6_info_sec2|}}}|mergedrow|mergedbottomrow}}
|rótulo147 = {{{vazio5_nome_sec2|}}}
|dados147 = {{#if: {{{vazio5_nome_sec2|}}}|{{{vazio5_info_sec2|}}}}}
|classe-linha148 = mergedbottomrow
|rótulo148 = {{{vazio6_nome_sec2|}}}
|dados148 = {{And2 | {{{vazio6_nome_sec2|}}} | {{{vazio6_info_sec2|}}} | {{{vazio6_info_sec2|}}} }}
|rótulo149 ={{#if: {{{website|}}}|''Website''|Sítio}}
|dados149 ={{if empty|{{{sítio|}}}|{{{website|}}}}}
|rodapé-estilo ={{if empty|{{{rodapé-estilo|}}}|background-color:#D8E2EE; font-size:92%; text-align:left}}
|rodapé ={{{notas|}}}
}}{{
#if: {{{imagem_horizonte|}}}{{{imagem_horizonte1|}}}{{{imagem_múltipla|}}}{{{imagem|}}}
||{{#if: {{{sem_imagem|}}}{{{sem imagem|}}}
|{{if empty|{{{sem_imagem|}}}|{{{sem imagem|}}}}}
|{{sem imagem|geo}} }} }}{{
Wikidata image| 1={{{imagem_horizonte|}}}{{{imagem_horizonte1|}}}{{{imagem_múltipla|}}}{{{imagem|}cla}}|
2={{{nocat_wdimage|}}}|
sufixo_catimg1={{{wikidata_catimg1|}}} }}{{
#if: {{Coor dms/str | {{se_vazio | {{{latd|}}} | {{{coord_str|}}} }} | 1|2}}
|[[Categoria:!Infobox com geocoordenadas]]|{{falta-geodata|{{if empty|{{{código_país|}}}|{{{código_pais|}}}|{{{codigo_pais|}}}}} }} }}{{
Ifnumber | {{if empty|{{{imagens_tamanho|}}}|1}} ||[[Categoria:!Info/Assentamento com imagens_tamanho não numérico]]}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Categoria:Páginas que usando Info/Assentamento com parâmetros desconhecidos|_VALUE_{{PAGENAME}}]]}}|preview=Página que usam [[Predefinição:Info/Assentamento]] com parâmetro desconhecido "_VALUE_"|ignoreblank=y| alcunha | altitude_ft | altitude_m | altitude_max_ft | altitude_max_m | altitude_max_notas | altitude_max_pos | altitude_min_ft | altitude_min_m | altitude_min_notas | altitude_min_pos | altitude_notas | altitude_pos | altitude0 | apelido | área_água_km2 | área_água_percent | área_água_sq_mi | área_magnitude | área_metro_km2 | área_metro_sq_mi | área_notas | área_terra_km2 | área_terra_sq_mi | área_total | área_total_dunam | área_total_km2 | área_total_sq_mi | área_urbana_data | área_urbana_km2 | área_urbana_ref | área_urbana_sq_mi | área_vazio1 | área_vazio1_sq_mi | área_vazio1_título | área_vazio2_sq_mi | área_vazio2_título | área_vazio1_km2 | área_vazio2_km2 | assentamento_tipo | bandeira_imagem | bandeira_link | bandeira_tamanho | clima | código_área | código_área_tipo | código_área2 | código_área2_tipo | codigo_pais | código_pais | código_país | código_postal | código_postal_tipo | código_postal2 | código_postal2_tipo | coord_str | coord_sufixo | coord_título | coordenadas | data_gini | data_idh | data_pib | data_pib_per_capita | demografia_tipo1 | demografia_tipo2 | demografia1_notas | demografia2_notas | demografia1_info1 | demografia1_info2 | demografia1_info3 | demografia1_info4 | demografia1_info5 | demografia1_título1 | demografia1_título2 | demografia1_título3 | demografia1_título4 | demografia1_título5 | demografia2_info1 | demografia2_info2 | demografia2_info3 | demografia2_info4 | demografia2_info5 | demografia2_título1 | demografia2_título2 | demografia2_título3 | demografia2_título4 | demografia2_título5 | dicofre | elevação_ft | elevação_m | elevação_max_ft | elevação_max_m | elevação_max_notas | elevação_max_pos | elevação_min_ft | elevação_min_m | elevação_min_notas | elevação_min_pos | elevação_notas | elevação_pos | elevação0 | emblema_vazio_alt | emblema_vazio_imagem | emblema_vazio_link | emblema_vazio_tamanho | emblema_vazio_tipo | escudo_alt | escudo_imagem | escudo_link | escudo_tamanho | estabelecido_data | estabelecido_data1 | estabelecido_data2 | estabelecido_data3 | estabelecido_data4 | estabelecido_data5 | estabelecido_título | estabelecido_título1 | estabelecido_título2 | estabelecido_título3 | estabelecido_título4 | estabelecido_título5 | extinto_data | extinto_título | flag_alt | flag_border | fundador | gémea1 | gêmea1 | gémea1_país | gêmea1_país | gémea2 | gêmea2 | gémea2_país | gêmea2_país | gémea3 | gêmea3 | gémea3_país | gêmea3_país | gémea4 | gêmea4 | gémea4_país | gêmea4_país | gémea5 | gêmea5 | gémea5_país | gêmea5_país | gémea6 | gêmea6 | gémea6_país | gêmea6_país | gémea7 | gêmea7 | gémea7_país | gêmea7_país | gémea8 | gêmea8 | gémea8_país | gêmea8_país | gémea9 | gêmea9 | gémea9_país | gêmea9_país | gentílico | gini | gini_data | gini_pos | gini_ref | governo_notas | governo_tipo | hino | hino2 | idh | idh_data | idh_pos | idh_ref | imagem | imagem_bandeira | imagem_emblema_vazio | imagem_escudo | imagem_horizonte | imagem_horizonte1 | imagem_legenda | imagem_mapa | imagem_mapa_ponto | imagem_mapa1 | imagem_múltipla | imagem_selo | imagem_tamanho | imagens_tamanho | indicador1_info | indicador1_nome | indicador2_info | indicador2_nome | lang | latd | latm | latNS | lats | lema | líder_ano | líder_ano1 | líder_ano2 | líder_ano3 | líder_ano4 | líder_nome | líder_nome1 | líder_nome2 | líder_nome3 | líder_nome4 | líder_partido | líder_partido1 | líder_partido2 | líder_partido3 | líder_partido4 | líder_título | líder_título1 | líder_título2 | líder_título3 | líder_título4 | litoral | litoral_pos | longd | longEW | longm | longs | mapa_alfinete | mapa_alfinete_legenda | mapa_alfinete_legenda1 | mapa_alfinete_posição | mapa_alfinete_posição1 | mapa_alfinete_tamanho | mapa_alfinete_tamanho1 | mapa_alfinete1 | mapa_dinâmico | mapa_dinâmico_altura | mapa_dinâmico_largura | mapa_dinâmico_legenda | mapa_dinâmico_tamanho | mapa_dinâmico_zoom | mapa_imagem | mapa_imagem1 | mapa_legenda | mapa_legenda1 | mapa_ponto_imagem | mapa_ponto_legenda | mapa_ponto_tamanho | mapa_tamanho | mapa_tamanho1 | nocat_wdimage | nome | nome_nativo | nome_nativo_ling | nome_oficial | nomeado_por | notas | outro_nome | p1 | p2 | p3 | p4 | p5 | p6 | p7 | p8 | p9 | p10 | p11 | p12 | p13 | p14 | p15 | p16 | p17 | p18 | p19 | p20 | p21 | p22 | p23 | p24 | p25 | p26 | p27 | p28 | p29 | p30 | p31 | p32 | p33 | p34 | p35 | p36 | p37 | p38 | p39 | p40 | p41 | p42 | p43 | p44 | p45 | p46 | p47 | p48 | p49 | p50 | país | partes | partes_estilo | partes_tipo | pib | pib_data | pib_per_capita | pib_per_capita_data | pib_per_capita_pos | pib_pos | pib_ref | pib_ref_per_capita | ponto_x | ponto_y | pop_est | pop_est_em | população_densidade_km2 | população_densidade_metro_km2 | população_densidade_metro_sq_mi | população_densidade_pos | população_densidade_sq_mi | população_densidade_urbana_km2 | população_densidade_urbana_pos | população_densidade_urbana_sq_mi | população_densidade_vazio1_sq_mi | população_densidade_vazio2_sq_mi | população_densidade_vazio1_km2 | população_densidade_vazio2_km2 | população_em | população_est | população_est_em | população_est_pos | população_metro | população_notas | população_obs | população_rural | população_rural_pos | população_total | população_total_pos | população_urbana | população_urbana_pos | população_vazio1 | população_vazio1_título | população_vazio2 | população_vazio2_título | rodapé-estilo | sede | sede_tipo | selo_alt | selo_imagem | selo_link | selo_tamanho | selo_tipo | sem imagem | sem_imagem | sítio | subdivisão_nome | subdivisão_nome0 | subdivisão_nome1 | subdivisão_nome2 | subdivisão_nome3 | subdivisão_nome4 | subdivisão_nome5 | subdivisão_nome6 | subdivisão_nome7 | subdivisão_nome8 | subdivisão_nome9 | subdivisão_nome10 | subdivisão_tipo | subdivisão_tipo0 | subdivisão_tipo1 | subdivisão_tipo2 | subdivisão_tipo3 | subdivisão_tipo4 | subdivisão_tipo5 | subdivisão_tipo6 | subdivisão_tipo7 | subdivisão_tipo8 | subdivisão_tipo9 | subdivisão_tipo10 | tamanho_bandeira | timezone | timezone_DST | timezone1 | timezone1_DST | timezone2 | timezone2_DST | tipo | título_cor | título_cor_fundo | translit_ling1 | translit_ling1_info | translit_ling1_tipo | translit_ling2 | translit_ling2_info | translit_ling2_tipo | translit_ling1_info1 | translit_ling1_info2 | translit_ling1_info3 | translit_ling1_info4 | translit_ling1_info5 | translit_ling1_info6 | translit_ling1_tipo1 | translit_ling1_tipo2 | translit_ling1_tipo3 | translit_ling1_tipo4 | translit_ling1_tipo5 | translit_ling1_tipo6 | translit_ling2_info1 | translit_ling2_info2 | translit_ling2_info3 | translit_ling2_info4 | translit_ling2_info5 | translit_ling2_info6 | translit_ling2_tipo1 | translit_ling2_tipo2 | translit_ling2_tipo3 | translit_ling2_tipo4 | translit_ling2_tipo5 | translit_ling2_tipo6 | unid_pref | utc_offset | utc_offset_DST | utc_offset1 | utc_offset1_DST | utc_offset2 | utc_offset2_DST | vazio_info | vazio_info_sec1 | vazio_info_sec2 | vazio_nome | vazio_nome_sec1 | vazio_nome_sec2 | vazio_tópico_sec1 | vazio_tópico_sec2 | vazio1_info | vazio1_nome | vazio2_info | vazio2_nome | vazio3_info | vazio3_nome | vazio4_info | vazio4_nome | vazio5_info | vazio5_nome | vazio6_info | vazio6_nome | vazio1_info_sec1 | vazio1_info_sec2 | vazio1_nome_sec1 | vazio1_nome_sec2 | vazio2_info_sec1 | vazio2_info_sec2 | vazio2_nome_sec1 | vazio2_nome_sec2 | vazio3_info_sec1 | vazio3_info_sec2 | vazio3_nome_sec1 | vazio3_nome_sec2 | vazio4_info_sec1 | vazio4_info_sec2 | vazio4_nome_sec1 | vazio4_nome_sec2 | vazio5_info_sec1 | vazio5_info_sec2 | vazio5_nome_sec1 | vazio5_nome_sec2 | vazio6_info_sec1 | vazio6_info_sec2 | vazio6_nome_sec1 | vazio6_nome_sec2 | vizinhos | website | wikidata_catimg1 }}{{#invoke:Check for clobbered parameters|check
| template = [[Predefinição:Info/Assentamento]]
| cat = {{main other|Categoria:Páginas usando Info/Assentamento com parâmetros conflitantes}}
| imagem_horizonte; imagem
| nome; nome_oficial
| nome; nome_oficial
| nome; nome_oficial
| nome; nome_oficial
| hino; hino2
| apelido; alcunha
| timezone1; timezone
| utc_offset1; utc_offset
| utc_offset1; utc_offset
| timezone1_DST; timezone_DST
| utc_offset1_DST; utc_offset_DST
| utc_offset1_DST; utc_offset_DST
| idh_data; data_idh
| idh_data; data_idh
| gini_data; data_gini
| gini_data; data_gini
| pib_data; data_pib
| pib_data; data_pib
| pib_per_capita_data; data_pib_per_capita
| pib_per_capita_data; data_pib_per_capita
| vazio_nome_sec1; vazio_nome
| vazio_info_sec1; vazio_info
| vazio1_nome_sec1; vazio1_nome
| vazio1_info_sec1; vazio1_info
| vazio2_nome_sec1; vazio2_nome
| vazio2_info_sec1; vazio2_info
| vazio3_nome_sec1; vazio3_nome
| vazio3_info_sec1; vazio3_info
| vazio4_nome_sec1; vazio4_nome
| vazio4_info_sec1; vazio4_info
| vazio5_nome_sec1; vazio5_nome
| vazio5_info_sec1; vazio5_info
| vazio6_nome_sec1; vazio6_nome
| vazio6_info_sec1; vazio6_info
| sem_imagem; sem imagem
}}<noinclude>
{{Documentação}}
</noinclude>
ilr443oz8jlyb21aenzi15iabih0w91
70387
70332
2026-04-25T03:55:52Z
Exec8
6243
70387
wikitext
text/x-wiki
<includeonly>{{main other|{{#invoke:Settlement short description|main}}|}}{{Infobox
| child = {{yesno|{{{embed|}}}}}
| templatestyles = Infobox settlement/styles.css
| bodyclass = ib-settlement vcard
<!--** names, type, and transliterations ** -->
| above = <div class="fn org">{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}</div>
{{#if:{{{native_name|}}}|<div class="nickname ib-settlement-native" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}{{#if:{{{other_name|}}}|<div class="nickname ib-settlement-other-name">{{{other_name}}}</div>}}
| subheader = {{#if:{{{settlement_type|}}}{{{type|}}}|<div class="category">{{if empty|{{{settlement_type|}}}|{{{type}}}}}</div>}}
| rowclass1 = mergedtoprow ib-settlement-official
| data1 = {{#if:{{{name|}}}|{{{official_name|}}}}}
<!-- ***Transliteration language 1*** -->
| rowclass2 = mergedtoprow
| header2 = {{#if:{{{translit_lang1|}}}|{{{translit_lang1}}} transcription(s)}}
| rowclass3 = {{#if:{{{translit_lang1_type1|}}}|mergedrow|mergedbottomrow}}
| label3 = • {{{translit_lang1_type}}}
| data3 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type|}}}|{{{translit_lang1_info|}}}}}}}
| rowclass4 = {{#if:{{{translit_lang1_type2|}}}|mergedrow|mergedbottomrow}}
| label4 = • {{{translit_lang1_type1}}}
| data4 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type1|}}}|{{{translit_lang1_info1|}}}}}}}
| rowclass5 = {{#if:{{{translit_lang1_type3|}}}|mergedrow|mergedbottomrow}}
| label5 = • {{{translit_lang1_type2}}}
| data5 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type2|}}}|{{{translit_lang1_info2|}}}}}}}
| rowclass6 = {{#if:{{{translit_lang1_type4|}}}|mergedrow|mergedbottomrow}}
| label6 = • {{{translit_lang1_type3}}}
| data6 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type3|}}}|{{{translit_lang1_info3|}}}}}}}
| rowclass7 = {{#if:{{{translit_lang1_type5|}}}|mergedrow|mergedbottomrow}}
| label7 = • {{{translit_lang1_type4}}}
| data7 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type4|}}}|{{{translit_lang1_info4|}}}}}}}
| rowclass8 = {{#if:{{{translit_lang1_type6|}}}|mergedrow|mergedbottomrow}}
| label8 = • {{{translit_lang1_type5}}}
| data8 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type5|}}}|{{{translit_lang1_info5|}}}}}}}
| rowclass9 = mergedbottomrow
| label9 = • {{{translit_lang1_type6}}}
| data9 = {{#if:{{{translit_lang1|}}}|{{#if:{{{translit_lang1_type6|}}}|{{{translit_lang1_info6|}}}}}}}
<!-- ***Transliteration language 2*** -->
| rowclass10 = mergedtoprow
| header10 = {{#if:{{{translit_lang2|}}}|{{{translit_lang2}}} transcription(s)}}
| rowclass11 = {{#if:{{{translit_lang2_type1|}}}|mergedrow|mergedbottomrow}}
| label11 = • {{{translit_lang2_type}}}
| data11 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type|}}}|{{{translit_lang2_info|}}}}}}}
| rowclass12 = {{#if:{{{translit_lang2_type2|}}}|mergedrow|mergedbottomrow}}
| label12 = • {{{translit_lang2_type1}}}
| data12 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type1|}}}|{{{translit_lang2_info1|}}}}}}}
| rowclass13 = {{#if:{{{translit_lang2_type3|}}}|mergedrow|mergedbottomrow}}
| label13 = • {{{translit_lang2_type2}}}
| data13 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type2|}}}|{{{translit_lang2_info2|}}}}}}}
| rowclass14 = {{#if:{{{translit_lang2_type4|}}}|mergedrow|mergedbottomrow}}
| label14 = • {{{translit_lang2_type3}}}
| data14 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type3|}}}|{{{translit_lang2_info3|}}}}}}}
| rowclass15 = {{#if:{{{translit_lang2_type5|}}}|mergedrow|mergedbottomrow}}
| label15 = • {{{translit_lang2_type4}}}
| data15 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type4|}}}|{{{translit_lang2_info4|}}}}}}}
| rowclass16 = {{#if:{{{translit_lang2_type6|}}}|mergedrow|mergedbottomrow}}
| label16 = • {{{translit_lang2_type5}}}
| data16 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type5|}}}|{{{translit_lang2_info5|}}}}}}}
| rowclass17 = mergedbottomrow
| label17 = • {{{translit_lang2_type6}}}
| data17 = {{#if:{{{translit_lang2|}}}|{{#if:{{{translit_lang2_type6|}}}|{{{translit_lang2_info6|}}}}}}}
<!-- end ** names, type, and transliterations ** -->
<!-- ***Skyline Image*** -->
| rowclass18 = mergedtoprow
| data18 = {{#if:{{{image_skyline|}}}|<!--
-->{{#invoke:InfoboxImage|InfoboxImage<!--
-->|image={{{image_skyline|}}}<!--
-->|size={{if empty|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=250px|upright={{{image_upright|}}}<!--
-->|alt={{if empty|{{{image_alt|}}}|{{{alt|}}}}}<!--
-->|title={{if empty|{{{image_caption|}}}|{{{caption|}}}|{{{image_alt|}}}|{{{alt|}}}}}}}<!--
-->{{#if:{{{image_caption|}}}{{{caption|}}}|<div class="ib-settlement-caption">{{if empty|{{{image_caption|}}}|{{{caption|}}}}}</div>}} }}
<!-- ***Flag, Seal, Shield and Coat of arms*** -->
| rowclass19 = mergedtoprow
| class19 = maptable
| data19 = {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{image_shield|}}}{{{image_blank_emblem|}}}{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}
|{{Infobox settlement/columns
| 1 = {{#if:{{{image_flag|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_flag}}}|size={{{flag_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|125px|100x100px}}|border={{yesno |{{{flag_border|}}}|yes=yes|blank=yes}}|alt={{{flag_alt|}}}|title=Flag of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type=Flag|link={{{flag_link|}}}|name={{{official_name}}}}}</div>}}
| 2 = {{#if:{{{image_seal|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_seal|}}}|size={{{seal_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100x100px}}|alt={{{seal_alt|}}}|title=Official seal of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}|class={{{seal_class|}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type={{if empty|{{{seal_type|}}}|Seal}}|link={{{seal_link|}}}|name={{{official_name}}}}}</div>}}
| 3 = {{#if:{{{image_shield|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_shield|}}}||size={{{shield_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100x100px}}|alt={{{shield_alt|}}}|title=Coat of arms of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type=Coat of arms|link={{{shield_link|}}}|name={{{official_name}}}}}</div>}}
| 4 = {{#if:{{{image_blank_emblem|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_blank_emblem|}}}|size={{{blank_emblem_size|}}}|sizedefault={{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}|85px|100x100px}}|upright={{{blank_emblem_upright|}}}|alt={{{blank_emblem_alt|}}}|title=Official logo of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}<div class="ib-settlement-caption-link">{{Infobox settlement/link|type={{#if:{{{blank_emblem_type|}}}|{{{blank_emblem_type}}}}}|link={{{blank_emblem_link|}}}|name={{{official_name}}}}}</div>}}
| 5 = {{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map}}}|size={{{mapsize|}}}|sizedefault=100x100px|alt={{{map_alt|}}}|title={{{map_caption|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption|}}}|<div class="ib-settlement-caption-link">{{{map_caption}}}</div>}}}}
| 0 = {{#if:{{{pushpin_map_narrow|}}}|{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
{{location map|{{{pushpin_map|}}}
|border = infobox
|alt = {{{pushpin_map_alt|}}}
|caption ={{#if:{{{pushpin_map_caption_notsmall|}}}|{{{pushpin_map_caption_notsmall|}}}|{{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|{{#if:{{{map_caption|}}}|{{{map_caption}}}}}}}}}
|float = center
|width = {{if empty|{{{pushpin_mapsize|}}}|150}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|overlay_image = {{{pushpin_overlay|}}}
|coordinates = {{{coordinates|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}} }}
|marksize =6
|outside = {{{pushpin_outside|}}}<!-- pin is outside the map -->
|position = {{{pushpin_label_position|}}}
}}
}} }}
}} }}
<!-- ***Etymology*** -->
| rowclass20 = mergedtoprow
| data20 = {{#if:{{{etymology|}}}|Etymology: {{{etymology}}} }}
<!-- ***Nickname*** -->
| rowclass21 = {{#if:{{{etymology|}}}|mergedrow|mergedtoprow}}
| data21 = {{#if:{{{nickname|}}}{{{nicknames|}}}|<!--
-->{{Pluralize from text|parse_links=1|{{if empty|{{{nickname|}}}|{{{nicknames|}}}{{force plural}}}}|<!--
-->link={{{nickname_link|}}}|singular=Nickname|likely=Nickname(s)|plural=Nicknames}}: <!--
--><div class="ib-settlement-nickname nickname">{{if empty|{{{nickname|}}}|{{{nicknames|}}}}}</div><!--
-->{{Main other|{{Pluralize from text|parse_links=1|{{{nickname|}}}|<!--
-->likely=[[Category:Pages using infobox settlement with possible nickname list]]}}}}}}
<!-- ***Motto*** -->
| rowclass22 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}|mergedrow|mergedtoprow}}
| data22 = {{#if:{{{motto|}}}{{{mottoes|}}}|<!--
-->{{Pluralize from text|{{if empty|{{{motto|}}}|{{{mottoes|}}}{{force plural}}}}|<!--
-->link={{{motto_link|}}}|singular=Motto|likely=Motto(s)|plural=Mottoes}}: <!--
--><div class="ib-settlement-nickname nickname">{{if empty|{{{motto|}}}|{{{mottoes|}}}}}</div><!--
-->{{Main other|{{Pluralize from text|{{{motto|}}}|<!--
-->likely=[[Category:Pages using infobox settlement with possible motto list]]}}}}}}
<!-- ***Anthem*** -->
| rowclass23 = {{#if:{{{etymology|}}}{{{nickname|}}}{{{nicknames|}}}{{{motto|}}}{{{mottoes|}}}|mergedrow|mergedtoprow}}
| data23 = {{#if:{{{anthem|}}}|{{#if:{{{anthem_link|}}}|[[{{{anthem_link|}}}|Anthem:]]|Anthem:}} {{{anthem}}}}}
<!-- ***Map*** -->
| rowclass24 = mergedtoprow
| data24 = {{#if:{{both|{{{pushpin_map_narrow|}}}|{{{pushpin_map|}}}}}||{{#if:{{{image_map|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map}}}|size={{{mapsize|}}}|sizedefault=250px|upright={{{image_upright|}}}|alt={{{map_alt|}}}|title={{{map_caption|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption|}}}|<div class="ib-settlement-caption">{{{map_caption}}}</div>}}
}}}}
| rowclass25 = mergedrow
| data25 = {{#if:{{{image_map1|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map1}}}|size={{{mapsize1|}}}|sizedefault=250px|upright={{{image_upright|}}}|alt={{{map_alt1|}}}|title={{{map_caption1|Location of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}}}}}}{{#if:{{{map_caption1|}}}|<div class="ib-settlement-caption">{{{map_caption1}}}</div>}} }}
| data26 = {{#invoke:Infobox mapframe
| autoWithCaption
| onByDefault = {{#if:{{{pushpin_map|}}}{{{image_map|}}}{{{image_map1|}}}|no|yes}}
| mapframe-frame-width = 250
| mapframe-stroke-width = 2
| mapframe-length_km = {{{length_km|}}}
| mapframe-length_mi = {{{length_mi|}}}
| mapframe-width_km = {{{width_km|}}}
| mapframe-width_mi = {{{width_mi|}}}
| mapframe-area_km2 = {{{area_total_km2|}}}
| mapframe-area_ha = {{{area_total_ha|}}}
| mapframe-area_acre = {{{area_total_acre|}}}
| mapframe-area_sq_mi = {{{area_total_sq_mi|}}}
| mapframe-type = city
| mapframe-population = {{if empty|{{{population_metro|}}}|{{{population_total|}}}}}
| mapframe-marker = town
| mapframe-wikidata = yes
| mapframe-caption = Interactive map of {{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}
}}
<!-- ***Pushpin Map*** -->
| rowclass28 = mergedtoprow
| data28 = {{#if:{{{pushpin_map_narrow|}}}||{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
{{location map|{{{pushpin_map|}}}
|border = infobox
|alt = {{{pushpin_map_alt|}}}
|caption ={{#if:{{{pushpin_map_caption_notsmall|}}}|{{{pushpin_map_caption_notsmall|}}}|{{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|{{#if:{{{map_caption|}}}|{{#if:{{{image_map|}}}||{{{map_caption}}}}}}}}}}}
|float = center
|width = {{{pushpin_mapsize|}}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|overlay_image = {{{pushpin_overlay|}}}
|coordinates = {{{coordinates|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{if empty|{{{name|}}}|{{{official_name|}}}}}}} }}
|marksize =6
|outside = {{{pushpin_outside|}}}<!-- pin is outside the map -->
|position = {{{pushpin_label_position|}}}
}}
}} }}
<!-- ***Coordinates*** -->
| data29 = {{#if:{{{coordinates|}}}|{{#if:{{#invoke:string|match|s={{{coordinates|}}}|pattern=geo-inline-hidden|ignore_errors=true|plain=true}}|<!-- Nothing to display -->
|Coordinates{{#if:{{{coor_pinpoint|}}}{{{coor_type|}}}| ({{if empty|{{{coor_pinpoint|}}}|{{{coor_type|}}}}})}}: {{#invoke:ISO 3166|geocoordinsert|nocat=true|1={{{coordinates|}}}|country={{{subdivision_name|}}}|subdivision1={{{subdivision_name1|}}}|subdivision2={{{subdivision_name2|}}}|subdivision3={{{subdivision_name3|}}}|type=city{{#if:{{{population_total|}}}|{{#iferror:{{#expr:{{formatnum:{{{population_total}}}|R}}+1}}||({{formatnum:{{replace|{{{population_total}}}|,|}}|R}})}}}} }}{{{coordinates_footnotes|}}} }}}}
| rowclass30 = {{#if:{{{image_map|}}}{{{image_map1|}}}{{{pushpin_map|}}}|mergedbottomrow|mergedrow}}
| label30 = {{if empty|{{{grid_name|}}}|Grid position}}
| data30 = {{{grid_position|}}}
<!-- ***Subdivisions*** -->
| rowclass31 = mergedtoprow
| label31 = {{{subdivision_type}}}
| data31 = {{#if:{{{subdivision_type|}}}|{{{subdivision_name|}}} }}
| rowclass32 = mergedrow
| label32 = {{{subdivision_type1}}}
| data32 = {{#if:{{{subdivision_type1|}}}|{{{subdivision_name1|}}} }}
| rowclass33 = mergedrow
| label33 = {{{subdivision_type2}}}
| data33 = {{#if:{{{subdivision_type2|}}}|{{{subdivision_name2|}}} }}
| rowclass34 = mergedrow
| label34 = {{{subdivision_type3}}}
| data34 = {{#if:{{{subdivision_type3|}}}|{{{subdivision_name3|}}} }}
| rowclass35 = mergedrow
| label35 = {{{subdivision_type4}}}
| data35 = {{#if:{{{subdivision_type4|}}}|{{{subdivision_name4|}}} }}
| rowclass36 = mergedrow
| label36 = {{{subdivision_type5}}}
| data36 = {{#if:{{{subdivision_type5|}}}|{{{subdivision_name5|}}} }}
| rowclass37 = mergedrow
| label37 = {{{subdivision_type6}}}
| data37 = {{#if:{{{subdivision_type6|}}}|{{{subdivision_name6|}}} }}
<!--***Established*** -->
| rowclass38 = mergedtoprow
| label38 = {{if empty|{{{established_title|}}}|Established}}
| data38 = {{{established_date|}}}
| rowclass39 = mergedrow
| label39 = {{{established_title1}}}
| data39 = {{#if:{{{established_title1|}}}|{{{established_date1|}}} }}
| rowclass40 = mergedrow
| label40 = {{{established_title2}}}
| data40 = {{#if:{{{established_title2|}}}|{{{established_date2|}}} }}
| rowclass41 = mergedrow
| label41 = {{{established_title3}}}
| data41 = {{#if:{{{established_title3|}}}|{{{established_date3|}}} }}
| rowclass42 = mergedrow
| label42 = {{{established_title4}}}
| data42 = {{#if:{{{established_title4|}}}|{{{established_date4|}}} }}
| rowclass43 = mergedrow
| label43 = {{{established_title5}}}
| data43 = {{#if:{{{established_title5|}}}|{{{established_date5|}}} }}
| rowclass44 = mergedrow
| label44 = {{{established_title6}}}
| data44 = {{#if:{{{established_title6|}}}|{{{established_date6|}}} }}
| rowclass45 = mergedrow
| label45 = {{{established_title7}}}
| data45 = {{#if:{{{established_title7|}}}|{{{established_date7|}}} }}
| rowclass46 = mergedrow
| label46 = {{{extinct_title}}}
| data46 = {{#if:{{{extinct_title|}}}|{{{extinct_date|}}} }}
| rowclass47 = mergedrow
| label47 = Founded by
| data47 = {{{founder|}}}
| rowclass48 = mergedrow
| label48 = [[Namesake|Named after]]
| data48 = {{{named_for|}}}
<!-- ***Seat of government and subdivisions within the settlement*** -->
| rowclass49 = mergedtoprow
| label49 = {{if empty|{{{seat_type|}}}|Seat}}
| data49 = {{{seat|}}}
| rowclass50 = mergedrow
| label50 = {{if empty|{{{seat1_type|}}}|Former seat}}
| data50 = {{{seat1|}}}
| rowclass51 = mergedrow
| label51 = {{if empty|{{{seat2_type|}}}|Former seat}}
| data51 = {{{seat2|}}}
| rowclass52 = {{#if:{{{seat|}}}{{{seat1|}}}{{{seat2|}}}|mergedrow|mergedtoprow}}
| label52 = {{if empty|{{{parts_type|}}}|Boroughs}}
| data52 = {{#if:{{{parts|}}}{{{p1|}}}
|{{#ifeq:{{{parts_style|}}}|para
|<b>{{{parts|}}}{{#if:{{both|{{{parts|}}}|{{{p1|}}}}}|: |}}</b>{{comma separated entries|{{{p1|}}}|{{{p2|}}}|{{{p3|}}}|{{{p4|}}}|{{{p5|}}}|{{{p6|}}}|{{{p7|}}}|{{{p8|}}}|{{{p9|}}}|{{{p10|}}}|{{{p11|}}}|{{{p12|}}}|{{{p13|}}}|{{{p14|}}}|{{{p15|}}}|{{{p16|}}}|{{{p17|}}}|{{{p18|}}}|{{{p19|}}}|{{{p20|}}}|{{{p21|}}}|{{{p22|}}}|{{{p23|}}}|{{{p24|}}}|{{{p25|}}}|{{{p26|}}}|{{{p27|}}}|{{{p28|}}}|{{{p29|}}}|{{{p30|}}}|{{{p31|}}}|{{{p32|}}}|{{{p33|}}}|{{{p34|}}}|{{{p35|}}}|{{{p36|}}}|{{{p37|}}}|{{{p38|}}}|{{{p39|}}}|{{{p40|}}}|{{{p41|}}}|{{{p42|}}}|{{{p43|}}}|{{{p44|}}}|{{{p45|}}}|{{{p46|}}}|{{{p47|}}}|{{{p48|}}}|{{{p49|}}}|{{{p50|}}}}}
|{{#if:{{{p1|}}}|{{Collapsible list|title={{{parts|}}}|expand={{#switch:{{{parts_style|}}}|coll=|list=y|{{#if:{{{p6|}}}||y}}}}|1={{{p1|}}}|2={{{p2|}}}|3={{{p3|}}}|4={{{p4|}}}|5={{{p5|}}}|6={{{p6|}}}|7={{{p7|}}}|8={{{p8|}}}|9={{{p9|}}}|10={{{p10|}}}|11={{{p11|}}}|12={{{p12|}}}|13={{{p13|}}}|14={{{p14|}}}|15={{{p15|}}}|16={{{p16|}}}|17={{{p17|}}}|18={{{p18|}}}|19={{{p19|}}}|20={{{p20|}}}|21={{{p21|}}}|22={{{p22|}}}|23={{{p23|}}}|24={{{p24|}}}|25={{{p25|}}}|26={{{p26|}}}|27={{{p27|}}}|28={{{p28|}}}|29={{{p29|}}}|30={{{p30|}}}|31={{{p31|}}}|32={{{p32|}}}|33={{{p33|}}}|34={{{p34|}}}|35={{{p35|}}}|36={{{p36|}}}|37={{{p37|}}}|38={{{p38|}}}|39={{{p39|}}}|40={{{p40|}}}|41={{{p41|}}}|42={{{p42|}}}|43={{{p43|}}}|44={{{p44|}}}|45={{{p45|}}}|46={{{p46|}}}|47={{{p47|}}}|48={{{p48|}}}|49={{{p49|}}}|50={{{p50|}}}}}
|{{{parts}}}
}}
}} }}
<!-- ***Government type and Leader*** -->
| rowclass53 = mergedtoprow
| header53 = {{#if:{{{government_type|}}}{{{governing_body|}}}{{{leader_name|}}}{{{leader_name1|}}}{{{leader_name2|}}}{{{leader_name3|}}}{{{leader_name4|}}}|Government<div class="ib-settlement-fn">{{{government_footnotes|}}}</div>}}
<!-- ***Government*** -->
| rowclass54 = mergedrow
| label54 = • Type
| data54 = {{{government_type|}}}
| rowclass55 = mergedrow
| label55 = • Body
| class55 = agent
| data55 = {{{governing_body|}}}
| rowclass56 = mergedrow
| label56 = • {{{leader_title}}}
| data56 = {{#if:{{{leader_title|}}}|{{{leader_name|}}} {{#if:{{{leader_party|}}}|({{Polparty|{{{subdivision_name}}}|{{{leader_party}}}}})}}}}
| rowclass57 = mergedrow
| label57 = • {{{leader_title1}}}
| data57 = {{#if:{{{leader_title1|}}}|{{{leader_name1|}}}}}
| rowclass58 = mergedrow
| label58 = • {{{leader_title2}}}
| data58 = {{#if:{{{leader_title2|}}}|{{{leader_name2|}}}}}
| rowclass59 = mergedrow
| label59 = • {{{leader_title3}}}
| data59 = {{#if:{{{leader_title3|}}}|{{{leader_name3|}}}}}
| rowclass60 = mergedrow
| label60 = • {{{leader_title4}}}
| data60 = {{#if:{{{leader_title4|}}}|{{{leader_name4|}}}}}
| rowclass61 = mergedrow
| label61 = • {{{leader_title5}}}
| data61 = {{#if:{{{leader_title5|}}}|{{{leader_name5|}}}}}
| rowclass62 = mergedrow
| label62 = {{{government_blank1_title}}}
| data62 = {{#if:{{{government_blank1|}}}|{{{government_blank1|}}}}}
| rowclass63 = mergedrow
| label63 = {{{government_blank2_title}}}
| data63 = {{#if:{{{government_blank2|}}}|{{{government_blank2|}}}}}
| rowclass64 = mergedrow
| label64 = {{{government_blank3_title}}}
| data64 = {{#if:{{{government_blank3|}}}|{{{government_blank3|}}}}}
| rowclass65 = mergedrow
| label65 = {{{government_blank4_title}}}
| data65 = {{#if:{{{government_blank4|}}}|{{{government_blank4|}}}}}
| rowclass66 = mergedrow
| label66 = {{{government_blank5_title}}}
| data66 = {{#if:{{{government_blank5|}}}|{{{government_blank5|}}}}}
| rowclass67 = mergedrow
| label67 = {{{government_blank6_title}}}
| data67 = {{#if:{{{government_blank6|}}}|{{{government_blank6|}}}}}
<!-- ***Geographical characteristics*** -->
<!-- ***Area*** -->
| rowclass68 = mergedtoprow
| header68 = {{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_ha|}}}{{{area_urban_acre|}}}{{{area_urban_sq_mi|}}}{{{area_rural_sq_mi|}}}{{{area_rural_ha|}}}{{{area_rural_acre|}}}{{{area_rural_km2|}}}{{{area_metro_km2|}}}{{{area_metro_ha|}}}{{{area_metro_acre|}}}{{{area_blank1_km2|}}}{{{area_blank1_ha|}}}{{{area_blank1_acre|}}}{{{area_metro_sq_mi|}}}{{{area_blank1_sq_mi|}}}
|{{#if:{{both|{{#ifeq:{{{total_type}}}| |1}}|{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}}}
|<!-- displayed below -->
|Area<div class="ib-settlement-fn">{{{area_footnotes|}}}</div>
}}
}}
| rowclass69 = {{#if:{{both|{{#ifeq:{{{total_type}}}| |1}}|{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}}}|mergedtoprow|mergedrow}}
| label69 = <div style="white-space:nowrap;">{{#if:{{both|{{#ifeq:{{{total_type}}}| |1}}|{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}}}
|Area<div class="ib-settlement-fn">{{{area_footnotes|}}}</div>
| • {{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}|{{#if:{{{settlement_type|}}}{{{type|}}}|{{if empty|{{{settlement_type|}}}|{{{type}}}}}|City}}|Total}}}}
}}</div>
| data69 = {{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_total_km2|}}}
|ha ={{{area_total_ha|}}}
|acre ={{{area_total_acre|}}}
|sqmi ={{{area_total_sq_mi|}}}
|dunam={{{area_total_dunam|}}}
|link ={{#switch:{{{dunam_link|}}}||on|total=on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass70 = mergedrow
| label70 = • Land
| data70 = {{#if:{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_land_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_land_km2|}}}
|ha ={{{area_land_ha|}}}
|acre ={{{area_land_acre|}}}
|sqmi ={{{area_land_sq_mi|}}}
|dunam={{{area_land_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|land|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass71 = mergedrow
| label71 = • Water
| data71 = {{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_water_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_water_km2|}}}
|ha ={{{area_water_ha|}}}
|acre ={{{area_water_acre|}}}
|sqmi ={{{area_water_sq_mi|}}}
|dunam={{{area_water_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|water|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}} {{#if:{{{area_water_percent|}}}| {{{area_water_percent}}}{{#ifeq:%|{{#invoke:string|sub|{{{area_water_percent|}}}|-1}}||%}}}}}}
| rowclass72 = mergedrow
| label72 = • Urban<div class="ib-settlement-fn">{{{area_urban_footnotes|}}}</div>
| data72 = {{#if:{{{area_urban_km2|}}}{{{area_urban_ha|}}}{{{area_urban_acre|}}}{{{area_urban_sq_mi|}}}{{{area_urban_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_urban_km2|}}}
|ha ={{{area_urban_ha|}}}
|acre ={{{area_urban_acre|}}}
|sqmi ={{{area_urban_sq_mi|}}}
|dunam={{{area_urban_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|urban|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass73 = mergedrow
| label73 = • Rural<div class="ib-settlement-fn">{{{area_rural_footnotes|}}}</div>
| data73 = {{#if:{{{area_rural_km2|}}}{{{area_rural_ha|}}}{{{area_rural_acre|}}}{{{area_rural_sq_mi|}}}{{{area_rural_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_rural_km2|}}}
|ha ={{{area_rural_ha|}}}
|acre ={{{area_rural_acre|}}}
|sqmi ={{{area_rural_sq_mi|}}}
|dunam={{{area_rural_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|rural|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass74 = mergedrow
| label74 = • Metro<div class="ib-settlement-fn">{{{area_metro_footnotes|}}}</div>
| data74 = {{#if:{{{area_metro_km2|}}}{{{area_metro_ha|}}}{{{area_metro_acre|}}}{{{area_metro_sq_mi|}}}{{{area_metro_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_metro_km2|}}}
|ha ={{{area_metro_ha|}}}
|acre ={{{area_metro_acre|}}}
|sqmi ={{{area_metro_sq_mi|}}}
|dunam={{{area_metro_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|metro|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
<!-- ***Area rank*** -->
| rowclass75 = mergedrow
| label75 = • Rank
| data75 = {{{area_rank|}}}
| rowclass76 = mergedrow
| label76 = • {{{area_blank1_title}}}
| data76 = {{#if:{{{area_blank1_km2|}}}{{{area_blank1_ha|}}}{{{area_blank1_acre|}}}{{{area_blank1_sq_mi|}}}{{{area_blank1_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_blank1_km2|}}}
|ha ={{{area_blank1_ha|}}}
|acre ={{{area_blank1_acre|}}}
|sqmi ={{{area_blank1_sq_mi|}}}
|dunam={{{area_blank1_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|blank1|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass77 = mergedrow
| label77 = • {{{area_blank2_title}}}
| data77 = {{#if:{{{area_blank2_km2|}}}{{{area_blank2_ha|}}}{{{area_blank2_acre|}}}{{{area_blank2_sq_mi|}}}{{{area_blank2_dunam|}}}
|{{infobox_settlement/areadisp
|km2 ={{{area_blank2_km2|}}}
|ha ={{{area_blank2_ha|}}}
|acre ={{{area_blank2_acre|}}}
|sqmi ={{{area_blank2_sq_mi|}}}
|dunam={{{area_blank2_dunam|}}}
|link ={{#ifeq:{{{dunam_link|}}}|blank2|on}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass78 = mergedrow
| label78 =
| data78 = {{{area_note|}}}
<!-- ***Dimensions*** -->
| rowclass79 = mergedtoprow
| header79 = {{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}|Dimensions<div class="ib-settlement-fn">{{{dimensions_footnotes|}}}</div>}}
| rowclass80 = mergedrow
| label80 = • Length
| data80 = {{#if:{{{length_km|}}}{{{length_mi|}}}
| {{infobox_settlement/lengthdisp
|km ={{{length_km|}}}
|mi ={{{length_mi|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
| rowclass81 = mergedrow
| label81 = • Width
| data81 = {{#if:{{{width_km|}}}{{{width_mi|}}}
|{{infobox_settlement/lengthdisp
|km ={{{width_km|}}}
|mi ={{{width_mi|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation*** -->
| rowclass82 = mergedtoprow
| label82 = {{#if:{{{elevation_link|}}}|[[{{{elevation_link|}}}|Elevation]]|Elevation}}<div class="ib-settlement-fn">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}| ({{{elevation_point}}})}}</div>
| data82 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_m|}}}
|ft ={{{elevation_ft|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
| rowclass83 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|mergedrow|mergedtoprow}}
| label83 = Highest elevation<div class="ib-settlement-fn">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}| ({{{elevation_max_point}}})}}</div>
| data83 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_max_m|}}}
|ft ={{{elevation_max_ft|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation max rank*** -->
| rowclass84 = mergedrow
| label84 = • Rank
| data84 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}| {{{elevation_max_rank|}}} }}
| rowclass85 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}
| label85 = Lowest elevation<div class="ib-settlement-fn">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}| ({{{elevation_min_point}}})}}</div>
| data85 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}
|{{infobox_settlement/lengthdisp
|m ={{{elevation_min_m|}}}
|ft ={{{elevation_min_ft|}}}
|pref={{{unit_pref|}}}
|name={{{subdivision_name}}}
}} }}
<!-- ***Elevation min rank*** -->
| rowclass86 = mergedrow
| label86 = • Rank
| data86 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|{{{elevation_min_rank|}}}}}
<!-- ***Population*** -->
| rowclass87 = mergedtoprow
| label87 = Population<div class="ib-settlement-fn">{{#if:{{{population_as_of|}}}|{{nbsp}}({{{population_as_of}}})}}{{{population_footnotes|}}}</div>
| data87 = {{fix comma category|{{#ifeq:{{{total_type}}}|
| {{#if:{{{population_total|}}}
| {{formatnum:{{replace|{{{population_total}}}|,|}}}}
}}
}}
}}
| rowclass88 = mergedtoprow
| header88 ={{#ifeq:{{{total_type}}}|
|
|{{#if:{{{population_total|}}}{{{population_urban|}}}{{{population_rural|}}}{{{population_metro|}}}{{{population_blank1|}}}{{{population_blank2|}}}{{{population_est|}}}
|Population<div class="ib-settlement-fn">{{#if:{{{population_as_of|}}}|{{nbsp}}({{{population_as_of}}})}}{{{population_footnotes|}}}</div>
}}
}}
| rowclass89 = mergedrow
| label89 = <div style="white-space:nowrap;"> • {{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}|{{#if:{{{settlement_type|}}}{{{type|}}}|{{if empty|{{{settlement_type|}}}|{{{type}}}}}|City}}|Total}}}}</div>
| data89 = {{#ifeq:{{{total_type}}}|
|
|{{#if:{{{population_total|}}}
| {{fix comma category|{{formatnum:{{replace|{{{population_total}}}|,|}}}}}}
}}
}}
| rowclass90 = mergedrow
| label90 = <div style="white-space:nowrap;"> • Estimate {{#if:{{{pop_est_as_of|}}}|<div class="ib-settlement-fn">({{{pop_est_as_of}}}){{{pop_est_footnotes|}}}</div>}}</div>
| data90 = {{#if:{{{population_est|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_est}}}|,|}}}}}} }}
<!-- ***Population rank*** -->
| rowclass91 = mergedrow
| label91 = • Rank
| data91 = {{{population_rank|}}}
| rowclass92 = mergedrow
| label92 = • Density
| data92 = {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}{{{population_total|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_km2|}}}
|/sqmi={{{population_density_sq_mi|}}}
|pop ={{{population_total|}}}
|dunam={{if empty|{{{area_land_dunam|}}}|{{{area_total_dunam|}}}}}
|ha ={{if empty|{{{area_land_ha|}}}|{{{area_total_ha|}}}}}
|km2 ={{if empty|{{{area_land_km2|}}}|{{{area_total_km2|}}}}}
|acre ={{if empty|{{{area_land_acre|}}}|{{{area_total_acre|}}}}}
|sqmi ={{if empty|{{{area_land_sq_mi|}}}|{{{area_total_sq_mi|}}}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
<!-- ***Population density rank*** -->
| rowclass93 = mergedrow
| label93 = • Rank
| data93 = {{{population_density_rank|}}}
| rowclass94 = mergedrow
| label94 = • [[Urban area|Urban]]<div class="ib-settlement-fn">{{{population_urban_footnotes|}}}</div>
| data94 = {{#if:{{{population_urban|}}}| {{fix comma category|{{formatnum:{{replace|{{{population_urban}}}|,|}}}}}} }}
| rowclass95 = mergedrow
| label95 = • Urban density
| data95 = {{#if:{{{population_density_urban_km2|}}}{{{population_density_urban_sq_mi|}}}{{{population_urban|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_urban_km2|}}}
|/sqmi={{{population_density_urban_sq_mi|}}}
|pop ={{{population_urban|}}}
|ha ={{{area_urban_ha|}}}
|km2 ={{{area_urban_km2|}}}
|acre ={{{area_urban_acre|}}}
|sqmi ={{{area_urban_sq_mi|}}}
|dunam={{{area_urban_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass96 = mergedrow
| label96 = • [[Rural area|Rural]]<div class="ib-settlement-fn">{{{population_rural_footnotes|}}}</div>
| data96 = {{#if:{{{population_rural|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_rural}}}|,|}}}}}}}}
| rowclass97 = mergedrow
| label97 = • Rural density
| data97 = {{#if:{{{population_density_rural_km2|}}}{{{population_density_rural_sq_mi|}}}{{{population_rural|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_rural_km2|}}}
|/sqmi={{{population_density_rural_sq_mi|}}}
|pop ={{{population_rural|}}}
|ha ={{{area_rural_ha|}}}
|km2 ={{{area_rural_km2|}}}
|acre ={{{area_rural_acre|}}}
|sqmi ={{{area_rural_sq_mi|}}}
|dunam={{{area_rural_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass98 = mergedrow
| label98 = • [[Metropolitan area|Metro]]<div class="ib-settlement-fn">{{{population_metro_footnotes|}}}</div>
| data98 = {{#if:{{{population_metro|}}}| {{fix comma category|{{formatnum:{{replace|{{{population_metro}}}|,|}}}}}} }}
| rowclass99 = mergedrow
| label99 = • Metro density
| data99 = {{#if:{{{population_density_metro_km2|}}}{{{population_density_metro_sq_mi|}}}{{{population_metro|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_metro_km2|}}}
|/sqmi={{{population_density_metro_sq_mi|}}}
|pop ={{{population_metro|}}}
|ha ={{{area_metro_ha|}}}
|km2 ={{{area_metro_km2|}}}
|acre ={{{area_metro_acre|}}}
|sqmi ={{{area_metro_sq_mi|}}}
|dunam={{{area_metro_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass100 = mergedrow
| label100 = • {{{population_blank1_title|}}}<div class="ib-settlement-fn">{{{population_blank1_footnotes|}}}</div>
| data100 = {{#if:{{{population_blank1|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_blank1}}}|,|}}}}}}}}
| rowclass101 = mergedrow
| label101 = • {{#if:{{{population_blank1_title|}}}|{{{population_blank1_title}}} density|Density}}
| data101 = {{#if:{{{population_density_blank1_km2|}}}{{{population_density_blank1_sq_mi|}}}{{{population_blank1|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_blank1_km2|}}}
|/sqmi={{{population_density_blank1_sq_mi|}}}
|pop ={{{population_blank1|}}}
|ha ={{{area_blank1_ha|}}}
|km2 ={{{area_blank1_km2|}}}
|acre ={{{area_blank1_acre|}}}
|sqmi ={{{area_blank1_sq_mi|}}}
|dunam={{{area_blank1_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass102 = mergedrow
| label102 = • {{{population_blank2_title|}}}<div class="ib-settlement-fn">{{{population_blank2_footnotes|}}}</div>
| data102 = {{#if:{{{population_blank2|}}}|{{fix comma category|{{formatnum:{{replace|{{{population_blank2}}}|,|}}}}}}}}
| rowclass103 = mergedrow
| label103 = • {{#if:{{{population_blank2_title|}}}|{{{population_blank2_title}}} density|Density}}
| data103 = {{#if:{{{population_density_blank2_km2|}}}{{{population_density_blank2_sq_mi|}}}{{{population_blank2|}}}
|{{infobox_settlement/densdisp
|/km2 ={{{population_density_blank2_km2|}}}
|/sqmi={{{population_density_blank2_sq_mi|}}}
|pop ={{{population_blank2|}}}
|ha ={{{area_blank2_ha|}}}
|km2 ={{{area_blank2_km2|}}}
|acre ={{{area_blank2_acre|}}}
|sqmi ={{{area_blank2_sq_mi|}}}
|dunam={{{area_blank2_dunam|}}}
|pref ={{{unit_pref|}}}
|name ={{{subdivision_name}}}
}}}}
| rowclass104 = mergedrow
| label104 =
| data104 = {{{population_note|}}}
| rowclass105 = mergedtoprow
| label105 = {{Pluralize from text|{{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}{{force plural}}}}|<!--
-->link=Demonym|singular=Demonym|likely=Demonym(s)|plural=Demonyms}}
| data105 = {{if empty|{{{population_demonym|}}}|{{{population_demonyms|}}}}}{{Main other|{{Pluralize from text|{{{population_demonym|}}}|likely=[[Category:Pages using infobox settlement with possible demonym list]]}}}}
<!-- ***Demographics 1*** -->
| rowclass106 = mergedtoprow
| header106 = {{#if:{{{demographics_type1|}}}
|{{{demographics_type1}}}<div class="ib-settlement-fn">{{{demographics1_footnotes|}}}</div>}}
| rowclass107 = mergedrow
| label107 = • {{{demographics1_title1}}}
| data107 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title1|}}}|{{{demographics1_info1|}}}}}}}
| rowclass108 = mergedrow
| label108 = • {{{demographics1_title2}}}
| data108 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title2|}}}|{{{demographics1_info2|}}}}}}}
| rowclass109 = mergedrow
| label109 = • {{{demographics1_title3}}}
| data109 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title3|}}}|{{{demographics1_info3|}}}}}}}
| rowclass110 = mergedrow
| label110 = • {{{demographics1_title4}}}
| data110 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title4|}}}|{{{demographics1_info4|}}}}}}}
| rowclass111 = mergedrow
| label111 = • {{{demographics1_title5}}}
| data111 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title5|}}}|{{{demographics1_info5|}}}}}}}
| rowclass112 = mergedrow
| label112 = • {{{demographics1_title6}}}
| data112 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title6|}}}|{{{demographics1_info6|}}}}}}}
| rowclass113 = mergedrow
| label113 = • {{{demographics1_title7}}}
| data113 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title7|}}}|{{{demographics1_info7|}}}}}}}
| rowclass114 = mergedrow
| label114 = • {{{demographics1_title8}}}
| data114 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title8|}}}|{{{demographics1_info8|}}}}}}}
| rowclass115 = mergedrow
| label115 = • {{{demographics1_title9}}}
| data115 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title9|}}}|{{{demographics1_info9|}}}}}}}
| rowclass116 = mergedrow
| label116 = • {{{demographics1_title10}}}
| data116 = {{#if:{{{demographics_type1|}}}
|{{#if:{{{demographics1_title10|}}}|{{{demographics1_info10|}}}}}}}
<!-- ***Demographics 2*** -->
| rowclass117 = mergedtoprow
| header117 = {{#if:{{{demographics_type2|}}}
|{{{demographics_type2}}}<div class="ib-settlement-fn">{{{demographics2_footnotes|}}}</div>}}
| rowclass118 = mergedrow
| label118 = • {{{demographics2_title1}}}
| data118 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title1|}}}|{{{demographics2_info1|}}}}}}}
| rowclass119 = mergedrow
| label119 = • {{{demographics2_title2}}}
| data119 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title2|}}}|{{{demographics2_info2|}}}}}}}
| rowclass120 = mergedrow
| label120 = • {{{demographics2_title3}}}
| data120 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title3|}}}|{{{demographics2_info3|}}}}}}}
| rowclass121 = mergedrow
| label121 = • {{{demographics2_title4}}}
| data121 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title4|}}}|{{{demographics2_info4|}}}}}}}
| rowclass122 = mergedrow
| label122 = • {{{demographics2_title5}}}
| data122 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title5|}}}|{{{demographics2_info5|}}}}}}}
| rowclass123 = mergedrow
| label123 = • {{{demographics2_title6}}}
| data123 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title6|}}}|{{{demographics2_info6|}}}}}}}
| rowclass124 = mergedrow
| label124 = • {{{demographics2_title7}}}
| data124 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title7|}}}|{{{demographics2_info7|}}}}}}}
| rowclass125 = mergedrow
| label125 = • {{{demographics2_title8}}}
| data125 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title8|}}}|{{{demographics2_info8|}}}}}}}
| rowclass126 = mergedrow
| label126 = • {{{demographics2_title9}}}
| data126 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title9|}}}|{{{demographics2_info9|}}}}}}}
| rowclass127 = mergedrow
| label127 = • {{{demographics2_title10}}}
| data127 = {{#if:{{{demographics_type2|}}}
|{{#if:{{{demographics2_title10|}}}|{{{demographics2_info10|}}}}}}}
<!-- ***Time Zones*** -->
| rowclass128 = mergedtoprow
| header128 = {{#if:{{{timezone1_location|}}}|{{#if:{{{timezone2|}}}|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]s|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]}}|}}
| rowclass129 = {{#if:{{{timezone1_location|}}}|mergedrow|mergedtoprow}}
| label129 = {{#if:{{{timezone1_location|}}}|{{{timezone1_location}}}|{{#if:{{{timezone2_location|}}}|{{{timezone2_location}}}|{{#if:{{{timezone2|}}}|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]s|[[{{if empty|{{{timezone_link|}}}|Time zone}}|Time zone]]}}}}}}
| data129 = {{#if:{{{utc_offset1|}}}{{{utc_offset|}}}
|[[UTC{{if empty|{{{utc_offset1|}}}|{{{utc_offset}}}}}]] {{#if:{{{timezone1|}}}{{{timezone|}}}|({{if empty|{{{timezone1|}}}|{{{timezone}}}}})}}
|{{if empty|{{{timezone1|}}}|{{{timezone|}}}}}
}}
| rowclass130 = mergedrow
| label130 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data130 = {{#if:{{{utc_offset1_DST|}}}{{{utc_offset_DST|}}}
|[[UTC{{if empty|{{{utc_offset1_DST|}}}|{{{utc_offset_DST|}}}}}]] {{#if:{{{timezone1_DST|}}}{{{timezone_DST|}}}|({{if empty|{{{timezone1_DST|}}}|{{{timezone_DST}}}}})}}
|{{if empty|{{{timezone1_DST|}}}|{{{timezone_DST|}}}}}
}}
| rowclass131 = mergedrow
| label131 = {{if empty|{{{timezone2_location|}}}|<nowiki />}}
| data131 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset2|}}}
|[[UTC{{{utc_offset2|}}}]] {{#if:{{{timezone2|}}}|({{{timezone2}}})}}
|{{{timezone2|}}}
}}
}}
| rowclass132 = mergedrow
| label132 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data132 = {{#if:{{{utc_offset2_DST|}}}|[[UTC{{{utc_offset2_DST|}}}]] {{#if:{{{timezone2_DST|}}}|({{{timezone2_DST|}}})}}
|{{{timezone2_DST|}}}
}}
| rowclass133 = mergedrow
| label133 = {{if empty|{{{timezone3_location|}}}|<nowiki />}}
| data133 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset3|}}}
|[[UTC{{{utc_offset3|}}}]] {{#if:{{{timezone3|}}}|({{{timezone3}}})}}
|{{{timezone3|}}}
}}
}}
| rowclass134 = mergedrow
| label134 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data134 = {{#if:{{{utc_offset3_DST|}}}|[[UTC{{{utc_offset3_DST|}}}]] {{#if:{{{timezone3_DST|}}}|({{{timezone3_DST|}}})}}
|{{{timezone3_DST|}}}
}}
| rowclass135 = mergedrow
| label135 = {{if empty|{{{timezone4_location|}}}|<nowiki />}}
| data135 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset4|}}}
|[[UTC{{{utc_offset4|}}}]] {{#if:{{{timezone4|}}}|({{{timezone4}}})}}
|{{{timezone4|}}}
}}
}}
| rowclass136 = mergedrow
| label136 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data136 = {{#if:{{{utc_offset4_DST|}}}|[[UTC{{{utc_offset4_DST|}}}]] {{#if:{{{timezone4_DST|}}}|({{{timezone4_DST|}}})}}
|{{{timezone4_DST|}}}
}}
| rowclass137 = mergedrow
| label137 = {{if empty|{{{timezone5_location|}}}|<nowiki />}}
| data137 = {{#if:{{{timezone1|}}}{{{timezone|}}}{{{utc_offset1|}}}{{{utc_offset|}}}
|{{#if:{{{utc_offset5|}}}
|[[UTC{{{utc_offset5|}}}]] {{#if:{{{timezone5|}}}|({{{timezone5}}})}}
|{{{timezone5|}}}
}}
}}
| rowclass138 = mergedrow
| label138 = <span class="nowrap"> • Summer ([[Daylight saving time|DST]])</span>
| data138 = {{#if:{{{utc_offset5_DST|}}}|[[UTC{{{utc_offset5_DST|}}}]] {{#if:{{{timezone5_DST|}}}|({{{timezone5_DST|}}})}}
|{{{timezone5_DST|}}}
}}
<!-- ***Postal Code(s)*** -->
| rowclass139 = mergedtoprow
| label139 = {{if empty|{{{postal_code_type|}}}|{{Pluralize from text|any_comma=1|parse_links=1|{{{postal_code|}}}|link=Postal code|singular=Postal code|plural=Postal codes}}}}
| class139 = adr
| data139 = {{#if:{{{postal_code|}}}|<div class="postal-code">{{{postal_code}}}</div>}}
| rowclass140 = {{#if:{{{postal_code|}}}|mergedbottomrow|mergedtoprow}}
| label140 = {{if empty|{{{postal2_code_type|}}}|{{Pluralize from text|any_comma=1|parse_links=1|{{{postal2_code|}}}|link=Postal code|singular=Postal code|plural=Postal codes}}}}
| class140 = adr
| data140 = {{#if:{{{postal2_code|}}}|<div class="postal-code">{{{postal2_code}}}</div>}}
<!-- ***Area Code(s)*** -->
| rowclass141 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}|mergedrow|mergedtoprow}}
| label141 = {{if empty|{{{area_code_type|}}}|{{Pluralize from text|any_comma=1|parse_links=1|{{if empty|{{{area_code|}}}|{{{area_codes|}}}{{force plural}}}}|<!--
-->link=Telephone numbering plan|singular=Area code|likely=Area code(s)|plural=Area codes}}}}
| data141 = {{if empty|{{{area_code|}}}|{{{area_codes|}}}}}{{#if:{{{area_code_type|}}}||{{Main other|{{Pluralize from text|any_comma=1|parse_links=1|{{{area_code|}}}|||[[Category:Pages using infobox settlement with possible area code list]]}}}}}}
<!-- Geocode-->
| rowclass142 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}|mergedrow|mergedtoprow}}
| label142 = [[Geocode]]
| class142 = nickname
| data142 = {{{geocode|}}}
<!-- ISO Code-->
| rowclass143 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}|mergedrow|mergedtoprow}}
| label143 = [[ISO 3166|ISO 3166 code]]
| class143 = nickname
| data143 = {{{iso_code|}}}
<!-- Vehicle registration plate-->
| rowclass144 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}{{{iso_code|}}}|mergedrow|mergedtoprow}}
| label144 = {{if empty|{{{registration_plate_type|}}}|[[Vehicle registration plate|Vehicle registration]]}}
| data144 = {{{registration_plate|}}}
<!-- Other codes -->
| rowclass145 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}{{{iso_code|}}}{{{registration_plate|}}}|mergedrow|mergedtoprow}}
| label145 = {{{code1_name|}}}
| class145 = nickname
| data145 = {{#if:{{{code1_name|}}}|{{{code1_info|}}}}}
| rowclass146 = {{#if:{{{postal_code|}}}{{{postal2_code|}}}{{{area_code|}}}{{{geocode|}}}{{{iso_code|}}}{{{registration_plate|}}}{{{code1_name|}}}|mergedrow|mergedtoprow}}
| label146 = {{{code2_name|}}}
| class146 = nickname
| data146 = {{#if:{{{code2_name|}}}|{{{code2_info|}}}}}
<!-- ***Blank Fields (two sections)*** -->
| rowclass147 = mergedtoprow
| label147 = {{if empty|{{{blank_name_sec1|}}}|{{{blank_name|}}}}}
| data147 = {{#if:{{{blank_name_sec1|}}}{{{blank_name|}}}|{{if empty|{{{blank_info_sec1|}}}|{{{blank_info|}}}}}}}
| rowclass148 = mergedrow
| label148 = {{if empty|{{{blank1_name_sec1|}}}|{{{blank1_name|}}}}}
| data148 = {{#if:{{{blank1_name_sec1|}}}{{{blank1_name|}}}|{{if empty|{{{blank1_info_sec1|}}}|{{{blank1_info|}}}}}}}
| rowclass149 = mergedrow
| label149 = {{if empty|{{{blank2_name_sec1|}}}|{{{blank2_name|}}}}}
| data149 = {{#if:{{{blank2_name_sec1|}}}{{{blank2_name|}}}|{{if empty|{{{blank2_info_sec1|}}}|{{{blank2_info|}}}}}}}
| rowclass150 = mergedrow
| label150 = {{if empty|{{{blank3_name_sec1|}}}|{{{blank3_name|}}}}}
| data150 = {{#if:{{{blank3_name_sec1|}}}{{{blank3_name|}}}|{{if empty|{{{blank3_info_sec1|}}}|{{{blank3_info|}}}}}}}
| rowclass151 = mergedrow
| label151 = {{if empty|{{{blank4_name_sec1|}}}|{{{blank4_name|}}}}}
| data151 = {{#if:{{{blank4_name_sec1|}}}{{{blank4_name|}}}|{{if empty|{{{blank4_info_sec1|}}}|{{{blank4_info|}}}}}}}
| rowclass152 = mergedrow
| label152 = {{if empty|{{{blank5_name_sec1|}}}|{{{blank5_name|}}}}}
| data152 = {{#if:{{{blank5_name_sec1|}}}{{{blank5_name|}}}|{{if empty|{{{blank5_info_sec1|}}}|{{{blank5_info|}}}}}}}
| rowclass153 = mergedrow
| label153 = {{if empty|{{{blank6_name_sec1|}}}|{{{blank6_name|}}}}}
| data153 = {{#if:{{{blank6_name_sec1|}}}{{{blank6_name|}}}|{{if empty|{{{blank6_info_sec1|}}}|{{{blank6_info|}}}}}}}
| rowclass154 = mergedrow
| label154 = {{if empty|{{{blank7_name_sec1|}}}|{{{blank7_name|}}}}}
| data154 = {{#if:{{{blank7_name_sec1|}}}{{{blank7_name|}}}|{{if empty|{{{blank7_info_sec1|}}}|{{{blank7_info|}}}}}}}
| rowclass155 = mergedtoprow
| label155 = {{{blank_name_sec2}}}
| data155 = {{#if:{{{blank_name_sec2|}}}|{{{blank_info_sec2|}}}}}
| rowclass156 = mergedrow
| label156 = {{{blank1_name_sec2}}}
| data156 = {{#if:{{{blank1_name_sec2|}}}|{{{blank1_info_sec2|}}}}}
| rowclass157 = mergedrow
| label157 = {{{blank2_name_sec2}}}
| data157 = {{#if:{{{blank2_name_sec2|}}}|{{{blank2_info_sec2|}}}}}
| rowclass158 = mergedrow
| label158 = {{{blank3_name_sec2}}}
| data158 = {{#if:{{{blank3_name_sec2|}}}|{{{blank3_info_sec2|}}}}}
| rowclass159 = mergedrow
| label159 = {{{blank4_name_sec2}}}
| data159 = {{#if:{{{blank4_name_sec2|}}}|{{{blank4_info_sec2|}}}}}
| rowclass160 = mergedrow
| label160 = {{{blank5_name_sec2}}}
| data160 = {{#if:{{{blank5_name_sec2|}}}|{{{blank5_info_sec2|}}}}}
| rowclass161 = mergedrow
| label161 = {{{blank6_name_sec2}}}
| data161 = {{#if:{{{blank6_name_sec2|}}}|{{{blank6_info_sec2|}}}}}
| rowclass162 = mergedrow
| label162 = {{{blank7_name_sec2}}}
| data162 = {{#if:{{{blank7_name_sec2|}}}|{{{blank7_info_sec2|}}}}}
<!-- ***Website*** -->
| rowclass163 = mergedtoprow
| label163 = Website
| data163 = {{#if:{{{website|}}}|{{{website}}}}}
| class164 = maptable
| data164 = {{#if:{{{module|}}}|{{{module}}}}}
<!-- ***Footnotes*** -->
| belowrowclass = mergedtoprow
| below = {{{footnotes|}}}
}}<!-- Check for unknowns
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using {{if empty|{{lcfirst:{{{template_name|}}}}}|infobox settlement}} with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:{{if empty|{{ucfirst:{{{template_name|}}}}}|Infobox settlement}}]] with unknown parameter "_VALUE_"|ignoreblank=y|mapframe_args=y
| alt | anthem | anthem_link | area_blank1_acre | area_blank1_dunam | area_blank1_ha | area_blank1_km2 | area_blank1_sq_mi | area_blank1_title | area_blank2_acre | area_blank2_dunam | area_blank2_ha | area_blank2_km2 | area_blank2_sq_mi | area_blank2_title | area_code | area_code_type | area_codes | area_footnotes | area_land_acre | area_land_dunam | area_land_ha | area_land_km2 | area_land_sq_mi | area_metro_acre | area_metro_dunam | area_metro_footnotes | area_metro_ha | area_metro_km2 | area_metro_sq_mi | area_note | area_rank | area_rural_acre | area_rural_dunam | area_rural_footnotes | area_rural_ha | area_rural_km2 | area_rural_sq_mi | area_total_acre | area_total_dunam | area_total_ha | area_total_km2 | area_total_sq_mi | area_urban_acre | area_urban_dunam | area_urban_footnotes | area_urban_ha | area_urban_km2 | area_urban_sq_mi | area_water_acre | area_water_dunam | area_water_ha | area_water_km2 | area_water_percent | area_water_sq_mi
| blank_emblem_alt | blank_emblem_link | blank_emblem_size | blank_emblem_type | blank_emblem_upright
| blank_info | blank_info_sec1 | blank_info_sec2 | blank_name | blank_name_sec1 | blank_name_sec2 | blank1_info | blank1_info_sec1 | blank1_info_sec2 | blank1_name | blank1_name_sec1 | blank1_name_sec2 | blank2_info | blank2_info_sec1 | blank2_info_sec2 | blank2_name | blank2_name_sec1 | blank2_name_sec2 | blank3_info | blank3_info_sec1 | blank3_info_sec2 | blank3_name | blank3_name_sec1 | blank3_name_sec2 | blank4_info | blank4_info_sec1 | blank4_info_sec2 | blank4_name | blank4_name_sec1 | blank4_name_sec2 | blank5_info | blank5_info_sec1 | blank5_info_sec2 | blank5_name | blank5_name_sec1 | blank5_name_sec2 | blank6_info | blank6_info_sec1 | blank6_info_sec2 | blank6_name | blank6_name_sec1 | blank6_name_sec2 | blank7_info | blank7_info_sec1 | blank7_info_sec2 | blank7_name | blank7_name_sec1 | blank7_name_sec2 | caption | code1_info | code1_name | code2_info | code2_name | coor_pinpoint | coor_type | coordinates | coordinates_footnotes | demographics_type1 | demographics_type2 | demographics1_footnotes | demographics1_info1 | demographics1_info10 | demographics1_info2 | demographics1_info3 | demographics1_info4 | demographics1_info5 | demographics1_info6 | demographics1_info7 | demographics1_info8 | demographics1_info9 | demographics1_title1 | demographics1_title10 | demographics1_title2 | demographics1_title3 | demographics1_title4 | demographics1_title5 | demographics1_title6 | demographics1_title7 | demographics1_title8 | demographics1_title9 | demographics2_footnotes | demographics2_info1 | demographics2_info10 | demographics2_info2 | demographics2_info3 | demographics2_info4 | demographics2_info5 | demographics2_info6 | demographics2_info7 | demographics2_info8 | demographics2_info9 | demographics2_title1 | demographics2_title10 | demographics2_title2 | demographics2_title3 | demographics2_title4 | demographics2_title5 | demographics2_title6 | demographics2_title7 | demographics2_title8 | demographics2_title9 | dimensions_footnotes | dunam_link | elevation_footnotes | elevation_ft | elevation_link | elevation_m | elevation_max_footnotes | elevation_max_ft | elevation_max_m | elevation_max_point | elevation_max_rank | elevation_min_footnotes | elevation_min_ft | elevation_min_m | elevation_min_point | elevation_min_rank | elevation_point | embed | established_date | established_date1 | established_date2 | established_date3 | established_date4 | established_date5 | established_date6 | established_date7 | established_title | established_title1 | established_title2 | established_title3 | established_title4 | established_title5 | established_title6 | established_title7 | etymology | extinct_date | extinct_title | flag_alt | flag_border | flag_link | flag_size | footnotes | founder | geocode | governing_body | government_footnotes | government_type | government_blank1_title | government_blank1 | government_blank2_title | government_blank2 | government_blank2_title | government_blank3 | government_blank3_title | government_blank3 | government_blank4_title | government_blank4 | government_blank5_title | government_blank5 | government_blank6_title | government_blank6 | grid_name | grid_position
| image_alt | image_blank_emblem | image_caption | image_flag | image_map | image_map1 | image_seal | image_shield | image_size | image_skyline | imagesize | image_upright
| iso_code | leader_name | leader_name1 | leader_name2 | leader_name3 | leader_name4 | leader_name5 | leader_party | leader_title | leader_title1 | leader_title2 | leader_title3 | leader_title4 | leader_title5 | length_km | length_mi | map_alt | map_alt1 | map_caption | map_caption1 | mapsize | mapsize1 | module | motto | motto_link | mottoes | name | named_for | native_name | native_name_lang | nickname | nickname_link | nicknames | official_name | other_name | p1 | p10 | p11 | p12 | p13 | p14 | p15 | p16 | p17 | p18 | p19 | p2 | p20 | p21 | p22 | p23 | p24 | p25 | p26 | p27 | p28 | p29 | p3 | p30 | p31 | p32 | p33 | p34 | p35 | p36 | p37 | p38 | p39 | p4 | p40 | p41 | p42 | p43 | p44 | p45 | p46 | p47 | p48 | p49 | p5 | p50 | p6 | p7 | p8 | p9 | parts | parts_style | parts_type | pop_est_as_of | pop_est_footnotes | population_as_of | population_blank1 | population_blank1_footnotes | population_blank1_title | population_blank2 | population_blank2_footnotes | population_blank2_title | population_demonym | population_demonyms | population_density_blank1_km2 | population_density_blank1_sq_mi | population_density_blank2_km2 | population_density_blank2_sq_mi | population_density_km2 | population_density_metro_km2 | population_density_metro_sq_mi | population_density_rank | population_density_rural_km2 | population_density_rural_sq_mi | population_density_sq_mi | population_density_urban_km2 | population_density_urban_sq_mi | population_est | population_footnotes | population_metro | population_metro_footnotes | population_note | population_rank | population_rural | population_rural_footnotes | population_total | population_urban | population_urban_footnotes | postal_code | postal_code_type | postal2_code | postal2_code_type | pushpin_image | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_caption_notsmall | pushpin_map_narrow | pushpin_mapsize | pushpin_outside | pushpin_overlay | pushpin_relief | registration_plate | registration_plate_type | seal_alt | seal_class | seal_link | seal_size | seal_type | seat | seat_type | seat1 | seat1_type | seat2 | seat2_type | settlement_type | shield_alt | shield_link | shield_size | short_description <!--used by Module:Settlement short description-->| subdivision_name | subdivision_name1 | subdivision_name2 | subdivision_name3 | subdivision_name4 | subdivision_name5 | subdivision_name6 | subdivision_type | subdivision_type1 | subdivision_type2 | subdivision_type3 | subdivision_type4 | subdivision_type5 | subdivision_type6 | template_name | timezone | timezone_DST | timezone_link | timezone1 | timezone1_DST | timezone1_location | timezone2 | timezone2_DST | timezone2_location | timezone3 | timezone3_DST | timezone3_location | timezone4 | timezone4_DST | timezone4_location | timezone5 | timezone5_DST | timezone5_location | total_type | translit_lang1 | translit_lang1_info | translit_lang1_info1 | translit_lang1_info2 | translit_lang1_info3 | translit_lang1_info4 | translit_lang1_info5 | translit_lang1_info6 | translit_lang1_type | translit_lang1_type1 | translit_lang1_type2 | translit_lang1_type3 | translit_lang1_type4 | translit_lang1_type5 | translit_lang1_type6 | translit_lang2 | translit_lang2_info | translit_lang2_info1 | translit_lang2_info2 | translit_lang2_info3 | translit_lang2_info4 | translit_lang2_info5 | translit_lang2_info6 | translit_lang2_type | translit_lang2_type1 | translit_lang2_type2 | translit_lang2_type3 | translit_lang2_type4 | translit_lang2_type5 | translit_lang2_type6 | type | unit_pref | utc_offset | utc_offset_DST | utc_offset1 | utc_offset1_DST | utc_offset2 | utc_offset2_DST | utc_offset3 | utc_offset3_DST | utc_offset4 | utc_offset4_DST | utc_offset5 | utc_offset5_DST | website | width_km | width_mi }}<!--
-->{{#invoke:Check for conflicting parameters|check
| template = [[Template:{{if empty|{{ucfirst:{{{template_name|}}}}}|Infobox settlement}}]]
| cat = {{main other|Category:Pages using {{if empty|{{lcfirst:{{{template_name|}}}}}|infobox settlement}} with conflicting parameters}}
| settlement_type; type
| image_size; imagesize
| image_alt; alt
| image_caption; caption
| nickname; nicknames
| motto; mottoes
| coor_pinpoint; coor_type
| population_demonym; population_demonyms
| utc_offset1; utc_offset
| timezone1; timezone
| utc_offset1_DST; utc_offset_DST
| timezone1_DST; timezone_DST
| area_code; area_codes
| blank_name_sec1; blank_name
| blank_info_sec1; blank_info
| blank1_name_sec1; blank1_name
| blank1_info_sec1; blank1_info
| blank2_name_sec1; blank2_name
| blank2_info_sec1; blank2_info
| blank3_name_sec1; blank3_name
| blank3_info_sec1; blank3_info
| blank4_name_sec1; blank4_name
| blank4_info_sec1; blank4_info
| blank5_name_sec1; blank5_name
| blank5_info_sec1; blank5_info
| blank6_name_sec1; blank6_name
| blank6_info_sec1; blank6_info
| blank7_name_sec1; blank7_name
| blank7_info_sec1; blank7_info
}}<!-- Wikidata
-->{{#if:{{{coordinates_wikidata|}}}{{{wikidata|}}}
|[[Category:Pages using infobox settlement with the wikidata parameter]]
}}{{main other|<!-- Missing country
-->{{#if:{{{subdivision_name|}}}||[[Category:Pages using infobox settlement with missing country]]}}<!-- No map
-->{{#if:{{{pushpin_map|}}}{{{image_map|}}}{{{image_map1|}}}||[[Category:Pages using infobox settlement with no map]]}}<!-- Image_map1 without image_map
-->{{#if:{{{image_map1|}}}|{{#if:{{{image_map|}}}||[[Category:Pages using infobox settlement with image_map1 but not image_map]]}}}}<!-- No coordinates
-->{{#if:{{{coordinates|}}}||[[Category:Pages using infobox settlement with no coordinates]]}}<!--
-->{{#if:{{{embed|}}}|[[Category:Pages using infobox settlement with embed]]}}
}}<!-- Gathering information on over-use of maps
-->{{#ifexpr:{{#invoke:ParameterCount|main|mapframe|image_map|image_map1|pushpin_map}} >2 |{{main other| [[Category:Pages using infobox settlement with potentially too many maps]]}}}}</includeonly><noinclude>
{{documentation}}
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
pkqsubwyzeehptxrn9z7lec6zup5fve
Template:Artigos e outros
10
7150
70333
2026-04-25T03:30:55Z
Exec8
6243
Pájina foun: '{{safesubst:<noinclude/>#switch: <noinclude><!-- Se os parâmetros "demospace"/"domínio para demonstração" estiverem vazios ou não houver nenhum, então detecta o namespace --></noinclude> {{safesubst:<noinclude/>#if: {{{domínio para demonstração|{{{demospace|}}}}}} | {{safesubst:<noinclude/>lc: {{{domínio para demonstração|{{{demospace|}}}}}} }} <noinclude><!-- Usa "demospace"/"domínio para demonstração" em letras minúsculas --></noinclude> | {{sa...'
70333
wikitext
text/x-wiki
{{safesubst:<noinclude/>#switch:
<noinclude><!-- Se os parâmetros "demospace"/"domínio para demonstração" estiverem vazios ou não houver nenhum, então detecta o namespace --></noinclude>
{{safesubst:<noinclude/>#if: {{{domínio para demonstração|{{{demospace|}}}}}}
| {{safesubst:<noinclude/>lc: {{{domínio para demonstração|{{{demospace|}}}}}} }} <noinclude><!-- Usa "demospace"/"domínio para demonstração" em letras minúsculas --></noinclude>
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:0}}
| main
| other
}}
}}
| principal
| main = {{{1|}}}
| outro
| other
| #default = {{{2|}}}
}}<noinclude>
{{Documentação}}
<!-- Adicionar as categorias na subpágina /doc; interwikis vão na Wikidata, obrigado! -->
</noinclude>
5542z8jv9kjx8dn58heptwjzf03eyqc
Template:Coor dms/str
10
7151
70334
2026-04-25T03:31:14Z
Exec8
6243
Pájina foun: '{{#if: {{{1|}}} |{{{1|}}} |{{#ifeq: {{str len | {{{2|}}} }} |21 |{{#iferror: {{#expr: 2*{{str mid |{{{2|}}} |{{{3|}}} |{{{4|}}} }} }} ||{{str mid |{{{2|}}} |{{{3|}}} |{{{4|}}} }} }} }} }}<noinclude> [[Categoria:!Info Assentamento]] [[Categoria:!Subpredefinições]] </noinclude>'
70334
wikitext
text/x-wiki
{{#if: {{{1|}}}
|{{{1|}}}
|{{#ifeq: {{str len | {{{2|}}} }} |21
|{{#iferror: {{#expr: 2*{{str mid |{{{2|}}} |{{{3|}}} |{{{4|}}} }} }}
||{{str mid |{{{2|}}} |{{{3|}}} |{{{4|}}} }} }} }} }}<noinclude>
[[Categoria:!Info Assentamento]]
[[Categoria:!Subpredefinições]]
</noinclude>
k6r8y37t7gocqbon64lcbfd7orw2a5t
Template:Coord/display/inline,title
10
7152
70335
2026-04-25T03:31:34Z
Exec8
6243
Pájina foun: '{{{1}}}<span style="font-size: small;"><span id="coordinadas">[[Geographic coordinate system|Coordinadas]]: {{{1}}}</span></span><noinclude>{{Documentação|Predefinição:Coord/sub doc}}[[Categoria:!Predefinições componentes da Predefinição:Coord]]</noinclude>'
70335
wikitext
text/x-wiki
{{{1}}}<span style="font-size: small;"><span id="coordinadas">[[Geographic coordinate system|Coordinadas]]: {{{1}}}</span></span><noinclude>{{Documentação|Predefinição:Coord/sub doc}}[[Categoria:!Predefinições componentes da Predefinição:Coord]]</noinclude>
i0qd3nmzwty4p3meo8u0ln2ejm15lge
Template:Ifnumber
10
7153
70336
2026-04-25T03:31:52Z
Exec8
6243
Pájina foun: '<includeonly>{{ #iferror: {{#expr: {{{1|}}}*0}} | {{{3|0}}} | {{{2|1}}} }}</includeonly><noinclude> {{Documentação}} </noinclude>'
70336
wikitext
text/x-wiki
<includeonly>{{
#iferror: {{#expr: {{{1|}}}*0}} | {{{3|0}}} | {{{2|1}}} }}</includeonly><noinclude>
{{Documentação}}
</noinclude>
p85ukyovkzmoaq2g9xilsa9gmmr340e
Template:Infocaixa
10
7154
70337
2026-04-25T03:32:12Z
Exec8
6243
Pájina foun: '{{Info/coordx| {{{coord_str|}}} | {{{latd|{{{latitude|}}}}}} | {{{latm|}}} | {{{lats|}}} | {{{latNS|N}}} | {{{longd|{{{longitude|}}}}}} | {{{longm|}}} | {{{longs|}}} | {{{longEW|}}} |font-size=100% | display=title | coord_sufixo ={{{coord_sufixo|}}} }}{{#invoke:Infocaixa|infobox}}{{#if:{{#invoke:Categorização AD e AB de outras wikis|hasAnyBadge}}|{{#invoke:Categorização AD e AB de outras wikis|badgesCategories}}}}<noinclude> {{documentação}} </noinclude>'
70337
wikitext
text/x-wiki
{{Info/coordx| {{{coord_str|}}} | {{{latd|{{{latitude|}}}}}} | {{{latm|}}} | {{{lats|}}} | {{{latNS|N}}} | {{{longd|{{{longitude|}}}}}} | {{{longm|}}} | {{{longs|}}} | {{{longEW|}}} |font-size=100% | display=title | coord_sufixo ={{{coord_sufixo|}}} }}{{#invoke:Infocaixa|infobox}}{{#if:{{#invoke:Categorização AD e AB de outras wikis|hasAnyBadge}}|{{#invoke:Categorização AD e AB de outras wikis|badgesCategories}}}}<noinclude>
{{documentação}}
</noinclude>
lrrvxo0x1josen1toc9snq5nkydsh35
Template:PAGENAMEBASE
10
7155
70338
2026-04-25T03:32:37Z
Exec8
6243
Pájina foun: '{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude><noinclude> {{Documentação}} </noinclude>'
70338
wikitext
text/x-wiki
{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude><noinclude>
{{Documentação}}
</noinclude>
8hrcgvg96zjtaok7sglaxgp5c0iuggl
Template:PH Barangay count
10
7156
70339
2026-04-25T03:33:26Z
Exec8
6243
Pájina foun: '<!-- This template is used as a switch to display count of barangays in a local administrative unit in the Philippines -->{{#switch: {{{1|}}} | Q928 <!-- Philippines --> = 42020 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc --> | Q2673519 <!-- Luzon, Philippines --> = 20492 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/luzon --> | Q211436 <!-- Visayas, Philippines --> = 11444 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/visayas -...'
70339
wikitext
text/x-wiki
<!-- This template is used as a switch to display count of barangays in a local administrative unit in the Philippines -->{{#switch: {{{1|}}}
| Q928 <!-- Philippines --> = 42020 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc -->
| Q2673519 <!-- Luzon, Philippines --> = 20492 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/luzon -->
| Q211436 <!-- Visayas, Philippines --> = 11444 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/visayas -->
| Q37274898 <!-- Mindanao, Philippines --> = 10084 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/mindanao -->
| Q13580 <!-- Metro Manila, National Capital Region --> = 1710 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/130000000 -->
| Q12933 <!-- Ilocos Region, Luzon --> = 3267 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/010000000 -->
| Q13615 <!-- Cagayan Valley, Luzon --> = 2311 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/020000000 -->
| Q13606 <!-- Cordillera Administrative Region, Luzon --> = 1178 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/140000000 -->
| Q13617 <!-- Central Luzon, Luzon --> = 3102 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/030000000 -->
| Q13650 <!-- Calabarzon, Luzon --> = 3993 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/040000000 -->
| Q13662 <!-- Bicol Region, Luzon --> = 3471 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/050000000 -->
| Q13658 <!-- Mimaropa, Luzon --> = 1460 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/170000000 -->
| Q13665 <!-- Western Visayas, Visayas --> = 4051 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/060000000 -->
| Q13669 <!-- Central Visayas, Visayas --> = 3003 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/070000000 -->
| Q13675 <!-- Eastern Visayas, Visayas --> = 4390 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/080000000 -->
| Q13682 <!-- Zamboanga Peninsula, Mindanao --> = 1904 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/090000000 -->
| Q13690 <!-- Northern Mindanao, Mindanao --> = 2022 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/100000000 -->
| Q13704 <!-- Caraga, Mindanao --> = 1311 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/160000000 -->
| Q13694 <!-- Davao Region, Mindanao --> = 1162 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/110000000 -->
| Q13701 <!-- Soccsksargen, Mindanao --> = 1195 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/120000000 -->
| Q24869612 <!-- Bangasmoro, Mindanao --> = 2490 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/150000000 -->
| Q13813 <!-- Ilocos Norte, Ilocos Region --> = 559 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/012800000 -->
| Q12741 <!-- Ilocos Sur, Ilocos Region --> = 768 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/012900000 -->
| Q13829 <!-- La Union, Ilocos Region --> = 576 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/013300000 -->
| Q13871 <!-- Pangasinan, Ilocos Region --> = 1364 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/015500000 -->
| Q13740 <!-- Batanes, Cagayan Valley --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/020900000 -->
| Q13759 <!-- Cagayan, Cagayan Valley --> = 820 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/021500000 -->
| Q13826 <!-- Isabela, Cagayan Valley --> = 1055 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/023100000 -->
| Q13866 <!-- Nueva Vizcaya, Cagayan Valley --> = 275 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/025000000 -->
| Q13873 <!-- Quirino, Cagayan Valley --> = 132 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/025700000 -->
| Q13711 <!-- Abra, Cordillera Administrative Region --> = 303 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/140100000 -->
| Q13728 <!-- Apayao, Cordillera Administrative Region --> = 133 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/148100000 -->
| Q13750 <!-- Benguet, Cordillera Administrative Region --> = 269 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/141100000 -->
| Q13812 <!-- Ifugao, Cordillera Administrative Region --> = 176 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/142700000 -->
| Q13827 <!-- Kalinga, Cordillera Administrative Region --> = 153 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/143200000 -->
| Q13861 <!-- Mountain Province, Cordillera Administrative Region --> = 133 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/144400000 -->
| Q13730 <!-- Aurora, Central Luzon --> = 151 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/037700000 -->
| Q13739 <!-- Bataan, Central Luzon --> = 237 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/030800000 -->
| Q13755 <!-- Bulacan, Central Luzon --> = 569 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/031400000 -->
| Q13865 <!-- Nueva Ecija, Central Luzon --> = 849 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/034900000 -->
| Q13870 <!-- Pampanga, Central Luzon --> = 538 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/035400000 -->
| Q13892 <!-- Tarlac, Central Luzon --> = 511 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/036900000 -->
| Q13895 <!-- Zambales, Central Luzon --> = 247 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/037100000 -->
| Q13744 <!-- Batangas, Calabarzon --> = 1078 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/041000000 -->
| Q13785 <!-- Cavite, Calabarzon --> = 803 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/042100000 -->
| Q13840 <!-- Laguna, Calabarzon --> = 681 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/043400000 -->
| Q13872 <!-- Quezon, Calabarzon --> = 1242 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/045600000 -->
| Q13874 <!-- Rizal, Calabarzon --> = 189 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/045800000 -->
| Q13726 <!-- Albay, Bicol Region --> = 720 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/050500000 -->
| Q13763 <!-- Camarines Norte, Bicol Region --> = 282 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/051600000 -->
| Q13767 <!-- Camarines Sur, Bicol Region --> = 1063 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/051700000 -->
| Q13778 <!-- Catanduanes, Bicol Region --> = 315 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/052000000 -->
| Q13847 <!-- Masbate, Bicol Region --> = 550 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/054100000 -->
| Q13881 <!-- Sorsogon, Bicol Region --> = 541 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/056200000 -->
| Q13846 <!-- Marinduque, Mimaropa --> = 218 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/174000000 -->
| Q13867 <!-- Occidental Mindoro, Mimaropa --> = 164 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/175100000 -->
| Q13868 <!-- Oriental Mindoro, Mimaropa --> = 426 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/175200000 -->
| Q13869 <!-- Palawan, Mimaropa --> = 433 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/175300000 -->
| Q13875 <!-- Romblon, Mimaropa --> = 219 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/060400000 -->
| Q13723 <!-- Aklan, Western Visayas --> = 327 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/060400000 -->
| Q13727 <!-- Antique, Western Visayas --> = 590 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/060600000 -->
| Q13772 <!-- Capiz, Western Visayas --> = 473 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/061900000 -->
| Q13810 <!-- Guimaras, Western Visayas --> = 98 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/067900000 -->
| Q13825 <!-- Iloilo, Western Visayas --> = 1901 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/063000000 -->
| Q13862 <!-- Negros Occidental, Western Visayas --> = 662 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/064500000 -->
| Q13752 <!-- Bohol, Central Visayas --> = 1109 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/071200000 -->
| Q13786 <!-- Cebu, Central Visayas --> = 1203 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/072200000 -->
| Q13863 <!-- Negros Oriental, Central Visayas --> = 557 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/074600000 -->
| Q13879 <!-- Siquijor, Central Visayas --> = 134 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/076100000 -->
| Q13751 <!-- Biliran, Eastern Visayas --> = 132 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/087800000 -->
| Q13809 <!-- Eastern Samar, Eastern Visayas --> = 597 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/082600000 -->
| Q13844 <!-- Leyte, Eastern Visayas --> = 1641 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/083700000 -->
| Q13864 <!-- Northern Samar, Eastern Visayas --> = 569 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/084800000 -->
| Q13876 <!-- Samar, Eastern Visayas --> = 951 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/086000000 -->
| Q13884 <!-- Southern Leyte, Eastern Visayas --> = 500 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/086400000 -->
| Q13899 <!-- Zamboanga del Norte, Zamboanga Peninsula --> = 691 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/097200000 -->
| Q13900 <!-- Zamboanga del Sur, Zamboanga Peninsula --> = 779 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/097300000 -->
| Q13902 <!-- Zamboanga Sibugay, Zamboanga Peninsula --> = 389 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/098300000 -->
| Q13753 <!-- Bukidnon, Northern Mindanao --> = 464 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/101300000 -->
| Q13769 <!-- Camiguin, Northern Mindanao --> = 58 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/101800000 -->
| Q13841 <!-- Lanao del Norte, Northern Mindanao --> = 506 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/103500000 -->
| Q13857 <!-- Misamis Occidental, Northern Mindanao --> = 490 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/104200000 -->
| Q13860 <!-- Misamis Oriental, Northern Mindanao --> = 504 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/104300000 -->
| Q13714 <!-- Agusan del Norte, Caraga --> = 253 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/160200000 -->
| Q13721 <!-- Agusan del Sur, Caraga --> = 314 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/160300000 -->
| Q13807 <!-- Dinagat Islands, Caraga --> = 100 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/168500000 -->
| Q13889 <!-- Surigao del Norte, Caraga --> = 335 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/166700000 -->
| Q13891 <!-- Surigao del Sur, Caraga --> = 309 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/166800000 -->
| Q13789 <!-- Davao de Oro, Davao Region --> = 237 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/118200000 -->
| Q13792 <!-- Davao del Norte, Davao Region --> = 223 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/112300000 -->
| Q13794 <!-- Davao del Sur, Davao Region --> = 414 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/112400000 -->
| Q3656379 <!-- Davao Occidental, Davao Region --> = 105 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/118600000 -->
| Q13806 <!-- Davao Oriental, Davao Region --> = 183 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/112500000 -->
| Q13791 <!-- Cotabato, Soccsksargen --> = 543 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/124700000 -->
| Q13877 <!-- Sarangani, Soccsksargen --> = 141 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/128000000 -->
| Q13882 <!-- South Cotabato, Soccsksargen --> = 225 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/126300000 -->
| Q13885 <!-- Sultan Kudarat, Soccsksargen --> = 249 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/126500000 -->
| Q13737 <!-- Basilan, Bangasmoro --> = 210 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/150700000 -->
| Q13843 <!-- Lanao del Sur, Bangasmoro --> = 1159 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/153600000 -->
| Q13845 <!-- Maguindanao, Bangasmoro --> = 508 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/153800000 -->
| Q13887 <!-- Sulu, Bangasmoro --> = 410 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/156600000 -->
| Q13893 <!-- Tawi-Tawi, Bangasmoro --> = 203 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/157000000 -->
| Q1478 <!-- Caloocan --> = 188 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137501000 -->
| Q8854 <!-- Las Piñas --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137601000 -->
| Q1508 <!-- Makati --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137602000 -->
| Q8861 <!-- Malabon --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137502000 -->
| Q9085 <!-- Mandaluyong --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137401000 -->
| Q1461 <!-- Manila --> = 897 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/submuni/133900000 -->
| Q17175 <!-- Marikina --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137402000 -->
| Q17176 <!-- Muntinlupa --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137603000 -->
| Q17179 <!-- Navotas --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137503000 -->
| Q17182 <!-- Parañaque --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137604000 -->
| Q17189 <!-- Pasay --> = 201 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137605000 -->
| Q1624 <!-- Pasig --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137403000 -->
| Q1017325 <!-- Pateros, Metro Manila --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137606000 -->
| Q1475 <!-- Quezon City --> = 142 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137404000 -->
| Q749283 <!-- San Juan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137405000 -->
| Q1643 <!-- Taguig --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137607000 -->
| Q1623 <!-- Valenzuela --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/137504000 -->
| Q39241 <!-- Adams, Ilocos Norte --> = 1 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012801000 -->
| Q39271 <!-- Bacarra, Ilocos Norte --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012802000 -->
| Q39303 <!-- Badoc, Ilocos Norte --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012803000 -->
| Q39326 <!-- Bangui, Ilocos Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012804000 -->
| Q39346 <!-- Banna, Ilocos Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012811000 -->
| Q39711 <!-- Batac, Ilocos Norte --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012805000 -->
| Q39368 <!-- Burgos, Ilocos Norte --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012806000 -->
| Q39393 <!-- Carasi, Ilocos Norte --> = 3 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012807000 -->
| Q39416 <!-- Currimao, Ilocos Norte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012808000 -->
| Q39429 <!-- Dingras, Ilocos Norte --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012809000 -->
| Q39511 <!-- Dumalneg, Ilocos Norte --> = 4 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012810000 -->
| Q39738 <!-- Laoag, Ilocos Norte --> = 80 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012812000 -->
| Q39523 <!-- Marcos, Ilocos Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012813000 -->
| Q39540 <!-- Nueva Era, Ilocos Norte --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012814000 -->
| Q39559 <!-- Pagudpud, Ilocos Norte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012815000 -->
| Q39573 <!-- Paoay, Ilocos Norte --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012816000 -->
| Q39591 <!-- Pasuquin, Ilocos Norte --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012817000 -->
| Q39616 <!-- Piddig, Ilocos Norte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012818000 -->
| Q39629 <!-- Pinili, Ilocos Norte --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012819000 -->
| Q39653 <!-- San Nicolas, Ilocos Norte --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012820000 -->
| Q39673 <!-- Sarrat, Ilocos Norte --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012821000 -->
| Q39677 <!-- Solsona, Ilocos Norte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012822000 -->
| Q39694 <!-- Vintar, Ilocos Norte --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012823000 -->
| Q12813 <!-- Alilem, Ilocos Sur --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012901000 -->
| Q12818 <!-- Banayoyo, Ilocos Sur --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012902000 -->
| Q12825 <!-- Bantay, Ilocos Sur --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012903000 -->
| Q12828 <!-- Burgos, Ilocos Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012904000 -->
| Q12832 <!-- Cabugao, Ilocos Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012905000 -->
| Q205956 <!-- Candon, Ilocos Sur --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012906000 -->
| Q12834 <!-- Caoayan, Ilocos Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012907000 -->
| Q12835 <!-- Cervantes, Ilocos Sur --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012908000 -->
| Q12838 <!-- Galimuyod, Ilocos Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012909000 -->
| Q12840 <!-- Gregorio del Pilar, Ilocos Sur --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012910000 -->
| Q12843 <!-- Lidlidda, Ilocos Sur --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012911000 -->
| Q12845 <!-- Magsingal, Ilocos Sur --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012912000 -->
| Q12848 <!-- Nagbukel, Ilocos Sur --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012913000 -->
| Q12850 <!-- Narvacan, Ilocos Sur --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012914000 -->
| Q12853 <!-- Quirino, Ilocos Sur --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012915000 -->
| Q12856 <!-- Salcedo, Ilocos Sur --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012916000 -->
| Q12859 <!-- San Emilio, Ilocos Sur --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012917000 -->
| Q12863 <!-- San Esteban, Ilocos Sur --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012918000 -->
| Q12864 <!-- San Ildefonso, Ilocos Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012919000 -->
| Q12867 <!-- San Juan, Ilocos Sur --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012920000 -->
| Q12868 <!-- San Vicente, Ilocos Sur --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012921000 -->
| Q12873 <!-- Santa, Ilocos Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012922000 -->
| Q12875 <!-- Santa Catalina, Ilocos Sur --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012923000 -->
| Q12880 <!-- Santa Cruz, Ilocos Sur --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012924000 -->
| Q12882 <!-- Santa Lucia, Ilocos Sur --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012925000 -->
| Q12692 <!-- Santa Maria, Ilocos Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012926000 -->
| Q12884 <!-- Santiago, Ilocos Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012927000 -->
| Q12885 <!-- Santo Domingo, Ilocos Sur --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012928000 -->
| Q12888 <!-- Sigay, Ilocos Sur --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012929000 -->
| Q12891 <!-- Sinait, Ilocos Sur --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012930000 -->
| Q12893 <!-- Sugpon, Ilocos Sur --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012931000 -->
| Q12894 <!-- Suyo, Ilocos Sur --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012932000 -->
| Q12895 <!-- Tagudin, Ilocos Sur --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012933000 -->
| Q235004 <!-- Vigan, Ilocos Sur --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/012934000 -->
| Q40168 <!-- Agoo, La Union --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013301000 -->
| Q40239 <!-- Aringay, La Union --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013302000 -->
| Q40259 <!-- Bacnotan, La Union --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013303000 -->
| Q40275 <!-- Bagulin, La Union --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013304000 -->
| Q40282 <!-- Balaoan, La Union --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013305000 -->
| Q40298 <!-- Bangar, La Union --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013306000 -->
| Q40313 <!-- Bauang, La Union --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013307000 -->
| Q40372 <!-- Burgos, La Union --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013308000 -->
| Q40393 <!-- Caba, La Union --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013309000 -->
| Q40419 <!-- Luna, La Union --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013310000 -->
| Q40450 <!-- Naguilian, La Union --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013311000 -->
| Q40466 <!-- Pugo, La Union --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013312000 -->
| Q40486 <!-- Rosario, La Union --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013313000 -->
| Q40584 <!-- San Fernando, La Union --> = 59 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013314000 -->
| Q40500 <!-- San Gabriel, La Union --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013315000 -->
| Q40517 <!-- San Juan, La Union --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013316000 -->
| Q40521 <!-- Santo Tomas, La Union --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013317000 -->
| Q40536 <!-- Santol, La Union --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013318000 -->
| Q40557 <!-- Sudipen, La Union --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013319000 -->
| Q40562 <!-- Tubao, La Union --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/013320000 -->
| Q41668 <!-- Agno, Pangasinan --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015501000 -->
| Q41686 <!-- Aguilar, Pangasinan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015502000 -->
| Q43162 <!-- Alaminos, Pangasinan --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015503000 -->
| Q41704 <!-- Alcala, Pangasinan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015502000 -->
| Q41713 <!-- Anda, Pangasinan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015504000 -->
| Q41721 <!-- Asingan, Pangasinan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015505000 -->
| Q41725 <!-- Balungao, Pangasinan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015506000 -->
| Q41732 <!-- Bani, Pangasinan --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015508000 -->
| Q41737 <!-- Basista, Pangasinan --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015509000 -->
| Q41757 <!-- Bautista, Pangasinan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015510000 -->
| Q41762 <!-- Bayambang, Pangasinan --> = 77 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015511000 -->
| Q41771 <!-- Binalonan, Pangasinan --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015512000 -->
| Q41779 <!-- Binmaley, Pangasinan --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015513000 -->
| Q41807 <!-- Bolinao, Pangasinan --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015514000 -->
| Q41826 <!-- Bugallon, Pangasinan --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015515000 -->
| Q41850 <!-- Burgos, Pangasinan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015516000 -->
| Q41855 <!-- Calasiao, Pangasinan --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015517000 -->
| Q875070 <!-- Dagupan --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015518000 -->
| Q41917 <!-- Dasol, Pangasinan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015519000 -->
| Q41922 <!-- Infanta, Pangasinan --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015520000 -->
| Q41942 <!-- Labrador, Pangasinan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015521000 -->
| Q41965 <!-- Laoac, Pangasinan --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015548000 -->
| Q41978 <!-- Lingayen, Pangasinan --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015522000 -->
| Q41982 <!-- Mabini, Pangasinan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015523000 -->
| Q41985 <!-- Malasiqui, Pangasinan --> = 73 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015524000 -->
| Q1020685 <!-- Manaoag, Pangasinan --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015525000 -->
| Q41996 <!-- Mangaldan, Pangasinan --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015526000 -->
| Q42001 <!-- Mangatarem, Pangasinan --> = 82 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015527000 -->
| Q42006 <!-- Mapandan, Pangasinan --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015528000 -->
| Q42011 <!-- Natividad, Pangasinan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015529000 -->
| Q42017 <!-- Pozorrubio, Pangasinan --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015530000 -->
| Q42024 <!-- Rosales, Pangasinan --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015531000 -->
| Q43165 <!-- San Carlos, Pangasinan --> = 86 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015532000 -->
| Q42031 <!-- San Fabian, Pangasinan --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015533000 -->
| Q42036 <!-- San Jacinto, Pangasinan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015534000 -->
| Q42039 <!-- San Manuel, Pangasinan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015535000 -->
| Q42043 <!-- San Nicolas, Pangasinan --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015536000 -->
| Q42044 <!-- San Quintin, Pangasinan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015537000 -->
| Q122401 <!-- Santa Barbara, Pangasinan --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015538000 -->
| Q42055 <!-- Santa Maria, Pangasinan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015539000 -->
| Q43140 <!-- Santo Tomas, Pangasinan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015540000 -->
| Q43143 <!-- Sison, Pangasinan --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015541000 -->
| Q43145 <!-- Sual, Pangasinan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015542000 -->
| Q43148 <!-- Tayug, Pangasinan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015543000 -->
| Q43152 <!-- Umingan, Pangasinan --> = 58 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015544000 -->
| Q43154 <!-- Urbiztondo, Pangasinan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015545000 -->
| Q43168 <!-- Urdaneta, Pangasinan --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015546000 -->
| Q43157 <!-- Villasis, Pangasinan --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/015547000 -->
| Q43180 <!-- Basco, Batanes --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/020901000 -->
| Q43451 <!-- Itbayat, Batanes --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/020902000 -->
| Q43454 <!-- Ivana, Batanes --> = 4 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/020903000 -->
| Q43458 <!-- Mahatao, Batanes --> = 4 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/020904000 -->
| Q43460 <!-- Sabtang, Batanes --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/020905000 -->
| Q43469 <!-- Uyugan, Batanes --> = 4 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/020906000 -->
| Q43500 <!-- Abulug, Cagayan --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021501000 -->
| Q43503 <!-- Alcala, Cagayan --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021502000 -->
| Q43508 <!-- Allacapan, Cagayan --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021503000 -->
| Q43515 <!-- Amulung, Cagayan --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021504000 -->
| Q43517 <!-- Aparri, Cagayan --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021505000 -->
| Q43520 <!-- Baggao, Cagayan --> = 48 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021506000 -->
| Q49058 <!-- Ballesteros, Cagayan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021507000 -->
| Q49059 <!-- Buguey, Cagayan --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021508000 -->
| Q49062 <!-- Calayan, Cagayan --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021509000 -->
| Q49313 <!-- Camalaniugan, Cagayan --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021510000 -->
| Q49314 <!-- Claveria, Cagayan --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021511000 -->
| Q49315 <!-- Enrile, Cagayan --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021512000 -->
| Q49316 <!-- Gattaran, Cagayan --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021513000 -->
| Q49317 <!-- Gonzaga, Cagayan --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021514000 -->
| Q49318 <!-- Iguig, Cagayan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021515000 -->
| Q49320 <!-- Lal-lo, Cagayan --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021516000 -->
| Q49321 <!-- Lasam, Cagayan --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021517000 -->
| Q49324 <!-- Pamplona, Cagayan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021518000 -->
| Q49327 <!-- Peñablanca, Cagayan --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021519000 -->
| Q49331 <!-- Piat, Cagayan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021520000 -->
| Q49333 <!-- Rizal, Cagayan --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021521000 -->
| Q49336 <!-- Sanchez-Mira, Cagayan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021522000 -->
| Q49337 <!-- Santa Ana, Cagayan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021523000 -->
| Q49339 <!-- Santa Praxedes, Cagayan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021524000 -->
| Q49342 <!-- Santa Teresita, Cagayan --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021525000 -->
| Q49346 <!-- Santo Niño, Cagayan --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021526000 -->
| Q49348 <!-- Solana, Cagayan --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021527000 -->
| Q49350 <!-- Tuao, Cagayan --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021528000 -->
| Q2200 <!-- Tuguegarao, Cagayan --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/021529000 -->
| Q49354 <!-- Alicia, Isabela --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023101000 -->
| Q49357 <!-- Angadanan, Isabela --> = 59 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023102000 -->
| Q49358 <!-- Aurora, Isabela --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023103000 -->
| Q49359 <!-- Benito Soliven, Isabela --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023104000 -->
| Q49360 <!-- Burgos, Isabela --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023105000 -->
| Q49361 <!-- Cabagan, Isabela --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023106000 -->
| Q49362 <!-- Cabatuan, Isabela --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023107000 -->
| Q50178 <!-- Cauayan, Isabela --> = 65 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023108000 -->
| Q49363 <!-- Cordon, Isabela --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023109000 -->
| Q49365 <!-- Delfin Albano, Isabela --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023118000 -->
| Q49366 <!-- Dinapigue, Isabela --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023110000 -->
| Q49368 <!-- Divilacan, Isabela --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023111000 -->
| Q49369 <!-- Echague, Isabela --> = 64 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023112000 -->
| Q49370 <!-- Gamu, Isabela --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023113000 -->
| Q50179 <!-- Ilagan, Isabela --> = 91 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023114000 -->
| Q49372 <!-- Jones, Isabela --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023115000 -->
| Q49375 <!-- Luna, Isabela --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023116000 -->
| Q49434 <!-- Maconacon, Isabela --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023117000 -->
| Q49435 <!-- Mallig, Isabela --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023119000 -->
| Q50066 <!-- Naguilian, Isabela --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023120000 -->
| Q50102 <!-- Palanan, Isabela --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023121000 -->
| Q50145 <!-- Quezon, Isabela --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023122000 -->
| Q50149 <!-- Quirino, Isabela --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023123000 -->
| Q50152 <!-- Ramon, Isabela --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023124000 -->
| Q50153 <!-- Reina Mercedes, Isabela --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023125000 -->
| Q50154 <!-- Roxas, Isabela --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023126000 -->
| Q50158 <!-- San Agustin, Isabela --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023127000 -->
| Q50160 <!-- San Guillermo, Isabela --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023128000 -->
| Q50163 <!-- San Isidro, Isabela --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023129000 -->
| Q50164 <!-- San Manuel, Isabela --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023130000 -->
| Q50167 <!-- San Mariano, Isabela --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023131000 -->
| Q50171 <!-- San Mateo, Isabela --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023132000 -->
| Q50174 <!-- San Pablo, Isabela --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023133000 -->
| Q50175 <!-- Santa Maria, Isabela --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023134000 -->
| Q50180 <!-- Santiago --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023135000 -->
| Q50176 <!-- Santo Tomas, Isabela --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023136000 -->
| Q50177 <!-- Tumauini, Isabela --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/023137000 -->
| Q51474 <!-- Alfonso Castaneda, Nueva Vizcaya --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025015000 -->
| Q51475 <!-- Ambaguio, Nueva Vizcaya --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025001000 -->
| Q51477 <!-- Aritao, Nueva Vizcaya --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025002000 -->
| Q51478 <!-- Bagabag, Nueva Vizcaya --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025003000 -->
| Q51479 <!-- Bambang, Nueva Vizcaya --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025004000 -->
| Q51480 <!-- Bayombong , Nueva Vizcaya --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025005000 -->
| Q51481 <!-- Diadi, Nueva Vizcaya --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025006000 -->
| Q51483 <!-- Dupax del Norte, Nueva Vizcaya --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025007000 -->
| Q51484 <!-- Dupax del Sur, Nueva Vizcaya --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025008000 -->
| Q51485 <!-- Kasibu, Nueva Vizcaya --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025009000 -->
| Q51486 <!-- Kayapa, Nueva Vizcaya --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025010000 -->
| Q51487 <!-- Quezon, Nueva Vizcaya --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025011000 -->
| Q51493 <!-- Santa Fe, Nueva Vizcaya --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025012000 -->
| Q51494 <!-- Solano, Nueva Vizcaya --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025013000 -->
| Q51496 <!-- Villaverde, Nueva Vizcaya --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025014000 -->
| Q53069 <!-- Aglipay, Quirino --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025701000 -->
| Q53070 <!-- Cabarroguis, Quirino --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025702000 -->
| Q53071 <!-- Diffun, Quirino --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025703000 -->
| Q53072 <!-- Maddela, Quirino --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025704000 -->
| Q53073 <!-- Nagtipunan, Quirino --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025706000 -->
| Q53074 <!-- Saguday, Quirino --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/025705000 -->
| Q27995 <!-- Bangued , Abra --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140101000 -->
| Q28002 <!-- Boliney, Abra --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140102000 -->
| Q28014 <!-- Bucay, Abra --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140103000 -->
| Q28030 <!-- Bucloc, Abra --> = 4 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140104000 -->
| Q28044 <!-- Daguioman, Abra --> = 4 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140105000 -->
| Q28068 <!-- Danglas, Abra --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140106000 -->
| Q28096 <!-- Dolores, Abra --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140107000 -->
| Q28124 <!-- La Paz, Abra --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140108000 -->
| Q29007 <!-- Lacub, Abra --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140109000 -->
| Q29020 <!-- Lagangilang, Abra --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140110000 -->
| Q29029 <!-- Lagayan, Abra --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140111000 -->
| Q29038 <!-- Langiden, Abra --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140112000 -->
| Q29045 <!-- Licuan-Baay, Abra --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140113000 -->
| Q29048 <!-- Luba, Abra --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140114000 -->
| Q29069 <!-- Malibcong, Abra --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140115000 -->
| Q29082 <!-- Manabo, Abra --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140116000 -->
| Q29094 <!-- Peñarrubia, Abra --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140117000 -->
| Q29102 <!-- Pidigan, Abra --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140118000 -->
| Q29109 <!-- Pilar, Abra --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140119000 -->
| Q29116 <!-- Sallapadan, Abra --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140120000 -->
| Q801530 <!-- San Isidro, Abra --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140121000 -->
| Q29123 <!-- San Juan, Abra --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140122000 -->
| Q29133 <!-- San Quintin, Abra --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140123000 -->
| Q29139 <!-- Tayum, Abra --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140124000 -->
| Q29146 <!-- Tineg, Abra --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140125000 -->
| Q29153 <!-- Tubo, Abra --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140126000 -->
| Q29191 <!-- Villaviciosa, Abra --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/140127000 -->
| Q29018 <!-- Calanasan, Apayao --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148101000 -->
| Q30033 <!-- Conner, Apayao --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148102000 -->
| Q30042 <!-- Flora, Apayao --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148103000 -->
| Q30053 <!-- Kabugao, Apayao --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148104000 -->
| Q801777 <!-- Luna, Apayao --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148105000 -->
| Q30062 <!-- Pudtol, Apayao --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148106000 -->
| Q30073 <!-- Santa Marcela, Apayao --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/148107000 -->
| Q30104 <!-- Atok, Benguet --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141101000 -->
| Q1822 <!-- Baguio --> = 129 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141102000 -->
| Q30325 <!-- Bakun, Benguet --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141103000 -->
| Q30328 <!-- Bokod, Benguet --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141104000 -->
| Q30332 <!-- Buguias, Benguet --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141105000 -->
| Q30335 <!-- Itogon, Benguet --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141106000 -->
| Q30338 <!-- Kabayan, Benguet --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141107000 -->
| Q30345 <!-- Kapangan, Benguet --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141108000 -->
| Q30349 <!-- Kibungan, Benguet --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141109000 -->
| Q30351 <!-- La Trinidad , Benguet --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141110000 -->
| Q30356 <!-- Mankayan, Benguet --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141111000 -->
| Q30358 <!-- Sablan, Benguet --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141112000 -->
| Q30361 <!-- Tuba, Benguet --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141113000 -->
| Q30363 <!-- Tublay, Benguet --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/141114000 -->
| Q30365 <!-- Aguinaldo, Ifugao --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142708000 -->
| Q30391 <!-- Alfonso Lista, Ifugao --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142707000 -->
| Q30394 <!-- Asipulo, Ifugao --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142711000 -->
| Q806138 <!-- Banaue, Ifugao --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142701000 -->
| Q30410 <!-- Hingyon, Ifugao --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142709000 -->
| Q30413 <!-- Hungduan, Ifugao --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142702000 -->
| Q30416 <!-- Kiangan, Ifugao --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142703000 -->
| Q30419 <!-- Lagawe, Ifugao --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142704000 -->
| Q30421 <!-- Lamut, Ifugao --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142705000 -->
| Q30425 <!-- Mayoyao, Ifugao --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142706000 -->
| Q30428 <!-- Tinoc, Ifugao --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/142710000 -->
| Q35848 <!-- Balbalan, Kalinga --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143201000 -->
| Q35858 <!-- Lubuagan, Kalinga --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143206000 -->
| Q35866 <!-- Pasil, Kalinga --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143208000 -->
| Q35873 <!-- Pinukpuk, Kalinga --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143209000 -->
| Q35884 <!-- Rizal, Kalinga --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143211000 -->
| Q35925 <!-- Tabuk, Kalinga --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143213000 -->
| Q35897 <!-- Tanudan, Kalinga --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143214000 -->
| Q35909 <!-- Tinglayan, Kalinga --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/143215000 -->
| Q35975 <!-- Barlig, Mountain Province --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144401000 -->
| Q35994 <!-- Bauko, Mountain Province --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144402000 -->
| Q36012 <!-- Besao, Mountain Province --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144403000 -->
| Q36025 <!-- Bontoc, Mountain Province --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144404000 -->
| Q36040 <!-- Natonin, Mountain Province --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144405000 -->
| Q36049 <!-- Paracelis, Mountain Province --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144406000 -->
| Q36061 <!-- Sabangan, Mountain Province --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144407000 -->
| Q36076 <!-- Sadanga, Mountain Province --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144408000 -->
| Q36090 <!-- Sagada, Mountain Province --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144409000 -->
| Q36099 <!-- Tadian, Mountain Province --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/144410000 -->
| Q53081 <!-- Baler, Aurora --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037701000 -->
| Q53083 <!-- Casiguran, Aurora --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037702000 -->
| Q53084 <!-- Dilasag, Aurora --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037703000 -->
| Q53086 <!-- Dinalungan, Aurora --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037704000 -->
| Q53087 <!-- Dingalan, Aurora --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037705000 -->
| Q53089 <!-- Dipaculao, Aurora --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037706000 -->
| Q53090 <!-- Maria Aurora, Aurora --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037707000 -->
| Q53092 <!-- San Luis, Aurora --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037708000 -->
| Q54455 <!-- Abucay, Bataan --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030801000 -->
| Q54456 <!-- Bagac, Bataan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030802000 -->
| Q1719 <!-- Balanga, Bataan --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030803000 -->
| Q54457 <!-- Dinalupihan, Bataan --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030804000 -->
| Q54458 <!-- Hermosa, Bataan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030805000 -->
| Q54459 <!-- Limay, Bataan --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030806000 -->
| Q54460 <!-- Mariveles, Bataan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030807000 -->
| Q54461 <!-- Morong, Bataan --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030808000 -->
| Q54462 <!-- Orani, Bataan --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030809000 -->
| Q54463 <!-- Orion, Bataan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030810000 -->
| Q54464 <!-- Pilar, Bataan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030811000 -->
| Q54465 <!-- Samal, Bataan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/030812000 -->
| Q54551 <!-- Angat, Bulacan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031401000 -->
| Q54553 <!-- Balagtas, Bulacan --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031402000 -->
| Q54554 <!-- Baliuag, Bulacan --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031403000 -->
| Q54555 <!-- Bocaue, Bulacan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031404000 -->
| Q54558 <!-- Bulakan, Bulacan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031405000 -->
| Q54560 <!-- Bustos, Bulacan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031406000 -->
| Q54564 <!-- Calumpit, Bulacan --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031407000 -->
| Q54566 <!-- Doña Remedios Trinidad, Bulacan --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031424000 -->
| Q54589 <!-- Guiguinto, Bulacan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031408000 -->
| Q54592 <!-- Hagonoy, Bulacan --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031409000 -->
| Q2180 <!-- Malolos, Bulacan --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031410000 -->
| Q54595 <!-- Marilao, Bulacan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031411000 -->
| Q2187 <!-- Meycauayan, Bulacan --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031412000 -->
| Q54598 <!-- Norzagaray, Bulacan --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031413000 -->
| Q54599 <!-- Obando, Bulacan --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031414000 -->
| Q54600 <!-- Pandi, Bulacan --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031415000 -->
| Q54605 <!-- Paombong, Bulacan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031416000 -->
| Q54760 <!-- Plaridel, Bulacan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031417000 -->
| Q54761 <!-- Pulilan, Bulacan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031418000 -->
| Q54762 <!-- San Ildefonso, Bulacan --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031419000 -->
| Q2193 <!-- San Jose del Monte, Bulacan --> = 59 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031420000 -->
| Q54763 <!-- San Miguel, Bulacan --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031421000 -->
| Q54765 <!-- San Rafael, Bulacan --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031422000 -->
| Q54768 <!-- Santa Maria, Bulacan --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/031423000 -->
| Q55543 <!-- Aliaga, Nueva Ecija --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034901000 -->
| Q55544 <!-- Bongabon, Nueva Ecija --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034902000 -->
| Q55595 <!-- Cabanatuan, Nueva Ecija --> = 89 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034903000 -->
| Q55545 <!-- Cabiao, Nueva Ecija --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034904000 -->
| Q55546 <!-- Carranglan, Nueva Ecija --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034905000 -->
| Q55547 <!-- Cuyapo, Nueva Ecija --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034906000 -->
| Q55548 <!-- Gabaldon, Nueva Ecija --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034907000 -->
| Q55596 <!-- Gapan, Nueva Ecija --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034908000 -->
| Q55549 <!-- General Mamerto Natividad, Nueva Ecija --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034909000 -->
| Q55551 <!-- General Tinio, Nueva Ecija --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034910000 -->
| Q55552 <!-- Guimba, Nueva Ecija --> = 64 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034911000 -->
| Q30871 <!-- Jaen, Nueva Ecija --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034912000 -->
| Q55556 <!-- Laur, Nueva Ecija --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034913000 -->
| Q55557 <!-- Licab, Nueva Ecija --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034914000 -->
| Q55558 <!-- Llanera, Nueva Ecija --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034915000 -->
| Q55559 <!-- Lupao, Nueva Ecija --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034916000 -->
| Q55597 <!-- Muñoz, Nueva Ecija --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034917000 -->
| Q55560 <!-- Nampicuan, Nueva Ecija --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034918000 -->
| Q55598 <!-- Palayan, Nueva Ecija --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034919000 -->
| Q55567 <!-- Pantabangan, Nueva Ecija --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034920000 -->
| Q55568 <!-- Peñaranda, Nueva Ecija --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034921000 -->
| Q55569 <!-- Quezon, Nueva Ecija --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034922000 -->
| Q55570 <!-- Rizal, Nueva Ecija --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034923000 -->
| Q30923 <!-- San Antonio, Nueva Ecija --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034924000 -->
| Q55572 <!-- San Isidro, Nueva Ecija --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034925000 -->
| Q55599 <!-- San Jose, Nueva Ecija --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034926000 -->
| Q55573 <!-- San Leonardo, Nueva Ecija --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034927000 -->
| Q55590 <!-- Santa Rosa, Nueva Ecija --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034928000 -->
| Q55591 <!-- Santo Domingo, Nueva Ecija --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034929000 -->
| Q55592 <!-- Talavera, Nueva Ecija --> = 53 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034930000 -->
| Q55593 <!-- Talugtug, Nueva Ecija --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034931000 -->
| Q28731 <!-- Zaragoza, Nueva Ecija --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/034932000 -->
| Q55741 <!-- Angeles --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035401000 -->
| Q55693 <!-- Apalit, Pampanga --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035402000 -->
| Q55694 <!-- Arayat, Pampanga --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035403000 -->
| Q55696 <!-- Bacolor, Pampanga --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035404000 -->
| Q55699 <!-- Candaba, Pampanga --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035405000 -->
| Q55700 <!-- Floridablanca, Pampanga --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035406000 -->
| Q55702 <!-- Guagua, Pampanga --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035407000 -->
| Q55705 <!-- Lubao, Pampanga --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035408000 -->
| Q55737 <!-- Mabalacat, Pampanga --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035409000 -->
| Q55707 <!-- Macabebe, Pampanga --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035410000 -->
| Q55709 <!-- Magalang, Pampanga --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035411000 -->
| Q55710 <!-- Masantol, Pampanga --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035412000 -->
| Q55712 <!-- Mexico, Pampanga --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035413000 -->
| Q55717 <!-- Minalin, Pampanga --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035414000 -->
| Q55721 <!-- Porac, Pampanga --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035415000 -->
| Q55740 <!-- San Fernando, Pampanga --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035416000 -->
| Q55724 <!-- San Luis, Pampanga --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035417000 -->
| Q55725 <!-- San Simon, Pampanga --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035418000 -->
| Q55727 <!-- Santa Ana, Pampanga --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035419000 -->
| Q55730 <!-- Santa Rita, Pampanga --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035420000 -->
| Q55731 <!-- Santo Tomas, Pampanga --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035421000 -->
| Q55734 <!-- Sasmuan, Pampanga --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/035422000 -->
| Q56414 <!-- Anao, Tarlac --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036901000 -->
| Q56420 <!-- Bamban, Tarlac --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036902000 -->
| Q56424 <!-- Camiling, Tarlac --> = 61 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036903000 -->
| Q56427 <!-- Capas, Tarlac --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036904000 -->
| Q30934 <!-- Concepcion, Tarlac --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036905000 -->
| Q56439 <!-- Gerona, Tarlac --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036906000 -->
| Q28733 <!-- La Paz, Tarlac --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036907000 -->
| Q56444 <!-- Mayantoc, Tarlac --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036908000 -->
| Q56453 <!-- Moncada, Tarlac --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036909000 -->
| Q56457 <!-- Paniqui, Tarlac --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036910000 -->
| Q56461 <!-- Pura, Tarlac --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036911000 -->
| Q56465 <!-- Ramos, Tarlac --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036912000 -->
| Q56471 <!-- San Clemente, Tarlac --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036913000 -->
| Q56476 <!-- San Jose, Tarlac --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036918000 -->
| Q56481 <!-- San Manuel, Tarlac --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036914000 -->
| Q56486 <!-- Santa Ignacia, Tarlac --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036915000 -->
| Q5285 <!-- Tarlac, Tarlac --> = 76 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036916000 -->
| Q56493 <!-- Victoria, Tarlac --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/036917000 -->
| Q56529 <!-- Botolan, Zambales --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037101000 -->
| Q56533 <!-- Cabangan, Zambales --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037102000 -->
| Q56538 <!-- Candelaria, Zambales --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037103000 -->
| Q56561 <!-- Castillejos, Zambales --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037104000 -->
| Q56566 <!-- Iba, Zambales --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037105000 -->
| Q56572 <!-- Masinloc, Zambales --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037106000 -->
| Q56759 <!-- Olongapo --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037107000 -->
| Q56575 <!-- Palauig, Zambales --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037108000 -->
| Q56581 <!-- San Antonio, Zambales --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037109000 -->
| Q56584 <!-- San Felipe, Zambales --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037110000 -->
| Q56623 <!-- San Marcelino, Zambales --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037111000 -->
| Q56647 <!-- San Narciso, Zambales --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037112000 -->
| Q56656 <!-- Santa Cruz, Zambales --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037113000 -->
| Q56663 <!-- Subic, Zambales --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/037114000 -->
| Q59250 <!-- Agoncillo, Batangas --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041001000 -->
| Q59251 <!-- Alitagtag, Batangas --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041002000 -->
| Q59252 <!-- Balayan, Batangas --> = 48 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041003000 -->
| Q59253 <!-- Balete, Batangas --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041004000 -->
| Q1723 <!-- Batangas, Batangas --> = 105 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041005000 -->
| Q59272 <!-- Bauan, Batangas --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041006000 -->
| Q59276 <!-- Calaca, Batangas --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041007000 -->
| Q59279 <!-- Calatagan, Batangas --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041008000 -->
| Q59287 <!-- Cuenca, Batangas --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041009000 -->
| Q59304 <!-- Ibaan, Batangas --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041010000 -->
| Q59308 <!-- Laurel, Batangas --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041011000 -->
| Q59311 <!-- Lemery, Batangas --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041012000 -->
| Q59312 <!-- Lian, Batangas --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041013000 -->
| Q1725 <!-- Lipa, Batangas --> = 72 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041014000 -->
| Q803199 <!-- Lobo, Batangas --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041015000 -->
| Q59313 <!-- Mabini, Batangas --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041016000 -->
| Q59731 <!-- Malvar, Batangas --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041017000 -->
| Q59740 <!-- Mataasnakahoy, Batangas --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041018000 -->
| Q59745 <!-- Nasugbu, Batangas --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041019000 -->
| Q59749 <!-- Padre Garcia, Batangas --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041020000 -->
| Q59758 <!-- Rosario, Batangas --> = 48 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041021000 -->
| Q59764 <!-- San Jose, Batangas --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041022000 -->
| Q59770 <!-- San Juan, Batangas --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041023000 -->
| Q59773 <!-- San Luis, Batangas --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041024000 -->
| Q59777 <!-- San Nicolas, Batangas --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041025000 -->
| Q59784 <!-- San Pascual, Batangas --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041026000 -->
| Q59788 <!-- Santa Teresita, Batangas --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041027000 -->
| Q59799 <!-- Santo Tomas, Batangas --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041028000 -->
| Q59814 <!-- Taal, Batangas --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041029000 -->
| Q59825 <!-- Talisay, Batangas --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041030000 -->
| Q1730 <!-- Tanauan, Batangas --> = 48 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041031000 -->
| Q59830 <!-- Taysan, Batangas --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041032000 -->
| Q59835 <!-- Tingloy, Batangas --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041033000 -->
| Q59844 <!-- Tuy, Batangas --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/041034000 -->
| Q62600 <!-- Alfonso, Cavite --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042101000 -->
| Q62606 <!-- Amadeo, Cavite --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042102000 -->
| Q63129 <!-- Bacoor, Cavite --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042103000 -->
| Q62611 <!-- Carmona, Cavite --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042104000 -->
| Q1482 <!-- Cavite, Cavite --> = 84 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042105000 -->
| Q63139 <!-- Dasmariñas, Cavite --> = 75 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042106000 -->
| Q62719 <!-- General Emilio Aguinaldo, Cavite --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042107000 -->
| Q62638 <!-- General Mariano Alvarez, Cavite --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042123000 -->
| Q62723 <!-- General Trias, Cavite --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042108000 -->
| Q63145 <!-- Imus, Cavite --> = 97 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042109000 -->
| Q62729 <!-- Indang, Cavite --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042110000 -->
| Q62755 <!-- Kawit, Cavite --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042111000 -->
| Q62771 <!-- Magallanes, Cavite --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042112000 -->
| Q62776 <!-- Maragondon, Cavite --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042113000 -->
| Q62784 <!-- Mendez, Cavite --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042114000 -->
| Q62799 <!-- Naic, Cavite --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042115000 -->
| Q63096 <!-- Noveleta, Cavite --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042116000 -->
| Q63102 <!-- Rosario, Cavite --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042117000 -->
| Q63110 <!-- Silang, Cavite --> = 64 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042118000 -->
| Q63154 <!-- Tagaytay, Cavite --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042119000 -->
| Q63115 <!-- Tanza, Cavite --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042120000 -->
| Q63124 <!-- Ternate, Cavite --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042121000 -->
| Q63160 <!-- Trece Martires, Cavite --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/042122000 -->
| Q63750 <!-- Alaminos, Laguna --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043401000 -->
| Q63763 <!-- Bay, Laguna --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043402000 -->
| Q75961 <!-- Biñan, Laguna --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043403000 -->
| Q25096 <!-- Cabuyao, Laguna --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043404000 -->
| Q75978 <!-- Calamba, Laguna --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043405000 -->
| Q69739 <!-- Calauan, Laguna --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043406000 -->
| Q69749 <!-- Cavinti, Laguna --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043407000 -->
| Q69759 <!-- Famy, Laguna --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043408000 -->
| Q69771 <!-- Kalayaan, Laguna --> = 3 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043409000 -->
| Q69781 <!-- Liliw, Laguna --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043410000 -->
| Q69793 <!-- Los Baños, Laguna --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043411000 -->
| Q69812 <!-- Luisiana, Laguna --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043412000 -->
| Q69824 <!-- Lumban, Laguna --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043413000 -->
| Q75875 <!-- Mabitac, Laguna --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043414000 -->
| Q75881 <!-- Magdalena, Laguna --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043415000 -->
| Q75888 <!-- Majayjay, Laguna --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043416000 -->
| Q75895 <!-- Nagcarlan, Laguna --> = 52 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043417000 -->
| Q75899 <!-- Paete, Laguna --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043418000 -->
| Q75905 <!-- Pagsanjan, Laguna --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043419000 -->
| Q75910 <!-- Pakil, Laguna --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043420000 -->
| Q75918 <!-- Pangil, Laguna --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043421000 -->
| Q75923 <!-- Pila, Laguna --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043422000 -->
| Q75928 <!-- Rizal, Laguna --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043423000 -->
| Q76001 <!-- San Pablo, Laguna --> = 80 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043424000 -->
| Q75933 <!-- San Pedro, Laguna --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043425000 -->
| Q75938 <!-- Santa Cruz, Laguna --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043426000 -->
| Q75943 <!-- Santa Maria, Laguna --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043427000 -->
| Q76010 <!-- Santa Rosa, Laguna --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043428000 -->
| Q75948 <!-- Siniloan, Laguna --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043429000 -->
| Q75953 <!-- Victoria, Laguna --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/043430000 -->
| Q103777 <!-- Agdangan, Quezon --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045601000 -->
| Q103786 <!-- Alabat, Quezon --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045602000 -->
| Q103807 <!-- Atimonan, Quezon --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045603000 -->
| Q103815 <!-- Buenavista, Quezon --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045605000 -->
| Q103825 <!-- Burdeos, Quezon --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045606000 -->
| Q103833 <!-- Calauag, Quezon --> = 81 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045607000 -->
| Q103841 <!-- Candelaria, Quezon --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045608000 -->
| Q103872 <!-- Catanauan, Quezon --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045610000 -->
| Q103879 <!-- Dolores, Quezon --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045615000 -->
| Q103889 <!-- General Luna, Quezon --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045616000 -->
| Q103899 <!-- General Nakar, Quezon --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045617000 -->
| Q103905 <!-- Guinayangan, Quezon --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045618000 -->
| Q103914 <!-- Gumaca, Quezon --> = 59 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045619000 -->
| Q103921 <!-- Infanta, Quezon --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045620000 -->
| Q103928 <!-- Jomalig, Quezon --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045621000 -->
| Q103935 <!-- Lopez, Quezon --> = 95 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045622000 -->
| Q103941 <!-- Lucban, Quezon --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045623000 -->
| Q104125 <!-- Lucena --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045624000 -->
| Q103947 <!-- Macalelon, Quezon --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045625000 -->
| Q103952 <!-- Mauban, Quezon --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045627000 -->
| Q103958 <!-- Mulanay, Quezon --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045628000 -->
| Q103965 <!-- Padre Burgos, Quezon --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045629000 -->
| Q103971 <!-- Pagbilao, Quezon --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045630000 -->
| Q103976 <!-- Panukulan, Quezon --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045631000 -->
| Q103981 <!-- Patnanungan, Quezon --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045632000 -->
| Q103987 <!-- Perez, Quezon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045633000 -->
| Q103996 <!-- Pitogo, Quezon --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045634000 -->
| Q104005 <!-- Plaridel, Quezon --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045635000 -->
| Q104011 <!-- Polillo, Quezon --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045636000 -->
| Q104020 <!-- Quezon, Quezon --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045637000 -->
| Q104026 <!-- Real, Quezon --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045638000 -->
| Q104037 <!-- Sampaloc, Quezon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045639000 -->
| Q104044 <!-- San Andres, Quezon --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045640000 -->
| Q104052 <!-- San Antonio, Quezon --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045641000 -->
| Q104063 <!-- San Francisco, Quezon --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045642000 -->
| Q104071 <!-- San Narciso, Quezon --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045644000 -->
| Q104078 <!-- Sariaya, Quezon --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045645000 -->
| Q104087 <!-- Tagkawayan, Quezon --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045646000 -->
| Q104113 <!-- Tayabas, Quezon --> = 66 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045647000 -->
| Q104092 <!-- Tiaong, Quezon --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045648000 -->
| Q104099 <!-- Unisan, Quezon --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045649000 -->
| Q106758 <!-- Angono, Rizal --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045801000 -->
| Q1636 <!-- Antipolo, Rizal --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045802000 -->
| Q106766 <!-- Baras, Rizal --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045803000 -->
| Q106783 <!-- Binangonan, Rizal --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045804000 -->
| Q106790 <!-- Cainta, Rizal --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045805000 -->
| Q106796 <!-- Cardona, Rizal --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045806000 -->
| Q106804 <!-- Jalajala, Rizal --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045807000 -->
| Q106810 <!-- Morong, Rizal --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045809000 -->
| Q106817 <!-- Pililla, Rizal --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045810000 -->
| Q106825 <!-- Rodriguez, Rizal --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045808000 -->
| Q106832 <!-- San Mateo, Rizal --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045811000 -->
| Q106839 <!-- Tanay, Rizal --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045812000 -->
| Q373204 <!-- Taytay, Rizal --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045813000 -->
| Q106848 <!-- Teresa, Rizal --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/045814000 -->
| Q492912 <!-- Bacacay, Albay --> = 56 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050501000 -->
| Q492976 <!-- Camalig, Albay --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050502000 -->
| Q493008 <!-- Daraga, Albay --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050503000 -->
| Q493032 <!-- Guinobatan, Albay --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050504000 -->
| Q493065 <!-- Jovellar, Albay --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050505000 -->
| Q1696 <!-- Legazpi, Albay --> = 70 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050506000 -->
| Q493095 <!-- Libon, Albay --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050507000 -->
| Q1701 <!-- Ligao, Albay --> = 55 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050508000 -->
| Q493132 <!-- Malilipot, Albay --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050509000 -->
| Q493178 <!-- Malinao, Albay --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050510000 -->
| Q493204 <!-- Manito, Albay --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050511000 -->
| Q493246 <!-- Oas, Albay --> = 53 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050512000 -->
| Q256045 <!-- Pio Duran, Albay --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050513000 -->
| Q493326 <!-- Polangui, Albay --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050514000 -->
| Q493362 <!-- Rapu-Rapu, Albay --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050515000 -->
| Q493409 <!-- Santo Domingo, Albay --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050516000 -->
| Q1706 <!-- Tabaco, Albay --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050517000 -->
| Q493444 <!-- Tiwi, Albay --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/050518000 -->
| Q356607 <!-- Basud, Camarines Norte --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051601000 -->
| Q119624 <!-- Capalonga, Camarines Norte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051602000 -->
| Q356655 <!-- Daet, Camarines Norte --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051603000 -->
| Q356681 <!-- Jose Panganiban, Camarines Norte --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051605000 -->
| Q356708 <!-- Labo, Camarines Norte --> = 52 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051606000 -->
| Q356734 <!-- Mercedes, Camarines Norte --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051607000 -->
| Q356759 <!-- Paracale, Camarines Norte --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051608000 -->
| Q356803 <!-- San Lorenzo Ruiz, Camarines Norte --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051604000 -->
| Q302791 <!-- San Vicente, Camarines Norte --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051609000 -->
| Q356853 <!-- Santa Elena, Camarines Norte --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051610000 -->
| Q356878 <!-- Talisay, Camarines Norte --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051611000 -->
| Q356898 <!-- Vinzons, Camarines Norte --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051612000 -->
| Q208672 <!-- Baao, Camarines Sur --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051701000 -->
| Q208678 <!-- Balatan, Camarines Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051702000 -->
| Q208683 <!-- Bato, Camarines Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051703000 -->
| Q208690 <!-- Bombon, Camarines Sur --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051704000 -->
| Q208699 <!-- Buhi, Camarines Sur --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051705000 -->
| Q208712 <!-- Bula, Camarines Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051706000 -->
| Q208717 <!-- Cabusao, Camarines Sur --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051707000 -->
| Q208727 <!-- Calabanga, Camarines Sur --> = 48 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051708000 -->
| Q208738 <!-- Camaligan, Camarines Sur --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051709000 -->
| Q208749 <!-- Canaman, Camarines Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051710000 -->
| Q208757 <!-- Caramoan, Camarines Sur --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051711000 -->
| Q208765 <!-- Del Gallego, Camarines Sur --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051712000 -->
| Q208769 <!-- Gainza, Camarines Sur --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051713000 -->
| Q208775 <!-- Garchitorena, Camarines Sur --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051714000 -->
| Q208782 <!-- Goa, Camarines Sur --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051715000 -->
| Q2205 <!-- Iriga, Camarines Sur --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051716000 -->
| Q208792 <!-- Lagonoy, Camarines Sur --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051717000 -->
| Q208814 <!-- Libmanan, Camarines Sur --> = 75 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051718000 -->
| Q208835 <!-- Lupi, Camarines Sur --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051719000 -->
| Q208845 <!-- Magarao, Camarines Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051720000 -->
| Q208852 <!-- Milaor, Camarines Sur --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051721000 -->
| Q208864 <!-- Minalabac, Camarines Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051722000 -->
| Q208872 <!-- Nabua, Camarines Sur --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051723000 -->
| Q2207 <!-- Naga --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051724000 -->
| Q208878 <!-- Ocampo, Camarines Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051725000 -->
| Q208886 <!-- Pamplona, Camarines Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051726000 -->
| Q208892 <!-- Pasacao, Camarines Sur --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051727000 -->
| Q208899 <!-- Pili, Camarines Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051728000 -->
| Q208919 <!-- Presentacion, Camarines Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051729000 -->
| Q208924 <!-- Ragay, Camarines Sur --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051730000 -->
| Q208937 <!-- Sagñay, Camarines Sur --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051731000 -->
| Q208950 <!-- San Fernando, Camarines Sur --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051732000 -->
| Q208966 <!-- San Jose, Camarines Sur --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051733000 -->
| Q208985 <!-- Sipocot, Camarines Sur --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051734000 -->
| Q208995 <!-- Siruma, Camarines Sur --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051735000 -->
| Q209011 <!-- Tigaon, Camarines Sur --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051736000 -->
| Q209024 <!-- Tinambac, Camarines Sur --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/051737000 -->
| Q192067 <!-- Bagamanoc, Catanduanes --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052001000 -->
| Q192072 <!-- Baras, Catanduanes --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052002000 -->
| Q192085 <!-- Bato, Catanduanes --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052003000 -->
| Q192091 <!-- Caramoran, Catanduanes --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052004000 -->
| Q192629 <!-- Gigmoto, Catanduanes --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052005000 -->
| Q123163 <!-- Pandan, Catanduanes --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052006000 -->
| Q192646 <!-- Panganiban, Catanduanes --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052007000 -->
| Q840162 <!-- San Andres, Catanduanes --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052008000 -->
| Q192665 <!-- San Miguel, Catanduanes --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052009000 -->
| Q192670 <!-- Viga, Catanduanes --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052010000 -->
| Q192681 <!-- Virac, Catanduanes --> = 63 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/052011000 -->
| Q107011 <!-- Boac, Marinduque --> = 61 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/174001000 -->
| Q107034 <!-- Mogpog, Marinduque --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/174004000 -->
| Q107042 <!-- Santa Cruz, Marinduque --> = 55 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/174005000 -->
| Q107048 <!-- Torrijos, Marinduque --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/174006000 -->
| Q191416 <!-- Aroroy, Masbate --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054101000 -->
| Q191438 <!-- Baleno, Masbate --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054102000 -->
| Q191453 <!-- Balud, Masbate --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054103000 -->
| Q191463 <!-- Batuan, Masbate --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054104000 -->
| Q191478 <!-- Cataingan, Masbate --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054105000 -->
| Q191482 <!-- Cawayan, Masbate --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054106000 -->
| Q191490 <!-- Claveria, Masbate --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054107000 -->
| Q191496 <!-- Dimasalang, Masbate --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054108000 -->
| Q191501 <!-- Esperanza, Masbate --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054109000 -->
| Q191512 <!-- Mandaon, Masbate --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054110000 -->
| Q191651 <!-- Masbate, Masbate --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054111000 -->
| Q191522 <!-- Milagros, Masbate --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054112000 -->
| Q191533 <!-- Mobo, Masbate --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054113000 -->
| Q191544 <!-- Monreal, Masbate --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054114000 -->
| Q191558 <!-- Palanas, Masbate --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054115000 -->
| Q191581 <!-- Pio V. Corpuz, Masbate --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054116000 -->
| Q191590 <!-- Placer, Masbate --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054117000 -->
| Q191606 <!-- San Fernando, Masbate --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054118000 -->
| Q191621 <!-- San Jacinto, Masbate --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054119000 -->
| Q191630 <!-- San Pascual, Masbate --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054120000 -->
| Q191636 <!-- Uson, Masbate --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/054121000 -->
| Q174114 <!-- Barcelona, Sorsogon --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056202000 -->
| Q174132 <!-- Bulan, Sorsogon --> = 63 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056203000 -->
| Q174162 <!-- Casiguran, Sorsogon --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056205000 -->
| Q174177 <!-- Castilla, Sorsogon --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056206000 -->
| Q174192 <!-- Donsol, Sorsogon --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056207000 -->
| Q174201 <!-- Gubat, Sorsogon --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056208000 -->
| Q174215 <!-- Irosin, Sorsogon --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056209000 -->
| Q174236 <!-- Magallanes, Sorsogon --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056211000 -->
| Q174246 <!-- Matnog, Sorsogon --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056212000 -->
| Q174269 <!-- Prieto Diaz, Sorsogon --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056214000 -->
| Q174281 <!-- Santa Magdalena, Sorsogon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056215000 -->
| Q107023 <!-- Buenavista, Marinduque --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/174002000 -->
| Q107029 <!-- Gasan, Marinduque --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/174003000 -->
| Q107454 <!-- Abra de Ilog, Occidental Mindoro --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175101000 -->
| Q107460 <!-- Calintaan, Occidental Mindoro --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175102000 -->
| Q107465 <!-- Looc, Occidental Mindoro --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175103000 -->
| Q107476 <!-- Lubang, Occidental Mindoro --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175104000 -->
| Q107482 <!-- Magsaysay, Occidental Mindoro --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175105000 -->
| Q107488 <!-- Mamburao , Occidental Mindoro --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175106000 -->
| Q107493 <!-- Paluan, Occidental Mindoro --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175107000 -->
| Q107499 <!-- Rizal, Occidental Mindoro --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175108000 -->
| Q107505 <!-- Sablayan, Occidental Mindoro --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175109000 -->
| Q107511 <!-- San Jose, Occidental Mindoro --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175110000 -->
| Q107519 <!-- Santa Cruz, Occidental Mindoro --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175111000 -->
| Q107538 <!-- Baco, Oriental Mindoro --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175201000 -->
| Q107543 <!-- Bansud, Oriental Mindoro --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175202000 -->
| Q107550 <!-- Bongabong, Oriental Mindoro --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175203000 -->
| Q107554 <!-- Bulalacao, Oriental Mindoro --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175204000 -->
| Q107624 <!-- Calapan, Oriental Mindoro --> = 62 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175205000 -->
| Q107559 <!-- Gloria, Oriental Mindoro --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175206000 -->
| Q107567 <!-- Mansalay, Oriental Mindoro --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175207000 -->
| Q107573 <!-- Naujan, Oriental Mindoro --> = 70 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175208000 -->
| Q107578 <!-- Pinamalayan, Oriental Mindoro --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175209000 -->
| Q107585 <!-- Pola, Oriental Mindoro --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175210000 -->
| Q107593 <!-- Puerto Galera, Oriental Mindoro --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175211000 -->
| Q107598 <!-- Roxas, Oriental Mindoro --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175212000 -->
| Q107606 <!-- San Teodoro, Oriental Mindoro --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175213000 -->
| Q107612 <!-- Socorro, Oriental Mindoro --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175214000 -->
| Q107618 <!-- Victoria, Oriental Mindoro --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175215000 -->
| Q111338 <!-- Aborlan, Palawan --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175301000 -->
| Q111351 <!-- Agutaya, Palawan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175302000 -->
| Q111360 <!-- Araceli, Palawan --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175303000 -->
| Q111372 <!-- Balabac, Palawan --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175304000 -->
| Q111378 <!-- Bataraza, Palawan --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175305000 -->
| Q111386 <!-- Brooke's Point, Palawan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175306000 -->
| Q111393 <!-- Busuanga, Palawan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175307000 -->
| Q111402 <!-- Cagayancillo, Palawan --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175308000 -->
| Q111414 <!-- Coron, Palawan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175309000 -->
| Q111427 <!-- Culion, Palawan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175322000 -->
| Q111438 <!-- Cuyo, Palawan --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175310000 -->
| Q111468 <!-- Dumaran, Palawan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175311000 -->
| Q111483 <!-- El Nido, Palawan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175312000 -->
| Q111495 <!-- Kalayaan, Palawan --> = 1 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175321000 -->
| Q111506 <!-- Linapacan, Palawan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175313000 -->
| Q111521 <!-- Magsaysay, Palawan --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175314000 -->
| Q111535 <!-- Narra, Palawan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175315000 -->
| Q111739 <!-- Puerto Princesa --> = 66 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175316000 -->
| Q111662 <!-- Quezon, Palawan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175317000 -->
| Q111677 <!-- Rizal, Palawan --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175323000 -->
| Q111689 <!-- Roxas, Palawan --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175318000 -->
| Q111707 <!-- San Vicente, Palawan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175319000 -->
| Q111719 <!-- Sofronio Española, Palawan --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175324000 -->
| Q111730 <!-- Taytay, Palawan --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175320000 -->
| Q174497 <!-- Alcantara, Romblon --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175901000 -->
| Q174511 <!-- Banton, Romblon --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175902000 -->
| Q174525 <!-- Cajidiocan, Romblon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175903000 -->
| Q174544 <!-- Calatrava, Romblon --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175904000 -->
| Q174562 <!-- Concepcion, Romblon --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175905000 -->
| Q174575 <!-- Corcuera, Romblon --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175906000 -->
| Q174591 <!-- Ferrol, Romblon --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175916000 -->
| Q174607 <!-- Looc, Romblon --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175907000 -->
| Q174620 <!-- Magdiwang, Romblon --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175908000 -->
| Q174632 <!-- Odiongan, Romblon --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175909000 -->
| Q174649 <!-- Romblon , Romblon --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175910000 -->
| Q174659 <!-- San Agustin, Romblon --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175911000 -->
| Q174667 <!-- San Andres, Romblon --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175912000 -->
| Q174676 <!-- San Fernando, Romblon --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175913000 -->
| Q174689 <!-- San Jose, Romblon --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175914000 -->
| Q174702 <!-- Santa Fe, Romblon --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175915000 -->
| Q174717 <!-- Santa Maria, Romblon --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/175917000 -->
| Q174149 <!-- Bulusan, Sorsogon --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056204000 -->
| Q174226 <!-- Juban, Sorsogon --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056210000 -->
| Q174255 <!-- Pilar, Sorsogon --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056213000 -->
| Q174096 <!-- Sorsogon, Sorsogon --> = 64 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/056216000 -->
| Q434743 <!-- Altavas, Aklan --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060401000 -->
| Q626586 <!-- Balete, Aklan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060402000 -->
| Q569215 <!-- Banga, Aklan --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060403000 -->
| Q626645 <!-- Batan, Aklan --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060404000 -->
| Q576805 <!-- Buruanga, Aklan --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060405000 -->
| Q626695 <!-- Ibajay, Aklan --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060406000 -->
| Q626721 <!-- Kalibo , Aklan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060407000 -->
| Q626746 <!-- Lezo, Aklan --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060408000 -->
| Q626786 <!-- Libacao, Aklan --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060409000 -->
| Q626820 <!-- Madalag, Aklan --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060410000 -->
| Q626873 <!-- Makato, Aklan --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060411000 -->
| Q626905 <!-- Malay, Aklan --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060412000 -->
| Q626935 <!-- Malinao, Aklan --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060413000 -->
| Q626959 <!-- Nabas, Aklan --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060414000 -->
| Q626992 <!-- New Washington, Aklan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060415000 -->
| Q627008 <!-- Numancia, Aklan --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060416000 -->
| Q627028 <!-- Tangalan, Aklan --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060417000 -->
| Q492119 <!-- Anini-y, Antique --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060601000 -->
| Q492155 <!-- Barbaza, Antique --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060602000 -->
| Q492263 <!-- Belison, Antique --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060603000 -->
| Q492325 <!-- Bugasong, Antique --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060604000 -->
| Q492363 <!-- Caluya, Antique --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060605000 -->
| Q492406 <!-- Culasi, Antique --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060606000 -->
| Q144779 <!-- Hamtic, Antique --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060608000 -->
| Q492479 <!-- Laua-an, Antique --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060609000 -->
| Q492516 <!-- Libertad, Antique --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060610000 -->
| Q492545 <!-- Pandan, Antique --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060611000 -->
| Q492577 <!-- Patnongon, Antique --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060612000 -->
| Q492619 <!-- San Jose, Antique --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060613000 -->
| Q492673 <!-- San Remigio, Antique --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060614000 -->
| Q492707 <!-- Sebaste, Antique --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060615000 -->
| Q492742 <!-- Sibalom, Antique --> = 76 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060616000 -->
| Q492780 <!-- Tibiao, Antique --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060617000 -->
| Q492817 <!-- Tobias Fornier, Antique --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060607000 -->
| Q492862 <!-- Valderrama, Antique --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/060618000 -->
| Q355953 <!-- Cuartero, Capiz --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061901000 -->
| Q355986 <!-- Dao, Capiz --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061902000 -->
| Q356019 <!-- Dumalag, Capiz --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061903000 -->
| Q356053 <!-- Dumarao, Capiz --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061904000 -->
| Q356081 <!-- Ivisan, Capiz --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061905000 -->
| Q356106 <!-- Jamindan, Capiz --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061906000 -->
| Q356153 <!-- Ma-ayon, Capiz --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061907000 -->
| Q356174 <!-- Mambusao, Capiz --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061908000 -->
| Q356204 <!-- Panay, Capiz --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061909000 -->
| Q356231 <!-- Panitan, Capiz --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061910000 -->
| Q356266 <!-- Pilar, Capiz --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061911000 -->
| Q356292 <!-- Pontevedra, Capiz --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061912000 -->
| Q356313 <!-- President Roxas, Capiz --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061913000 -->
| Q2209 <!-- Roxas, Capiz --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061914000 -->
| Q356338 <!-- Sapi-an, Capiz --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061915000 -->
| Q356368 <!-- Sigma, Capiz --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061916000 -->
| Q356398 <!-- Tapaz, Capiz --> = 58 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/061917000 -->
| Q313781 <!-- Buenavista, Guimaras --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/067901000 -->
| Q313802 <!-- Jordan, Guimaras --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/067902000 -->
| Q313810 <!-- Nueva Valencia, Guimaras --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/067903000 -->
| Q313825 <!-- San Lorenzo, Guimaras --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/067904000 -->
| Q313844 <!-- Sibunag, Guimaras --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/067905000 -->
| Q274491 <!-- Ajuy, Iloilo --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063001000 -->
| Q274508 <!-- Alimodian, Iloilo --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063002000 -->
| Q274543 <!-- Anilao, Iloilo --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063003000 -->
| Q274557 <!-- Badiangan, Iloilo --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063004000 -->
| Q274578 <!-- Balasan, Iloilo --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063005000 -->
| Q274595 <!-- Banate, Iloilo --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063006000 -->
| Q82502 <!-- Barotac Nuevo, Iloilo --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063007000 -->
| Q82493 <!-- Barotac Viejo, Iloilo --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063008000 -->
| Q274654 <!-- Batad, Iloilo --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063009000 -->
| Q274671 <!-- Bingawan, Iloilo --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063010000 -->
| Q274693 <!-- Cabatuan, Iloilo --> = 68 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063012000 -->
| Q274713 <!-- Calinog, Iloilo --> = 59 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063013000 -->
| Q274731 <!-- Carles, Iloilo --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063014000 -->
| Q274749 <!-- Concepcion, Iloilo --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063015000 -->
| Q274780 <!-- Dingle, Iloilo --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063016000 -->
| Q274795 <!-- Dueñas, Iloilo --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063017000 -->
| Q74758 <!-- Dumangas, Iloilo --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063018000 -->
| Q82506 <!-- Estancia, Iloilo --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063019000 -->
| Q274847 <!-- Guimbal, Iloilo --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063020000 -->
| Q74755 <!-- Igbaras, Iloilo --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063021000 -->
| Q459787 <!-- Iloilo --> = 180 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063022000 -->
| Q82570 <!-- Janiuay, Iloilo --> = 60 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063023000 -->
| Q274907 <!-- Lambunao, Iloilo --> = 73 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063025000 -->
| Q274937 <!-- Leganes, Iloilo --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063026000 -->
| Q274961 <!-- Lemery, Iloilo --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063027000 -->
| Q274987 <!-- Leon, Iloilo --> = 85 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063028000 -->
| Q275015 <!-- Maasin, Iloilo --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063029000 -->
| Q74753 <!-- Miagao, Iloilo --> = 119 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063030000 -->
| Q275071 <!-- Mina, Iloilo --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063031000 -->
| Q275184 <!-- New Lucena, Iloilo --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063032000 -->
| Q275199 <!-- Oton, Iloilo --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063034000 -->
| Q1855693 <!-- Passi, Iloilo --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063035000 -->
| Q275221 <!-- Pavia, Iloilo --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063036000 -->
| Q275243 <!-- Pototan, Iloilo --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063037000 -->
| Q275264 <!-- San Dionisio, Iloilo --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063038000 -->
| Q275280 <!-- San Enrique, Iloilo --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063039000 -->
| Q275295 <!-- San Joaquin, Iloilo --> = 85 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063040000 -->
| Q275312 <!-- San Miguel, Iloilo --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063041000 -->
| Q275329 <!-- San Rafael, Iloilo --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063042000 -->
| Q275347 <!-- Santa Barbara, Iloilo --> = 60 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063043000 -->
| Q275368 <!-- Sara, Iloilo --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063044000 -->
| Q82497 <!-- Tigbauan, Iloilo --> = 52 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063045000 -->
| Q275417 <!-- Tubungan, Iloilo --> = 48 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063046000 -->
| Q148064 <!-- Zarraga, Iloilo --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/063047000 -->
| Q5217 <!-- Bacolod --> = 61 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/provinces/060000000 -->
| Q628297 <!-- Bago, Negros Occidental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064502000 -->
| Q195243 <!-- Binalbagan, Negros Occidental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064503000 -->
| Q1020688 <!-- Cadiz, Negros Occidental --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064504000 -->
| Q195258 <!-- Calatrava, Negros Occidental --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064505000 -->
| Q195272 <!-- Candoni, Negros Occidental --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064506000 -->
| Q195287 <!-- Cauayan, Negros Occidental --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064507000 -->
| Q195304 <!-- Enrique B. Magalona, Negros Occidental --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064508000 -->
| Q1027743 <!-- Escalante, Negros Occidental --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064509000 -->
| Q1423846 <!-- Himamaylan, Negros Occidental --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064510000 -->
| Q195322 <!-- Hinigaran, Negros Occidental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064511000 -->
| Q195336 <!-- Hinoba-an, Negros Occidental --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064512000 -->
| Q195352 <!-- Ilog, Negros Occidental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064513000 -->
| Q195373 <!-- Isabela, Negros Occidental --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064514000 -->
| Q1026445 <!-- Kabankalan, Negros Occidental --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064515000 -->
| Q1789908 <!-- La Carlota, Negros Occidental --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064516000 -->
| Q195397 <!-- La Castellana, Negros Occidental --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064517000 -->
| Q195418 <!-- Manapla, Negros Occidental --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064518000 -->
| Q195438 <!-- Moises Padilla, Negros Occidental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064519000 -->
| Q195459 <!-- Murcia, Negros Occidental --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064520000 -->
| Q195477 <!-- Pontevedra, Negros Occidental --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064521000 -->
| Q195489 <!-- Pulupandan, Negros Occidental --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064522000 -->
| Q1787527 <!-- Sagay, Negros Occidental --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064523000 -->
| Q195503 <!-- Salvador Benedicto, Negros Occidental --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064532000 -->
| Q1025390 <!-- San Carlos, Negros Occidental --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064524000 -->
| Q195523 <!-- San Enrique, Negros Occidental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064525000 -->
| Q1020696 <!-- Silay, Negros Occidental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064526000 -->
| Q1027115 <!-- Sipalay, Negros Occidental --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064527000 -->
| Q1027120 <!-- Talisay, Negros Occidental --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064528000 -->
| Q195549 <!-- Toboso, Negros Occidental --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064529000 -->
| Q195569 <!-- Valladolid, Negros Occidental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064530000 -->
| Q1026021 <!-- Victorias, Negros Occidental --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/064531000 -->
| Q194822 <!-- Amlan, Negros Oriental --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074601000 -->
| Q194854 <!-- Ayungon, Negros Oriental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074602000 -->
| Q194874 <!-- Bacong, Negros Oriental --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074603000 -->
| Q628590 <!-- Bais, Negros Oriental --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074604000 -->
| Q194900 <!-- Basay, Negros Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074605000 -->
| Q812113 <!-- Bayawan, Negros Oriental --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074606000 -->
| Q194916 <!-- Bindoy, Negros Oriental --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074607000 -->
| Q991602 <!-- Canlaon, Negros Oriental --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074608000 -->
| Q194940 <!-- Dauin, Negros Oriental --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074609000 -->
| Q873377 <!-- Dumaguete, Negros Oriental --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074610000 -->
| Q195197 <!-- Guihulngan, Negros Oriental --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074611000 -->
| Q194967 <!-- Jimalalud, Negros Oriental --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074612000 -->
| Q194983 <!-- La Libertad, Negros Oriental --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074613000 -->
| Q195004 <!-- Mabinay, Negros Oriental --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074614000 -->
| Q195018 <!-- Manjuyod, Negros Oriental --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074615000 -->
| Q195040 <!-- Pamplona, Negros Oriental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074616000 -->
| Q195056 <!-- San Jose, Negros Oriental --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074617000 -->
| Q195074 <!-- Santa Catalina, Negros Oriental --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074618000 -->
| Q195090 <!-- Siaton, Negros Oriental --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074619000 -->
| Q195106 <!-- Sibulan, Negros Oriental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074620000 -->
| Q1020705 <!-- Tanjay, Negros Oriental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074621000 -->
| Q195121 <!-- Tayasan, Negros Oriental --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074622000 -->
| Q195140 <!-- Valencia, Negros Oriental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074623000 -->
| Q195164 <!-- Vallehermoso, Negros Oriental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074624000 -->
| Q145673 <!-- Zamboanguita, Negros Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/074625000 -->
| Q404369 <!-- Alburquerque, Bohol --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071201000 -->
| Q404403 <!-- Alicia, Bohol --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071202000 -->
| Q404434 <!-- Anda, Bohol --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071203000 -->
| Q404459 <!-- Antequera, Bohol --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071204000 -->
| Q404489 <!-- Baclayon, Bohol --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071205000 -->
| Q404519 <!-- Balilihan, Bohol --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071206000 -->
| Q404549 <!-- Batuan, Bohol --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071207000 -->
| Q404581 <!-- Bien Unido, Bohol --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071248000 -->
| Q404604 <!-- Bilar, Bohol --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071208000 -->
| Q404623 <!-- Buenavista, Bohol --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071209000 -->
| Q404652 <!-- Calape, Bohol --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071210000 -->
| Q404680 <!-- Candijay, Bohol --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071211000 -->
| Q241239 <!-- Carmen, Bohol --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071212000 -->
| Q404750 <!-- Catigbian, Bohol --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071213000 -->
| Q404775 <!-- Clarin, Bohol --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071214000 -->
| Q404799 <!-- Corella, Bohol --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071215000 -->
| Q404825 <!-- Cortes, Bohol --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071216000 -->
| Q404854 <!-- Dagohoy, Bohol --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071217000 -->
| Q404882 <!-- Danao, Bohol --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071218000 -->
| Q404908 <!-- Dauis, Bohol --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071219000 -->
| Q404930 <!-- Dimiao, Bohol --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071220000 -->
| Q404951 <!-- Duero, Bohol --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071221000 -->
| Q404976 <!-- Garcia Hernandez, Bohol --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071222000 -->
| Q405005 <!-- Getafe, Bohol --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071226000 -->
| Q405058 <!-- Guindulman, Bohol --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071223000 -->
| Q405088 <!-- Inabanga, Bohol --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071224000 -->
| Q405110 <!-- Jagna, Bohol --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071225000 -->
| Q405141 <!-- Lila, Bohol --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071227000 -->
| Q405171 <!-- Loay, Bohol --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071228000 -->
| Q405197 <!-- Loboc, Bohol --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071229000 -->
| Q405224 <!-- Loon, Bohol --> = 67 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071230000 -->
| Q405268 <!-- Mabini, Bohol --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071231000 -->
| Q405303 <!-- Maribojoc, Bohol --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071232000 -->
| Q178330 <!-- Panglao, Bohol --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071233000 -->
| Q405384 <!-- Pilar, Bohol --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071234000 -->
| Q405427 <!-- President Carlos P. Garcia, Bohol --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071235000 -->
| Q405472 <!-- Sagbayan, Bohol --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071236000 -->
| Q259298 <!-- San Isidro, Bohol --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071237000 -->
| Q405544 <!-- San Miguel, Bohol --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071238000 -->
| Q386388 <!-- Sevilla, Bohol --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071239000 -->
| Q405628 <!-- Sierra Bullones, Bohol --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071240000 -->
| Q405674 <!-- Sikatuna, Bohol --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071241000 -->
| Q1826 <!-- Tagbilaran, Bohol --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071242000 -->
| Q405714 <!-- Talibon, Bohol --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071243000 -->
| Q405749 <!-- Trinidad, Bohol --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071244000 -->
| Q405980 <!-- Tubigon, Bohol --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071245000 -->
| Q406015 <!-- Ubay, Bohol --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071246000 -->
| Q406046 <!-- Valencia, Bohol --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/071247000 -->
| Q315636 <!-- Alcantara, Cebu --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072201000 -->
| Q315655 <!-- Alcoy, Cebu --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072202000 -->
| Q315669 <!-- Alegria, Cebu --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072203000 -->
| Q315687 <!-- Aloguinsan, Cebu --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072204000 -->
| Q315703 <!-- Argao, Cebu --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072205000 -->
| Q315719 <!-- Asturias, Cebu --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072206000 -->
| Q315733 <!-- Badian, Cebu --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072207000 -->
| Q315754 <!-- Balamban, Cebu --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072208000 -->
| Q315771 <!-- Bantayan, Cebu --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072209000 -->
| Q315790 <!-- Barili, Cebu --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072210000 -->
| Q890623 <!-- Bogo, Cebu --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072211000 -->
| Q315809 <!-- Boljoon, Cebu --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072212000 -->
| Q315827 <!-- Borbon, Cebu --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072213000 -->
| Q315851 <!-- Carcar, Cebu --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072214000 -->
| Q315882 <!-- Carmen, Cebu --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072215000 -->
| Q315900 <!-- Catmon, Cebu --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072216000 -->
| Q1467 <!-- Cebu --> = 80 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072217000 -->
| Q315923 <!-- Compostela, Cebu --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072218000 -->
| Q315945 <!-- Consolacion, Cebu --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072219000 -->
| Q315965 <!-- Cordova, Cebu --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072220000 -->
| Q315981 <!-- Daanbantayan, Cebu --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072221000 -->
| Q316001 <!-- Dalaguete, Cebu --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072222000 -->
| Q1159273 <!-- Danao, Cebu --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072223000 -->
| Q316019 <!-- Dumanjug, Cebu --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072224000 -->
| Q316037 <!-- Ginatilan, Cebu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072225000 -->
| Q574903 <!-- Lapu-Lapu --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072226000 -->
| Q316056 <!-- Liloan, Cebu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072227000 -->
| Q316080 <!-- Madridejos, Cebu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072228000 -->
| Q316101 <!-- Malabuyoc, Cebu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072229000 -->
| Q1889017 <!-- Mandaue --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072230000 -->
| Q316125 <!-- Medellin, Cebu --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072231000 -->
| Q316146 <!-- Minglanilla, Cebu --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072232000 -->
| Q316171 <!-- Moalboal, Cebu --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072233000 -->
| Q316197 <!-- Naga, Cebu --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072234000 -->
| Q316230 <!-- Oslob, Cebu --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072235000 -->
| Q316245 <!-- Pilar, Cebu --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072236000 -->
| Q316259 <!-- Pinamungahan, Cebu --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072237000 -->
| Q316275 <!-- Poro, Cebu --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072238000 -->
| Q316289 <!-- Ronda, Cebu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072239000 -->
| Q316303 <!-- Samboan, Cebu --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072240000 -->
| Q316318 <!-- San Fernando, Cebu --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072241000 -->
| Q316332 <!-- San Francisco, Cebu --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072242000 -->
| Q316350 <!-- San Remigio, Cebu --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072243000 -->
| Q316370 <!-- Santa Fe, Cebu --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072244000 -->
| Q316386 <!-- Santander, Cebu --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072245000 -->
| Q316404 <!-- Sibonga, Cebu --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072246000 -->
| Q316432 <!-- Sogod, Cebu --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072247000 -->
| Q316453 <!-- Tabogon, Cebu --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072248000 -->
| Q316474 <!-- Tabuelan, Cebu --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072249000 -->
| Q316500 <!-- Talisay, Cebu --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072250000 -->
| Q316527 <!-- Toledo, Cebu --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072251000 -->
| Q316547 <!-- Tuburan, Cebu --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072252000 -->
| Q316564 <!-- Tudela, Cebu --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/072253000 -->
| Q174305 <!-- Enrique Villanueva, Siquijor --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/076101000 -->
| Q174317 <!-- Larena, Siquijor --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/076102000 -->
| Q174332 <!-- Lazi, Siquijor --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/076103000 -->
| Q174343 <!-- Maria, Siquijor --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/076104000 -->
| Q174354 <!-- San Juan, Siquijor --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/076105000 -->
| Q174373 <!-- Siquijor, Siquijor --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/076106000 -->
| Q406163 <!-- Almeria, Biliran --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087801000 -->
| Q406186 <!-- Biliran, Biliran --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087802000 -->
| Q406226 <!-- Cabucgayan, Biliran --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087803000 -->
| Q406267 <!-- Caibiran, Biliran --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087804000 -->
| Q406317 <!-- Culaba, Biliran --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087805000 -->
| Q406353 <!-- Kawayan, Biliran --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087806000 -->
| Q406393 <!-- Maripipi, Biliran --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087807000 -->
| Q277211 <!-- Naval, Biliran --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/087808000 -->
| Q313880 <!-- Arteche, Eastern Samar --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082601000 -->
| Q313904 <!-- Balangiga, Eastern Samar --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082602000 -->
| Q313914 <!-- Balangkayan, Eastern Samar --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082603000 -->
| Q894059 <!-- Borongan, Eastern Samar --> = 61 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082604000 -->
| Q313926 <!-- Can-avid, Eastern Samar --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082605000 -->
| Q313939 <!-- Dolores, Eastern Samar --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082606000 -->
| Q313951 <!-- General MacArthur, Eastern Samar --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082607000 -->
| Q313967 <!-- Giporlos, Eastern Samar --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082608000 -->
| Q313984 <!-- Guiuan, Eastern Samar --> = 60 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082609000 -->
| Q314002 <!-- Hernani, Eastern Samar --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082610000 -->
| Q314021 <!-- Jipapad, Eastern Samar --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082611000 -->
| Q314046 <!-- Lawaan, Eastern Samar --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082612000 -->
| Q314070 <!-- Llorente, Eastern Samar --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082613000 -->
| Q314096 <!-- Maslog, Eastern Samar --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082614000 -->
| Q314117 <!-- Maydolong, Eastern Samar --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082615000 -->
| Q314129 <!-- Mercedes, Eastern Samar --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082616000 -->
| Q314154 <!-- Oras, Eastern Samar --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082617000 -->
| Q314175 <!-- Quinapondan, Eastern Samar --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082618000 -->
| Q314197 <!-- Salcedo, Eastern Samar --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082619000 -->
| Q314220 <!-- San Julian, Eastern Samar --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082620000 -->
| Q314239 <!-- San Policarpo, Eastern Samar --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082621000 -->
| Q314257 <!-- Sulat, Eastern Samar --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082622000 -->
| Q205677 <!-- Taft, Eastern Samar --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/082623000 -->
| Q212877 <!-- Abuyog, Leyte --> = 63 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083701000 -->
| Q212888 <!-- Alangalang, Leyte --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083702000 -->
| Q212896 <!-- Albuera, Leyte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083703000 -->
| Q212907 <!-- Babatngon, Leyte --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083705000 -->
| Q212924 <!-- Barugo, Leyte --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083706000 -->
| Q212935 <!-- Bato, Leyte --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083707000 -->
| Q812117 <!-- Baybay, Leyte --> = 92 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083708000 -->
| Q212945 <!-- Burauen, Leyte --> = 77 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083710000 -->
| Q212951 <!-- Calubian, Leyte --> = 53 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083713000 -->
| Q212958 <!-- Capoocan, Leyte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083714000 -->
| Q212969 <!-- Carigara, Leyte --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083715000 -->
| Q212981 <!-- Dagami, Leyte --> = 65 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083717000 -->
| Q212988 <!-- Dulag, Leyte --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083718000 -->
| Q213006 <!-- Hilongos, Leyte --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083719000 -->
| Q213024 <!-- Hindang, Leyte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083720000 -->
| Q213042 <!-- Inopacan, Leyte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083721000 -->
| Q213060 <!-- Isabel, Leyte --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083722000 -->
| Q213086 <!-- Jaro, Leyte --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083723000 -->
| Q213101 <!-- Javier, Leyte --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083724000 -->
| Q213113 <!-- Julita, Leyte --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083725000 -->
| Q213130 <!-- Kananga, Leyte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083726000 -->
| Q213144 <!-- La Paz, Leyte --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083728000 -->
| Q213160 <!-- Leyte, Leyte --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083729000 -->
| Q213174 <!-- MacArthur, Leyte --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083730000 -->
| Q213190 <!-- Mahaplag, Leyte --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083731000 -->
| Q213209 <!-- Matag-ob, Leyte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083733000 -->
| Q213227 <!-- Matalom, Leyte --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083734000 -->
| Q213245 <!-- Mayorga, Leyte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083735000 -->
| Q213261 <!-- Merida, Leyte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083736000 -->
| Q1014782 <!-- Ormoc --> = 85 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083738000 -->
| Q213281 <!-- Palo, Leyte --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083739000 -->
| Q213303 <!-- Palompon, Leyte --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083740000 -->
| Q213323 <!-- Pastrana, Leyte --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083741000 -->
| Q213341 <!-- San Isidro, Leyte --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083742000 -->
| Q213357 <!-- San Miguel, Leyte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083743000 -->
| Q213378 <!-- Santa Fe, Leyte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083744000 -->
| Q213400 <!-- Tabango, Leyte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083745000 -->
| Q213420 <!-- Tabontabon, Leyte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083746000 -->
| Q40626 <!-- Tacloban --> = 138 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083747000 -->
| Q213431 <!-- Tanauan, Leyte --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083748000 -->
| Q213442 <!-- Tolosa, Leyte --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083749000 -->
| Q213455 <!-- Tunga, Leyte --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083750000 -->
| Q213463 <!-- Villaba, Leyte --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/083751000 -->
| Q174784 <!-- Allen, Northern Samar --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084801000 -->
| Q174801 <!-- Biri, Northern Samar --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084802000 -->
| Q174822 <!-- Bobon, Northern Samar --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084803000 -->
| Q174871 <!-- Capul, Northern Samar --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084804000 -->
| Q174886 <!-- Catarman , Northern Samar --> = 55 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084805000 -->
| Q174906 <!-- Catubig, Northern Samar --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084806000 -->
| Q174919 <!-- Gamay, Northern Samar --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084807000 -->
| Q174940 <!-- Laoang, Northern Samar --> = 56 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084808000 -->
| Q174962 <!-- Lapinig, Northern Samar --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084809000 -->
| Q174987 <!-- Las Navas, Northern Samar --> = 53 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084810000 -->
| Q175008 <!-- Lavezares, Northern Samar --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084811000 -->
| Q175031 <!-- Lope de Vega, Northern Samar --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084824000 -->
| Q175054 <!-- Mapanas, Northern Samar --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084812000 -->
| Q175082 <!-- Mondragon, Northern Samar --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084813000 -->
| Q175100 <!-- Palapag, Northern Samar --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084814000 -->
| Q175115 <!-- Pambujan, Northern Samar --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084815000 -->
| Q175136 <!-- Rosario, Northern Samar --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084816000 -->
| Q175163 <!-- San Antonio, Northern Samar --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084817000 -->
| Q175183 <!-- San Isidro, Northern Samar --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084818000 -->
| Q175203 <!-- San Jose, Northern Samar --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084819000 -->
| Q175230 <!-- San Roque, Northern Samar --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084820000 -->
| Q175247 <!-- San Vicente, Northern Samar --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084821000 -->
| Q175267 <!-- Silvino Lobos, Northern Samar --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084822000 -->
| Q175283 <!-- Victoria, Northern Samar --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/084823000 -->
| Q816088 <!-- Almagro, Samar --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086001000 -->
| Q809957 <!-- Basey, Samar --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086002000 -->
| Q577336 <!-- Calbayog, Samar --> = 157 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086003000 -->
| Q816128 <!-- Calbiga, Samar --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086004000 -->
| Q1020709 <!-- Catbalogan, Samar --> = 57 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086005000 -->
| Q816142 <!-- Daram, Samar --> = 58 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086006000 -->
| Q816160 <!-- Gandara, Samar --> = 69 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086007000 -->
| Q816184 <!-- Hinabangan, Samar --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086008000 -->
| Q816207 <!-- Jiabong, Samar --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086009000 -->
| Q816240 <!-- Marabut, Samar --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086010000 -->
| Q816267 <!-- Matuguinao, Samar --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086011000 -->
| Q816296 <!-- Motiong, Samar --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086012000 -->
| Q816320 <!-- Pagsanghan, Samar --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086026000 -->
| Q816342 <!-- Paranas, Samar --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086022000 -->
| Q252184 <!-- Pinabacdao, Samar --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086013000 -->
| Q816396 <!-- San Jorge, Samar --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086025000 -->
| Q816413 <!-- San Jose de Buan, Samar --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086014000 -->
| Q816435 <!-- San Sebastian, Samar --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086015000 -->
| Q816454 <!-- Santa Margarita, Samar --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086016000 -->
| Q816471 <!-- Santa Rita, Samar --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086017000 -->
| Q608320 <!-- Santo Niño, Samar --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086018000 -->
| Q126346 <!-- Tagapul-an, Samar --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086024000 -->
| Q816519 <!-- Talalora, Samar --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086019000 -->
| Q816542 <!-- Tarangnan, Samar --> = 41 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086020000 -->
| Q816564 <!-- Villareal, Samar --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086021000 -->
| Q229664 <!-- Zumarraga, Samar --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086023000 -->
| Q173608 <!-- Anahawan, Southern Leyte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086401000 -->
| Q173622 <!-- Bontoc, Southern Leyte --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086402000 -->
| Q173632 <!-- Hinunangan, Southern Leyte --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086403000 -->
| Q173641 <!-- Hinundayan, Southern Leyte --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086404000 -->
| Q173655 <!-- Libagon, Southern Leyte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086405000 -->
| Q173665 <!-- Liloan, Southern Leyte --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086406000 -->
| Q173678 <!-- Limasawa, Southern Leyte --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086419000 -->
| Q1025387 <!-- Maasin, Southern Leyte --> = 70 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086407000 -->
| Q173688 <!-- Macrohon, Southern Leyte --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086408000 -->
| Q173701 <!-- Malitbog, Southern Leyte --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086409000 -->
| Q173713 <!-- Padre Burgos, Southern Leyte --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086410000 -->
| Q173723 <!-- Pintuyan, Southern Leyte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086411000 -->
| Q173735 <!-- Saint Bernard, Southern Leyte --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086412000 -->
| Q173745 <!-- San Francisco, Southern Leyte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086413000 -->
| Q173754 <!-- San Juan, Southern Leyte --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086414000 -->
| Q173763 <!-- San Ricardo, Southern Leyte --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086415000 -->
| Q173774 <!-- Silago, Southern Leyte --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086416000 -->
| Q173792 <!-- Sogod, Southern Leyte --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086417000 -->
| Q173811 <!-- Tomas Oppus, Southern Leyte --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/086418000 -->
| Q132482 <!-- Baliguian, Zamboanga del Norte --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097224000 -->
| Q1014775 <!-- Dapitan, Zamboanga del Norte --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097201000 -->
| Q432169 <!-- Dipolog, Zamboanga del Norte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097202000 -->
| Q132496 <!-- Godod, Zamboanga del Norte --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097225000 -->
| Q132507 <!-- Gutalac, Zamboanga del Norte --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097223000 -->
| Q132520 <!-- Jose Dalman, Zamboanga del Norte --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097222000 -->
| Q132523 <!-- Kalawit, Zamboanga del Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097227000 -->
| Q132527 <!-- Katipunan, Zamboanga del Norte --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097203000 -->
| Q132532 <!-- La Libertad, Zamboanga del Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097204000 -->
| Q132535 <!-- Labason, Zamboanga del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097205000 -->
| Q132540 <!-- Leon B. Postigo, Zamboanga del Norte --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097226000 -->
| Q132553 <!-- Liloy, Zamboanga del Norte --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097206000 -->
| Q132561 <!-- Manukan, Zamboanga del Norte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097207000 -->
| Q132566 <!-- Mutia, Zamboanga del Norte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097208000 -->
| Q132570 <!-- Piñan, Zamboanga del Norte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097209000 -->
| Q132574 <!-- Polanco, Zamboanga del Norte --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097210000 -->
| Q132578 <!-- President Manuel A. Roxas, Zamboanga del Norte --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097211000 -->
| Q132583 <!-- Rizal, Zamboanga del Norte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097212000 -->
| Q132586 <!-- Salug, Zamboanga del Norte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097213000 -->
| Q132591 <!-- Sergio Osmeña Sr., Zamboanga del Norte --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097214000 -->
| Q132594 <!-- Siayan, Zamboanga del Norte --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097215000 -->
| Q132599 <!-- Sibuco, Zamboanga del Norte --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097216000 -->
| Q132601 <!-- Sibutad, Zamboanga del Norte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097217000 -->
| Q132605 <!-- Sindangan, Zamboanga del Norte --> = 52 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097218000 -->
| Q132610 <!-- Siocon, Zamboanga del Norte --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097219000 -->
| Q132613 <!-- Sirawai, Zamboanga del Norte --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097220000 -->
| Q132617 <!-- Tampilisan, Zamboanga del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097221000 -->
| Q132015 <!-- Aurora, Zamboanga del Sur --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097302000 -->
| Q132032 <!-- Bayog, Zamboanga del Sur --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097303000 -->
| Q132057 <!-- Dimataling, Zamboanga del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097305000 -->
| Q132077 <!-- Dinas, Zamboanga del Sur --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097306000 -->
| Q132104 <!-- Dumalinao, Zamboanga del Sur --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097307000 -->
| Q132126 <!-- Dumingag, Zamboanga del Sur --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097308000 -->
| Q132141 <!-- Guipos, Zamboanga del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097343000 -->
| Q132155 <!-- Josefina, Zamboanga del Sur --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097337000 -->
| Q132161 <!-- Kumalarang, Zamboanga del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097311000 -->
| Q132184 <!-- Labangan, Zamboanga del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097312000 -->
| Q132200 <!-- Lakewood, Zamboanga del Sur --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097333000 -->
| Q132215 <!-- Lapuyan, Zamboanga del Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097313000 -->
| Q132230 <!-- Mahayag, Zamboanga del Sur --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097315000 -->
| Q132244 <!-- Margosatubig, Zamboanga del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097317000 -->
| Q132262 <!-- Midsalip, Zamboanga del Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097318000 -->
| Q132271 <!-- Molave, Zamboanga del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097319000 -->
| Q874270 <!-- Pagadian, Zamboanga del Sur --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097322000 -->
| Q132284 <!-- Pitogo, Zamboanga del Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097338000 -->
| Q132301 <!-- Ramon Magsaysay, Zamboanga del Sur --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097323000 -->
| Q132317 <!-- San Miguel, Zamboanga del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097324000 -->
| Q132337 <!-- San Pablo, Zamboanga del Sur --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097325000 -->
| Q132353 <!-- Sominot, Zamboanga del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097340000 -->
| Q132371 <!-- Tabina, Zamboanga del Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097327000 -->
| Q132391 <!-- Tambulig, Zamboanga del Sur --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097328000 -->
| Q132403 <!-- Tigbao, Zamboanga del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097344000 -->
| Q132417 <!-- Tukuran, Zamboanga del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097330000 -->
| Q132432 <!-- Vincenzo A. Sagun, Zamboanga del Sur --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097341000 -->
| Q1629 <!-- Zamboanga --> = 98 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/097332000 -->
| Q131797 <!-- Alicia, Zamboanga Sibugay --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098301000 -->
| Q131811 <!-- Buug, Zamboanga Sibugay --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098302000 -->
| Q131816 <!-- Diplahan, Zamboanga Sibugay --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098303000 -->
| Q131838 <!-- Imelda, Zamboanga Sibugay --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098304000 -->
| Q131850 <!-- Ipil, Zamboanga Sibugay --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098305000 -->
| Q131870 <!-- Kabasalan, Zamboanga Sibugay --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098306000 -->
| Q131892 <!-- Mabuhay, Zamboanga Sibugay --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098307000 -->
| Q131906 <!-- Malangas, Zamboanga Sibugay --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098308000 -->
| Q131917 <!-- Naga, Zamboanga Sibugay --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098309000 -->
| Q131926 <!-- Olutanga, Zamboanga Sibugay --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098310000 -->
| Q131941 <!-- Payao, Zamboanga Sibugay --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098311000 -->
| Q131954 <!-- Roseller Lim, Zamboanga Sibugay --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098312000 -->
| Q124780 <!-- Siay, Zamboanga Sibugay --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098313000 -->
| Q131968 <!-- Talusan, Zamboanga Sibugay --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098314000 -->
| Q131975 <!-- Titay, Zamboanga Sibugay --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098315000 -->
| Q131984 <!-- Tungawan, Zamboanga Sibugay --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/098316000 -->
| Q356943 <!-- Baungon, Bukidnon --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101301000 -->
| Q356971 <!-- Cabanglasan, Bukidnon --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101322000 -->
| Q356997 <!-- Damulog, Bukidnon --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101302000 -->
| Q357021 <!-- Dangcagan, Bukidnon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101303000 -->
| Q357053 <!-- Don Carlos, Bukidnon --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101304000 -->
| Q357075 <!-- Impasug-ong, Bukidnon --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101305000 -->
| Q357100 <!-- Kadingilan, Bukidnon --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101306000 -->
| Q357124 <!-- Kalilangan, Bukidnon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101307000 -->
| Q357152 <!-- Kibawe, Bukidnon --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101308000 -->
| Q357175 <!-- Kitaotao, Bukidnon --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101309000 -->
| Q357198 <!-- Lantapan, Bukidnon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101310000 -->
| Q357226 <!-- Libona, Bukidnon --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101311000 -->
| Q1856 <!-- Malaybalay, Bukidnon --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101312000 -->
| Q357252 <!-- Malitbog, Bukidnon --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101313000 -->
| Q357272 <!-- Manolo Fortich, Bukidnon --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101314000 -->
| Q357299 <!-- Maramag, Bukidnon --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101315000 -->
| Q357311 <!-- Pangantucan, Bukidnon --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101316000 -->
| Q357342 <!-- Quezon, Bukidnon --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101317000 -->
| Q357371 <!-- San Fernando, Bukidnon --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101318000 -->
| Q357396 <!-- Sumilao, Bukidnon --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101319000 -->
| Q357420 <!-- Talakag, Bukidnon --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101320000 -->
| Q2158 <!-- Valencia, Bukidnon --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101321000 -->
| Q356442 <!-- Catarman, Camiguin --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101801000 -->
| Q356472 <!-- Guinsiliban, Camiguin --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101802000 -->
| Q176033 <!-- Mahinog, Camiguin --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101803000 -->
| Q356518 <!-- Mambajao, Camiguin --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101804000 -->
| Q356549 <!-- Sagay, Camiguin --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/101805000 -->
| Q274150 <!-- Bacolod, Lanao del Norte --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103501000 -->
| Q274164 <!-- Baloi, Lanao del Norte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103502000 -->
| Q274173 <!-- Baroy, Lanao del Norte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103503000 -->
| Q285488 <!-- Iligan --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103504000 -->
| Q274186 <!-- Kapatagan, Lanao del Norte --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103505000 -->
| Q274197 <!-- Kauswagan, Lanao del Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103507000 -->
| Q274205 <!-- Kolambugan, Lanao del Norte --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103508000 -->
| Q274215 <!-- Lala, Lanao del Norte --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103509000 -->
| Q274230 <!-- Linamon, Lanao del Norte --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103510000 -->
| Q274243 <!-- Magsaysay, Lanao del Norte --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103511000 -->
| Q274260 <!-- Maigo, Lanao del Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103512000 -->
| Q274272 <!-- Matungao, Lanao del Norte --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103513000 -->
| Q274287 <!-- Munai, Lanao del Norte --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103514000 -->
| Q274299 <!-- Nunungan, Lanao del Norte --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103515000 -->
| Q274313 <!-- Pantao Ragat, Lanao del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103516000 -->
| Q274329 <!-- Pantar, Lanao del Norte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103523000 -->
| Q274343 <!-- Poona Piagapo, Lanao del Norte --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103517000 -->
| Q274357 <!-- Salvador, Lanao del Norte --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103518000 -->
| Q274369 <!-- Sapad, Lanao del Norte --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103519000 -->
| Q274387 <!-- Sultan Naga Dimaporo, Lanao del Norte --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103506000 -->
| Q274406 <!-- Tagoloan, Lanao del Norte --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103520000 -->
| Q274427 <!-- Tangcal, Lanao del Norte --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103521000 -->
| Q274439 <!-- Tubod, Lanao del Norte --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/103522000 -->
| Q155502 <!-- Aloran, Misamis Occidental --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104201000 -->
| Q196056 <!-- Baliangao, Misamis Occidental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104202000 -->
| Q196076 <!-- Bonifacio, Misamis Occidental --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104203000 -->
| Q196097 <!-- Calamba, Misamis Occidental --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104204000 -->
| Q196114 <!-- Clarin, Misamis Occidental --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104205000 -->
| Q196129 <!-- Concepcion, Misamis Occidental --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104206000 -->
| Q196145 <!-- Don Victoriano Chiongbian, Misamis Occidental --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104217000 -->
| Q196158 <!-- Jimenez, Misamis Occidental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104207000 -->
| Q196173 <!-- Lopez Jaena, Misamis Occidental --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104208000 -->
| Q1067897 <!-- Oroquieta, Misamis Occidental --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104209000 -->
| Q263837 <!-- Ozamiz, Misamis Occidental --> = 51 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104210000 -->
| Q196191 <!-- Panaon, Misamis Occidental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104211000 -->
| Q196207 <!-- Plaridel, Misamis Occidental --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104212000 -->
| Q196222 <!-- Sapang Dalaga, Misamis Occidental --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104213000 -->
| Q196233 <!-- Sinacaban, Misamis Occidental --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104214000 -->
| Q1026277 <!-- Tangub, Misamis Occidental --> = 55 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104215000 -->
| Q196248 <!-- Tudela, Misamis Occidental --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104216000 -->
| Q195623 <!-- Alubijid, Misamis Oriental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/citimuni/104300000 -->
| Q195637 <!-- Balingasag, Misamis Oriental --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104302000 -->
| Q195650 <!-- Balingoan, Misamis Oriental --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104303000 -->
| Q195663 <!-- Binuangan, Misamis Oriental --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104304000 -->
| Q1645 <!-- Cagayan de Oro --> = 80 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104305000 -->
| Q195676 <!-- Claveria, Misamis Oriental --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104306000 -->
| Q195686 <!-- El Salvador, Misamis Oriental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104307000 -->
| Q1525029 <!-- Gingoog, Misamis Oriental --> = 79 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104308000 -->
| Q195696 <!-- Gitagum, Misamis Oriental --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104309000 -->
| Q195709 <!-- Initao, Misamis Oriental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104310000 -->
| Q195717 <!-- Jasaan, Misamis Oriental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104311000 -->
| Q195726 <!-- Kinoguitan, Misamis Oriental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104312000 -->
| Q195740 <!-- Lagonglong, Misamis Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104313000 -->
| Q195755 <!-- Laguindingan, Misamis Oriental --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104314000 -->
| Q195767 <!-- Libertad, Misamis Oriental --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104315000 -->
| Q195780 <!-- Lugait, Misamis Oriental --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104316000 -->
| Q195799 <!-- Magsaysay, Misamis Oriental --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104318000 -->
| Q195815 <!-- Manticao, Misamis Oriental --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104317000 -->
| Q195834 <!-- Medina, Misamis Oriental --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104319000 -->
| Q195855 <!-- Naawan, Misamis Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104320000 -->
| Q195870 <!-- Opol, Misamis Oriental --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104321000 -->
| Q195883 <!-- Salay, Misamis Oriental --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104322000 -->
| Q195899 <!-- Sugbongcogon, Misamis Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104323000 -->
| Q1026274 <!-- Tagoloan, Misamis Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104324000 -->
| Q195917 <!-- Talisayan, Misamis Oriental --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104325000 -->
| Q195937 <!-- Villanueva, Misamis Oriental --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/104326000 -->
| Q627390 <!-- Buenavista, Agusan del Norte --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160201000 -->
| Q1686 <!-- Butuan --> = 86 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160202000 -->
| Q1692 <!-- Cabadbaran, Agusan del Norte --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160203000 -->
| Q627434 <!-- Carmen, Agusan del Norte --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160204000 -->
| Q627461 <!-- Jabonga, Agusan del Norte --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160205000 -->
| Q627495 <!-- Kitcharao, Agusan del Norte --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160206000 -->
| Q627529 <!-- Las Nieves, Agusan del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160207000 -->
| Q627572 <!-- Magallanes, Agusan del Norte --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160208000 -->
| Q627604 <!-- Nasipit, Agusan del Norte --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160209000 -->
| Q627638 <!-- Remedios T. Romualdez, Agusan del Norte --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160212000 -->
| Q588955 <!-- Santiago, Agusan del Norte --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160210000 -->
| Q176975 <!-- Tubay, Agusan del Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160211000 -->
| Q1694 <!-- Bayugan, Agusan del Sur --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160301000 -->
| Q627049 <!-- Bunawan, Agusan del Sur --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160302000 -->
| Q627077 <!-- Esperanza, Agusan del Sur --> = 47 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160303000 -->
| Q627107 <!-- La Paz, Agusan del Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160304000 -->
| Q627120 <!-- Loreto, Agusan del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160305000 -->
| Q627144 <!-- Prosperidad, Agusan del Sur --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160306000 -->
| Q627167 <!-- Rosario, Agusan del Sur --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160307000 -->
| Q627190 <!-- San Francisco, Agusan del Sur --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160308000 -->
| Q627210 <!-- San Luis, Agusan del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160309000 -->
| Q627231 <!-- Santa Josefa, Agusan del Sur --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160310000 -->
| Q627260 <!-- Sibagat, Agusan del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160314000 -->
| Q627286 <!-- Talacogon, Agusan del Sur --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160311000 -->
| Q627320 <!-- Trento, Agusan del Sur --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160312000 -->
| Q627349 <!-- Veruela, Agusan del Sur --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/160313000 -->
| Q314298 <!-- Basilisa, Dinagat Islands --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168501000 -->
| Q314318 <!-- Cagdianao, Dinagat Islands --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168502000 -->
| Q314336 <!-- Dinagat, Dinagat Islands --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168503000 -->
| Q314345 <!-- Libjo, Dinagat Islands --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168504000 -->
| Q314356 <!-- Loreto, Dinagat Islands --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168505000 -->
| Q251691 <!-- San Jose, Dinagat Islands --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168506000 -->
| Q314374 <!-- Tubajon, Dinagat Islands --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/168507000 -->
| Q155706 <!-- Alegria, Surigao del Norte --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166701000 -->
| Q155720 <!-- Bacuag, Surigao del Norte --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166702000 -->
| Q155735 <!-- Burgos, Surigao del Norte --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166704000 -->
| Q155748 <!-- Claver, Surigao del Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166706000 -->
| Q155763 <!-- Dapa, Surigao del Norte --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166707000 -->
| Q28735 <!-- Del Carmen, Surigao del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166708000 -->
| Q155784 <!-- General Luna, Surigao del Norte --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166710000 -->
| Q155795 <!-- Gigaquit, Surigao del Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166711000 -->
| Q155808 <!-- Mainit, Surigao del Norte --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166714000 -->
| Q155819 <!-- Malimono, Surigao del Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166715000 -->
| Q155830 <!-- Pilar, Surigao del Norte --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166716000 -->
| Q155839 <!-- Placer, Surigao del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166717000 -->
| Q155849 <!-- San Benito, Surigao del Norte --> = 6 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166718000 -->
| Q155864 <!-- San Francisco , Surigao del Norte --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166719000 -->
| Q155876 <!-- San Isidro, Surigao del Norte --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166720000 -->
| Q28958 <!-- Santa Monica , Surigao del Norte --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166721000 -->
| Q155905 <!-- Sison, Surigao del Norte --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166722000 -->
| Q155917 <!-- Socorro, Surigao del Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166723000 -->
| Q1019949 <!-- Surigao, Surigao del Norte --> = 54 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166724000 -->
| Q155934 <!-- Tagana-an, Surigao del Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166725000 -->
| Q155946 <!-- Tubod, Surigao del Norte --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166727000 -->
| Q155471 <!-- Barobo, Surigao del Sur --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166801000 -->
| Q155499 <!-- Bayabas, Surigao del Sur --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166802000 -->
| Q866414 <!-- Bislig, Surigao del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166803000 -->
| Q155524 <!-- Cagwait, Surigao del Sur --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166804000 -->
| Q155536 <!-- Cantilan, Surigao del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166805000 -->
| Q155548 <!-- Carmen, Surigao del Sur --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166806000 -->
| Q155558 <!-- Carrascal, Surigao del Sur --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166807000 -->
| Q155568 <!-- Cortes, Surigao del Sur --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166808000 -->
| Q155576 <!-- Hinatuan, Surigao del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166809000 -->
| Q155582 <!-- Lanuza, Surigao del Sur --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166810000 -->
| Q155590 <!-- Lianga, Surigao del Sur --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166811000 -->
| Q155598 <!-- Lingig, Surigao del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166812000 -->
| Q155605 <!-- Madrid, Surigao del Sur --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166813000 -->
| Q155611 <!-- Marihatag, Surigao del Sur --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166814000 -->
| Q155618 <!-- San Agustin, Surigao del Sur --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166815000 -->
| Q155625 <!-- San Miguel, Surigao del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166816000 -->
| Q155633 <!-- Tagbina, Surigao del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166817000 -->
| Q155648 <!-- Tago, Surigao del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166818000 -->
| Q155674 <!-- Tandag, Surigao del Sur --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/166819000 -->
| Q315450 <!-- Compostela, Davao de Oro --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118201000 -->
| Q315468 <!-- Laak, Davao de Oro --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118202000 -->
| Q187225 <!-- Mabini, Davao de Oro --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118203000 -->
| Q315497 <!-- Maco, Davao de Oro --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118204000 -->
| Q315512 <!-- Maragusan, Davao de Oro --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118205000 -->
| Q315524 <!-- Mawab, Davao de Oro --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118206000 -->
| Q315543 <!-- Monkayo, Davao de Oro --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118207000 -->
| Q315557 <!-- Montevista, Davao de Oro --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118208000 -->
| Q315570 <!-- Nabunturan, Davao de Oro --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118209000 -->
| Q315582 <!-- New Bataan, Davao de Oro --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118210000 -->
| Q315598 <!-- Pantukan, Davao de Oro --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118211000 -->
| Q314393 <!-- Asuncion, Davao del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112301000 -->
| Q314410 <!-- Braulio E. Dujali, Davao del Norte --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112323000 -->
| Q314422 <!-- Carmen, Davao del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112303000 -->
| Q314438 <!-- Kapalong, Davao del Norte --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112305000 -->
| Q314452 <!-- New Corella, Davao del Norte --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112314000 -->
| Q967367 <!-- Panabo, Davao del Norte --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112315000 -->
| Q1020674 <!-- Samal, Davao del Norte --> = 46 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112317000 -->
| Q314468 <!-- San Isidro, Davao del Norte --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112324000 -->
| Q314486 <!-- Santo Tomas, Davao del Norte --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112318000 -->
| Q725168 <!-- Tagum, Davao del Norte --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112319000 -->
| Q314501 <!-- Talaingod, Davao del Norte --> = 3 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112322000 -->
| Q314778 <!-- Bansalan, Davao del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112401000 -->
| Q1473 <!-- Davao --> = 182 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112402000 -->
| Q1020939 <!-- Digos, Davao del Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112403000 -->
| Q314808 <!-- Hagonoy, Davao del Sur --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112404000 -->
| Q314844 <!-- Kiblawan, Davao del Sur --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112406000 -->
| Q314864 <!-- Magsaysay, Davao del Sur --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112407000 -->
| Q314885 <!-- Malalag, Davao del Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112408000 -->
| Q314923 <!-- Matanao, Davao del Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112410000 -->
| Q314944 <!-- Padada, Davao del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112411000 -->
| Q314965 <!-- Santa Cruz, Davao del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112412000 -->
| Q315014 <!-- Sulop, Davao del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112414000 -->
| Q314796 <!-- Don Marcelino, Davao Occidental --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118601000 -->
| Q314824 <!-- Jose Abad Santos, Davao Occidental --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118602000 -->
| Q314907 <!-- Malita, Davao Occidental --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118603000 -->
| Q314980 <!-- Santa Maria, Davao Occidental --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118604000 -->
| Q314999 <!-- Sarangani, Davao Occidental --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/118605000 -->
| Q314522 <!-- Baganga, Davao Oriental --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112501000 -->
| Q314542 <!-- Banaybanay, Davao Oriental --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112502000 -->
| Q314574 <!-- Boston, Davao Oriental --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112503000 -->
| Q314593 <!-- Caraga, Davao Oriental --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112504000 -->
| Q314619 <!-- Cateel, Davao Oriental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112505000 -->
| Q314632 <!-- Governor Generoso, Davao Oriental --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112506000 -->
| Q314653 <!-- Lupon, Davao Oriental --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112507000 -->
| Q314671 <!-- Manay, Davao Oriental --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112508000 -->
| Q314686 <!-- Mati, Davao Oriental --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112505000 -->
| Q314721 <!-- San Isidro, Davao Oriental --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112510000 -->
| Q314745 <!-- Tarragona, Davao Oriental --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/112511000 -->
| Q315042 <!-- Alamada, Cotabato --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124701000 -->
| Q315061 <!-- Aleosan, Cotabato --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124717000 -->
| Q315081 <!-- Antipas, Cotabato --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124715000 -->
| Q315098 <!-- Arakan, Cotabato --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124718000 -->
| Q315121 <!-- Banisilan, Cotabato --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124716000 -->
| Q315144 <!-- Carmen, Cotabato --> = 28 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124702000 -->
| Q315164 <!-- Kabacan, Cotabato --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124703000 -->
| Q583137 <!-- Kidapawan, Cotabato --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124704000 -->
| Q315190 <!-- Libungan, Cotabato --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124705000 -->
| Q267975 <!-- Magpet, Cotabato --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124706000 -->
| Q315244 <!-- Makilala, Cotabato --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124707000 -->
| Q315267 <!-- Matalam, Cotabato --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124708000 -->
| Q315283 <!-- Midsayap, Cotabato --> = 57 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124709000 -->
| Q315213 <!-- M'lang, Cotabato --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124710000 -->
| Q304654 <!-- Pigkawayan, Cotabato --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124711000 -->
| Q315314 <!-- Pikit, Cotabato --> = 42 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124712000 -->
| Q315334 <!-- President Roxas, Cotabato --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124713000 -->
| Q315345 <!-- Tulunan, Cotabato --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/124714000 -->
| Q174393 <!-- Alabel, Sarangani --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128001000 -->
| Q174403 <!-- Glan, Sarangani --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128002000 -->
| Q174417 <!-- Kiamba, Sarangani --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128003000 -->
| Q174429 <!-- Maasim, Sarangani --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128004000 -->
| Q174442 <!-- Maitum, Sarangani --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128005000 -->
| Q174457 <!-- Malapatan, Sarangani --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128006000 -->
| Q174468 <!-- Malungon, Sarangani --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/128007000 -->
| Q173870 <!-- Banga, South Cotabato --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126302000 -->
| Q594275 <!-- General Santos --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126303000 -->
| Q542154 <!-- Koronadal, South Cotabato --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126306000 -->
| Q173898 <!-- Lake Sebu, South Cotabato --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126319000 -->
| Q173922 <!-- Norala, South Cotabato --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126311000 -->
| Q173944 <!-- Polomolok, South Cotabato --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126312000 -->
| Q173965 <!-- Santo Niño, South Cotabato --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126318000 -->
| Q173986 <!-- Surallah, South Cotabato --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126313000 -->
| Q174018 <!-- Tampakan, South Cotabato --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126314000 -->
| Q174039 <!-- Tantangan, South Cotabato --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126315000 -->
| Q174003 <!-- T'boli, South Cotabato --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126316000 -->
| Q174055 <!-- Tupi, South Cotabato --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126317000 -->
| Q173393 <!-- Bagumbayan, Sultan Kudarat --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126501000 -->
| Q173404 <!-- Columbio, Sultan Kudarat --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126502000 -->
| Q173414 <!-- Esperanza, Sultan Kudarat --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126503000 -->
| Q173428 <!-- Isulan, Sultan Kudarat --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126504000 -->
| Q173438 <!-- Kalamansig, Sultan Kudarat --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126505000 -->
| Q173449 <!-- Lambayong, Sultan Kudarat --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126508000 -->
| Q173460 <!-- Lebak, Sultan Kudarat --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126506000 -->
| Q173468 <!-- Lutayan, Sultan Kudarat --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126507000 -->
| Q173479 <!-- Palimbang, Sultan Kudarat --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126509000 -->
| Q137813 <!-- President Quirino, Sultan Kudarat --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126510000 -->
| Q173556 <!-- Senator Ninoy Aquino, Sultan Kudarat --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126512000 -->
| Q173575 <!-- Tacurong, Sultan Kudarat --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/126511000 -->
| Q42589 <!-- Akbar, Basilan --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150708000 -->
| Q41999 <!-- Al-Barka, Basilan --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150709000 -->
| Q41998 <!-- Hadji Mohammad Ajul, Basilan --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150710000 -->
| Q802075 <!-- Hadji Muhtamad, Basilan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150712000 -->
| Q1710 <!-- Isabela --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/099701000 -->
| Q1714 <!-- Lamitan, Basilan --> = 45 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150702000 -->
| Q802107 <!-- Lantawan, Basilan --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150703000 -->
| Q802142 <!-- Maluso, Basilan --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150704000 -->
| Q802171 <!-- Sumisip, Basilan --> = 29 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150705000 -->
| Q802202 <!-- Tabuan-Lasa, Basilan --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150713000 -->
| Q667595 <!-- Tipo-Tipo, Basilan --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150706000 -->
| Q630096 <!-- Tuburan, Basilan --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150707000 -->
| Q204771 <!-- Ungkaya Pukan, Basilan --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/150711000 -->
| Q273775 <!-- Amai Manabilang, Lanao del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153637000 -->
| Q273657 <!-- Bacolod-Kalawi, Lanao del Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153601000 -->
| Q273680 <!-- Balabagan, Lanao del Sur --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153602000 -->
| Q273700 <!-- Balindong, Lanao del Sur --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153603000 -->
| Q273718 <!-- Bayang, Lanao del Sur --> = 49 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153604000 -->
| Q273728 <!-- Binidayan, Lanao del Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153605000 -->
| Q273744 <!-- Buadiposo-Buntong, Lanao del Sur --> = 33 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153633000 -->
| Q273757 <!-- Bubong, Lanao del Sur --> = 36 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153606000 -->
| Q273796 <!-- Butig, Lanao del Sur --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153607000 -->
| Q273813 <!-- Calanogas, Lanao del Sur --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153632000 -->
| Q273828 <!-- Ditsaan-Ramain, Lanao del Sur --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153624000 -->
| Q273851 <!-- Ganassi, Lanao del Sur --> = 32 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153609000 -->
| Q273864 <!-- Kapai, Lanao del Sur --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153610000 -->
| Q273882 <!-- Kapatagan, Lanao del Sur --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153639000 -->
| Q273895 <!-- Lumba-Bayabao, Lanao del Sur --> = 38 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153611000 -->
| Q273906 <!-- Lumbaca-Unayan, Lanao del Sur --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153641000 -->
| Q273915 <!-- Lumbatan, Lanao del Sur --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153612000 -->
| Q273928 <!-- Lumbayanague, Lanao del Sur --> = 22 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153636000 -->
| Q273939 <!-- Madalum, Lanao del Sur --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153613000 -->
| Q273948 <!-- Madamba, Lanao del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153614000 -->
| Q273960 <!-- Maguing, Lanao del Sur --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153634000 -->
| Q273970 <!-- Malabang, Lanao del Sur --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153615000 -->
| Q273982 <!-- Marantao, Lanao del Sur --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153616000 -->
| Q592338 <!-- Marawi, Lanao del Sur --> = 96 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153617000 -->
| Q273988 <!-- Marogong, Lanao del Sur --> = 24 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153631000 -->
| Q273998 <!-- Masiu, Lanao del Sur --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153618000 -->
| Q177004 <!-- Mulondo, Lanao del Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153619000 -->
| Q274015 <!-- Pagayawan, Lanao del Sur --> = 18 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153620000 -->
| Q274022 <!-- Piagapo, Lanao del Sur --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153621000 -->
| Q274031 <!-- Picong, Lanao del Sur --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153635000 -->
| Q274037 <!-- Poona Bayabao, Lanao del Sur --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153622000 -->
| Q274047 <!-- Pualas, Lanao del Sur --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153623000 -->
| Q274057 <!-- Saguiaran, Lanao del Sur --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153625000 -->
| Q126297 <!-- Sultan Dumalondong, Lanao del Sur --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153640000 -->
| Q274077 <!-- Tagoloan II, Lanao del Sur --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153638000 -->
| Q274087 <!-- Tamparan, Lanao del Sur --> = 44 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153626000 -->
| Q274097 <!-- Taraka, Lanao del Sur --> = 43 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153627000 -->
| Q274114 <!-- Tubaran, Lanao del Sur --> = 21 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153628000 -->
| Q274124 <!-- Tugaya, Lanao del Sur --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153629000 -->
| Q274134 <!-- Wao, Lanao del Sur --> = 26 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153630000 -->
| Q212222 <!-- Ampatuan, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153801000 -->
| Q212240 <!-- Barira, Maguindanao --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153818000 -->
| Q212255 <!-- Buldon, Maguindanao --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153802000 -->
| Q212280 <!-- Buluan, Maguindanao --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153803000 -->
| Q726993 <!-- Cotabato --> = 37 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/129804000 -->
| Q212310 <!-- Datu Abdullah Sangki, Maguindanao --> = 10 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153828000 -->
| Q212336 <!-- Datu Anggal Midtimbang, Maguindanao --> = 7 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153831000 -->
| Q212366 <!-- Datu Blah T. Sinsuat, Maguindanao --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153830000 -->
| Q212389 <!-- Datu Hoffer Ampatuan, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153835000 -->
| Q212411 <!-- Datu Montawal, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153822000 -->
| Q212432 <!-- Datu Odin Sinsuat, Maguindanao --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153807000 -->
| Q212463 <!-- Datu Paglas, Maguindanao --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153805000 -->
| Q212488 <!-- Datu Piang, Maguindanao --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153806000 -->
| Q212503 <!-- Datu Salibo, Maguindanao --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153836000 -->
| Q212519 <!-- Datu Saudi-Ampatuan, Maguindanao --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153826000 -->
| Q212537 <!-- Datu Unsay, Maguindanao --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153827000 -->
| Q212557 <!-- General Salipada K. Pendatun, Maguindanao --> = 19 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153819000 -->
| Q212581 <!-- Guindulungan, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153825000 -->
| Q212603 <!-- Kabuntalan, Maguindanao --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153814000 -->
| Q212623 <!-- Mamasapano, Maguindanao --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153820000 -->
| Q212644 <!-- Mangudadatu, Maguindanao --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153820000 -->
| Q212662 <!-- Matanog, Maguindanao --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153809000 -->
| Q212684 <!-- Northern Kabuntalan, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153834000 -->
| Q212707 <!-- Pagalungan, Maguindanao --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153810000 -->
| Q122827 <!-- Paglat, Maguindanao --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153823000 -->
| Q212735 <!-- Pandag, Maguindanao --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153833000 -->
| Q212748 <!-- Parang, Maguindanao --> = 25 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153811000 -->
| Q212759 <!-- Rajah Buayan, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153829000 -->
| Q212766 <!-- Shariff Aguak, Maguindanao --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153808000 -->
| Q212778 <!-- Shariff Saydona Mustapha, Maguindanao --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153837000 -->
| Q212784 <!-- South Upi, Maguindanao --> = 11 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153817000 -->
| Q212791 <!-- Sultan Kudarat, Maguindanao --> = 39 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153812000 -->
| Q212802 <!-- Sultan Mastura, Maguindanao --> = 13 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153824000 -->
| Q212808 <!-- Sultan sa Barongis, Maguindanao --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153813000 -->
| Q212830 <!-- Sultan Sumagka, Maguindanao --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153821000 -->
| Q212823 <!-- Talayan, Maguindanao --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153816000 -->
| Q212843 <!-- Upi, Maguindanao --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/153815000 -->
| Q155970 <!-- Banguingui, Sulu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156615000 -->
| Q155983 <!-- Hadji Panglima Tahil, Sulu --> = 5 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156606000 -->
| Q156008 <!-- Indanan, Sulu --> = 34 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156601000 -->
| Q156024 <!-- Jolo, Sulu --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156602000 -->
| Q156042 <!-- Kalingalan Caluang, Sulu --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156603000 -->
| Q156055 <!-- Lugus, Sulu --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156617000 -->
| Q156071 <!-- Luuk, Sulu --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156604000 -->
| Q156090 <!-- Maimbung, Sulu --> = 27 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156605000 -->
| Q156107 <!-- Old Panamao, Sulu --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156607000 -->
| Q156126 <!-- Omar, Sulu --> = 8 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156619000 -->
| Q156159 <!-- Pandami, Sulu --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156618000 -->
| Q156180 <!-- Panglima Estino, Sulu --> = 12 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156616000 -->
| Q156195 <!-- Pangutaran, Sulu --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156608000 -->
| Q156208 <!-- Parang, Sulu --> = 40 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156609000 -->
| Q156225 <!-- Pata, Sulu --> = 14 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156610000 -->
| Q156244 <!-- Patikul, Sulu --> = 30 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156611000 -->
| Q156263 <!-- Siasi, Sulu --> = 50 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156612000 -->
| Q156285 <!-- Talipao, Sulu --> = 52 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156613000 -->
| Q156302 <!-- Tapul, Sulu --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/156614000 -->
| Q155195 <!-- Bongao, Tawi-Tawi --> = 35 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157002000 -->
| Q155221 <!-- Languyan, Tawi-Tawi --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157009000 -->
| Q155241 <!-- Mapun, Tawi-Tawi --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157003000 -->
| Q155259 <!-- Panglima Sugala, Tawi-Tawi --> = 17 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157001000 -->
| Q155274 <!-- Sapa-Sapa, Tawi-Tawi --> = 23 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157010000 -->
| Q155288 <!-- Sibutu, Tawi-Tawi --> = 16 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157011000 -->
| Q155318 <!-- Simunul, Tawi-Tawi --> = 15 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157004000 -->
| Q155334 <!-- Sitangkai, Tawi-Tawi --> = 9 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157005000 -->
| Q155355 <!-- South Ubian, Tawi-Tawi --> = 31 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157006000 -->
| Q155377 <!-- Tandubas, Tawi-Tawi --> = 20 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157007000 -->
| Q155396 <!-- Turtle Islands, Tawi-Tawi --> = 2 <!-- Source: https://psa.gov.ph/classification/psgc/?q=psgc/barangays/157008000 -->
{{{1|}}} {{main other|[[Category:Philippine articles requiring maintenance]]}}
}}
<noinclude>{{pp-template}}[[Category:Philippines templates]]</noinclude>
91fxqqqv0l4j1elxgylhb0v0khpyl93
Template:PH wikidata/balance sheet item
10
7157
70340
2026-04-25T03:33:51Z
Exec8
6243
Pájina foun: '<includeonly>{{safesubst:#switch:{{{1|}}} | #default = <span class{{=}}"error">[[Template:PH wikidata]] called with unsupported balance sheet item "{{{1}}}"</span> | revenue | assets | liabilities | expenditure = ₱{{hsp}}{{safesubst:#invoke:WikidataIB |getValue |{{safesubst:#switch:{{{1|}}}|revenue=P3087 |assets=P2403 |liabilities=P2138 |expenditure=P2402 }} ||fwd=ALL |rank=b |osd=no |noicon=true |scale=6 |su=false |qual=P585 |qdf=y }} | revenue_point_in_time | assets_po...'
70340
wikitext
text/x-wiki
<includeonly>{{safesubst:#switch:{{{1|}}}
| #default = <span class{{=}}"error">[[Template:PH wikidata]] called with unsupported balance sheet item "{{{1}}}"</span>
| revenue | assets | liabilities | expenditure =
₱{{hsp}}{{safesubst:#invoke:WikidataIB |getValue |{{safesubst:#switch:{{{1|}}}|revenue=P3087 |assets=P2403 |liabilities=P2138 |expenditure=P2402 }} ||fwd=ALL |rank=b |osd=no |noicon=true |scale=6 |su=false |qual=P585 |qdf=y }}
| revenue_point_in_time | assets_point_in_time | liabilities_point_in_time | expenditure_point_in_time =
}}</includeonly><noinclude>
{{documentation}}</noinclude>
3mrc2i8azd5q26ajsfu4nl5pgyd676z
Template:Sem imagem
10
7158
70341
2026-04-25T03:34:25Z
Exec8
6243
Pájina foun: '<includeonly>{{#ifeq:{{NAMESPACE}}|Discussão|{{tmbox |imagem=[[Imagem:Camera-photo.svg|50px]] |tipo=estilo |texto=Pede-se que uma '''imagem''' ou '''fotografia''' sobre "'''{{PAGENAME}}'''" seja [[Ajuda:Como carregar ficheiros no Commons|incluída]] neste artigo para [[Wikipedia:Guia para melhorar artigos|melhorar a sua qualidade]]<br> <small>A [http://toolserver.org/~magnus/fist.php?doit=1&language=pt&project=wikipedia&data={{urlencode:{{PAGENAME}}}}&datatype=articles¶...'
70341
wikitext
text/x-wiki
<includeonly>{{#ifeq:{{NAMESPACE}}|Discussão|{{tmbox
|imagem=[[Imagem:Camera-photo.svg|50px]]
|tipo=estilo
|texto=Pede-se que uma '''imagem''' ou '''fotografia''' sobre "'''{{PAGENAME}}'''" seja [[Ajuda:Como carregar ficheiros no Commons|incluída]] neste artigo para [[Wikipedia:Guia para melhorar artigos|melhorar a sua qualidade]]<br>
<small>A [http://toolserver.org/~magnus/fist.php?doit=1&language=pt&project=wikipedia&data={{urlencode:{{PAGENAME}}}}&datatype=articles¶ms%5Bcatdepth%5D=3¶ms%5Brandom%5D=50¶ms%5Bll_max%5D=5¶ms%5Bfree_only%5D=1¶ms%5Bcommons_max%5D=5¶ms%5Bflickr_max%5D=5¶ms%5Binclude_flickr_id%5D=1¶ms%5Bflickr_new_name_from_article%5D=1¶ms%5Bwts_max%5D=5¶ms%5Bgimp_max%5D=5¶ms%5Besp_max%5D=5¶ms%5Besp_skip_flickr%5D=1¶ms%5Bgeograph_max%5D=5¶ms%5Bforarticles%5D=noimage¶ms%5Blessthan_images%5D=3¶ms%5Bdefault_thumbnail_size%5D=250¶ms%5Bjpeg%5D=1¶ms%5Bpng%5D=1¶ms%5Bgif%5D=1¶ms%5Bsvg%5D=1¶ms%5Bmin_width%5D=80¶ms%5Bmin_height%5D=80&sources%5Blanguagelinks%5D=1&sources%5Bcommons%5D=1&sources%5Bflickr%5D=1 ferramenta de pesquisa de imagens livres] pode ser capaz de localizar imagens no [[Flickr]] ou em outros sítios.</small>
}}}}<!--
-->{{FIST}}{{
#if: {{{cat|}}} |[[Categoria:!Artigos {{{cat|}}} sem imagens]]}}{{#invoke:manutenção|categorizar|sem imagens}}</includeonly><noinclude>
{{Documentação}}
</noinclude>
pqs7f3lrkj53tr0x5dza1v4noj3pspq
Template:URL
10
7159
70342
2026-04-25T03:34:43Z
Exec8
6243
Pájina foun: '{{#if: {{{1|}}} |{{#invoke:URL|url|1={{{1|}}}|2={{{2|}}}}}}}{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Categoria:!Páginas usando URL com parâmetros desconhecidos|_VALUE_{{PAGENAME}}]]}}|preview=Página que usa [[Predefinição:URL]] com parâmetro desconhecido "_VALUE_"|ignoreblank=1|1}}<noinclude> {{Documentação}} </noinclude>'
70342
wikitext
text/x-wiki
{{#if: {{{1|}}}
|{{#invoke:URL|url|1={{{1|}}}|2={{{2|}}}}}}}{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Categoria:!Páginas usando URL com parâmetros desconhecidos|_VALUE_{{PAGENAME}}]]}}|preview=Página que usa [[Predefinição:URL]] com parâmetro desconhecido "_VALUE_"|ignoreblank=1|1}}<noinclude>
{{Documentação}}
</noinclude>
qg576pj8d8qf6ajthf54zoly3s0avfh
Template:Wikidata image
10
7160
70343
2026-04-25T03:35:01Z
Exec8
6243
Pájina foun: '{{#if:{{NAMESPACE}}|| {{#if:{{{1|}}} | {{#if:{{#property:P18}} | {{#ifeq:{{filepath:{{{1|}}} }}|{{filepath:{{#property:P18}} }} | [[Categoria:!Imagem local idêntica à do Wikidata]] | [[Categoria:!Imagem local diferente da no Wikidata]] }} | {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}} | | [[Categoria:!Artigos com imagem local porém sem imagem no Wikidata]] }} }} | {{...'
70343
wikitext
text/x-wiki
{{#if:{{NAMESPACE}}||
{{#if:{{{1|}}}
| {{#if:{{#property:P18}}
| {{#ifeq:{{filepath:{{{1|}}} }}|{{filepath:{{#property:P18}} }}
| [[Categoria:!Imagem local idêntica à do Wikidata]]
| [[Categoria:!Imagem local diferente da no Wikidata]]
}}
| {{#if:{{#property:P41}}{{#property:P94}}{{#property:P117}}{{#property:P154}}{{#property:P242}}
|
| [[Categoria:!Artigos com imagem local porém sem imagem no Wikidata]]
}}
}}
| {{#if:{{#property:P18}}
| {{#if:{{{2|}}}
|
| [[Categoria:!Artigos sem imagem porém com imagem no Wikidata {{#if: {{{sufixo_catimg1|}}} |({{{sufixo_catimg1|}}}) }}]]
}}
| [[Categoria:!Artigos sem imagem tanto localmente quanto no Wikidata]]
}}
}}
}}<noinclude>
{{documentação}}
[[Categoria:!Wikidata]]
</noinclude>
7z74cglawwd993ln6g5y9ddr0pt4sr6
Módulo:Check for clobbered parameters
828
7161
70344
2026-04-25T03:35:20Z
Exec8
6243
Pájina foun: 'local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end function p.check(frame) local args = frame.args local pargs = frame:getParent().args local checknested = isnotempty(args['nested']) local delimiter = isnotempty(args['delimiter']) and args['delimiter'] or ';' local argpairs = {} for k, v in pairs(args) do if type(k) == 'number' then local plist = mw.text.split(v, delimiter) l...'
70344
Scribunto
text/plain
local p = {}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
local checknested = isnotempty(args['nested'])
local delimiter = isnotempty(args['delimiter']) and args['delimiter'] or ';'
local argpairs = {}
for k, v in pairs(args) do
if type(k) == 'number' then
local plist = mw.text.split(v, delimiter)
local pfound = {}
local count = 0
for ii, vv in ipairs(plist) do
vv = trim(vv)
if checknested and pargs[vv] or isnotempty(pargs[vv]) then
count = count + 1
table.insert(pfound, vv)
end
end
if count > 1 then
table.insert(argpairs, pfound)
end
end
end
local warnmsg = {}
local res = ''
local cat = ''
if args['cat'] and mw.ustring.match(args['cat'],'^[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]:') then
cat = args['cat']
end
local template = args['template'] and ' in ' .. args['template'] or ''
if #argpairs > 0 then
for i, v in ipairs( argpairs ) do
table.insert(
warnmsg,
mw.ustring.format(
'Usando mais de um dos seguintes parâmetros%s: <code>%s</code>.',
template,
table.concat(v, '</code>, <code>')
)
)
if cat ~= '' then
res = res .. '[[' .. cat .. '|' .. (v[1] == '' and ' ' or '') .. v[1] .. ']]'
end
end
end
if #warnmsg > 0 then
res = require('Módulo:If preview')._warning({
table.concat(warnmsg, '<br>')
}) .. res
end
return res
end
return p
fr3irg93vl4tenutwuwj3nwpz71l89r
Módulo:If preview
828
7162
70345
2026-04-25T03:35:40Z
Exec8
6243
Pájina foun: 'local p = {} local getArgs = require("Módulo:Arguments").getArgs local yn = require("Módulo:Yesno") local cfg = mw.loadData('Módulo:If preview/configuration') --[[ main Esta função retorna o primeiro argumento ou o segundo argumento passado para este módulo, dependendo se a página estiver sendo pré-visualizada. ]] function p.main(frame) local args = getArgs(frame) if cfg.preview then return args[1] or '' else return args[2] or '' end end --[[ pmain Esta...'
70345
Scribunto
text/plain
local p = {}
local getArgs = require("Módulo:Arguments").getArgs
local yn = require("Módulo:Yesno")
local cfg = mw.loadData('Módulo:If preview/configuration')
--[[
main
Esta função retorna o primeiro argumento ou o segundo argumento passado para
este módulo, dependendo se a página estiver sendo pré-visualizada.
]]
function p.main(frame)
local args = getArgs(frame)
if cfg.preview then
return args[1] or ''
else
return args[2] or ''
end
end
--[[
pmain
Esta função retorna o primeiro argumento ou o segundo argumento passado para a parental deste módulo (ou seja, a predefinição usando este módulo), dependendo se
estiver sendo pré-visualizada.
]]
function p.pmain(frame)
return p.main(frame:getParent())
end
local function warning_text(warning)
return mw.ustring.format(
cfg.warning_infrastructure,
cfg.templatestyles,
warning
)
end
function p._warning(args)
local warning = args[1] and args[1]:match('^%s*(.-)%s*$') or ''
if warning == '' then
return warning_text(cfg.missing_warning)
end
if not cfg.preview then return '' end
if yn(args['consolewarning']) then mw.addWarning(args[1] or cfg.missing_warning) end
return warning_text(warning)
end
--[[
Aviso
Esta função retorna um "aviso de pré-visualização", que é o primeiro argumento marcado
com 'HTML' e algum texto de suporte, dependendo se a página estiver sendo pré-visualizada.
]]
-- function p.warning(frame)
-- mw.addWarning(frame.args[1] or cfg.missing_warning)
-- return p._warning(frame.args)
-- end
--[[
Aviso, mas para predefinições de passagem como a {{Preview warning}}
]]
function p.pwarning(frame)
local args = getArgs(frame)
return p._warning(args)
end
--[[
Tanto 'mw.addWarning' quanto 'preview warning'
]]
function p.warn(text)
if text == nil or text == "" then return "" end
mw.addWarning(text)
return p._warning({text})
end
--[[
Aviso do console
]]
function p.consoleWarning(frame)
local args = getArgs(frame)
mw.addWarning(args[1] or cfg.missing_warning)
return ''
end
return p
d1jfu88gq18g0vfcvaxzy7f0rs4e4an
Módulo:String2
828
7163
70346
2026-04-25T03:35:58Z
Exec8
6243
Pájina foun: 'require ('strict'); local p = {} p.trim = function(frame) return mw.text.trim(frame.args[1] or "") end p.sentence = function (frame) -- {{lc:}} is strip-marker safe, string.lower is not. frame.args[1] = frame:callParserFunction('lc', frame.args[1]) return p.ucfirst(frame) end p.ucfirst = function (frame) local s = frame.args[1]; if not s or '' == s or s:match ('^%s+$') then -- when <s> is nil, empty, or only whitespace return s; -- abandon be...'
70346
Scribunto
text/plain
require ('strict');
local p = {}
p.trim = function(frame)
return mw.text.trim(frame.args[1] or "")
end
p.sentence = function (frame)
-- {{lc:}} is strip-marker safe, string.lower is not.
frame.args[1] = frame:callParserFunction('lc', frame.args[1])
return p.ucfirst(frame)
end
p.ucfirst = function (frame)
local s = frame.args[1];
if not s or '' == s or s:match ('^%s+$') then -- when <s> is nil, empty, or only whitespace
return s; -- abandon because nothing to do
end
s = mw.text.trim( frame.args[1] or "" )
local s1 = ""
local prefix_patterns_t = { -- sequence of prefix patterns
'^\127[^\127]*UNIQ%-%-%a+%-%x+%-QINU[^\127]*\127', -- stripmarker
'^([%*;:#]+)', -- various list markup
'^(\'\'\'*)', -- bold / italic markup
'^(%b<>)', -- html-like tags because some templates render these
'^(&%a+;)', -- html character entities because some templates render these
'^(&#%d+;)', -- html numeric (decimal) entities because some templates render these
'^(&#x%x+;)', -- html numeric (hexadecimal) entities because some templates render these
'^(%s+)', -- any whitespace characters
'^([%(%)%-%+%?%.%%!~!@%$%^&_={}/`,‘’„“”ʻ|\"\'\\]+)', -- miscellaneous punctuation
}
local prefixes_t = {}; -- list, bold/italic, and html-like markup, & whitespace saved here
local function prefix_strip (s) -- local function to strip prefixes from <s>
for _, pattern in ipairs (prefix_patterns_t) do -- spin through <prefix_patterns_t>
if s:match (pattern) then -- when there is a match
local prefix = s:match (pattern); -- get a copy of the matched prefix
table.insert (prefixes_t, prefix); -- save it
s = s:sub (prefix:len() + 1); -- remove the prefix from <s>
return s, true; -- return <s> without prefix and flag; force restart at top of sequence because misc punct removal can break stripmarker
end
end
return s; -- no prefix found; return <s> with nil flag
end
local prefix_removed; -- flag; boolean true as long as prefix_strip() finds and removes a prefix
repeat -- one by one remove list, bold/italic, html-like markup, whitespace, etc from start of <s>
s, prefix_removed = prefix_strip (s);
until (not prefix_removed); -- until <prefix_removed> is nil
s1 = table.concat (prefixes_t); -- recreate the prefix string for later reattachment
local first_text = mw.ustring.match (s, '^%[%[[^%]]+%]%]'); -- extract wikilink at start of string if present; TODO: this can be string.match()?
local upcased;
if first_text then
if first_text:match ('^%[%[[^|]+|[^%]]+%]%]') then -- if <first_text> is a piped link
upcased = mw.ustring.match (s, '^%[%[[^|]+|%W*(%w)'); -- get first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^(%[%[[^|]+|%W*)%w', '%1' .. upcased); -- replace
else -- here when <first_text> is a wikilink but not a piped link
upcased = mw.ustring.match (s, '^%[%[%W*%w'); -- get '[[' and first letter
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^%[%[%W*%w', upcased); -- replace; no capture needed here
end
elseif s:match ('^%[%S+%s+[^%]]+%]') then -- if <s> is a ext link of some sort; must have label text
upcased = mw.ustring.match (s, '^%[%S+%s+%W*(%w)'); -- get first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^(%[%S+%s+%W*)%w', '%1' .. upcased); -- replace
elseif s:match ('^%[%S+%s*%]') then -- if <s> is a ext link without label text; nothing to do
return s1 .. s; -- reattach prefix string (if present) and done
else -- <s> is not a wikilink or ext link; assume plain text
upcased = mw.ustring.match (s, '^%W*%w'); -- get the first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^%W*%w', upcased); -- replace; no capture needed here
end
return s1 .. s; -- reattach prefix string (if present) and done
end
p.title = function (frame)
-- http://grammar.yourdictionary.com/capitalization/rules-for-capitalization-in-titles.html
-- recommended by The U.S. Government Printing Office Style Manual:
-- "Capitalize all words in titles of publications and documents,
-- except a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor."
local alwayslower = {['a'] = 1, ['an'] = 1, ['the'] = 1,
['and'] = 1, ['but'] = 1, ['or'] = 1, ['for'] = 1,
['nor'] = 1, ['on'] = 1, ['in'] = 1, ['at'] = 1, ['to'] = 1,
['from'] = 1, ['by'] = 1, ['of'] = 1, ['up'] = 1 }
local res = ''
local s = mw.text.trim( frame.args[1] or "" )
local words = mw.text.split( s, " ")
for i, s in ipairs(words) do
-- {{lc:}} is strip-marker safe, string.lower is not.
s = frame:callParserFunction('lc', s)
if i == 1 or alwayslower[s] ~= 1 then
s = mw.getContentLanguage():ucfirst(s)
end
words[i] = s
end
return table.concat(words, " ")
end
-- findlast finds the last item in a list
-- the first unnamed parameter is the list
-- the second, optional unnamed parameter is the list separator (default = comma space)
-- returns the whole list if separator not found
p.findlast = function(frame)
local s = mw.text.trim( frame.args[1] or "" )
local sep = frame.args[2] or ""
if sep == "" then sep = ", " end
local pattern = ".*" .. sep .. "(.*)"
local a, b, last = s:find(pattern)
if a then
return last
else
return s
end
end
-- stripZeros finds the first number and strips leading zeros (apart from units)
-- e.g "0940" -> "940"; "Year: 0023" -> "Year: 23"; "00.12" -> "0.12"
p.stripZeros = function(frame)
local s = mw.text.trim(frame.args[1] or "")
local n = tonumber( string.match( s, "%d+" ) ) or ""
s = string.gsub( s, "%d+", n, 1 )
return s
end
-- nowiki ensures that a string of text is treated by the MediaWiki software as just a string
-- it takes an unnamed parameter and trims whitespace, then removes any wikicode
p.nowiki = function(frame)
local str = mw.text.trim(frame.args[1] or "")
return mw.text.nowiki(str)
end
-- split splits text at boundaries specified by separator
-- and returns the chunk for the index idx (starting at 1)
-- #invoke:String2 |split |text |separator |index |true/false
-- #invoke:String2 |split |txt=text |sep=separator |idx=index |plain=true/false
-- if plain is false/no/0 then separator is treated as a Lua pattern - defaults to plain=true
p.split = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = args[1] or args.txt or ""
if txt == "" then return nil end
local sep = (args[2] or args.sep or ""):gsub('"', '')
local idx = tonumber(args[3] or args.idx) or 1
local plain = (args[4] or args.plain or "true"):sub(1,1)
plain = (plain ~= "f" and plain ~= "n" and plain ~= "0")
local splittbl = mw.text.split( txt, sep, plain )
if idx < 0 then idx = #splittbl + idx + 1 end
return splittbl[idx]
end
-- val2percent scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each number it finds into a percentage and returns the resultant string.
p.val2percent = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
local function v2p (x)
x = (tonumber(x) or 0) * 100
if x == math.floor(x) then x = math.floor(x) end
return x .. "%"
end
txt = txt:gsub("%d[%d%.]*", v2p) -- store just the string
return txt
end
-- one2a scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each occurrence of 'one ' into either 'a ' or 'an ' and returns the resultant string.
p.one2a = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
txt = txt:gsub(" one ", " a "):gsub("^one", "a"):gsub("One ", "A "):gsub("a ([aeiou])", "an %1"):gsub("A ([aeiou])", "An %1")
return txt
end
-- findpagetext returns the position of a piece of text in a page
-- First positional parameter or |text is the search text
-- Optional parameter |title is the page title, defaults to current page
-- Optional parameter |plain is either true for plain search (default) or false for Lua pattern search
-- Optional parameter |nomatch is the return value when no match is found; default is nil
p._findpagetext = function(args)
-- process parameters
local nomatch = args.nomatch or ""
if nomatch == "" then nomatch = nil end
--
local text = mw.text.trim(args[1] or args.text or "")
if text == "" then return nil end
--
local title = args.title or ""
local titleobj
if title == "" then
titleobj = mw.title.getCurrentTitle()
else
titleobj = mw.title.new(title)
end
--
local plain = args.plain or ""
if plain:sub(1, 1) == "f" then plain = false else plain = true end
-- get the page content and look for 'text' - return position or nomatch
local content = titleobj and titleobj:getContent()
return content and mw.ustring.find(content, text, 1, plain) or nomatch
end
p.findpagetext = function(frame)
local args = frame.args
local pargs = frame:getParent().args
for k, v in pairs(pargs) do
args[k] = v
end
if not (args[1] or args.text) then return nil end
-- just the first value
return (p._findpagetext(args))
end
-- returns the decoded url. Inverse of parser function {{urlencode:val|TYPE}}
-- Type is:
-- QUERY decodes + to space (default)
-- PATH does no extra decoding
-- WIKI decodes _ to space
p._urldecode = function(url, type)
url = url or ""
type = (type == "PATH" or type == "WIKI") and type
return mw.uri.decode( url, type )
end
-- {{#invoke:String2|urldecode|url=url|type=type}}
p.urldecode = function(frame)
return mw.uri.decode( frame.args.url, frame.args.type )
end
-- what follows was merged from Module:StringFunc
-- helper functions
p._GetParameters = require('Module:GetParameters')
-- Argument list helper function, as per Module:String
p._getParameters = p._GetParameters.getParameters
-- Escape Pattern helper function so that all characters are treated as plain text, as per Module:String
function p._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
-- Helper Function to interpret boolean strings, as per Module:String
p._getBoolean = p._GetParameters.getBoolean
--[[
Strip
This function Strips characters from string
Usage:
{{#invoke:String2|strip|source_string|characters_to_strip|plain_flag}}
Parameters
source: The string to strip
chars: The pattern or list of characters to strip from string, replaced with ''
plain: A flag indicating that the chars should be understood as plain text. defaults to true.
Leading and trailing whitespace is also automatically stripped from the string.
]]
function p.strip( frame )
local new_args = p._getParameters( frame.args, {'source', 'chars', 'plain'} )
local source_str = new_args['source'] or ''
local chars = new_args['chars'] or '' or 'characters'
source_str = mw.text.trim(source_str)
if source_str == '' or chars == '' then
return source_str
end
local l_plain = p._getBoolean( new_args['plain'] or true )
if l_plain then
chars = p._escapePattern( chars )
end
local result
result = mw.ustring.gsub(source_str, "["..chars.."]", '')
return result
end
--[[
Match any
Returns the index of the first given pattern to match the input. Patterns must be consecutively numbered.
Returns the empty string if nothing matches for use in {{#if:}}
Usage:
{{#invoke:String2|matchAll|source=123 abc|456|abc}} returns '2'.
Parameters:
source: the string to search
plain: A flag indicating that the patterns should be understood as plain text. defaults to true.
1, 2, 3, ...: the patterns to search for
]]
function p.matchAny(frame)
local source_str = frame.args['source'] or error('The source parameter is mandatory.')
local l_plain = p._getBoolean( frame.args['plain'] or true )
for i = 1, math.huge do
local pattern = frame.args[i]
if not pattern then return '' end
if mw.ustring.find(source_str, pattern, 1, l_plain) then
return tostring(i)
end
end
end
--[[--------------------------< H Y P H E N _ T O _ D A S H >--------------------------------------------------
Converts a hyphen to a dash under certain conditions. The hyphen must separate
like items; unlike items are returned unmodified. These forms are modified:
letter - letter (A - B)
digit - digit (4-5)
digit separator digit - digit separator digit (4.1-4.5 or 4-1-4-5)
letterdigit - letterdigit (A1-A5) (an optional separator between letter and
digit is supported – a.1-a.5 or a-1-a-5)
digitletter - digitletter (5a - 5d) (an optional separator between letter and
digit is supported – 5.a-5.d or 5-a-5-d)
any other forms are returned unmodified.
str may be a comma- or semicolon-separated list
]]
function p.hyphen_to_dash( str, spacing )
if (str == nil or str == '') then
return str
end
local accept
str = mw.text.decode(str, true ) -- replace html entities with their characters; semicolon mucks up the text.split
local out = {}
local list = mw.text.split (str, '%s*[,;]%s*') -- split str at comma or semicolon separators if there are any
for _, item in ipairs (list) do -- for each item in the list
item = mw.text.trim(item) -- trim whitespace
item, accept = item:gsub ('^%(%((.+)%)%)$', '%1')
if accept == 0 and mw.ustring.match (item, '^%w*[%.%-]?%w+%s*[%-–—]%s*%w*[%.%-]?%w+$') then -- if a hyphenated range or has endash or emdash separators
if item:match ('^%a+[%.%-]?%d+%s*%-%s*%a+[%.%-]?%d+$') or -- letterdigit hyphen letterdigit (optional separator between letter and digit)
item:match ('^%d+[%.%-]?%a+%s*%-%s*%d+[%.%-]?%a+$') or -- digitletter hyphen digitletter (optional separator between digit and letter)
item:match ('^%d+[%.%-]%d+%s*%-%s*%d+[%.%-]%d+$') or -- digit separator digit hyphen digit separator digit
item:match ('^%d+%s*%-%s*%d+$') or -- digit hyphen digit
item:match ('^%a+%s*%-%s*%a+$') then -- letter hyphen letter
item = item:gsub ('(%w*[%.%-]?%w+)%s*%-%s*(%w*[%.%-]?%w+)', '%1–%2') -- replace hyphen, remove extraneous space characters
else
item = mw.ustring.gsub (item, '%s*[–—]%s*', '–') -- for endash or emdash separated ranges, replace em with en, remove extraneous whitespace
end
end
table.insert (out, item) -- add the (possibly modified) item to the output table
end
local temp_str = table.concat (out, ',' .. spacing) -- concatenate the output table into a comma separated string
temp_str, accept = temp_str:gsub ('^%(%((.+)%)%)$', '%1') -- remove accept-this-as-written markup when it wraps all of concatenated out
if accept ~= 0 then
temp_str = str:gsub ('^%(%((.+)%)%)$', '%1') -- when global markup removed, return original str; do it this way to suppress boolean second return value
end
return temp_str
end
function p.hyphen2dash( frame )
local str = frame.args[1] or ''
local spacing = frame.args[2] or ' ' -- space is part of the standard separator for normal spacing (but in conjunction with templates r/rp/ran we may need a narrower spacing
return p.hyphen_to_dash(str, spacing)
end
-- Similar to [[Module:String#endswith]]
function p.startswith(frame)
return (frame.args[1]:sub(1, frame.args[2]:len()) == frame.args[2]) and 'yes' or ''
end
-- Implements [[Template:Isnumeric]]
function p.isnumeric(frame)
local s = frame.args[1] or frame:getParent().args[1]
local boolean = (frame.args.boolean or frame:getParent().args.boolean) == 'true'
if type(s) == 'string' and mw.getContentLanguage():parseFormattedNumber( s ) then
return boolean and 1 or s
end
return boolean and 0 or ''
end
-- Checks if a value in a group of numbers is not an interger.
-- Allows usage of an |empty= parameter to allow empty values to be skipped.
function p.isInteger(frame)
local values = frame.args or frame:getParent().args
local allow_empty = frame.args.empty or frame:getParent().args.empty
for _, value in ipairs(values) do
-- Trim spaces
value = value and value:gsub("^%s*(.-)%s*$", "%1")
if value == "" or value == nil then
if not allow_empty then
return false -- Empty values are not allowed
end
else
value = tonumber(value)
if not (type(value) == "number" and value == math.floor(value)) then
return false
end
end
end
return true
end
-- Returns an error found in a string.
function p.getError(frame)
local text = frame.args[1] or frame:getParent().args[1]
local error_message = text:match('(<strong class="error">.-</strong>)')
return error_message or nil
end
return p
8jl034otxz47vwg2szaa5x536gkylpd
Módulo:WikidataIB
828
7164
70347
2026-04-25T03:36:19Z
Exec8
6243
Pájina foun: '-- Version: 2021-02-06 -- Module to implement use of a blacklist and whitelist for infobox fields -- Can take a named parameter |qid which is the Wikidata ID for the article -- if not supplied, it will use the Wikidata ID associated with the current page. -- Fields in blacklist are never to be displayed, i.e. module must return nil in all circumstances -- Fields in whitelist return local value if it exists or the Wikidata value otherwise -- The name of the field that this fu...'
70347
Scribunto
text/plain
-- Version: 2021-02-06
-- Module to implement use of a blacklist and whitelist for infobox fields
-- Can take a named parameter |qid which is the Wikidata ID for the article
-- if not supplied, it will use the Wikidata ID associated with the current page.
-- Fields in blacklist are never to be displayed, i.e. module must return nil in all circumstances
-- Fields in whitelist return local value if it exists or the Wikidata value otherwise
-- The name of the field that this function is called from is passed in named parameter |name
-- The name is compulsory when blacklist or whitelist is used,
-- so the module returns nil if it is not supplied.
-- blacklist is passed in named parameter |suppressfields (or |spf)
-- whitelist is passed in named parameter |fetchwikidata (or |fwd)
local p = {}
local cdate -- initialise as nil and only load _complex_date function if needed
-- Module:Complex date is loaded lazily and has the following dependencies:
-- Module:Calendar
-- Module:ISOdate
-- Module:DateI18n
-- Module:No globals
-- Module:I18n/complex date
-- Module:Ordinal
-- Module:I18n/ordinal
-- Module:Yesno
-- Module:Formatnum
-- Module:Linguistic
--
-- The following, taken from https://www.mediawiki.org/wiki/Wikibase/DataModel#Dates_and_times,
-- is needed to use Module:Complex date which seemingly requires date precision as a string.
-- It would work better if only the authors of the mediawiki page could spell 'millennium'.
local dp = {
[6] = "millennium",
[7] = "century",
[8] = "decade",
[9] = "year",
[10] = "month",
[11] = "day",
}
local i18n =
{
["errors"] =
{
["property-not-found"] = "Propriedade não encontrada.",
["entity-not-found"] = "Entidade Wikidata desconhecida.",
["unknown-claim-type"] = "Tipo claim com valor desconhecido.",
["unknown-entity-type"] = "Tipo entity com valor desconhecido.",
["qualifier-not-found"] = "Qualificador não encontrado.",
["site-not-found"] = "Projeto Wikimedia não encontrado.",
["unknown-datetime-format"] = "Formato datatempo desconhecido.",
["labels-not-found"] = "Etiqueta não econtrada.",
["descriptions-not-found"] = "Descrição não encontrada.",
["aliases-not-found"] = "Alias não encontrada.",
["dab-page"] = " (dab)",
},
["editenowikidata"] = "Edite no Wikidata",
["filespace"] = "Ficheiro",
["months"] =
{
"janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"
},
["century"] = "[[Século $1]]",
["BC"] = "a.C.",
["BCE"] = "a.C.",
["centurysemlink"] = "Século $1",
["decade"] = "[[Década de $1]]",
["decadesemlink"] = "década de $1",
["ordinal"] =
{
[1] = "st",
[2] = "nd",
[3] = "rd",
["default"] = "th"
},
["filespace"] = "File",
["Unknown"] = "Desconhecido",
["NaN"] = "NaN",
-- set the following to the name of a tracking category,
-- e.g. "[[Category:Articles with missing Wikidata information]]", or "" to disable:
["missinginfocat"] = "[[Categoria:!Páginas que utilizam dados do Wikidata para traduzir]]",
["editonwikidata"] = "Edit this on Wikidata",
["latestdatequalifier"] = function (date) return "before " .. date end,
-- some languages, e.g. Bosnian use a period as a suffix after each number in a date
["datenumbersuffix"] = "",
["list separator"] = ", ",
["multipliers"] = {
[0] = "",
[3] = " mil",
[6] = " milhão",
[9] = " bilhão",
[12] = " trilhão",
},
["month number"] =
{
[1] = "janeiro",
[2] = "fevereiro",
[3] = "março",
[4] = "abril",
[5] = "maio",
[6] = "junho",
[7] = "julho",
[8] = "agosto",
[9] = "setembro",
[10] = "outubro",
[11] = "novembro",
[12] = "dezembro"
},
}
-- This allows an internationisation module to override the above table
--if 'en' ~= mw.getContentLanguage():getCode() then
-- require("Module:I18n").loadI18n("Module:Wikidata/i18n", i18n)
--end
-- This piece of html implements a collapsible container. Check the classes exist on your wiki.
local collapsediv = '<div class="mw-collapsible mw-collapsed" style="width:100%; overflow:auto;" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">'
-- Some items should not be linked.
-- Each wiki can create a list of those in Module:WikidataIB/nolinks
-- It should return a table called itemsindex, containing true for each item not to be linked
local donotlink = {}
local nolinks_exists, nolinks = pcall(mw.loadData, "Module:WikidataIB/nolinks")
if nolinks_exists then
donotlink = nolinks.itemsindex
end
-- To satisfy Wikipedia:Manual of Style/Titles, certain types of items are italicised, and others are quoted.
-- The submodule [[Module:WikidataIB/titleformats]] lists the entity-ids used in 'instance of' (P31),
-- which allows this module to identify the values that should be formatted.
-- WikidataIB/titleformats exports a table p.formats, which is indexed by entity-id, and contains the value " or ''
local formats = {}
local titleformats_exists, titleformats = pcall(mw.loadData, "Module:WikidataIB/titleformats")
if titleformats_exists then
formats = titleformats.formats
end
-------------------------------------------------------------------------------
-- Private functions
-------------------------------------------------------------------------------
--
-------------------------------------------------------------------------------
-- makeOrdinal needs to be internationalised along with the above:
-- takes cardinal number as a numeric and returns the ordinal as a string
-- we need three exceptions in English for 1st, 2nd, 3rd, 21st, .. 31st, etc.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local makeOrdinal = function(cardinal)
local ordsuffix = i18n.ordinal.default
if cardinal % 10 == 1 then
ordsuffix = i18n.ordinal[1]
elseif cardinal % 10 == 2 then
ordsuffix = i18n.ordinal[2]
elseif cardinal % 10 == 3 then
ordsuffix = i18n.ordinal[3]
end
-- In English, 1, 21, 31, etc. use 'st', but 11, 111, etc. use 'th'
-- similarly for 12 and 13, etc.
if (cardinal % 100 == 11) or (cardinal % 100 == 12) or (cardinal % 100 == 13) then
ordsuffix = i18n.ordinal.default
end
return tostring(cardinal) .. ordsuffix
end
-------------------------------------------------------------------------------
-- findLang takes a "langcode" parameter if supplied and valid
-- otherwise it tries to create it from the user's set language ({{int:lang}})
-- failing that it uses the wiki's content language.
-- It returns a language object
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local findLang = function(langcode)
local langobj
langcode = mw.text.trim(langcode or "")
if mw.language.isKnownLanguageTag(langcode) then
langobj = mw.language.new( langcode )
else
langcode = mw.getCurrentFrame():preprocess( '{{int:lang}}' )
if mw.language.isKnownLanguageTag(langcode) then
langobj = mw.language.new( langcode )
else
langobj = mw.language.getContentLanguage()
end
end
return langobj
end
-------------------------------------------------------------------------------
-- _getItemLangCode takes a qid parameter (using the current page's qid if blank)
-- If the item for that qid has property country (P17) it looks at the first preferred value
-- If the country has an official language (P37), it looks at the first preferred value
-- If that official language has a language code (P424), it returns the first preferred value
-- Otherwise it returns nothing.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local _getItemLangCode = function(qid)
qid = mw.text.trim(qid or ""):upper()
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return end
local prop17 = mw.wikibase.getBestStatements(qid, "P17")[1]
if not prop17 or prop17.mainsnak.snaktype ~= "value" then return end
local qid17 = prop17.mainsnak.datavalue.value.id
local prop37 = mw.wikibase.getBestStatements(qid17, "P37")[1]
if not prop37 or prop37.mainsnak.snaktype ~= "value" then return end
local qid37 = prop37.mainsnak.datavalue.value.id
local prop424 = mw.wikibase.getBestStatements(qid37, "P424")[1]
if not prop424 or prop424.mainsnak.snaktype ~= "value" then return end
return prop424.mainsnak.datavalue.value
end
-------------------------------------------------------------------------------
-- roundto takes a number (x)
-- and returns it rounded to (sf) significant figures
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local roundto = function(x, sf)
if x == 0 then return 0 end
local s = 1
if x < 0 then
x = -x
s = -1
end
if sf < 1 then sf = 1 end
local p = 10 ^ (math.floor(math.log10(x)) - sf + 1)
x = math.floor(x / p + 0.5) * p * s
-- if it's integral, cast to an integer:
if x == math.floor(x) then x = math.floor(x) end
return x
end
-------------------------------------------------------------------------------
-- decimalToDMS takes a decimal degrees (x) with precision (p)
-- and returns degrees/minutes/seconds according to the precision
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local decimalToDMS = function(x, p)
-- if p is not supplied, use a precision around 0.1 seconds
if not tonumber(p) then p = 1e-4 end
local d = math.floor(x)
local ms = (x - d) * 60
if p > 0.5 then -- precision is > 1/2 a degree
if ms > 30 then d = d + 1 end
ms = 0
end
local m = math.floor(ms)
local s = (ms - m) * 60
if p > 0.008 then -- precision is > 1/2 a minute
if s > 30 then m = m +1 end
s = 0
elseif p > 0.00014 then -- precision is > 1/2 a second
s = math.floor(s + 0.5)
elseif p > 0.000014 then -- precision is > 1/20 second
s = math.floor(10 * s + 0.5) / 10
elseif p > 0.0000014 then -- precision is > 1/200 second
s = math.floor(100 * s + 0.5) / 100
else -- cap it at 3 dec places for now
s = math.floor(1000 * s + 0.5) / 1000
end
return d, m, s
end
-------------------------------------------------------------------------------
-- decimalPrecision takes a decimal (x) with precision (p)
-- and returns x rounded approximately to the given precision
-- precision should be between 1 and 1e-6, preferably a power of 10.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local decimalPrecision = function(x, p)
local s = 1
if x < 0 then
x = -x
s = -1
end
-- if p is not supplied, pick an arbitrary precision
if not tonumber(p) then p = 1e-4
elseif p > 1 then p = 1
elseif p < 1e-6 then p = 1e-6
else p = 10 ^ math.floor(math.log10(p))
end
x = math.floor(x / p + 0.5) * p * s
-- if it's integral, cast to an integer:
if x == math.floor(x) then x = math.floor(x) end
-- if it's less than 1e-4, it will be in exponent form, so return a string with 6dp
-- 9e-5 becomes 0.000090
if math.abs(x) < 1e-4 then x = string.format("%f", x) end
return x
end
-------------------------------------------------------------------------------
-- formatDate takes a datetime of the usual format from mw.wikibase.entity:formatPropertyValues
-- like "1 August 30 BCE" as parameter 1
-- and formats it according to the df (date format) and bc parameters
-- df = ["dmy" / "mdy" / "y"] default will be "dmy"
-- bc = ["BC" / "BCE"] default will be "BCE"
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local format_Date = function(datetime, dateformat, bc)
local datetime = datetime or "1 August 30 BCE" -- in case of nil value
-- chop off multiple vales and/or any hours, mins, etc.
-- keep anything before punctuation - we just want a single date:
local dateval = string.match( datetime, "[%w ]+")
local dateformat = string.lower(dateformat or "dmy") -- default to dmy
local bc = string.upper(bc or "") -- can't use nil for bc
-- we only want to accept two possibilities: BC or default to BCE
if bc == "BC" then
bc = " " .. i18n["BC"] -- prepend a non-breaking space.
else
bc = " " .. i18n["BCE"]
end
local postchrist = true -- start by assuming no BCE
local dateparts = {}
for word in string.gmatch(dateval, "%w+") do
if word == "BCE" or word == "BC" then -- *** internationalise later ***
postchrist = false
else
-- we'll keep the parts that are not 'BCE' in a table
dateparts[#dateparts + 1] = word
end
end
if postchrist then bc = "" end -- set AD dates to no suffix *** internationalise later ***
local sep = " " -- separator is nbsp
local fdate = table.concat(dateparts, sep) -- set formatted date to same order as input
-- if we have day month year, check dateformat
if #dateparts == 3 then
if dateformat == "y" then
fdate = dateparts[3]
elseif dateformat == "mdy" then
fdate = dateparts[2] .. sep .. dateparts[1] .. "," .. sep .. dateparts[3]
end
elseif #dateparts == 2 and dateformat == "y" then
fdate = dateparts[2]
end
return fdate .. bc
end
-------------------------------------------------------------------------------
-- dateFormat is the handler for properties that are of type "time"
-- It takes timestamp, precision (6 to 11 per mediawiki), dateformat (y/dmy/mdy), BC format (BC/BCE),
-- a plaindate switch (yes/no/adj) to en/disable "sourcing circumstances"/use adjectival form,
-- any qualifiers for the property, the language, and any adjective to use like 'before'.
-- It passes the date through the "complex date" function
-- and returns a string with the internatonalised date formatted according to preferences.
-------------------------------------------------------------------------------
-- Dependencies: findLang(); cdate(); dp[]
-------------------------------------------------------------------------------
local dateFormat = function(timestamp, dprec, df, bcf, pd, qualifiers, lang, adj, model)
-- output formatting according to preferences (y/dmy/mdy/ymd)
df = (df or ""):lower()
-- if ymd is required, return the part of the timestamp in YYYY-MM-DD form
-- but apply Year zero#Astronomers fix: 1 BC = 0000; 2 BC = -0001; etc.
if df == "ymd" then
if timestamp:sub(1,1) == "+" then
return timestamp:sub(2,11)
else
local yr = tonumber(timestamp:sub(2,5)) - 1
yr = ("000" .. yr):sub(-4)
if yr ~= "0000" then yr = "-" .. yr end
return yr .. timestamp:sub(6,11)
end
end
-- A year can be stored like this: "+1872-00-00T00:00:00Z",
-- which is processed here as if it were the day before "+1872-01-01T00:00:00Z",
-- and that's the last day of 1871, so the year is wrong.
-- So fix the month 0, day 0 timestamp to become 1 January instead:
timestamp = timestamp:gsub("%-00%-00T", "-01-01T")
-- just in case date precision is missing
dprec = dprec or 11
-- override more precise dates if required dateformat is year alone:
if df == "y" and dprec > 9 then dprec = 9 end
-- complex date only deals with precisions from 6 to 11, so clip range
dprec = dprec>11 and 11 or dprec
dprec = dprec<6 and 6 or dprec
-- BC format is "BC" or "BCE"
bcf = (bcf or ""):upper()
-- plaindate only needs the first letter (y/n/a)
pd = (pd or ""):sub(1,1):lower()
if pd == "" or pd == "n" or pd == "f" or pd == "0" then pd = false end
-- in case language isn't passed
lang = lang or findLang().code
-- set adj as empty if nil
adj = adj or ""
-- extract the day, month, year from the timestamp
local bc = timestamp:sub(1, 1)=="-" and "BC" or ""
local year, month, day = timestamp:match("[+-](%d*)-(%d*)-(%d*)T")
local iso = tonumber(year) -- if year is missing, let it throw an error
-- this will adjust the date format to be compatible with cdate
-- possible formats are Y, YY, YYY0, YYYY, YYYY-MM, YYYY-MM-DD
if dprec == 6 then iso = math.floor( (iso - 1) / 1000 ) + 1 end
if dprec == 7 then iso = math.floor( (iso - 1) / 100 ) + 1 end
if dprec == 8 then iso = math.floor( iso / 10 ) .. "0" end
if dprec == 10 then iso = year .. "-" .. month end
if dprec == 11 then iso = year .. "-" .. month .. "-" .. day end
-- add "circa" (Q5727902) from "sourcing circumstances" (P1480)
local sc = not pd and qualifiers and qualifiers.P1480
if sc then
for k1, v1 in pairs(sc) do
if v1.datavalue and v1.datavalue.value.id == "Q5727902" then
adj = "circa"
break
end
end
end
-- deal with Julian dates:
-- no point in saying that dates before 1582 are Julian - they are by default
-- doesn't make sense for dates less precise than year
-- we can suppress it by setting |plaindate, e.g. for use in constructing categories.
local calendarmodel = ""
if tonumber(year) > 1582
and dprec > 8
and not pd
and model == "http://www.wikidata.org/entity/Q1985786" then
calendarmodel = "julian"
end
if not cdate then
cdate = require("Module:Complex date")._complex_date
end
local fdate = cdate(calendarmodel, adj, tostring(iso), dp[dprec], bc, "", "", "", "", lang, 1)
-- this may have QuickStatements info appended to it in a div, so remove that
fdate = fdate:gsub(' <div style="display: none;">[^<]*</div>', '')
-- it may also be returned wrapped in a microformat, so remove that
fdate = fdate:gsub("<[^>]*>", "")
-- there may be leading zeros that we should remove
fdate = fdate:gsub("^0*", "")
-- if a plain date is required, then remove any links (like BC linked)
if pd then
fdate = fdate:gsub("%[%[.*|", ""):gsub("]]", "")
end
-- if 'circa', use the abbreviated form *** internationalise later ***
fdate = fdate:gsub('circa ', '<abbr title="circa">c.</abbr> ')
-- deal with BC/BCE
if bcf == "BCE" then
fdate = fdate:gsub('BC', 'BCE')
end
-- deal with mdy format
if df == "mdy" then
fdate = fdate:gsub("(%d+) (%w+) (%d+)", "%2 %1, %3")
end
-- deal with adjectival form *** internationalise later ***
if pd == "a" then
fdate = fdate:gsub(' century', '-century')
end
return fdate
end
-------------------------------------------------------------------------------
-- parseParam takes a (string) parameter, e.g. from the list of frame arguments,
-- and makes "false", "no", and "0" into the (boolean) false
-- it makes the empty string and nil into the (boolean) value passed as default
-- allowing the parameter to be true or false by default.
-- It returns a boolean.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local parseParam = function(param, default)
if type(param) == "boolean" then param = tostring(param) end
if param and param ~= "" then
param = param:lower()
if (param == "false") or (param:sub(1,1) == "n") or (param == "0") then
return false
else
return true
end
else
return default
end
end
-------------------------------------------------------------------------------
-- _getSitelink takes the qid of a Wikidata entity passed as |qid=
-- It takes an optional parameter |wiki= to determine which wiki is to be checked for a sitelink
-- If the parameter is blank, then it uses the local wiki.
-- If there is a sitelink to an article available, it returns the plain text link to the article
-- If there is no sitelink, it returns nil.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local _getSitelink = function(qid, wiki)
qid = (qid or ""):upper()
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return nil end
wiki = wiki or ""
local sitelink
if wiki == "" then
sitelink = mw.wikibase.getSitelink(qid)
else
sitelink = mw.wikibase.getSitelink(qid, wiki)
end
return sitelink
end
-------------------------------------------------------------------------------
-- _getCommonslink takes an optional qid of a Wikidata entity passed as |qid=
-- It returns one of the following in order of preference:
-- the Commons sitelink of the Wikidata entity - but not if onlycat=true and it's not a category;
-- the Commons sitelink of the topic's main category of the Wikidata entity;
-- the Commons category of the Wikidata entity - unless fallback=false.
-------------------------------------------------------------------------------
-- Dependencies: _getSitelink(); parseParam()
-------------------------------------------------------------------------------
local _getCommonslink = function(qid, onlycat, fallback)
qid = (qid or ""):upper()
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return nil end
onlycat = parseParam(onlycat, false)
if fallback == "" then fallback = nil end
local sitelink = _getSitelink(qid, "commonswiki")
if onlycat and sitelink and sitelink:sub(1,9) ~= "Category:" then sitelink = nil end
if not sitelink then
-- check for topic's main category
local prop910 = mw.wikibase.getBestStatements(qid, "P910")[1]
if prop910 then
local tmcid = prop910.mainsnak.datavalue and prop910.mainsnak.datavalue.value.id
sitelink = _getSitelink(tmcid, "commonswiki")
end
if not sitelink then
-- check for list's main category
local prop1754 = mw.wikibase.getBestStatements(qid, "P1754")[1]
if prop1754 then
local tmcid = prop1754.mainsnak.datavalue and prop1754.mainsnak.datavalue.value.id
sitelink = _getSitelink(tmcid, "commonswiki")
end
end
end
if not sitelink and fallback then
-- check for Commons category (string value)
local prop373 = mw.wikibase.getBestStatements(qid, "P373")[1]
if prop373 then
sitelink = prop373.mainsnak.datavalue and prop373.mainsnak.datavalue.value
if sitelink then sitelink = "Category:" .. sitelink end
end
end
return sitelink
end
-------------------------------------------------------------------------------
-- The label in a Wikidata item is subject to vulnerabilities
-- that an attacker might try to exploit.
-- It needs to be 'sanitised' by removing any wikitext before use.
-- If it doesn't exist, return the id for the item
-- a second (boolean) value is also returned, value is true when the label exists
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local labelOrId = function(id, lang)
if lang == "default" then lang = findLang().code end
local label
if lang then
label = mw.wikibase.getLabelByLang(id, lang)
else
label = mw.wikibase.getLabel(id)
--label = mw.wikibase.getLabelByLang(id,'pt-br') or mw.wikibase.getLabelByLang(id,'pt') or ""
end
if label then
return mw.text.nowiki(label), true
else
return id, false
end
end
-------------------------------------------------------------------------------
-- linkedItem takes an entity-id and returns a string, linked if possible.
-- This is the handler for "wikibase-item". Preferences:
-- 1. Display linked disambiguated sitelink if it exists
-- 2. Display linked label if it is a redirect
-- 3. TBA: Display an inter-language link for the label if it exists other than in default language
-- 4. Display unlinked label if it exists
-- 5. Display entity-id for now to indicate a label could be provided
-- dtxt is text to be used instead of label, or nil.
-- shortname is boolean switch to use P1813 (short name) instead of label if true.
-- lang is the current language code.
-- uselbl is boolean switch to force display of the label instead of the sitelink (default: false)
-- linkredir is boolean switch to allow linking to a redirect (default: false)
-- formatvalue is boolean switch to allow formatting as italics or quoted (default: false)
-------------------------------------------------------------------------------
-- Dependencies: labelOrId(); donotlink[]
-------------------------------------------------------------------------------
local linkedItem = function(id, args)
local lprefix = (args.lp or args.lprefix or args.linkprefix or ""):gsub('"', '') -- toughen against nil values passed
local lpostfix = (args.lpostfix or ""):gsub('"', '')
local prefix = (args.prefix or ""):gsub('"', '')
local postfix = (args.postfix or ""):gsub('"', '')
local dtxt = args.dtxt
local shortname = args.shortname
local lang = args.lang or "pt-br" -- fallback to default if missing
local gender = args.gender or ""
local uselbl = args.uselabel or args.uselbl
uselbl = parseParam(uselbl, false)
local linkredir = args.linkredir
linkredir = parseParam(linkredir, false)
local formatvalue = args.formatvalue or args.fv
formatvalue = parseParam(formatvalue, false)
-- see if item might need italics or quotes
local fmt = ""
if next(formats) and formatvalue then
for k, v in ipairs( mw.wikibase.getBestStatements(id, "P31") ) do
if v.mainsnak.datavalue and formats[v.mainsnak.datavalue.value.id] then
fmt = formats[v.mainsnak.datavalue.value.id]
break -- pick the first match
end
end
end
local disp
local sitelink = mw.wikibase.getSitelink(id)
local label, islabel
if dtxt then
label, islabel = dtxt, true
elseif shortname then
-- see if there is a shortname in our language, and set label to it
for k, v in ipairs( mw.wikibase.getBestStatements(id, "P1813") ) do
if v.mainsnak.datavalue.value.language == lang then
label, islabel = v.mainsnak.datavalue.value.text, true
break
end -- test for language match
end -- loop through values of short name
-- if we have no label set, then there was no shortname available
if not islabel then
label, islabel = labelOrId(id)
shortname = false
end
elseif gender == "f" or gender == "F" then
-- see if there is a feminine in our language, and set label to it
for k, v in ipairs( mw.wikibase.getBestStatements(id, "P2521") ) do
if v.mainsnak.datavalue.value.language == lang then
label, islabel = v.mainsnak.datavalue.value.text, true
break
end -- test for language match
end -- loop through values of gender
-- if we have no label set, then there was no feminine name available
if not islabel then
label, islabel = labelOrId(id)
gender = false
end
else
label, islabel = labelOrId(id)
gender = false
end
if mw.site.siteName ~= "Wikimedia Commons" then
if sitelink then
if not (dtxt or shortname or gender) then
-- if sitelink and label are the same except for case, no need to process further
if sitelink:lower() ~= label:lower() then
-- strip any namespace or dab from the sitelink
local pos = sitelink:find(":") or 0
local slink = sitelink
if pos > 0 then
local pfx = sitelink:sub(1,pos-1)
if mw.site.namespaces[pfx] then -- that prefix is a valid namespace, so remove it
slink = sitelink:sub(pos+1)
end
end
-- remove stuff after commas or inside parentheses - ie. dabs
slink = slink:gsub("%s%(.+%)$", ""):gsub(",.+$", "")
-- if uselbl is false, use sitelink instead of label
if not uselbl then
-- use slink as display, preserving label case - find("^%u") is true for 1st char uppercase
if label:find("^%u") then
label = slink:gsub("^(%l)", string.upper)
else
label = slink:gsub("^(%u)", string.lower)
end
end
end
end
if donotlink[label] then
disp = prefix .. fmt .. label .. fmt .. postfix
else
disp = "[[" .. lprefix .. sitelink .. lpostfix .. "|" .. prefix .. fmt .. label .. fmt .. postfix .. "]]"
end
elseif islabel then
-- no sitelink, label exists, so check if a redirect with that title exists, if linkredir is true
-- display plain label by default
disp = prefix .. fmt .. label .. fmt .. postfix
if linkredir then
local artitle = mw.title.new(label, 0) -- only nil if label has invalid chars
if not donotlink[label] and artitle and artitle.redirectTarget then
-- there's a redirect with the same title as the label, so let's link to that
disp = "[[".. lprefix .. label .. lpostfix .. "|" .. prefix .. fmt .. label .. fmt .. postfix .. "]]"
end
end -- test if article title exists as redirect on current Wiki
else
-- no sitelink and no label, so return whatever was returned from labelOrId for now
-- add tracking category [[Category:Articles with missing Wikidata information]]
-- for enwiki, just return the tracking category
-- if mw.wikibase.getGlobalSiteId() == "ptwiki" then
-- disp = i18n.missinginfocat
-- else
-- disp = prefix .. label or '' .. postfix .. i18n.missinginfocat
-- end
end
else
local ccat = mw.wikibase.getBestStatements(id, "P373")[1]
if ccat and ccat.mainsnak.datavalue then
ccat = ccat.mainsnak.datavalue.value
disp = "[[" .. lprefix .. "Category:" .. ccat .. lpostfix .. "|" .. prefix .. label .. postfix .. "]]"
elseif sitelink then
-- this asumes that if a sitelink exists, then a label also exists
disp = "[[" .. lprefix .. sitelink .. lpostfix .. "|" .. prefix .. label .. postfix .. "]]"
else
-- no sitelink and no Commons cat, so return label from labelOrId for now
disp = prefix .. label .. postfix
end
end
return disp
end
-------------------------------------------------------------------------------
-- sourced takes a table representing a statement that may or may not have references
-- it looks for a reference sourced to something not containing the word "wikipedia"
-- it returns a boolean = true if it finds a sourced reference.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local sourced = function(claim)
if claim.references then
for kr, vr in pairs(claim.references) do
local ref = mw.wikibase.renderSnaks(vr.snaks)
if not ref:find("Wiki") then
return true
end
end
end
end
-------------------------------------------------------------------------------
-- setRanks takes a flag (parameter passed) that requests the values to return
-- "b[est]" returns preferred if available, otherwise normal
-- "p[referred]" returns preferred
-- "n[ormal]" returns normal
-- "d[eprecated]" returns deprecated
-- multiple values are allowed, e.g. "preferred normal" (which is the default)
-- "best" will override the other flags, and set p and n
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local setRanks = function(rank)
rank = (rank or ""):lower()
-- if nothing passed, return preferred and normal
-- if rank == "" then rank = "p n" end
local ranks = {}
for w in string.gmatch(rank, "%a+") do
w = w:sub(1,1)
if w == "b" or w == "p" or w == "n" or w == "d" then
ranks[w] = true
end
end
-- check if "best" is requested or no ranks requested; and if so, set preferred and normal
if ranks.b or not next(ranks) then
ranks.p = true
ranks.n = true
end
return ranks
end
-------------------------------------------------------------------------------
-- parseInput processes the Q-id , the blacklist and the whitelist
-- if an input parameter is supplied, it returns that and ends the call.
-- it returns (1) either the qid or nil indicating whether or not the call should continue
-- and (2) a table containing all of the statements for the propertyID and relevant Qid
-- if "best" ranks are requested, it returns those instead of all non-deprecated ranks
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
local parseInput = function(frame, input_parm, property_id)
-- There may be a local parameter supplied, if it's blank, set it to nil
input_parm = mw.text.trim(input_parm or "")
if input_parm == "" then input_parm = nil end
-- return nil if Wikidata is not available
if not mw.wikibase then return false, input_parm end
local args = frame.args
-- can take a named parameter |qid which is the Wikidata ID for the article.
-- if it's not supplied, use the id for the current page
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
-- if there's no Wikidata item for the current page return nil
if not qid then return false, input_parm end
-- The blacklist is passed in named parameter |suppressfields
local blacklist = args.suppressfields or args.spf or ""
-- The whitelist is passed in named parameter |fetchwikidata
local whitelist = args.fetchwikidata or args.fwd or ""
if whitelist == "" then whitelist = "NONE" end
-- The name of the field that this function is called from is passed in named parameter |name
local fieldname = args.name or ""
if blacklist ~= "" then
-- The name is compulsory when blacklist is used, so return nil if it is not supplied
if fieldname == "" then return false, nil end
-- If this field is on the blacklist, then return nil
if blacklist:find(fieldname) then return false, nil end
end
-- If we got this far then we're not on the blacklist
-- The blacklist overrides any locally supplied parameter as well
-- If a non-blank input parameter was supplied return it
if input_parm then return false, input_parm end
-- We can filter out non-valid properties
if property_id:sub(1,1):upper() ~="P" or property_id == "P0" then return false, nil end
-- Otherwise see if this field is on the whitelist:
-- needs a bit more logic because find will return its second value = 0 if fieldname is ""
-- but nil if fieldname not found on whitelist
local _, found = whitelist:find(fieldname)
found = ((found or 0) > 0)
if whitelist ~= 'ALL' and (whitelist:upper() == "NONE" or not found) then
return false, nil
end
-- See what's on Wikidata (the call always returns a table, but it may be empty):
local props = {}
if args.reqranks.b then
props = mw.wikibase.getBestStatements(qid, property_id)
else
props = mw.wikibase.getAllStatements(qid, property_id)
end
if props[1] then
return qid, props
end
-- no property on Wikidata
return false, nil
end
-------------------------------------------------------------------------------
-- createicon assembles the "Edit at Wikidata" pen icon.
-- It returns a wikitext string inside a span class="penicon"
-- if entityID is nil or empty, the ID associated with current page is used
-- langcode and propertyID may be nil or empty
-------------------------------------------------------------------------------
-- Dependencies: i18n[];
-------------------------------------------------------------------------------
local createicon = function(langcode, entityID, propertyID)
langcode = langcode or ""
if not entityID or entityID == "" then entityID= mw.wikibase.getEntityIdForCurrentPage() end
propertyID = propertyID or ""
local icon = " <span class='penicon autoconfirmed-show'>[["
-- " <span data-bridge-edit-flow='overwrite' class='penicon'>[[" -> enable Wikidata Bridge
.. i18n["filespace"]
.. ":OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt="
.. i18n["editonwikidata"]
.. "|link=https://www.wikidata.org/wiki/" .. entityID
if langcode ~= "" then icon = icon .. "?uselang=" .. langcode end
if propertyID ~= "" then icon = icon .. "#" .. propertyID end
icon = icon .. "|" .. i18n["editonwikidata"] .. "]]</span>"
return icon
end
-------------------------------------------------------------------------------
-- assembleoutput takes the sequence table containing the property values
-- and formats it according to switches given. It returns a string or nil.
-- It uses the entityID (and optionally propertyID) to create a link in the pen icon.
-------------------------------------------------------------------------------
-- Dependencies: parseParam();
-------------------------------------------------------------------------------
local assembleoutput = function(out, args, entityID, propertyID)
-- sorted is a boolean passed to enable sorting of the values returned
-- if nothing or an empty string is passed set it false
-- if "false" or "no" or "0" is passed set it false
local sorted = parseParam(args.sorted, false)
-- noicon is a boolean passed to suppress the trailing "edit at Wikidata" icon
-- for use when the value is processed further by the infobox
-- if nothing or an empty string is passed set it false
-- if "false" or "no" or "0" is passed set it false
local noic = parseParam(args.noicon, false)
-- list is the name of a template that a list of multiple values is passed through
-- examples include "hlist" and "ubl"
-- setting it to "prose" produces something like "1, 2, 3, and 4"
local list = args.list or ""
-- sep is a string that is used to separate multiple returned values
-- if nothing or an empty string is passed set it to the default
-- any double-quotes " are stripped out, so that spaces may be passed
-- e.g. |sep=" - "
local sepdefault = i18n["list separator"]
local separator = args.sep or ""
separator = string.gsub(separator, '"', '')
if separator == "" then
separator = sepdefault
end
-- collapse is a number that determines the maximum number of returned values
-- before the output is collapsed.
-- Zero or not a number result in no collapsing (default becomes 0).
local collapse = tonumber(args.collapse) or 0
-- replacetext (rt) is a string that is returned instead of any non-empty Wikidata value
-- this is useful for tracking and debugging
local replacetext = mw.text.trim(args.rt or args.replacetext or "")
-- if there's anything to return, then return a list
-- comma-separated by default, but may be specified by the sep parameter
-- optionally specify a hlist or ubl or a prose list, etc.
local strout
if #out > 0 then
if sorted then table.sort(out) end
-- if there's something to display and a pen icon is wanted, add it the end of the last value
local hasdisplay = false
for i, v in ipairs(out) do
if v ~= i18n.missinginfocat then
hasdisplay = true
break
end
end
if not noic and hasdisplay then
out[#out] = out[#out] .. createicon(args.langobj.code, entityID, propertyID)
end
if list == "" then
strout = table.concat(out, separator)
elseif list:lower() == "prose" then
strout = mw.text.listToText( out )
else
strout = mw.getCurrentFrame():expandTemplate{title = list, args = out}
end
if collapse >0 and #out > collapse then
strout = collapsediv .. strout .. "</div>"
end
else
strout = nil -- no items had valid reference
end
if replacetext ~= "" and strout then strout = replacetext end
return strout
end
-------------------------------------------------------------------------------
-- rendersnak takes a table (propval) containing the information stored on one property value
-- and returns the value as a string and its language if monolingual text.
-- It handles data of type:
-- wikibase-item
-- time
-- string, url, commonsMedia, external-id
-- quantity
-- globe-coordinate
-- monolingualtext
-- It also requires linked, the link/pre/postfixes, uabbr, and the arguments passed from frame.
-- The optional filter parameter allows quantities to be be filtered by unit Qid.
-------------------------------------------------------------------------------
-- Dependencies: parseParam(); labelOrId(); i18n[]; dateFormat();
-- roundto(); decimalPrecision(); decimalToDMS(); linkedItem();
-------------------------------------------------------------------------------
local rendersnak = function(propval, args, linked, lpre, lpost, pre, post, uabbr, filter)
lpre = lpre or ""
lpost = lpost or ""
pre = pre or ""
post = post or ""
args.lang = args.lang or findLang().code
-- allow values to display a fixed text instead of label
local dtxt = args.displaytext or args.dt
if dtxt == "" then dtxt = nil end
-- switch to use display of short name (P1813) instead of label
local shortname = args.shortname or args.sn
shortname = parseParam(shortname, false)
local snak = propval.mainsnak or propval
local dtype = snak.datatype
local dv = snak.datavalue
dv = dv and dv.value
-- value and monolingual text language code returned
local val, mlt
if propval.rank and not args.reqranks[propval.rank:sub(1, 1)] then
-- val is nil: value has a rank that isn't requested
------------------------------------
elseif snak.snaktype == "somevalue" then -- value is unknown
val = i18n["Unknown"]
------------------------------------
elseif snak.snaktype == "novalue" then -- value is none
-- val = "No value" -- don't return anything
------------------------------------
elseif dtype == "wikibase-item" then -- data type is a wikibase item:
-- it's wiki-linked value, so output as link if enabled and possible
local qnumber = dv.id
if linked or args.gender ~= "" then
val = linkedItem(qnumber, args)
else -- no link wanted so check for display-text, otherwise test for lang code
local label, islabel
if dtxt then
label = dtxt
else
if not label then
label, islabel = labelOrId(qnumber)
end
local langlabel = mw.wikibase.getLabelByLang(qnumber, args.lang)
if langlabel then
label = mw.text.nowiki( langlabel )
end
end
val = pre .. label .. post
end -- test for link required
------------------------------------
elseif dtype == "time" then -- data type is time:
-- time is in timestamp format
-- date precision is integer per mediawiki
-- output formatting according to preferences (y/dmy/mdy)
-- BC format as BC or BCE
-- plaindate is passed to disable looking for "sourcing cirumstances"
-- or to set the adjectival form
-- qualifiers (if any) is a nested table or nil
-- lang is given, or user language, or site language
--
-- Here we can check whether args.df has a value
-- If not, use code from Module:Sandbox/RexxS/Getdateformat to set it from templates like {{Use mdy dates}}
val = dateFormat(dv.time, dv.precision, args.df, args.bc, args.pd, propval.qualifiers, args.lang, "", dv.calendarmodel)
------------------------------------
-- data types which are strings:
elseif dtype == "commonsMedia" or dtype == "external-id" or dtype == "string" or dtype == "url" then
-- commonsMedia or external-id or string or url
-- all have mainsnak.datavalue.value as string
if (lpre == "" or lpre == ":") and lpost == "" then
-- don't link if no linkpre/postfix or linkprefix is just ":"
val = pre .. dv .. post
elseif dtype == "external-id" then
val = "[" .. lpre .. dv .. lpost .. " " .. pre .. dv .. post .. "]"
else
val = "[[" .. lpre .. dv .. lpost .. "|" .. pre .. dv .. post .. "]]"
end -- check for link requested (i.e. either linkprefix or linkpostfix exists)
------------------------------------
-- data types which are quantities:
elseif dtype == "quantity" then
-- quantities have mainsnak.datavalue.value.amount and mainsnak.datavalue.value.unit
-- the unit is of the form http://www.wikidata.org/entity/Q829073
--
-- implement a switch to turn on/off numerical formatting later
local fnum = true
--
-- a switch to turn on/off conversions - only for en-wiki
local conv = parseParam(args.conv or args.convert, false)
-- if we have conversions, we won't have formatted numbers or scales
if conv then
uabbr = true
fnum = false
args.scale = "0"
end
--
-- a switch to turn on/off showing units, default is true
local showunits = parseParam(args.su or args.showunits, true)
--
-- convert amount to a number
local amount = tonumber(dv.amount) or i18n["NaN"]
--
-- scale factor for millions, billions, etc.
local sc = tostring(args.scale or ""):sub(1,1):lower()
local scale
if sc == "a" then
-- automatic scaling
if amount > 1e15 then
scale = 12
elseif amount > 1e12 then
scale = 9
elseif amount > 1e9 then
scale = 6
elseif amount > 1e6 then
scale = 3
else
scale = 0
end
else
scale = tonumber(args.scale) or 0
if scale < 0 or scale > 12 then scale = 0 end
scale = math.floor(scale/3) * 3
end
local factor = 10^scale
amount = amount / factor
-- ranges:
local range = ""
-- check if upper and/or lower bounds are given and significant
local upb = tonumber(dv.upperBound)
local lowb = tonumber(dv.lowerBound)
if upb and lowb then
-- differences rounded to 2 sig fig:
local posdif = roundto(upb - amount, 2) / factor
local negdif = roundto(amount - lowb, 2) / factor
upb, lowb = amount + posdif, amount - negdif
-- round scaled numbers to integers or 4 sig fig
if (scale > 0 or sc == "a") then
if amount < 1e4 then
amount = roundto(amount, 4)
else
amount = math.floor(amount + 0.5)
end
end
if fnum then amount = args.langobj:formatNum( amount ) end
if posdif ~= negdif then
-- non-symmetrical
range = " +" .. posdif .. " -" .. negdif
elseif posdif ~= 0 then
-- symmetrical and non-zero
range = " ±" .. posdif
else
-- otherwise range is zero, so leave it as ""
end
else
-- round scaled numbers to integers or 4 sig fig
if (scale > 0 or sc == "a") then
if amount < 1e4 then
amount = roundto(amount, 4)
else
amount = math.floor(amount + 0.5)
end
end
if fnum then amount = args.langobj:formatNum( amount ) end
end
-- unit names and symbols:
-- extract the qid in the form 'Qnnn' from the value.unit url
-- and then fetch the label from that - or symbol if unitabbr is true
local unit = ""
local usep = ""
local usym = ""
local unitqid = string.match( dv.unit, "(Q%d+)" )
if filter and unitqid ~= filter then return nil end
if unitqid and showunits then
local uname = mw.wikibase.getLabelByLang(unitqid, args.lang) or ""
if uname ~= "" then usep, unit = " ", uname end
if uabbr then
-- see if there's a unit symbol (P5061)
local unitsymbols = mw.wikibase.getBestStatements(unitqid, "P5061")
-- construct fallback table, add local lang and multiple languages
local fbtbl = mw.language.getFallbacksFor( args.lang )
table.insert( fbtbl, 1, args.lang )
table.insert( fbtbl, 1, "mul" )
local found = false
for idx1, us in ipairs(unitsymbols) do
for idx2, fblang in ipairs(fbtbl) do
if us.mainsnak.datavalue.value.language == fblang then
usym = us.mainsnak.datavalue.value.text
found = true
break
end
if found then break end
end -- loop through fallback table
end -- loop through values of P5061
if found then usep, unit = " ", usym end
end
end
-- format display:
if conv then
if range == "" then
val = mw.getCurrentFrame():expandTemplate{title = "cvt", args = {amount, unit}}
else
val = mw.getCurrentFrame():expandTemplate{title = "cvt", args = {lowb, "to", upb, unit}}
end
elseif unit == "$" or unit == "£" then
val = unit .. amount .. range .. i18n.multipliers[scale]
else
val = amount .. range .. i18n.multipliers[scale] .. usep .. unit
end
------------------------------------
-- datatypes which are global coordinates:
elseif dtype == "globe-coordinate" then
-- 'display' parameter defaults to "inline, title" *** unused for now ***
-- local disp = args.display or ""
-- if disp == "" then disp = "inline, title" end
--
-- format parameter switches from deg/min/sec to decimal degrees
-- default is deg/min/sec -- decimal degrees needs |format = dec
local form = (args.format or ""):lower():sub(1,3)
if form ~= "dec" then form = "dms" end -- not needed for now
--
-- show parameter allows just the latitude, or just the longitude, or both
-- to be returned as a signed decimal, ignoring the format parameter.
local show = (args.show or ""):lower()
if show ~= "longlat" then show = show:sub(1,3) end
--
local lat, long, prec = dv.latitude, dv.longitude, dv.precision
if show == "lat" then
val = decimalPrecision(lat, prec)
elseif show == "lon" then
val = decimalPrecision(long, prec)
elseif show == "longlat" then
val = decimalPrecision(long, prec) .. ", " .. decimalPrecision(lat, prec)
else
local ns = "N"
local ew = "E"
if lat < 0 then
ns = "S"
lat = - lat
end
if long < 0 then
ew = "W"
long = - long
end
if form == "dec" then
lat = decimalPrecision(lat, prec)
long = decimalPrecision(long, prec)
val = lat .. "°" .. ns .. " " .. long .. "°" .. ew
else
local latdeg, latmin, latsec = decimalToDMS(lat, prec)
local longdeg, longmin, longsec = decimalToDMS(long, prec)
if latsec == 0 and longsec == 0 then
if latmin == 0 and longmin == 0 then
val = latdeg .. "°" .. ns .. " " .. longdeg .. "°" .. ew
else
val = latdeg .. "°" .. latmin .. "'" .. ns .. ", "
val = val .. longdeg .. "°".. longmin .. "'" .. ew
end
else
val = latdeg .. "°" .. latmin .. "'" .. latsec .. """ .. ns .. ",  "
val = val .. longdeg .. "°" .. longmin .. "'" .. longsec .. """ .. ew
end
end
end
------------------------------------
elseif dtype == "monolingualtext" then -- data type is Monolingual text:
-- has mainsnak.datavalue.value as a table containing language/text pairs
-- collect all the values in 'out' and languages in 'mlt' and process them later
val = pre .. dv.text .. post
mlt = dv.language
------------------------------------
else
-- some other data type so write a specific handler
val = "unknown data type: " .. dtype
end -- of datatype/unknown value/sourced check
return val, mlt
end
-------------------------------------------------------------------------------
-- propertyvalueandquals takes a property object, the arguments passed from frame,
-- and a qualifier propertyID.
-- It returns a sequence (table) of values representing the values of that property
-- and qualifiers that match the qualifierID if supplied.
-------------------------------------------------------------------------------
-- Dependencies: parseParam(); sourced(); labelOrId(); i18n.latestdatequalifier(); format_Date();
-- makeOrdinal(); roundto(); decimalPrecision(); decimalToDMS(); assembleoutput();
-------------------------------------------------------------------------------
local function propertyvalueandquals(objproperty, args, qualID)
-- needs this style of declaration because it's re-entrant
-- onlysourced is a boolean passed to return only values sourced to other than Wikipedia
-- if nothing or an empty string is passed set it true
local onlysrc = parseParam(args.onlysourced or args.osd, true)
-- linked is a a boolean that enables the link to a local page via sitelink
-- if nothing or an empty string is passed set it true
local linked = parseParam(args.linked, true)
-- prefix is a string that may be nil, empty (""), or a string of characters
-- this is prefixed to each value
-- useful when when multiple values are returned
-- any double-quotes " are stripped out, so that spaces may be passed
local prefix = (args.prefix or ""):gsub('"', '')
-- postfix is a string that may be nil, empty (""), or a string of characters
-- this is postfixed to each value
-- useful when when multiple values are returned
-- any double-quotes " are stripped out, so that spaces may be passed
local postfix = (args.postfix or ""):gsub('"', '')
-- linkprefix is a string that may be nil, empty (""), or a string of characters
-- this creates a link and is then prefixed to each value
-- useful when when multiple values are returned and indirect links are needed
-- any double-quotes " are stripped out, so that spaces may be passed
local lprefix = (args.linkprefix or args.lp or ""):gsub('"', '')
-- linkpostfix is a string that may be nil, empty (""), or a string of characters
-- this is postfixed to each value when linking is enabled with lprefix
-- useful when when multiple values are returned
-- any double-quotes " are stripped out, so that spaces may be passed
local lpostfix = (args.linkpostfix or ""):gsub('"', '')
-- wdlinks is a boolean passed to enable links to Wikidata when no article exists
-- if nothing or an empty string is passed set it false
local wdl = parseParam(args.wdlinks or args.wdl, false)
-- unitabbr is a boolean passed to enable unit abbreviations for common units
-- if nothing or an empty string is passed set it false
local uabbr = parseParam(args.unitabbr or args.uabbr, false)
-- qualsonly is a boolean passed to return just the qualifiers
-- if nothing or an empty string is passed set it false
local qualsonly = parseParam(args.qualsonly or args.qo, false)
-- maxvals is a string that may be nil, empty (""), or a number
-- this determines how many items may be returned when multiple values are available
-- setting it = 1 is useful where the returned string is used within another call, e.g. image
local maxvals = tonumber(args.maxvals) or 0
-- pd (plain date) is a string: yes/true/1 | no/false/0 | adj
-- to disable/enable "sourcing cirumstances" or use adjectival form for the plain date
local pd = args.plaindate or args.pd or "no"
args.pd = pd
-- allow qualifiers to have a different date format; default to year unless qualsonly is set
args.qdf = args.qdf or args.qualifierdateformat or args.df or (not qualsonly and "y")
local lang = args.lang or findLang().code
-- qualID is a string list of wanted qualifiers or "ALL"
qualID = qualID or ""
-- capitalise list of wanted qualifiers and substitute "DATES"
qualID = qualID:upper():gsub("DATES", "P580, P582")
local allflag = (qualID == "ALL")
-- create table of wanted qualifiers as key
local qwanted = {}
-- create sequence of wanted qualifiers
local qorder = {}
for q in mw.text.gsplit(qualID, "%p") do -- split at punctuation and iterate
local qtrim = mw.text.trim(q)
if qtrim ~= "" then
qwanted[mw.text.trim(q)] = true
qorder[#qorder+1] = qtrim
end
end
-- qsep is the output separator for rendering qualifier list
local qsep = (args.qsep or ""):gsub('"', '')
-- qargs are the arguments to supply to assembleoutput()
local qargs = {
["osd"] = "false",
["linked"] = tostring(linked),
["prefix"] = args.qprefix,
["postfix"] = args.qpostfix,
["linkprefix"] = args.qlinkprefix or args.qlp,
["linkpostfix"] = args.qlinkpostfix,
["wdl"] = "false",
["unitabbr"] = tostring(uabbr),
["maxvals"] = 0,
["sorted"] = tostring(args.qsorted),
["noicon"] = "true",
["list"] = args.qlist,
["sep"] = qsep,
["langobj"] = args.langobj,
["lang"] = args.langobj.code,
["df"] = args.qdf,
["sn"] = parseParam(args.qsn or args.qshortname, false),
}
-- all proper values of a Wikidata property will be the same type as the first
-- qualifiers don't have a mainsnak, properties do
local datatype = objproperty[1].datatype or objproperty[1].mainsnak.datatype
-- out[] holds the a list of returned values for this property
-- mlt[] holds the language code if the datatype is monolingual text
local out = {}
local mlt = {}
for k, v in ipairs(objproperty) do
local hasvalue = true
if (onlysrc and not sourced(v)) then
-- no value: it isn't sourced when onlysourced=true
hasvalue = false
else
local val, lcode = rendersnak(v, args, linked, lprefix, lpostfix, prefix, postfix, uabbr )
if not val then
hasvalue = false -- rank doesn't match
elseif qualsonly and qualID then
-- suppress value returned: only qualifiers are requested
else
out[#out+1], mlt[#out+1] = val, lcode
end
end
-- See if qualifiers are to be returned:
local snak = v.mainsnak or v
if hasvalue and v.qualifiers and qualID ~= "" and snak.snaktype~="novalue" then
-- collect all wanted qualifier values returned in qlist, indexed by propertyID
local qlist = {}
local timestart, timeend = "", ""
-- loop through qualifiers
for k1, v1 in pairs(v.qualifiers) do
if allflag or qwanted[k1] then
if k1 == "P1326" then
local ts = v1[1].datavalue.value.time
local dp = v1[1].datavalue.value.precision
qlist[k1] = dateFormat(ts, dp, args.qdf, args.bc, pd, "", lang, "before")
elseif k1 == "P1319" then
local ts = v1[1].datavalue.value.time
local dp = v1[1].datavalue.value.precision
qlist[k1] = dateFormat(ts, dp, args.qdf, args.bc, pd, "", lang, "after")
elseif k1 == "P580" then
timestart = propertyvalueandquals(v1, qargs)[1] or "" -- treat only one start time as valid
elseif k1 == "P582" then
timeend = propertyvalueandquals(v1, qargs)[1] or "" -- treat only one end time as valid
else
local q = assembleoutput(propertyvalueandquals(v1, qargs), qargs)
-- we already deal with circa via 'sourcing circumstances' if the datatype was time
-- circa may be either linked or unlinked *** internationalise later ***
if datatype ~= "time" or q ~= "circa" and not (type(q) == "string" and q:find("circa]]")) then
qlist[k1] = q
end
end
end -- of test for wanted
end -- of loop through qualifiers
-- set date separator
local t = timestart .. timeend
-- *** internationalise date separators later ***
local dsep = "–"
if t:find("%s") or t:find(" ") then dsep = " – " end
-- set the order for the list of qualifiers returned; start time and end time go last
if next(qlist) then
local qlistout = {}
if allflag then
for k2, v2 in pairs(qlist) do
qlistout[#qlistout+1] = v2
end
else
for i2, v2 in ipairs(qorder) do
qlistout[#qlistout+1] = qlist[v2]
end
end
if t ~= "" then
qlistout[#qlistout+1] = timestart .. dsep .. timeend
end
local qstr = assembleoutput(qlistout, qargs)
if qualsonly then
out[#out+1] = qstr
else
out[#out] = out[#out] .. " (" .. qstr .. ")"
end
elseif t ~= "" then
if qualsonly then
if timestart == "" then
out[#out+1] = timeend
elseif timeend == "" then
out[#out+1] = timestart
else
out[#out+1] = timestart .. dsep .. timeend
end
else
out[#out] = out[#out] .. " (" .. timestart .. dsep .. timeend .. ")"
end
end
end -- of test for qualifiers wanted
if maxvals > 0 and #out >= maxvals then break end
end -- of for each value loop
-- we need to pick one value to return if the datatype was "monolingualtext"
-- if there's only one value, use that
-- otherwise look through the fallback languages for a match
if datatype == "monolingualtext" and #out >1 then
lang = mw.text.split( lang, '-', true )[1]
local fbtbl = mw.language.getFallbacksFor( lang )
table.insert( fbtbl, 1, lang )
local bestval = ""
local found = false
for idx1, lang1 in ipairs(fbtbl) do
for idx2, lang2 in ipairs(mlt) do
if (lang1 == lang2) and not found then
bestval = out[idx2]
found = true
break
end
end -- loop through values of property
end -- loop through fallback languages
if found then
-- replace output table with a table containing the best value
out = { bestval }
else
-- more than one value and none of them on the list of fallback languages
-- sod it, just give them the first one
out = { out[1] }
end
end
return out
end
-------------------------------------------------------------------------------
-- Common code for p.getValueByQual and p.getValueByLang
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; assembleoutput;
-------------------------------------------------------------------------------
local _getvaluebyqual = function(frame, qualID, checkvalue)
-- The property ID that will have a qualifier is the first unnamed parameter
local propertyID = mw.text.trim(frame.args[1] or "")
if propertyID == "" then return "no property supplied" end
if qualID == "" then return "no qualifier supplied" end
-- onlysourced is a boolean passed to return property values
-- only when property values are sourced to something other than Wikipedia
-- if nothing or an empty string is passed set it true
-- if "false" or "no" or 0 is passed set it false
local onlysrc = parseParam(frame.args.onlysourced or frame.args.osd, true)
-- set the requested ranks flags
frame.args.reqranks = setRanks(frame.args.rank)
-- set a language object and code in the frame.args table
frame.args.langobj = findLang(frame.args.lang)
frame.args.lang = frame.args.langobj.code
local args = frame.args
-- check for locally supplied parameter in second unnamed parameter
-- success means no local parameter and the property exists
local qid, props = parseInput(frame, args[2], propertyID)
local linked = parseParam(args.linked, true)
local lpre = (args.linkprefix or args.lp or ""):gsub('"', '')
local lpost = (args.linkpostfix or ""):gsub('"', '')
local pre = (args.prefix or ""):gsub('"', '')
local post = (args.postfix or ""):gsub('"', '')
local uabbr = parseParam(args.unitabbr or args.uabbr, false)
local filter = (args.unit or ""):upper()
local maxvals = tonumber(args.maxvals) or 0
if filter == "" then filter = nil end
if qid then
local out = {}
-- Scan through the values of the property
-- we want something like property is "pronunciation audio (P443)" in propertyID
-- with a qualifier like "language of work or name (P407)" in qualID
-- whose value has the required ID, like "British English (Q7979)", in qval
for k1, v1 in ipairs(props) do
if v1.mainsnak.snaktype == "value" then
-- check if it has the right qualifier
local v1q = v1.qualifiers
if v1q and v1q[qualID] then
if onlysrc == false or sourced(v1) then
-- if we've got this far, we have a (sourced) claim with qualifiers
-- so see if matches the required value
-- We'll only deal with wikibase-items and strings for now
if v1q[qualID][1].datatype == "wikibase-item" then
if checkvalue(v1q[qualID][1].datavalue.value.id) then
out[#out + 1] = rendersnak(v1, args, linked, lpre, lpost, pre, post, uabbr, filter)
end
elseif v1q[qualID][1].datatype == "string" then
if checkvalue(v1q[qualID][1].datavalue.value) then
out[#out + 1] = rendersnak(v1, args, linked, lpre, lpost, pre, post, uabbr, filter)
end
end
end -- of check for sourced
end -- of check for matching required value and has qualifiers
else
return nil
end -- of check for string
if maxvals > 0 and #out >= maxvals then break end
end -- of loop through values of propertyID
return assembleoutput(out, frame.args, qid, propertyID)
else
return props -- either local parameter or nothing
end -- of test for success
return nil
end
-------------------------------------------------------------------------------
-- _location takes Q-id and follows P276 (location)
-- or P131 (located in the administrative territorial entity) or P706 (located on terrain feature)
-- from the initial item to higher level territories/locations until it reaches the highest.
-- An optional boolean, 'first', determines whether the first item is returned (default: false).
-- An optional boolean 'skip' toggles the display to skip to the last item (default: false).
-- It returns a table containing the locations - linked where possible, except for the highest.
-------------------------------------------------------------------------------
-- Dependencies: findLang(); labelOrId(); linkedItem
-------------------------------------------------------------------------------
local _location = function(qid, first, skip)
first = parseParam(first, false)
skip = parseParam(skip, false)
local locs = {"P276", "P131", "P706"}
local out = {}
local langcode = findLang():getCode()
local finished = false
local count = 0
local prevqid = "Q0"
repeat
local prop
for i1, v1 in ipairs(locs) do
local proptbl = mw.wikibase.getBestStatements(qid, v1)
if #proptbl > 1 then
-- there is more than one higher location
local prevP131, prevP131id
if prevqid ~= "Q0" then
prevP131 = mw.wikibase.getBestStatements(prevqid, "P131")[1]
prevP131id = prevP131
and prevP131.mainsnak.datavalue
and prevP131.mainsnak.datavalue.value.id
end
for i2, v2 in ipairs(proptbl) do
local parttbl = v2.qualifiers and v2.qualifiers.P518
if parttbl then
-- this higher location has qualifier 'applies to part' (P518)
for i3, v3 in ipairs(parttbl) do
if v3.snaktype == "value" and v3.datavalue.value.id == prevqid then
-- it has a value equal to the previous location
prop = proptbl[i2]
break
end -- of test for matching last location
end -- of loop through values of 'applies to part'
else
-- there's no qualifier 'applies to part' (P518)
-- so check if the previous location had a P131 that matches this alternate
if qid == prevP131id then
prop = proptbl[i2]
break
end -- of test for matching previous P131
end
end -- of loop through parent locations
-- fallback to second value if match not found
prop = prop or proptbl[2]
elseif #proptbl > 0 then
prop = proptbl[1]
end
if prop then break end
end
-- check if it's an instance of (P31) a country (Q6256) or sovereign state (Q3624078)
-- and terminate the chain if it is
local inst = mw.wikibase.getAllStatements(qid, "P31")
if #inst > 0 then
for k, v in ipairs(inst) do
local instid = v.mainsnak.datavalue and v.mainsnak.datavalue.value.id
-- stop if it's a country (or a country within the United Kingdom if skip is true)
if instid == "Q6256" or instid == "Q3624078" or (skip and instid == "Q3336843") then
prop = nil -- this will ensure this is treated as top-level location
break
end
end
end
-- get the name of this location and update qid to point to the parent location
if prop and prop.mainsnak.datavalue then
if not skip or count == 0 then
local args = { lprefix = ":" }
out[#out+1] = linkedItem(qid, args) -- get a linked value if we can
end
qid, prevqid = prop.mainsnak.datavalue.value.id, qid
else
-- This is top-level location, so get short name except when this is the first item
-- Use full label if there's no short name or this is the first item
local prop1813 = mw.wikibase.getAllStatements(qid, "P1813")
-- if there's a short name and this isn't the only item
if prop1813[1] and (#out > 0)then
local shortname
-- short name is monolingual text, so look for match to the local language
-- choose the shortest 'short name' in that language
for k, v in pairs(prop1813) do
if v.mainsnak.datavalue.value.language == langcode then
local name = v.mainsnak.datavalue.value.text
if (not shortname) or (#name < #shortname) then
shortname = name
end
end
end
-- add the shortname if one is found, fallback to the label
-- but skip it if it's "USA"
if shortname ~= "USA" then
out[#out+1] = shortname or labelOrId(qid)
else
if skip then out[#out+1] = "US" end
end
else
-- no shortname, so just add the label
local loc = labelOrId(qid)
-- exceptions go here:
if loc == "United States of America" then
out[#out+1] = "United States"
else
out[#out+1] = loc
end
end
finished = true
end
count = count + 1
until finished or count >= 10 -- limit to 10 levels to avoid infinite loops
-- remove the first location if not required
if not first then table.remove(out, 1) end
-- we might have duplicate text for consecutive locations, so remove them
if #out > 2 then
local plain = {}
for i, v in ipairs(out) do
-- strip any links
plain[i] = v:gsub("^%[%[[^|]*|", ""):gsub("]]$", "")
end
local idx = 2
repeat
if plain[idx] == plain[idx-1] then
-- duplicate found
local removeidx = 0
if (plain[idx] ~= out[idx]) and (plain[idx-1] == out[idx-1]) then
-- only second one is linked, so drop the first
removeidx = idx - 1
elseif (plain[idx] == out[idx]) and (plain[idx-1] ~= out[idx-1]) then
-- only first one is linked, so drop the second
removeidx = idx
else
-- pick one
removeidx = idx - (os.time()%2)
end
table.remove(out, removeidx)
table.remove(plain, removeidx)
else
idx = idx +1
end
until idx >= #out
end
return out
end
-------------------------------------------------------------------------------
-- _getsumofparts scans the property 'has part' (P527) for values matching a list.
-- The list (args.vlist) consists of a string of Qids separated by spaces or any usual punctuation.
-- If the matched values have a qualifer 'quantity' (P1114), those quantites are summed.
-- The sum is returned as a number (i.e. 0 if none)
-- a table of arguments is supplied implementing the usual parameters.
-------------------------------------------------------------------------------
-- Dependencies: setRanks; parseParam; parseInput; sourced; assembleoutput;
-------------------------------------------------------------------------------
local _getsumofparts = function(args)
local vallist = (args.vlist or ""):upper()
if vallist == "" then return end
args.reqranks = setRanks(args.rank)
local f = {}
f.args = args
local qid, props = parseInput(f, "", "P527")
if not qid then return 0 end
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local sum = 0
for k1, v1 in ipairs(props) do
if (onlysrc == false or sourced(v1))
and v1.mainsnak.snaktype == "value"
and v1.mainsnak.datavalue.type == "wikibase-entityid"
and vallist:match( v1.mainsnak.datavalue.value.id )
and v1.qualifiers
then
local quals = v1.qualifiers["P1114"]
if quals then
for k2, v2 in ipairs(quals) do
sum = sum + v2.datavalue.value.amount
end
end
end
end
return sum
end
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Public functions
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- _getValue makes the functionality of getValue available to other modules
-------------------------------------------------------------------------------
-- Dependencies: setRanks; parseInput; propertyvalueandquals; assembleoutput; parseParam; sourced;
-- labelOrId; i18n.latestdatequalifier; format_Date; makeOrdinal; roundto; decimalPrecision; decimalToDMS;
-------------------------------------------------------------------------------
p._getValue = function(args)
-- parameter sets for commonly used groups of parameters
local paraset = tonumber(args.ps or args.parameterset or 0)
if paraset == 1 then
-- a common setting
args.rank = "best"
args.fetchwikidata = "ALL"
args.onlysourced = "no"
args.noicon = "true"
elseif paraset == 2 then
-- equivalent to raw
args.rank = "best"
args.fetchwikidata = "ALL"
args.onlysourced = "no"
args.noicon = "true"
args.linked = "no"
args.pd = "true"
elseif paraset == 3 then
-- third set goes here
end
-- implement eid parameter
local eid = args.eid
if eid == "" then
return nil
elseif eid then
args.qid = eid
end
local propertyID = mw.text.trim(args[1] or "")
args.reqranks = setRanks(args.rank)
-- replacetext (rt) is a string that is returned instead of any non-empty Wikidata value
-- this is useful for tracking and debugging, so we set fetchwikidata=ALL to fill the whitelist
local replacetext = mw.text.trim(args.rt or args.replacetext or "")
if replacetext ~= "" then
args.fetchwikidata = "ALL"
end
local f = {}
f.args = args
local entityid, props = parseInput(f, f.args[2], propertyID)
if not entityid then
return props -- either the input parameter or nothing
end
-- see if label should be in feminine form
if args.gender == "" then
local prop21 = mw.wikibase.getBestStatements(entityid, "P21")
for k, v in ipairs(prop21) do
if v.mainsnak.snaktype == "value" then
if v.mainsnak.datavalue.value.id == "Q6581072" or v.mainsnak.datavalue.value.id == "Q1052281" or v.mainsnak.datavalue.value.id == "Q43445" then
args.gender = "F"
-- args.gender = v.mainsnak.datavalue.value.id
break
end
end
end
end
-- qual is a string containing the property ID of the qualifier(s) to be returned
-- if qual == "ALL" then all qualifiers returned
-- if qual == "DATES" then qualifiers P580 (start time) and P582 (end time) returned
-- if nothing or an empty string is passed set it nil -> no qualifiers returned
local qualID = mw.text.trim(args.qual or ""):upper()
if qualID == "" then qualID = nil end
-- set a language object and code in the args table
args.langobj = findLang(args.lang)
args.lang = args.langobj.code
if args.artigosemlink=="yes" or args.artigosemlink=="sim" then args.linked = "no" end
-- table 'out' stores the return value(s):
local out = propertyvalueandquals(props, args, qualID)
-- format the table of values and return it as a string:
return assembleoutput(out, args, entityid, propertyID)
end
-------------------------------------------------------------------------------
-- getValue is used to get the value(s) of a property
-- The property ID is passed as the first unnamed parameter and is required.
-- A locally supplied parameter may optionaly be supplied as the second unnamed parameter.
-- The function will now also return qualifiers if parameter qual is supplied
-------------------------------------------------------------------------------
-- Dependencies: _getValue; setRanks; parseInput; propertyvalueandquals; assembleoutput; parseParam; sourced;
-- labelOrId; i18n.latestdatequalifier; format_Date; makeOrdinal; roundto; decimalPrecision; decimalToDMS;
-------------------------------------------------------------------------------
p.getValue = function(frame)
local args= frame.args
if not args[1] then
args = frame:getParent().args
if not args[1] then return i18n.errors["No property supplied"] end
end
return p._getValue(args)
end
-------------------------------------------------------------------------------
-- getPreferredValue is used to get a value,
-- (or a comma separated list of them if multiple values exist).
-- If preferred ranks are set, it will return those values, otherwise values with normal ranks
-- now redundant to getValue with |rank=best
-------------------------------------------------------------------------------
-- Dependencies: p.getValue; setRanks; parseInput; propertyvalueandquals; assembleoutput;
-- parseParam; sourced; labelOrId; i18n.latestdatequalifier; format_Date;
-- makeOrdinal; roundto; decimalPrecision; decimalToDMS;
-------------------------------------------------------------------------------
p.getPreferredValue = function(frame)
frame.args.rank = "best"
return p.getValue(frame)
end
-------------------------------------------------------------------------------
-- getCoords is used to get coordinates for display in an infobox
-- whitelist and blacklist are implemented
-- optional 'display' parameter is allowed, defaults to nil - was "inline, title"
-------------------------------------------------------------------------------
-- Dependencies: setRanks(); parseInput(); decimalPrecision();
-------------------------------------------------------------------------------
p.getCoords = function(frame)
local propertyID = "P625"
-- if there is a 'display' parameter supplied, use it
-- otherwise default to nothing
local disp = frame.args.display or ""
if disp == "" then
disp = nil -- default to not supplying display parameter, was "inline, title"
end
-- there may be a format parameter to switch from deg/min/sec to decimal degrees
-- default is deg/min/sec
-- decimal degrees needs |format = dec
local form = (frame.args.format or ""):lower():sub(1,3)
if form ~= "dec" then
form = "dms"
end
-- just deal with best values
frame.args.reqranks = setRanks("best")
local qid, props = parseInput(frame, frame.args[1], propertyID)
if not qid then
return props -- either local parameter or nothing
else
local dv = props[1].mainsnak.datavalue.value
local lat, long, prec = dv.latitude, dv.longitude, dv.precision
lat = decimalPrecision(lat, prec)
long = decimalPrecision(long, prec)
local lat_long = { lat, long }
lat_long["display"] = disp
lat_long["format"] = form
-- invoke template Coord with the values stored in the table
return frame:expandTemplate{title = 'coord', args = lat_long}
end
end
-------------------------------------------------------------------------------
-- getQualifierValue is used to get a formatted value of a qualifier
--
-- The call needs: a property (the unnamed parameter or 1=)
-- a target value for that property (pval=)
-- a qualifier for that target value (qual=)
-- The usual whitelisting and blacklisting of the property is implemented
-- The boolean onlysourced= parameter can be set to return nothing
-- when the property is unsourced (or only sourced to Wikipedia)
-------------------------------------------------------------------------------
-- Dependencies: parseParam(); setRanks(); parseInput(); sourced();
-- propertyvalueandquals(); assembleoutput();
-- labelOrId(); i18n.latestdatequalifier(); format_Date();
-- findLang(); makeOrdinal(); roundto(); decimalPrecision(); decimalToDMS();
-------------------------------------------------------------------------------
p.getQualifierValue = function(frame)
-- The property ID that will have a qualifier is the first unnamed parameter
local propertyID = mw.text.trim(frame.args[1] or "")
-- The value of the property we want to match whose qualifier value is to be returned
-- is passed in named parameter |pval=
local propvalue = frame.args.pval
-- The property ID of the qualifier
-- whose value is to be returned is passed in named parameter |qual=
local qualifierID = frame.args.qual
-- A filter can be set like this: filter=P642==Q22674854
local filter, fprop, fval
local ftable = mw.text.split(frame.args.filter or "", "==")
if ftable[2] then
fprop = mw.text.trim(ftable[1])
fval = mw.text.trim(ftable[2])
filter = true
end
-- onlysourced is a boolean passed to return qualifiers
-- only when property values are sourced to something other than Wikipedia
-- if nothing or an empty string is passed set it true
-- if "false" or "no" or 0 is passed set it false
local onlysrc = parseParam(frame.args.onlysourced or frame.args.osd, true)
-- set a language object and language code in the frame.args table
frame.args.langobj = findLang(frame.args.lang)
frame.args.lang = frame.args.langobj.code
-- set the requested ranks flags
frame.args.reqranks = setRanks(frame.args.rank)
-- check for locally supplied parameter in second unnamed parameter
-- success means no local parameter and the property exists
local qid, props = parseInput(frame, frame.args[2], propertyID)
if qid then
local out = {}
-- Scan through the values of the property
-- we want something like property is P793, significant event (in propertyID)
-- whose value is something like Q385378, construction (in propvalue)
-- then we can return the value(s) of a qualifier such as P580, start time (in qualifierID)
for k1, v1 in pairs(props) do
if v1.mainsnak.snaktype == "value" and v1.mainsnak.datavalue.type == "wikibase-entityid" then
-- It's a wiki-linked value, so check if it's the target (in propvalue) and if it has qualifiers
if v1.mainsnak.datavalue.value.id == propvalue and v1.qualifiers then
if onlysrc == false or sourced(v1) then
-- if we've got this far, we have a (sourced) claim with qualifiers
-- which matches the target, so apply the filter and find the value(s) of the qualifier we want
if not filter or (v1.qualifiers[fprop] and v1.qualifiers[fprop][1].datavalue.value.id == fval) then
local quals = v1.qualifiers[qualifierID]
if quals then
-- can't reference qualifer, so set onlysourced = "no" (args are strings, not boolean)
local qargs = frame.args
qargs.onlysourced = "no"
local vals = propertyvalueandquals(quals, qargs, qid)
for k, v in ipairs(vals) do
out[#out + 1] = v
end
end
end
end -- of check for sourced
end -- of check for matching required value and has qualifiers
end -- of check for wikibase entity
end -- of loop through values of propertyID
return assembleoutput(out, frame.args, qid, propertyID)
else
return props -- either local parameter or nothing
end -- of test for success
return nil
end
-------------------------------------------------------------------------------
-- getSumOfParts scans the property 'has part' (P527) for values matching a list.
-- The list is passed in parameter vlist.
-- It consists of a string of Qids separated by spaces or any usual punctuation.
-- If the matched values have a qualifier 'quantity' (P1114), those quantities are summed.
-- The sum is returned as a number or nothing if zero.
-------------------------------------------------------------------------------
-- Dependencies: _getsumofparts;
-------------------------------------------------------------------------------
p.getSumOfParts = function(frame)
local sum = _getsumofparts(frame.args)
if sum == 0 then return end
return sum
end
-------------------------------------------------------------------------------
-- getValueByQual gets the value of a property which has a qualifier with a given entity value
-- The call needs:
-- a property ID (the unnamed parameter or 1=Pxxx)
-- the ID of a qualifier for that property (qualID=Pyyy)
-- either the Wikibase-entity ID of a value for that qualifier (qvalue=Qzzz)
-- or a string value for that qualifier (qvalue=abc123)
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented
-------------------------------------------------------------------------------
-- Dependencies: _getvaluebyqual; parseParam; setRanks; parseInput; sourced;
-- assembleoutput;
-------------------------------------------------------------------------------
p.getValueByQual = function(frame)
local qualID = frame.args.qualID
-- The Q-id of the value for the qualifier we want to match is in named parameter |qvalue=
local qval = frame.args.qvalue or ""
if qval == "" then return "no qualifier value supplied" end
local function checkQID(id)
return id == qval
end
return _getvaluebyqual(frame, qualID, checkQID)
end
-------------------------------------------------------------------------------
-- getValueByLang gets the value of a property which has a qualifier P407
-- ("language of work or name") whose value has the given language code
-- The call needs:
-- a property ID (the unnamed parameter or 1=Pxxx)
-- the MediaWiki language code to match the language (lang=xx[-yy])
-- (if no code is supplied, it uses the default language)
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented
-------------------------------------------------------------------------------
-- Dependencies: _getvaluebyqual; parseParam; setRanks; parseInput; sourced; assembleoutput;
-------------------------------------------------------------------------------
p.getValueByLang = function(frame)
-- The language code for the qualifier we want to match is in named parameter |lang=
local langcode = findLang(frame.args.lang).code
local function checkLanguage(id)
-- id should represent a language like "British English (Q7979)"
-- it should have string property "Wikimedia language code (P424)"
-- qlcode will be a table:
local qlcode = mw.wikibase.getBestStatements(id, "P424")
if (#qlcode > 0) and (qlcode[1].mainsnak.datavalue.value == langcode) then
return true
end
end
return _getvaluebyqual(frame, "P407", checkLanguage)
end
-------------------------------------------------------------------------------
-- getValueByRefSource gets the value of a property which has a reference "stated in" (P248)
-- whose value has the given entity-ID.
-- The call needs:
-- a property ID (the unnamed parameter or 1=Pxxx)
-- the entity ID of a value to match where the reference is stated in (match=Qzzz)
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; propertyvalueandquals assembleoutput;
-------------------------------------------------------------------------------
p.getValueByRefSource = function(frame)
-- The property ID that we want to check is the first unnamed parameter
local propertyID = mw.text.trim(frame.args[1] or ""):upper()
if propertyID == "" then return "no property supplied" end
-- The Q-id of the value we want to match is in named parameter |qvalue=
local qval = (frame.args.match or ""):upper()
if qval == "" then qval = "Q21540096" end
local unit = (frame.args.unit or ""):upper()
if unit == "" then unit = "Q4917" end
local onlysrc = parseParam(frame.args.onlysourced or frame.args.osd, true)
-- set the requested ranks flags
frame.args.reqranks = setRanks(frame.args.rank)
-- set a language object and code in the frame.args table
frame.args.langobj = findLang(frame.args.lang)
frame.args.lang = frame.args.langobj.code
local linked = parseParam(frame.args.linked, true)
local uabbr = parseParam(frame.args.uabbr or frame.args.unitabbr, false)
-- qid not nil means no local parameter and the property exists
local qid, props = parseInput(frame, frame.args[2], propertyID)
if qid then
local out = {}
local mlt= {}
for k1, v1 in ipairs(props) do
if onlysrc == false or sourced(v1) then
if v1.references then
for k2, v2 in ipairs(v1.references) do
if v2.snaks.P248 then
for k3, v3 in ipairs(v2.snaks.P248) do
if v3.datavalue.value.id == qval then
out[#out+1], mlt[#out+1] = rendersnak(v1, frame.args, linked, "", "", "", "", uabbr, unit)
if not mlt[#out] then
-- we only need one match per property value
-- unless datatype was monolingual text
break
end
end -- of test for match
end -- of loop through values "stated in"
end -- of test that "stated in" exists
end -- of loop through references
end -- of test that references exist
end -- of test for sourced
end -- of loop through values of propertyID
if #mlt > 0 then
local langcode = frame.args.lang
langcode = mw.text.split( langcode, '-', true )[1]
local fbtbl = mw.language.getFallbacksFor( langcode )
table.insert( fbtbl, 1, langcode )
local bestval = ""
local found = false
for idx1, lang1 in ipairs(fbtbl) do
for idx2, lang2 in ipairs(mlt) do
if (lang1 == lang2) and not found then
bestval = out[idx2]
found = true
break
end
end -- loop through values of property
end -- loop through fallback languages
if found then
-- replace output table with a table containing the best value
out = { bestval }
else
-- more than one value and none of them on the list of fallback languages
-- sod it, just give them the first one
out = { out[1] }
end
end
return assembleoutput(out, frame.args, qid, propertyID)
else
return props -- no property or local parameter supplied
end -- of test for success
end
-------------------------------------------------------------------------------
-- getPropertyIDs takes most of the usual parameters.
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented.
-- It returns the Entity-IDs (Qids) of the values of a property if it is a Wikibase-Entity.
-- Otherwise it returns nothing.
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; propertyvalueandquals assembleoutput;
-------------------------------------------------------------------------------
p._getPropertyIDs = function(args)
args.reqranks = setRanks(args.rank)
args.langobj = findLang(args.lang)
args.lang = args.langobj.code
-- change default for noicon to true
args.noicon = tostring(parseParam(args.noicon or "", true))
local f = {}
f.args = args
local pid = mw.text.trim(args[1] or ""):upper()
-- get the qid and table of claims for the property, or nothing and the local value passed
local qid, props = parseInput(f, args[2], pid)
if not qid then return props end
if not props[1] then return nil end
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local maxvals = tonumber(args.maxvals) or 0
local out = {}
for i, v in ipairs(props) do
local snak = v.mainsnak
if ( snak.datatype == "wikibase-item" )
and ( v.rank and args.reqranks[v.rank:sub(1, 1)] )
and ( snak.snaktype == "value" )
and ( sourced(v) or not onlysrc )
then
out[#out+1] = snak.datavalue.value.id
end
if maxvals > 0 and #out >= maxvals then break end
end
return assembleoutput(out, args, qid, pid)
end
p.getPropertyIDs = function(frame)
local args = frame.args
return p._getPropertyIDs(args)
end
-------------------------------------------------------------------------------
-- getQualifierIDs takes most of the usual parameters.
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented.
-- It takes a property-id as the first unnamed parameter, and an optional parameter qlist
-- which is a list of qualifier property-ids to search for (default is "ALL")
-- It returns the Entity-IDs (Qids) of the values of a property if it is a Wikibase-Entity.
-- Otherwise it returns nothing.
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; propertyvalueandquals assembleoutput;
-------------------------------------------------------------------------------
p.getQualifierIDs = function(frame)
local args = frame.args
args.reqranks = setRanks(args.rank)
args.langobj = findLang(args.lang)
args.lang = args.langobj.code
-- change default for noicon to true
args.noicon = tostring(parseParam(args.noicon or "", true))
local f = {}
f.args = args
local pid = mw.text.trim(args[1] or ""):upper()
-- get the qid and table of claims for the property, or nothing and the local value passed
local qid, props = parseInput(f, args[2], pid)
if not qid then return props end
if not props[1] then return nil end
-- get the other parameters
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local maxvals = tonumber(args.maxvals) or 0
local qlist = args.qlist or ""
if qlist == "" then qlist = "ALL" end
qlist = qlist:gsub("[%p%s]+", " ") .. " "
local out = {}
for i, v in ipairs(props) do
local snak = v.mainsnak
if ( v.rank and args.reqranks[v.rank:sub(1, 1)] )
and ( snak.snaktype == "value" )
and ( sourced(v) or not onlysrc )
then
if v.qualifiers then
for k1, v1 in pairs(v.qualifiers) do
if qlist == "ALL " or qlist:match(k1 .. " ") then
for i2, v2 in ipairs(v1) do
if v2.datatype == "wikibase-item" and v2.snaktype == "value" then
out[#out+1] = v2.datavalue.value.id
end -- of test that id exists
end -- of loop through qualifier values
end -- of test for kq in qlist
end -- of loop through qualifiers
end -- of test for qualifiers
end -- of test for rank value, sourced, and value exists
if maxvals > 0 and #out >= maxvals then break end
end -- of loop through property values
return assembleoutput(out, args, qid, pid)
end
-------------------------------------------------------------------------------
-- getPropOfProp takes two propertyIDs: prop1 and prop2 (as well as the usual parameters)
-- If the value(s) of prop1 are of type "wikibase-item" then it returns the value(s) of prop2
-- of each of those wikibase-items.
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; propertyvalueandquals assembleoutput;
-------------------------------------------------------------------------------
p._getPropOfProp = function(args)
-- parameter sets for commonly used groups of parameters
local paraset = tonumber(args.ps or args.parameterset or 0)
if paraset == 1 then
-- a common setting
args.rank = "best"
args.fetchwikidata = "ALL"
args.onlysourced = "no"
args.noicon = "true"
elseif paraset == 2 then
-- equivalent to raw
args.rank = "best"
args.fetchwikidata = "ALL"
args.onlysourced = "no"
args.noicon = "true"
args.linked = "no"
args.pd = "true"
elseif paraset == 3 then
-- third set goes here
end
args.reqranks = setRanks(args.rank)
args.langobj = findLang(args.lang)
args.lang = args.langobj.code
local pid1 = args.prop1 or args.pid1 or ""
local pid2 = args.prop2 or args.pid2 or ""
if pid1 == "" or pid2 == "" then return nil end
local f = {}
f.args = args
local qid1, statements1 = parseInput(f, args[1], pid1)
-- parseInput nulls empty args[1] and returns args[1] if nothing on Wikidata
if not qid1 then return statements1 end
-- otherwise it returns the qid and a table for the statement
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local maxvals = tonumber(args.maxvals) or 0
local qualID = mw.text.trim(args.qual or ""):upper()
if qualID == "" then qualID = nil end
local out = {}
for k, v in ipairs(statements1) do
if not onlysrc or sourced(v) then
local snak = v.mainsnak
if snak.datatype == "wikibase-item" and snak.snaktype == "value" then
local qid2 = snak.datavalue.value.id
local statements2 = {}
if args.reqranks.b then
statements2 = mw.wikibase.getBestStatements(qid2, pid2)
else
statements2 = mw.wikibase.getAllStatements(qid2, pid2)
end
if statements2[1] then
local out2 = propertyvalueandquals(statements2, args, qualID)
out[#out+1] = assembleoutput(out2, args, qid2, pid2)
end
end -- of test for valid property1 value
end -- of test for sourced
if maxvals > 0 and #out >= maxvals then break end
end -- of loop through values of property1
return assembleoutput(out, args, qid1, pid1)
end
p.getPropOfProp = function(frame)
local args= frame.args
if not args.prop1 and not args.pid1 then
args = frame:getParent().args
if not args.prop1 and not args.pid1 then return i18n.errors["No property supplied"] end
end
return p._getPropOfProp(args)
end
-------------------------------------------------------------------------------
-- getAwardCat takes most of the usual parameters. If the item has values of P166 (award received),
-- then it examines each of those awards for P2517 (category for recipients of this award).
-- If it exists, it returns the corresponding category,
-- with the item's P734 (family name) as sort key, or no sort key if there is no family name.
-- The sort key may be overridden by the parameter |sortkey (alias |sk).
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; propertyvalueandquals assembleoutput;
-------------------------------------------------------------------------------
p.getAwardCat = function(frame)
frame.args.reqranks = setRanks(frame.args.rank)
frame.args.langobj = findLang(frame.args.lang)
frame.args.lang = frame.args.langobj.code
local args = frame.args
args.sep = " "
local pid1 = args.prop1 or "P166"
local pid2 = args.prop2 or "P2517"
if pid1 == "" or pid2 == "" then return nil end
-- locally supplied value:
local localval = mw.text.trim(args[1] or "")
local qid1, statements1 = parseInput(frame, localval, pid1)
if not qid1 then return localval end
-- linkprefix (strip quotes)
local lp = (args.linkprefix or args.lp or ""):gsub('"', '')
-- sort key (strip quotes, hyphens and periods):
local sk = (args.sortkey or args.sk or ""):gsub('["-.]', '')
-- family name:
local famname = ""
if sk == "" then
local p734 = mw.wikibase.getBestStatements(qid1, "P734")[1]
local p734id = p734 and p734.mainsnak.snaktype == "value" and p734.mainsnak.datavalue.value.id or ""
famname = mw.wikibase.getSitelink(p734id) or ""
-- strip namespace and disambigation
local pos = famname:find(":") or 0
famname = famname:sub(pos+1):gsub("%s%(.+%)$", "")
if famname == "" then
local lbl = mw.wikibase.getLabel(p734id)
famname = lbl and mw.text.nowiki(lbl) or ""
end
end
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local maxvals = tonumber(args.maxvals) or 0
local qualID = mw.text.trim(args.qual or ""):upper()
if qualID == "" then qualID = nil end
local out = {}
for k, v in ipairs(statements1) do
if not onlysrc or sourced(v) then
local snak = v.mainsnak
if snak.datatype == "wikibase-item" and snak.snaktype == "value" then
local qid2 = snak.datavalue.value.id
local statements2 = {}
if args.reqranks.b then
statements2 = mw.wikibase.getBestStatements(qid2, pid2)
else
statements2 = mw.wikibase.getAllStatements(qid2, pid2)
end
if statements2[1] and statements2[1].mainsnak.snaktype == "value" then
local qid3 = statements2[1].mainsnak.datavalue.value.id
local sitelink = mw.wikibase.getSitelink(qid3)
-- if there's no local sitelink, create the sitelink from English label
if not sitelink then
local lbl = mw.wikibase.getLabelByLang(qid3, "en")
if lbl then
if lbl:sub(1,9) == "Category:" then
sitelink = mw.text.nowiki(lbl)
else
sitelink = "Category:" .. mw.text.nowiki(lbl)
end
end
end
if sitelink then
if sk ~= "" then
out[#out+1] = "[[" .. lp .. sitelink .. "|" .. sk .. "]]"
elseif famname ~= "" then
out[#out+1] = "[[" .. lp .. sitelink .. "|" .. famname .. "]]"
else
out[#out+1] = "[[" .. lp .. sitelink .. "]]"
end -- of check for sort keys
end -- of test for sitelink
end -- of test for category
end -- of test for wikibase item has a value
end -- of test for sourced
if maxvals > 0 and #out >= maxvals then break end
end -- of loop through values of property1
return assembleoutput(out, args, qid1, pid1)
end
-------------------------------------------------------------------------------
-- getIntersectCat takes most of the usual parameters.
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented
-- It takes two properties, |prop1 and |prop2 (e.g. occupation and country of citizenship)
-- Each property's value is a wiki-base entity
-- For each value of the first parameter (ranks implemented) it fetches the value's main category
-- and then each value of the second parameter (possibly substituting a simpler description)
-- then it returns all of the categories representing the intersection of those properties,
-- (e.g. Category:Actors from Canada). A joining term may be supplied (e.g. |join=from).
-- The item's P734 (family name) is the sort key, or no sort key if there is no family name.
-- The sort key may be overridden by the parameter |sortkey (alias |sk).
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced; propertyvalueandquals assembleoutput;
-------------------------------------------------------------------------------
p.getIntersectCat = function(frame)
frame.args.reqranks = setRanks(frame.args.rank)
frame.args.langobj = findLang(frame.args.lang)
frame.args.lang = frame.args.langobj.code
local args = frame.args
args.sep = " "
args.linked = "no"
local pid1 = args.prop1 or "P106"
local pid2 = args.prop2 or "P27"
if pid1 == "" or pid2 == "" then return nil end
local qid, statements1 = parseInput(frame, "", pid1)
if not qid then return nil end
local qid, statements2 = parseInput(frame, "", pid2)
if not qid then return nil end
-- topics like countries may have different names in categories from their label in Wikidata
local subs_exists, subs = pcall(mw.loadData, "Module:WikidataIB/subs")
local join = args.join or ""
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local maxvals = tonumber(args.maxvals) or 0
-- linkprefix (strip quotes)
local lp = (args.linkprefix or args.lp or ""):gsub('"', '')
-- sort key (strip quotes, hyphens and periods):
local sk = (args.sortkey or args.sk or ""):gsub('["-.]', '')
-- family name:
local famname = ""
if sk == "" then
local p734 = mw.wikibase.getBestStatements(qid, "P734")[1]
local p734id = p734 and p734.mainsnak.snaktype == "value" and p734.mainsnak.datavalue.value.id or ""
famname = mw.wikibase.getSitelink(p734id) or ""
-- strip namespace and disambigation
local pos = famname:find(":") or 0
famname = famname:sub(pos+1):gsub("%s%(.+%)$", "")
if famname == "" then
local lbl = mw.wikibase.getLabel(p734id)
famname = lbl and mw.text.nowiki(lbl) or ""
end
end
local cat1 = {}
for k, v in ipairs(statements1) do
if not onlysrc or sourced(v) then
-- get the ID representing the value of the property
local pvalID = (v.mainsnak.snaktype == "value") and v.mainsnak.datavalue.value.id
if pvalID then
-- get the topic's main category (P910) for that entity
local p910 = mw.wikibase.getBestStatements(pvalID, "P910")[1]
if p910 and p910.mainsnak.snaktype == "value" then
local tmcID = p910.mainsnak.datavalue.value.id
-- use sitelink or the English label for the cat
local cat = mw.wikibase.getSitelink(tmcID)
if not cat then
local lbl = mw.wikibase.getLabelByLang(tmcID, "en")
if lbl then
if lbl:sub(1,9) == "Category:" then
cat = mw.text.nowiki(lbl)
else
cat = "Category:" .. mw.text.nowiki(lbl)
end
end
end
cat1[#cat1+1] = cat
end -- of test for topic's main category exists
end -- of test for property has vaild value
end -- of test for sourced
if maxvals > 0 and #cat1 >= maxvals then break end
end
local cat2 = {}
for k, v in ipairs(statements2) do
if not onlysrc or sourced(v) then
local cat = rendersnak(v, args)
if subs[cat] then cat = subs[cat] end
cat2[#cat2+1] = cat
end
if maxvals > 0 and #cat2 >= maxvals then break end
end
local out = {}
for k1, v1 in ipairs(cat1) do
for k2, v2 in ipairs(cat2) do
if sk ~= "" then
out[#out+1] = "[[" .. lp .. v1 .. " " .. join .. " " .. v2 .. "|" .. sk .. "]]"
elseif famname ~= "" then
out[#out+1] = "[[" .. lp .. v1 .. " " .. join .. " " .. v2 .. "|" .. famname .. "]]"
else
out[#out+1] = "[[" .. lp .. v1 .. " " .. join .. " " .. v2 .. "]]"
end -- of check for sort keys
end
end
args.noicon = "true"
return assembleoutput(out, args, qid, pid1)
end
-------------------------------------------------------------------------------
-- qualsToTable takes most of the usual parameters.
-- The usual whitelisting, blacklisting, onlysourced, etc. are implemented.
-- A qid may be given, and the first unnamed parameter is the property ID, which is of type wikibase item.
-- It takes a list of qualifier property IDs as |quals=
-- For a given qid and property, it creates the rows of an html table,
-- each row being a value of the property (optionally only if the property matches the value in |pval= )
-- each cell being the first value of the qualifier corresponding to the list in |quals
-------------------------------------------------------------------------------
-- Dependencies: parseParam; setRanks; parseInput; sourced;
-------------------------------------------------------------------------------
p.qualsToTable = function(frame)
local args = frame.args
local quals = args.quals or ""
if quals == "" then return "" end
args.reqranks = setRanks(args.rank)
local propertyID = mw.text.trim(args[1] or "")
local f = {}
f.args = args
local entityid, props = parseInput(f, "", propertyID)
if not entityid then return "" end
args.langobj = findLang(args.lang)
args.lang = args.langobj.code
local pval = args.pval or ""
local qplist = mw.text.split(quals, "%p") -- split at punctuation and make a sequential table
for i, v in ipairs(qplist) do
qplist[i] = mw.text.trim(v):upper() -- remove whitespace and capitalise
end
local col1 = args.firstcol or ""
if col1 ~= "" then
col1 = col1 .. "</td><td>"
end
local emptycell = args.emptycell or " "
-- construct a 2-D array of qualifier values in qvals
local qvals = {}
for i, v in ipairs(props) do
local skip = false
if pval ~= "" then
local pid = v.mainsnak.datavalue and v.mainsnak.datavalue.value.id
if pid ~= pval then skip = true end
end
if not skip then
local qval = {}
local vqualifiers = v.qualifiers or {}
-- go through list of wanted qualifier properties
for i1, v1 in ipairs(qplist) do
-- check for that property ID in the statement's qualifiers
local qv, qtype
if vqualifiers[v1] then
qtype = vqualifiers[v1][1].datatype
if qtype == "time" then
if vqualifiers[v1][1].snaktype == "value" then
qv = mw.wikibase.renderSnak(vqualifiers[v1][1])
qv = frame:expandTemplate{title="dts", args={qv}}
else
qv = "?"
end
elseif qtype == "url" then
if vqualifiers[v1][1].snaktype == "value" then
qv = mw.wikibase.renderSnak(vqualifiers[v1][1])
local display = mw.ustring.match( mw.uri.decode(qv, "WIKI"), "([%w ]+)$" )
if display then
qv = "[" .. qv .. " " .. display .. "]"
end
end
else
qv = mw.wikibase.formatValue(vqualifiers[v1][1])
end
end
-- record either the value or a placeholder
qval[i1] = qv or emptycell
end -- of loop through list of qualifiers
-- add the list of qualifier values as a "row" in the main list
qvals[#qvals+1] = qval
end
end -- of for each value loop
local out = {}
for i, v in ipairs(qvals) do
out[i] = "<tr><td>" .. col1 .. table.concat(qvals[i], "</td><td>") .. "</td></tr>"
end
return table.concat(out, "\n")
end
-------------------------------------------------------------------------------
-- getGlobe takes an optional qid of a Wikidata entity passed as |qid=
-- otherwise it uses the linked item for the current page.
-- If returns the Qid of the globe used in P625 (coordinate location),
-- or nil if there isn't one.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getGlobe = function(frame)
local qid = frame.args.qid or frame.args[1] or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
local coords = mw.wikibase.getBestStatements(qid, "P625")[1]
local globeid
if coords and coords.mainsnak.snaktype == "value" then
globeid = coords.mainsnak.datavalue.value.globe:match("(Q%d+)")
end
return globeid
end
-------------------------------------------------------------------------------
-- getCommonsLink takes an optional qid of a Wikidata entity passed as |qid=
-- It returns one of the following in order of preference:
-- the Commons sitelink of the linked Wikidata item;
-- the Commons sitelink of the topic's main category of the linked Wikidata item;
-------------------------------------------------------------------------------
-- Dependencies: _getCommonslink(); _getSitelink(); parseParam()
-------------------------------------------------------------------------------
p.getCommonsLink = function(frame)
local oc = frame.args.onlycat or frame.args.onlycategories
local fb = parseParam(frame.args.fallback or frame.args.fb, true)
return _getCommonslink(frame.args.qid, oc, fb)
end
-------------------------------------------------------------------------------
-- getSitelink takes the qid of a Wikidata entity passed as |qid=
-- It takes an optional parameter |wiki= to determine which wiki is to be checked for a sitelink
-- If the parameter is blank, then it uses the local wiki.
-- If there is a sitelink to an article available, it returns the plain text link to the article
-- If there is no sitelink, it returns nil.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getSiteLink = function(frame)
return _getSitelink(frame.args.qid, frame.args.wiki or mw.text.trim(frame.args[1] or ""))
end
-------------------------------------------------------------------------------
-- getLink has the qid of a Wikidata entity passed as the first unnamed parameter or as |qid=
-- If there is a sitelink to an article on the local Wiki, it returns a link to the article
-- with the Wikidata label as the displayed text.
-- If there is no sitelink, it returns the label as plain text.
-- If there is no label in the local language, it displays the qid instead.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getLink = function(frame)
local itemID = mw.text.trim(frame.args[1] or frame.args.qid or "")
if itemID == "" then return end
local sitelink = mw.wikibase.getSitelink(itemID)
local label = labelOrId(itemID)
if sitelink then
return "[[:" .. sitelink .. "|" .. label .. "]]"
else
return label
end
end
-------------------------------------------------------------------------------
-- getLabel has the qid of a Wikidata entity passed as the first unnamed parameter or as |qid=
-- It returns the Wikidata label for the local language as plain text.
-- If there is no label in the local language, it displays the qid instead.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getLabel = function(frame)
local itemID = mw.text.trim(frame.args[1] or frame.args.qid or "")
if itemID == "" then return end
local lang = frame.args.lang or ""
if lang == "" then lang = nil end
local label = labelOrId(itemID, lang)
return label
end
-------------------------------------------------------------------------------
-- label has the qid of a Wikidata entity passed as the first unnamed parameter or as |qid=
-- if no qid is supplied, it uses the qid associated with the current page.
-- It returns the Wikidata label for the local language as plain text.
-- If there is no label in the local language, it returns nil.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.label = function(frame)
local qid = mw.text.trim(frame.args[1] or frame.args.qid or "")
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return end
local lang = frame.args.lang or ""
if lang == "" then lang = nil end
local label, success = labelOrId(qid, lang)
if success then return label end
end
-------------------------------------------------------------------------------
-- getAT (Article Title)
-- has the qid of a Wikidata entity passed as the first unnamed parameter or as |qid=
-- If there is a sitelink to an article on the local Wiki, it returns the sitelink as plain text.
-- If there is no sitelink or qid supplied, it returns nothing.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getAT = function(frame)
local itemID = mw.text.trim(frame.args[1] or frame.args.qid or "")
if itemID == "" then return end
return mw.wikibase.getSitelink(itemID)
end
-------------------------------------------------------------------------------
-- getDescription has the qid of a Wikidata entity passed as |qid=
-- (it defaults to the associated qid of the current article if omitted)
-- and a local parameter passed as the first unnamed parameter.
-- Any local parameter passed (other than "Wikidata" or "none") becomes the return value.
-- It returns the article description for the Wikidata entity if the local parameter is "Wikidata".
-- Nothing is returned if the description doesn't exist or "none" is passed as the local parameter.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getDescription = function(frame)
local desc = mw.text.trim(frame.args[1] or "")
local itemID = mw.text.trim(frame.args.qid or "")
if itemID == "" then itemID = nil end
if desc:lower() == 'wikidata' then
return mw.wikibase.getDescription(itemID)
elseif desc:lower() == 'none' then
return nil
else
return desc
end
end
-------------------------------------------------------------------------------
-- getAliases has the qid of a Wikidata entity passed as |qid=
-- (it defaults to the associated qid of the current article if omitted)
-- and a local parameter passed as the first unnamed parameter.
-- It implements blacklisting and whitelisting with a field name of "alias" by default.
-- Any local parameter passed becomes the return value.
-- Otherwise it returns the aliases for the Wikidata entity with the usual list options.
-- Nothing is returned if the aliases do not exist.
-------------------------------------------------------------------------------
-- Dependencies: findLang(); assembleoutput()
-------------------------------------------------------------------------------
p.getAliases = function(frame)
local args = frame.args
local fieldname = args.name or ""
if fieldname == "" then fieldname = "alias" end
local blacklist = args.suppressfields or args.spf or ""
if blacklist:find(fieldname) then return nil end
local localval = mw.text.trim(args[1] or "")
if localval ~= "" then return localval end
local whitelist = args.fetchwikidata or args.fwd or ""
if whitelist == "" then whitelist = "NONE" end
if not (whitelist == 'ALL' or whitelist:find(fieldname)) then return nil end
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid or not mw.wikibase.entityExists(qid) then return nil end
local aliases = mw.wikibase.getEntity(qid).aliases
if not aliases then return nil end
args.langobj = findLang(args.lang)
local langcode = args.langobj.code
args.lang = langcode
local out = {}
for k1, v1 in pairs(aliases) do
if v1[1].language == langcode then
for k1, v2 in ipairs(v1) do
out[#out+1] = v2.value
end
break
end
end
return assembleoutput(out, args, qid)
end
-------------------------------------------------------------------------------
-- pageId returns the page id (entity ID, Qnnn) of the current page
-- returns nothing if the page is not connected to Wikidata
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.pageId = function(frame)
return mw.wikibase.getEntityIdForCurrentPage()
end
-------------------------------------------------------------------------------
-- formatDate is a wrapper to export the private function format_Date
-------------------------------------------------------------------------------
-- Dependencies: format_Date();
-------------------------------------------------------------------------------
p.formatDate = function(frame)
return format_Date(frame.args[1], frame.args.df, frame.args.bc)
end
-------------------------------------------------------------------------------
-- location is a wrapper to export the private function _location
-- it takes the entity-id as qid or the first unnamed parameter
-- optional boolean parameter first toggles the display of the first item
-- optional boolean parameter skip toggles the display to skip to the last item
-- parameter debug=<y/n> (default 'n') adds error msg if not a location
-------------------------------------------------------------------------------
-- Dependencies: _location();
-------------------------------------------------------------------------------
p.location = function(frame)
local debug = (frame.args.debug or ""):sub(1, 1):lower()
if debug == "" then debug = "n" end
local qid = mw.text.trim(frame.args.qid or frame.args[1] or ""):upper()
if qid == "" then qid=mw.wikibase.getEntityIdForCurrentPage() end
if not qid then
if debug ~= "n" then
return i18n.errors["entity-not-found"]
else
return nil
end
end
local first = mw.text.trim(frame.args.first or "")
local skip = mw.text.trim(frame.args.skip or "")
return table.concat( _location(qid, first, skip), ", " )
end
-------------------------------------------------------------------------------
-- checkBlacklist implements a test to check whether a named field is allowed
-- returns true if the field is not blacklisted (i.e. allowed)
-- returns false if the field is blacklisted (i.e. disallowed)
-- {{#if:{{#invoke:WikidataIB |checkBlacklist |name=Joe |suppressfields=Dave; Joe; Fred}} | not blacklisted | blacklisted}}
-- displays "blacklisted"
-- {{#if:{{#invoke:WikidataIB |checkBlacklist |name=Jim |suppressfields=Dave; Joe; Fred}} | not blacklisted | blacklisted}}
-- displays "not blacklisted"
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.checkBlacklist = function(frame)
local blacklist = frame.args.suppressfields or frame.args.spf or ""
local fieldname = frame.args.name or ""
if blacklist ~= "" and fieldname ~= "" then
if blacklist:find(fieldname) then
return false
else
return true
end
else
-- one of the fields is missing: let's call that "not on the list"
return true
end
end
-------------------------------------------------------------------------------
-- emptyor returns nil if its first unnamed argument is just punctuation, whitespace or html tags
-- otherwise it returns the argument unchanged (including leading/trailing space).
-- If the argument may contain "=", then it must be called explicitly:
-- |1=arg
-- (In that case, leading and trailing spaces are trimmed)
-- It finds use in infoboxes where it can replace tests like:
-- {{#if: {{#invoke:WikidatIB |getvalue |P99 |fwd=ALL}} | <span class="xxx">{{#invoke:WikidatIB |getvalue |P99 |fwd=ALL}}</span> | }}
-- with a form that uses just a single call to Wikidata:
-- {{#invoke |WikidataIB |emptyor |1= <span class="xxx">{{#invoke:WikidataIB |getvalue |P99 |fwd=ALL}}</span> }}
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.emptyor = function(frame)
local s = frame.args[1] or ""
if s == "" then return nil end
local sx = s:gsub("%s", ""):gsub("<[^>]*>", ""):gsub("%p", "")
if sx == "" then
return nil
else
return s
end
end
-------------------------------------------------------------------------------
-- labelorid is a public function to expose the output of labelOrId()
-- Pass the Q-number as |qid= or as an unnamed parameter.
-- It returns the Wikidata label for that entity or the qid if no label exists.
-------------------------------------------------------------------------------
-- Dependencies: labelOrId
-------------------------------------------------------------------------------
p.labelorid = function(frame)
return (labelOrId(frame.args.qid or frame.args[1]))
end
-------------------------------------------------------------------------------
-- getLang returns the MediaWiki language code of the current content.
-- If optional parameter |style=full, it returns the language name.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getLang = function(frame)
local style = (frame.args.style or ""):lower()
local langcode = mw.language.getContentLanguage().code
if style == "full" then
return mw.language.fetchLanguageName( langcode )
end
return langcode
end
-------------------------------------------------------------------------------
-- getItemLangCode takes a qid parameter (using the current page's qid if blank)
-- If the item for that qid has property country (P17) it looks at the first preferred value
-- If the country has an official language (P37), it looks at the first preferred value
-- If that official language has a language code (P424), it returns the first preferred value
-- Otherwise it returns nothing.
-------------------------------------------------------------------------------
-- Dependencies: _getItemLangCode()
-------------------------------------------------------------------------------
p.getItemLangCode = function(frame)
return _getItemLangCode(frame.args.qid or frame.args[1])
end
-------------------------------------------------------------------------------
-- findLanguage exports the local findLang() function
-- It takes an optional language code and returns, in order of preference:
-- the code if a known language;
-- the user's language, if set;
-- the server's content language.
-------------------------------------------------------------------------------
-- Dependencies: findLang
-------------------------------------------------------------------------------
p.findLanguage = function(frame)
return findLang(frame.args.lang or frame.args[1]).code
end
-------------------------------------------------------------------------------
-- getQid returns the qid, if supplied
-- failing that, the Wikidata entity ID of the "category's main topic (P301)", if it exists
-- failing that, the Wikidata entity ID associated with the current page, if it exists
-- otherwise, nothing
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getQid = function(frame)
local qid = (frame.args.qid or ""):upper()
-- check if a qid was passed; if so, return it:
if qid ~= "" then return qid end
-- check if there's a "category's main topic (P301)":
qid = mw.wikibase.getEntityIdForCurrentPage()
if qid then
local prop301 = mw.wikibase.getBestStatements(qid, "P301")
if prop301[1] then
local mctid = prop301[1].mainsnak.datavalue.value.id
if mctid then return mctid end
end
end
-- otherwise return the page qid (if any)
return qid
end
-------------------------------------------------------------------------------
-- followQid takes four optional parameters: qid, props, list and all.
-- If qid is not given, it uses the qid for the connected page
-- or returns nil if there isn't one.
-- props is a list of properties, separated by punctuation.
-- If props is given, the Wikidata item for the qid is examined for each property in turn.
-- If that property contains a value that is another Wikibase-item, that item's qid is returned,
-- and the search terminates, unless |all=y when all of the qids are returned, separated by spaces.
-- If |list= is set to a template, the qids are passed as arguments to the template.
-- If props is not given, the qid is returned.
-------------------------------------------------------------------------------
-- Dependencies: parseParam()
-------------------------------------------------------------------------------
p._followQid = function(args)
local qid = (args.qid or ""):upper()
local all = parseParam(args.all, false)
local list = args.list or ""
if list == "" then list = nil end
if qid == "" then
qid = mw.wikibase.getEntityIdForCurrentPage()
end
if not qid then return nil end
local out = {}
local props = (args.props or ""):upper()
if props ~= "" then
for p in mw.text.gsplit(props, "%p") do -- split at punctuation and iterate
p = mw.text.trim(p)
for i, v in ipairs( mw.wikibase.getBestStatements(qid, p) ) do
local linkedid = v.mainsnak.datavalue and v.mainsnak.datavalue.value.id
if linkedid then
if all then
out[#out+1] = linkedid
else
return linkedid
end -- test for all or just the first one found
end -- test for value exists for that property
end -- loop through values of property to follow
end -- loop through list of properties to follow
end
if #out > 0 then
local ret = ""
if list then
ret = mw.getCurrentFrame():expandTemplate{title = list, args = out}
else
ret = table.concat(out, " ")
end
return ret
else
return qid
end
end
p.followQid = function(frame)
return p._followQid(frame.args)
end
-------------------------------------------------------------------------------
-- globalSiteID returns the globalSiteID for the current wiki
-- e.g. returns "enwiki" for the English Wikipedia, "enwikisource" for English Wikisource, etc.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.globalSiteID = function(frame)
return mw.wikibase.getGlobalSiteId()
end
-------------------------------------------------------------------------------
-- siteID returns the root of the globalSiteID
-- e.g. "en" for "enwiki", "enwikisource", etc.
-- treats "en-gb" as "en", etc.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.siteID = function(frame)
local txtlang = frame:preprocess( "{{int:lang}}" ) or ""
-- This deals with specific exceptions: be-tarask -> be-x-old
if txtlang == "be-tarask" then
return "be_x_old"
end
local pos = txtlang:find("-")
local ret = ""
if pos then
ret = txtlang:sub(1, pos-1)
else
ret = txtlang
end
return ret
end
-------------------------------------------------------------------------------
-- projID returns the code used to link to the reader's language's project
-- e.g "en" for [[:en:WikidataIB]]
-- treats "en-gb" as "en", etc.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.projID = function(frame)
local txtlang = frame:preprocess( "{{int:lang}}" ) or ""
-- This deals with specific exceptions: be-tarask -> be-x-old
if txtlang == "be-tarask" then
return "be-x-old"
end
local pos = txtlang:find("-")
local ret = ""
if pos then
ret = txtlang:sub(1, pos-1)
else
ret = txtlang
end
return ret
end
-------------------------------------------------------------------------------
-- formatNumber formats a number according to the the supplied language code ("|lang=")
-- or the default language if not supplied.
-- The number is the first unnamed parameter or "|num="
-------------------------------------------------------------------------------
-- Dependencies: findLang()
-------------------------------------------------------------------------------
p.formatNumber = function(frame)
local lang
local num = tonumber(frame.args[1] or frame.args.num) or 0
lang = findLang(frame.args.lang)
return lang:formatNum( num )
end
-------------------------------------------------------------------------------
-- examine dumps the property (the unnamed parameter or pid)
-- from the item given by the parameter 'qid' (or the other unnamed parameter)
-- or from the item corresponding to the current page if qid is not supplied.
-- e.g. {{#invoke:WikidataIB |examine |pid=P26 |qid=Q42}}
-- or {{#invoke:WikidataIB |examine |P26 |Q42}} or any combination of these
-- or {{#invoke:WikidataIB |examine |P26}} for the current page.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.examine = function( frame )
local args
if frame.args[1] or frame.args.pid or frame.args.qid then
args = frame.args
else
args = frame:getParent().args
end
local par = {}
local pid = (args.pid or ""):upper()
local qid = (args.qid or ""):upper()
par[1] = mw.text.trim( args[1] or "" ):upper()
par[2] = mw.text.trim( args[2] or "" ):upper()
table.sort(par)
if par[2]:sub(1,1) == "P" then par[1], par[2] = par[2], par[1] end
if pid == "" then pid = par[1] end
if qid == "" then qid = par[2] end
local q1 = qid:sub(1,1)
if pid:sub(1,1) ~= "P" then return "No property supplied" end
if q1 ~= "Q" and q1 ~= "M" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return "No item for this page" end
return "<pre>" .. mw.dumpObject( mw.wikibase.getAllStatements( qid, pid ) ) .. "</pre>"
end
-------------------------------------------------------------------------------
-- checkvalue looks for 'val' as a wikibase-item value of a property (the unnamed parameter or pid)
-- from the item given by the parameter 'qid'
-- or from the Wikidata item associated with the current page if qid is not supplied.
-- It only checks ranks that are requested (preferred and normal by default)
-- If property is not supplied, then P31 (instance of) is assumed.
-- It returns val if found or nothing if not found.
-- e.g. {{#invoke:WikidataIB |checkvalue |val=Q5 |pid=P31 |qid=Q42}}
-- or {{#invoke:WikidataIB |checkvalue |val=Q5 |P31 |qid=Q42}}
-- or {{#invoke:WikidataIB |checkvalue |val=Q5 |qid=Q42}}
-- or {{#invoke:WikidataIB |checkvalue |val=Q5 |P31}} for the current page.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.checkvalue = function( frame )
local args
if frame.args.val then
args = frame.args
else
args = frame:getParent().args
end
local val = args.val
if not val then return nil end
local pid = mw.text.trim(args.pid or args[1] or "P31"):upper()
local qid = (args.qid or ""):upper()
if pid:sub(1,1) ~= "P" then return nil end
if qid:sub(1,1) ~= "Q" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return nil end
local ranks = setRanks(args.rank)
local stats = {}
if ranks.b then
stats = mw.wikibase.getBestStatements(qid, pid)
else
stats = mw.wikibase.getAllStatements( qid, pid )
end
if not stats[1] then return nil end
if stats[1].mainsnak.datatype == "wikibase-item" then
for k, v in pairs( stats ) do
local ms = v.mainsnak
if ranks[v.rank:sub(1,1)] and ms.snaktype == "value" and ms.datavalue.value.id == val then
return val
end
end
end
return nil
end
-------------------------------------------------------------------------------
-- url2 takes a parameter url= that is a proper url and formats it for use in an infobox.
-- If no parameter is supplied, it returns nothing.
-- This is the equivalent of Template:URL
-- but it keeps the "edit at Wikidata" pen icon out of the microformat.
-- Usually it will take its url parameter directly from a Wikidata call:
-- e.g. {{#invoke:WikidataIB |url2 |url={{wdib |P856 |qid=Q23317 |fwd=ALL |osd=no}} }}
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.url2 = function(frame)
local txt = frame.args.url or ""
if txt == "" then return nil end
-- extract any icon
local url, icon = txt:match("(.+) (.+)")
-- make sure there's at least a space at the end
url = (url or txt) .. " "
icon = icon or ""
-- extract any protocol like https://
local prot = url:match("(https*://).+[ \"\']")
-- extract address
local addr = ""
if prot then
addr = url:match("https*://(.+)[ \"\']") or " "
else
prot = "//"
addr = url:match("[^%p%s]+%.(.+)[ \"\']") or " "
end
-- strip trailing / from end of domain-only url and add <wbr/> before . and /
local disp, n = addr:gsub( "^([^/]+)/$", "%1" ):gsub("%/", "<wbr/>/"):gsub("%.", "<wbr/>.")
return '<span class="url">[' .. prot .. addr .. " " .. disp .. "]</span> " .. icon
end
-------------------------------------------------------------------------------
-- getWebsite fetches the Official website (P856) and formats it for use in an infobox.
-- This is similar to Template:Official website but with a url displayed,
-- and it adds the "edit at Wikidata" pen icon beyond the microformat if enabled.
-- A local value will override the Wikidata value. "NONE" returns nothing.
-- e.g. {{#invoke:WikidataIB |getWebsite |qid= |noicon= |lang= |url= }}
-------------------------------------------------------------------------------
-- Dependencies: findLang(); parseParam();
-------------------------------------------------------------------------------
p.getWebsite = function(frame)
local url = frame.args.url or ""
if url:upper() == "NONE" then return nil end
local qid = frame.args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return nil end
local urls = {}
local quals = {}
if url == "" then
local prop856 = mw.wikibase.getBestStatements(qid, "P856")
for k, v in pairs(prop856) do
if v.mainsnak.snaktype == "value" then
urls[#urls+1] = v.mainsnak.datavalue.value
if v.qualifiers and v.qualifiers["P1065"] then
-- just take the first archive url (P1065)
local au = v.qualifiers["P1065"][1]
if au.snaktype == "value" then
quals[#urls] = au.datavalue.value
end -- test for archive url having a value
end -- test for qualifers
end -- test for website having a value
end -- loop through website(s)
else
urls[1] = url
end
if #urls == 0 then return nil end
local out = {}
for i, u in ipairs(urls) do
local link = quals[i] or u
local prot, addr = u:match("(http[s]*://)(.+)")
addr = addr or u
local disp, n = addr:gsub("%.", "<wbr/>%.")
out[#out+1] = '<span class="url">[' .. link .. " " .. disp .. "]</span>"
end
local langcode = findLang(frame.args.lang).code
local noicon = parseParam(frame.args.noicon, false)
if url == "" and not noicon then
out[#out] = out[#out] .. createicon(langcode, qid, "P856")
end
local ret = ""
if #out > 1 then
ret = mw.getCurrentFrame():expandTemplate{title = "ubl", args = out}
else
ret = out[1]
end
return ret
end
-------------------------------------------------------------------------------
-- getAllLabels fetches the set of labels and formats it for display as wikitext.
-- It takes a parameter 'qid' for arbitrary access, otherwise it uses the current page.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getAllLabels = function(frame)
local args = frame.args or frame:getParent().args or {}
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid or not mw.wikibase.entityExists(qid) then return i18n["entity-not-found"] end
local labels = mw.wikibase.getEntity(qid).labels
if not labels then return i18n["labels-not-found"] end
local out = {}
for k, v in pairs(labels) do
out[#out+1] = v.value .. " (" .. v.language .. ")"
end
return table.concat(out, "; ")
end
-------------------------------------------------------------------------------
-- getAllDescriptions fetches the set of descriptions and formats it for display as wikitext.
-- It takes a parameter 'qid' for arbitrary access, otherwise it uses the current page.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getAllDescriptions = function(frame)
local args = frame.args or frame:getParent().args or {}
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid or not mw.wikibase.entityExists(qid) then return i18n["entity-not-found"] end
local descriptions = mw.wikibase.getEntity(qid).descriptions
if not descriptions then return i18n["descriptions-not-found"] end
local out = {}
for k, v in pairs(descriptions) do
out[#out+1] = v.value .. " (" .. v.language .. ")"
end
return table.concat(out, "; ")
end
-------------------------------------------------------------------------------
-- getAllAliases fetches the set of aliases and formats it for display as wikitext.
-- It takes a parameter 'qid' for arbitrary access, otherwise it uses the current page.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.getAllAliases = function(frame)
local args = frame.args or frame:getParent().args or {}
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid or not mw.wikibase.entityExists(qid) then return i18n["entity-not-found"] end
local aliases = mw.wikibase.getEntity(qid).aliases
if not aliases then return i18n["aliases-not-found"] end
local out = {}
for k1, v1 in pairs(aliases) do
local lang = v1[1].language
local val = {}
for k1, v2 in ipairs(v1) do
val[#val+1] = v2.value
end
out[#out+1] = table.concat(val, ", ") .. " (" .. lang .. ")"
end
return table.concat(out, "; ")
end
-------------------------------------------------------------------------------
-- showNoLinks displays the article titles that should not be linked.
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
p.showNoLinks = function(frame)
local out = {}
for k, v in pairs(donotlink) do
out[#out+1] = k
end
table.sort( out )
return table.concat(out, "; ")
end
-------------------------------------------------------------------------------
-- checkValidity checks whether the first unnamed parameter represents a valid entity-id,
-- that is, something like Q1235 or P123.
-- It returns the strings "true" or "false".
-- Change false to nil to return "true" or "" (easier to test with #if:).
-------------------------------------------------------------------------------
-- Dependencies: none
-------------------------------------------------------------------------------
function p.checkValidity(frame)
local id = mw.text.trim(frame.args[1] or "")
if mw.wikibase.isValidEntityId(id) then
return true
else
return false
end
end
-------------------------------------------------------------------------------
-- getEntityFromTitle returns the Entity-ID (Q-number) for a given title.
-- Modification of Module:ResolveEntityId
-- The title is the first unnamed parameter.
-- The site parameter determines the site/language for the title. Defaults to current wiki.
-- The showdab parameter determines whether dab pages should return the Q-number or nil. Defaults to true.
-- Returns the Q-number or nil if it does not exist.
-------------------------------------------------------------------------------
-- Dependencies: parseParam
-------------------------------------------------------------------------------
function p.getEntityFromTitle(frame)
local args=frame.args
if not args[1] then args=frame:getParent().args end
if not args[1] then return nil end
local title = mw.text.trim(args[1])
local site = args.site or ""
local showdab = parseParam(args.showdab, true)
local qid = mw.wikibase.getEntityIdForTitle(title, site)
if qid then
local prop31 = mw.wikibase.getBestStatements(qid, "P31")[1]
if not showdab and prop31 and prop31.mainsnak.datavalue.value.id == "Q4167410" then
return nil
else
return qid
end
end
end
-------------------------------------------------------------------------------
-- getDatePrecision returns the number representing the precision of the first best date value
-- for the given property.
-- It takes the qid and property ID
-- The meanings are given at https://www.mediawiki.org/wiki/Wikibase/DataModel#Dates_and_times
-- 0 = 1 billion years .. 6 = millennium, 7 = century, 8 = decade, 9 = year, 10 = month, 11 = day
-- Returns 0 (or the second unnamed parameter) if the Wikidata does not exist.
-------------------------------------------------------------------------------
-- Dependencies: parseParam; sourced;
-------------------------------------------------------------------------------
function p.getDatePrecision(frame)
local args=frame.args
if not args[1] then args=frame:getParent().args end
local default = tonumber(args[2] or args.default) or 0
local prop = mw.text.trim(args[1] or "")
if prop == "" then return default end
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
if not qid then return default end
local onlysrc = parseParam(args.onlysourced or args.osd, true)
local stat = mw.wikibase.getBestStatements(qid, prop)
for i, v in ipairs(stat) do
local prec = (onlysrc == false or sourced(v))
and v.mainsnak.datavalue
and v.mainsnak.datavalue.value
and v.mainsnak.datavalue.value.precision
if prec then return prec end
end
return default
end
return p
-------------------------------------------------------------------------------
-- List of exported functions
-------------------------------------------------------------------------------
--[[
_getValue
getValue
getPreferredValue
getCoords
getQualifierValue
getSumOfParts
getValueByQual
getValueByLang
getValueByRefSource
getPropertyIDs
getQualifierIDs
getPropOfProp
getAwardCat
getIntersectCat
getGlobe
getCommonsLink
getSiteLink
getLink
getLabel
label
getAT
getDescription
getAliases
pageId
formatDate
location
checkBlacklist
emptyor
labelorid
getLang
getItemLangCode
findLanguage
getQID
followQid
globalSiteID
siteID
projID
formatNumber
examine
checkvalue
url2
getWebsite
getAllLabels
getAllDescriptions
getAllAliases
showNoLinks
checkValidity
getEntityFromTitle
getDatePrecision
--]]
-------------------------------------------------------------------------------
43utzwnry4mqc55lf72fzwh97re1d10
Template:FIST
10
7165
70349
2026-04-25T03:39:01Z
Exec8
6243
Pájina foun: '{{#switch: {{FULLPAGENAME}} | Wikipédia:Lista de predefinições/Avisos e alertas | Predefinição:FIST = <!-- não categoriza --> | #default = <div style="right:10px; display:none;" class="metadata topicon">Ficheiro:Crystal_Clear_app_demo.png|22px|Procurar imagens disponíveis|link=https://fist.toolforge.org/fist.php?doit=1&language=pt&project=wikipedia&data={{PAGENAMEE}}&datatype=articles¶ms%5Bcatdepth%5D=3¶ms%5Brandom%5D=50¶ms%5Bll_max%5D=5¶ms%5Bfree_on...'
70349
wikitext
text/x-wiki
{{#switch: {{FULLPAGENAME}}
| Wikipédia:Lista de predefinições/Avisos e alertas
| Predefinição:FIST = <!-- não categoriza -->
| #default = <div style="right:10px; display:none;" class="metadata topicon">[[Ficheiro:Crystal_Clear_app_demo.png|22px|Procurar imagens disponíveis|link=https://fist.toolforge.org/fist.php?doit=1&language=pt&project=wikipedia&data={{PAGENAMEE}}&datatype=articles¶ms%5Bcatdepth%5D=3¶ms%5Brandom%5D=50¶ms%5Bll_max%5D=5¶ms%5Bfree_only%5D=1¶ms%5Bcommons_max%5D=5¶ms%5Bflickr_max%5D=5¶ms%5Binclude_flickr_id%5D=1¶ms%5Bflickr_new_name_from_article%5D=1¶ms%5Bwts_max%5D=5¶ms%5Bgimp_max%5D=5¶ms%5Besp_max%5D=5¶ms%5Besp_skip_flickr%5D=1¶ms%5Bgeograph_max%5D=5¶ms%5Bforarticles%5D=noimage¶ms%5Blessthan_images%5D=3¶ms%5Bdefault_thumbnail_size%5D=250¶ms%5Bjpeg%5D=1¶ms%5Bpng%5D=1¶ms%5Bgif%5D=1¶ms%5Bsvg%5D=1¶ms%5Bmin_width%5D=80¶ms%5Bmin_height%5D=80&sources%5Blanguagelinks%5D=1&sources%5Bcommons%5D=1&sources%5Bflickr%5D=1]]</div>
}}<noinclude>
{{Documentação}}
</noinclude>
5ptoy8h537jsayt3nshc88ki1jo6v8n
Template:Hsp
10
7166
70350
2026-04-25T03:39:18Z
Exec8
6243
Pájina foun: '<noinclude><source lang=html> </noinclude><span class="Unicode" style="white-space:nowrap"> </span>{{ #if: {{{1|}}} | {{{1}}}  }}<noinclude> </source> {{documentação}} </noinclude>'
70350
wikitext
text/x-wiki
<noinclude><source lang=html>
</noinclude><span class="Unicode" style="white-space:nowrap"> </span>{{
#if: {{{1|}}}
| {{{1}}} 
}}<noinclude>
</source>
{{documentação}}
</noinclude>
fqnmnzk6hyoo7j774x0xfh9yo89crg0
Template:If empty
10
7167
70351
2026-04-25T03:39:48Z
Exec8
6243
Pájina foun: '{{<includeonly>safesubst:</includeonly>#invoke:Se vazio|main}}<noinclude>{{Documentação}}</noinclude>'
70351
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:Se vazio|main}}<noinclude>{{Documentação}}</noinclude>
k7praytyluzubgrm4bd9y67w0qcb1sf
Template:Imagem
10
7168
70352
2026-04-25T03:40:06Z
Exec8
6243
Pájina foun: '<includeonly>[[Ficheiro:{{{1|{{{image|Exemplo.jpg}}}}}}|{{{frame|thumb}}}|{{{2|{{{description|}}}}}}|{{{3|{{{size|270px}}}}}}|link={{{4|{{{link|}}}}}}]]</includeonly><noinclude>{{documentação}}</noinclude>'
70352
wikitext
text/x-wiki
<includeonly>[[Ficheiro:{{{1|{{{image|Exemplo.jpg}}}}}}|{{{frame|thumb}}}|{{{2|{{{description|}}}}}}|{{{3|{{{size|270px}}}}}}|link={{{4|{{{link|}}}}}}]]</includeonly><noinclude>{{documentação}}</noinclude>
89zyvgdsvbrqbo3oym4uyo6wb0svlxi
Template:Info/coordx
10
7169
70353
2026-04-25T03:40:21Z
Exec8
6243
Pájina foun: '{{#if: {{Info/CoordStr|latd| {{{2|}}} | {{{1|}}} }} |<span style="font-size:{{{font-size|80%}}};{{ #if: {{{nowrap|}}} | white-space:nowrap}}">{{Info/coord| display ={{{display|}}}| coord_sufixo ={{{coord_sufixo|}}}| latd ={{Info/CoordStr|latd| {{{2|}}} | {{{1|}}} }}| latm ={{Info/CoordStr|latm| {{{3|}}} | {{{1|}}} }}| lats ={{Info/CoordStr|lats| {{{4|}}} | {{{1|}}} }}| latNS ={{Info/CoordStr|latNS| {{{5|}}} | {{{1|}}} }}| longd ={{Info/CoordStr|longd| {{{6|}}} | {{{1|}}} }}|...'
70353
wikitext
text/x-wiki
{{#if: {{Info/CoordStr|latd| {{{2|}}} | {{{1|}}} }}
|<span style="font-size:{{{font-size|80%}}};{{
#if: {{{nowrap|}}} | white-space:nowrap}}">{{Info/coord|
display ={{{display|}}}|
coord_sufixo ={{{coord_sufixo|}}}|
latd ={{Info/CoordStr|latd| {{{2|}}} | {{{1|}}} }}|
latm ={{Info/CoordStr|latm| {{{3|}}} | {{{1|}}} }}|
lats ={{Info/CoordStr|lats| {{{4|}}} | {{{1|}}} }}|
latNS ={{Info/CoordStr|latNS| {{{5|}}} | {{{1|}}} }}|
longd ={{Info/CoordStr|longd| {{{6|}}} | {{{1|}}} }}|
longm ={{Info/CoordStr|longm| {{{7|}}} | {{{1|}}} }}|
longs ={{Info/CoordStr|longs| {{{8|}}} | {{{1|}}} }}|
longEW ={{Info/CoordStr|longEW| {{{9|}}} | {{{1|}}} }}|
}}</span>|}}<noinclude>
{{Documentação|conteúdo=Predefinição auxiliar evocar {{tl|Coord}} em infocaixas que suportam obtenção de dados do Wikidata.}}
[[Categoria:!Subpredefinições]]
</noinclude>
46mhag23unsft32ami5yut3zjac4l5k
Template:P1
10
7170
70354
2026-04-25T03:40:38Z
Exec8
6243
Pájina foun: '{{{1}}}<noinclude> {{documentação}} [[Categoria:!Predefinições utilitárias|{{PAGENAME}}]] </noinclude>'
70354
wikitext
text/x-wiki
{{{1}}}<noinclude>
{{documentação}}
[[Categoria:!Predefinições utilitárias|{{PAGENAME}}]]
</noinclude>
57le0urrfldj0ri2k2b2163n4bbh0rz
Template:Se vazio
10
7171
70355
2026-04-25T03:40:56Z
Exec8
6243
Pájina foun: '{{<includeonly>safesubst:</includeonly>#invoke:Se vazio|main}}<noinclude>{{Documentação}}</noinclude>'
70355
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:Se vazio|main}}<noinclude>{{Documentação}}</noinclude>
k7praytyluzubgrm4bd9y67w0qcb1sf
Módulo:Categorização AD e AB de outras wikis
828
7172
70356
2026-04-25T03:41:14Z
Exec8
6243
Pájina foun: 'local p = { } local badgesList = { Q6540291 = 'portal destacado', Q17437796 = 'artigo destacado', Q17437798 = 'artigo bom', Q17506997 = 'lista destacada', --Q6540326 = 'tema destacado', Q17507019 = 'Sabias que', Q17559452 = 'artigo recomendado', Q17580674 = 'portal destacado', Q17580678 = 'artigo de qualidade alta', Q17580679 = 'artigo de qualidade media', Q17580680 = 'artigo de qualidade baixa', Q17580682 = 'artigo de alta im...'
70356
Scribunto
text/plain
local p = { }
local badgesList = {
Q6540291 = 'portal destacado',
Q17437796 = 'artigo destacado',
Q17437798 = 'artigo bom',
Q17506997 = 'lista destacada',
--Q6540326 = 'tema destacado',
Q17507019 = 'Sabias que',
Q17559452 = 'artigo recomendado',
Q17580674 = 'portal destacado',
Q17580678 = 'artigo de qualidade alta',
Q17580679 = 'artigo de qualidade media',
Q17580680 = 'artigo de qualidade baixa',
Q17580682 = 'artigo de alta importância',
}
local badgesCategory = {
Q17437796 = '!Artigos destacados',
Q17437798 = '!Artigos bons',
Q17506997 = '!Listas destacadas',
}
local linkCategoryPrefix = {
default = '',
}
local linkCategorySuffix = {
default = ' em Wikipédias sem categoria específica',
afwiki = ' na Wikipédia em africâner',
alswiki = ' na Wikipédia em alemânico',
amwiki = ' na Wikipédia em amárico',
anwiki = ' na Wikipédia em aragonês',
arwiki = ' na Wikipédia em árabe',
arzwiki = ' na Wikipédia em árabe egípcio ',
astwiki = ' na Wikipédia em asturiano',
aswiki = ' na Wikipédia em assamês',
azwiki = ' na Wikipédia em azeri',
bawiki = ' na Wikipédia em baskir',
barwiki = ' na Wikipédia em bávaro',
bat_smgwiki = ' na Wikipédia em samogício',
bewiki = ' na Wikipédia em bielorrusso',
be_taraskwiki = ' na Wikipédia em bielorrusso (taraškievica)',
bgwiki = ' na Wikipédia em búlgaro',
bnwiki = ' na Wikipédia em bengali',
bpywiki = ' na Wikipédia em bishnupriya manipuri',
brwiki = ' na Wikipédia em bretão',
bswiki = ' na Wikipédia em bósnio',
cawiki = ' na Wikipédia em catalão',
cdowiki = ' na Wikipédia em min dong',
cebwiki = ' na Wikipédia em cebuano',
cewiki = ' na Wikipédia em checheno',
cswiki = ' na Wikipédia em checo',
cvwiki = ' na Wikipédia em chuvasio',
cywiki = ' na Wikipédia em galês',
dawiki = ' na Wikipédia em dinamarquês',
dewiki = ' na Wikipédia em alemão',
dvwiki = ' na Wikipédia em divehi',
elwiki = ' na Wikipédia em grego',
enwiki = ' na Wikipédia em inglês',
eowiki = ' na Wikipédia em esperanto',
eswiki = ' na Wikipédia em espanhol',
etwiki = ' na Wikipédia em estoniano',
euwiki = ' na Wikipédia em basco',
extwiki = ' na Wikipédia em estremenho ',
fawiki = ' na Wikipédia em persa',
fiwiki = ' na Wikipédia em finlandês',
fowiki = ' na Wikipédia em feroês',
frwiki = ' na Wikipédia em francês',
frrwiki = ' na Wikipédia em frísio setentrional',
fywiki = ' na Wikipédia em frísio',
gawiki = ' na Wikipédia em irlandês',
gdwiki = ' na Wikipédia em gaélico escocês',
glwiki = ' na Wikipédia em galego',
guwiki = ' na Wikipédia em guzerate',
gvwiki = ' na Wikipédia em manês',
hewiki = ' na Wikipédia em hebraico',
hiwiki = ' na Wikipédia em hindi',
hrwiki = ' na Wikipédia em croata',
hsbwiki = ' na Wikipédia em alto sorábio',
htwiki = ' na Wikipédia em crioulo haitiano',
huwiki = ' na Wikipédia em húngaro',
hywiki = ' na Wikipédia em armênio',
iawiki = ' na Wikipédia em interlíngua',
idwiki = ' na Wikipédia em indonésio',
iswiki = ' na Wikipédia em islandês',
itwiki = ' na Wikipédia em italiano',
jawiki = ' na Wikipédia em japonês',
jvwiki = ' na Wikipédia em javanês',
kawiki = ' na Wikipédia em georgiano',
klwiki = ' na Wikipédia em gronelandês',
kkwiki = ' na Wikipédia em cazaque',
kmwiki = ' na Wikipédia em khmer',
knwiki = ' na Wikipédia em canarês',
kowiki = ' na Wikipédia em coreano',
krcwiki = ' na Wikipédia em carachai-balcar',
kuwiki = ' na Wikipédia em curdo',
kvwiki = ' na Wikipédia em komi',
lawiki = ' na Wikipédia em latim',
lbwiki = ' na Wikipédia em luxemburguês',
lezwiki = ' na Wikipédia em lezgui',
liwiki = ' na Wikipédia em limburguês',
lmowiki = ' na Wikipédia em lombardo',
lowiki = ' na Wikipédia em laociano',
ltwiki = ' na Wikipédia em lituano',
lvwiki = ' na Wikipédia em letão',
map_bmswiki = ' na Wikipédia em banyumasan',
mgwiki = ' na Wikipédia em malgache',
minwiki = ' na Wikipédia em minangkabau',
mkwiki = ' na Wikipédia em macedônio',
mlwiki = ' na Wikipédia em malaiala ',
mrwiki = ' na Wikipédia em marata',
mswiki = ' na Wikipédia em malaio',
mtwiki = ' na Wikipédia em maltês',
mwlwiki = ' na Wikipédia em mirandês',
nahwiki = ' na Wikipédia em náuatle',
napwiki = ' na Wikipédia em napolitano',
nds_nlwiki = ' na Wikipédia em baixo-saxão neerlandês',
nlwiki = ' na Wikipédia em neerlandês',
nnwiki = ' na Wikipédia em novo norueguês',
nowiki = ' na Wikipédia em norueguês',
nvwiki = ' na Wikipédia em navajo',
ocwiki = ' na Wikipédia em occitano',
orwiki = ' na Wikipédia em oriá',
oswiki = ' na Wikipédia em osseta',
pamwiki = ' na Wikipédia em pamgano',
piwiki = ' na Wikipédia em pali',
plwiki = ' na Wikipédia em polonês',
ptwiki = '',
quwiki = ' na Wikipédia em quíchua',
rowiki = ' na Wikipédia em romeno',
ruwiki = ' na Wikipédia em russo',
sawiki = ' na Wikipédia em sânscrito',
scnwiki = ' na Wikipédia em siciliano',
scowiki = ' na Wikipédia em scots',
shwiki = ' na Wikipédia em servo-croata',
simplewiki = ' na Wikipédia em inglês básico',
skwiki = ' na Wikipédia em eslovaco',
slwiki = ' na Wikipédia em esloveno',
sqwiki = ' na Wikipédia em albanês',
srwiki = ' na Wikipédia em sérvio',
srnwiki = ' na Wikipédia em sranan tongo',
stqwiki = ' na Wikipédia em frísio oriental',
svwiki = ' na Wikipédia em sueco',
swwiki = ' na Wikipédia em suaíli',
szlwiki = ' na Wikipédia em silesiano',
tawiki = ' na Wikipédia em tâmil',
tewiki = ' na Wikipédia em telugu',
thwiki = ' na Wikipédia em tailandês',
tlwiki = ' na Wikipédia em tagalo',
tnwiki = ' na Wikipédia em tsuana',
trwiki = ' na Wikipédia em turco',
ttwiki = ' na Wikipédia em tártaro',
ukwiki = ' na Wikipédia em ucraniano',
urwiki = ' na Wikipédia em urdu',
uzwiki = ' na Wikipédia em uzbeque',
vecwiki = ' na Wikipédia em vêneto',
vepwiki = ' na Wikipédia em vepsio',
viwiki = ' na Wikipédia em vietnamita',
vlswiki = ' na Wikipédia em flamengo ocidental',
vowiki = ' na Wikipédia em volapuque',
wawiki = ' na Wikipédia em valão',
warwiki = ' na Wikipédia em samareno',
yiwiki = ' na Wikipédia em iídiche',
yowiki = ' na Wikipédia em iorubá',
zhwiki = ' na Wikipédia em chinês',
zh_classicalwiki = ' na Wikipédia em chinês clássico',
zh_min_nanwiki = ' na Wikipédia em chinês min nan',
zh_yuewiki = ' na Wikipédia em cantonês',
}
function p.badgesCategories( frame )
local entity = mw.wikibase.getEntityObject()
local wikitext = {}
local categoryNs = mw.site.namespaces[14].name
if not entity or not entity.sitelinks then
return ''
end
for siteid, linkTable in pairs( entity.sitelinks ) do
for i, badgeId in ipairs( entity.sitelinks[ siteid ].badges ) do
if badgesCategory[ badgeId ] and string.sub(siteid, -4) == 'wiki' then
local prefix = linkCategoryPrefix[ siteid ] or linkCategoryPrefix.default or ''
local main = badgesCategory[ badgeId ] or ''
local suffix = linkCategorySuffix[ siteid ] or linkCategorySuffix.default or ''
local category = string.format('[[%s:%s]]', categoryNs, prefix .. main .. suffix )
table.insert( wikitext, category )
end
end
end
return table.concat( wikitext )
end
function p.hasAnyBadge( frame )
local entity = mw.wikibase.getEntityObject()
if not entity then
return ''
end
for siteid, linkTable in pairs( entity.sitelinks ) do
if next(entity.sitelinks[ siteid ].badges) ~= nil then
return '1'
end
end
return ''
end
return p
exj58fqzbogylk58ueqnjm6emqdc3u0
Módulo:Complex date
828
7173
70357
2026-04-25T03:41:34Z
Exec8
6243
Pájina foun: '--[[ __ __ _ _ ____ _ _ | \/ | ___ __| |_ _| | ___ _ / ___|___ _ __ ___ _ __ | | _____ __ __| | __ _| |_ ___ | |\/| |/ _ \ / _` | | | | |/ _ (_) | / _ \| '_ ` _ \| '_ \| |/ _ \ \/ / / _` |/ _` | __/ _ \ | | | | (_) | (_| | |_| | | __/_| |__| (_) | | | | | | |_) | | __/> < | (_| | (_| | || __/ |_| |_|\___/ \__,_|\__,_|_|\___(_)\____\___/|_| |_| |_| .__/|_|\___/_/\_\ \__,_|\__,_|\__\___|...'
70357
Scribunto
text/plain
--[[
__ __ _ _ ____ _ _
| \/ | ___ __| |_ _| | ___ _ / ___|___ _ __ ___ _ __ | | _____ __ __| | __ _| |_ ___
| |\/| |/ _ \ / _` | | | | |/ _ (_) | / _ \| '_ ` _ \| '_ \| |/ _ \ \/ / / _` |/ _` | __/ _ \
| | | | (_) | (_| | |_| | | __/_| |__| (_) | | | | | | |_) | | __/> < | (_| | (_| | || __/
|_| |_|\___/ \__,_|\__,_|_|\___(_)\____\___/|_| |_| |_| .__/|_|\___/_/\_\ \__,_|\__,_|\__\___|
|_|
This module is intended for creation of complex date phrases in variety of languages.
Once deployed, please do not modify this code without applying the changes first at Module:Complex date/sandbox and testing
at Module:Complex date/sandbox/testcases.
Authors and maintainers:
* User:Sn1per - first draft of the original version
* User:Jarekt - corrections and expansion of the original version
]]
-- List of external modules and functions
local p = {Error = nil}
local i18n = require('Module:i18n/complex date') -- used for translations of date related phrases
local ISOdate = require('Module:ISOdate')._ISOdate -- used for parsing dates in YYYY-MM-DD and related formats
local Calendar -- loaded lazily
-- ==================================================
-- === Internal functions ===========================
-- ==================================================
local function langSwitch(list,lang)
local langList = mw.language.getFallbacksFor(lang)
table.insert(langList,1,lang)
table.insert(langList,math.max(#langList,2),'default')
for i,language in ipairs(langList) do
if list[language] then
return list[language]
end
end
end
-- ==================================================
local function formatnum1(numStr, lang)
-- mostly require('Module:Formatnum').formatNum function used to translate a number to use different numeral characters,
-- except that it it does not call that function unless the language is on the list "LList"
local LList = {bn=1,bpy=1,kn=1,hi=1,mr=1,new=1,pa=1,gu=1,fa=1,glk=1,mzn=1,ur=1,ar=1,ckb=1,ks=1,lo=1,['or']=1,bo=1,['ml-old']=1,mn=1,te=1,th=1}
if LList[lang] then -- call only when the language is on the list
numStr = require('Module:Formatnum').formatNum(numStr, lang, 1)
end
return numStr
end
-- ==================================================
local function getISODate(datestr, datetype, lang, num, case)
-- translate dates in the format YYYY, YYYY-MM, and YYYY-MM-DD
if not case and i18n.Translations[datetype] then
-- look up the grammatical case needed and call ISOdate module
local rec = langSwitch(i18n.Translations[datetype], lang)
if type(rec)=='table' then
case = rec.case[num]
end
end
return ISOdate(datestr, lang, case, '', 1)
end
-- =======================================================================
local function translatePhrase(date1, date2, operation, lang, state)
-- use tables in Module:i18n/complex date to translate a phrase
if not i18n.Translations[operation] then
p.Error = string.format('<span style="background-color:red;">Error in [[Module:Complex date]]: input parameter "%s" is not recognized.</span>', operation or 'nil')
return ''
end
local dateStr = langSwitch(i18n.Translations[operation], lang)
if type(dateStr)=='table' then
dateStr = dateStr[1]
end
if type(dateStr)=='function' then
local dateFunc = dateStr
local nDates = i18n.Translations[operation]['nDates']
if nDates==2 then -- 2 date phrase
dateStr = dateFunc(date1, date2, state)
else -- 1 date phrase
dateStr = dateFunc(date1, state)
end
end
if type(dateStr)=='string' then
-- replace parts of the string '$date1' and '$date2' with date1 and date2 strings
dateStr = mw.ustring.gsub(dateStr, '$date1', date1)
dateStr = mw.ustring.gsub(dateStr, '$date2', date2)
else
-- Special case of more complex phrases that can be build out of simple phrases
-- If complex case is not translated to "lang" than build it out of simpler ones
local x = dateStr
dateStr = p._complex_date(x.conj, x.adj1, date1, x.units1, x.era1, x.adj2, date2, x.units2, x.era2, lang, 2)
end
return dateStr
end
-- =======================================================================
local function oneDatePhrase(dateStr, adj, era, units, lang, num, case, state)
-- translate a single date phrase
if num==2 then
state.adj, state.era, state.units, state.precision = state.adj2, state.era2, state.units2, state.precision2
end
-- dateStr can have many forms: ISO date, year or a number for
-- decade, century or millennium
if units == '' then -- unit is "year", "month", "day"
dateStr = getISODate(dateStr, adj, lang, num, case)
else -- units is "decade", "century", "millennium''
dateStr = translatePhrase(dateStr, '', units, lang, state)
end
-- add adjective ("early", "mid", etc.) or preposition ("before", "after",
-- "circa", etc.) to the date
if adj ~= '' then
dateStr = translatePhrase(dateStr, '', adj, lang, state)
else -- only era?
dateStr = formatnum1(dateStr, lang)
end
-- add era
if era ~= '' then
dateStr = translatePhrase(dateStr, '', era, lang, state)
end
return dateStr
end
-- =======================================================================
local function twoDatePhrase(date1, date2, state, lang)
-- translate a double date phrase
local dateStr, case
local era=''
if state.era1 == state.era2 then
-- if both eras are the same than add it only once
era = state.era1
state.era1 = ''
state.era2 = ''
end
case = {nil, nil}
if i18n.Translations[state.conj] then
local rec = langSwitch(i18n.Translations[state.conj], lang)
if type(rec)=='table' then
case = rec.case
end
end
date1 = oneDatePhrase(date1, state.adj1, state.era1, state.units1, lang, 1, case[1], state)
date2 = oneDatePhrase(date2, state.adj2, state.era2, state.units2, lang, 2, case[2], state)
dateStr = translatePhrase(date1, date2, state.conj, lang, state)
if era ~= '' then
dateStr = translatePhrase(dateStr, '', era, lang, state)
end
return dateStr
end
-- =======================================================================
local function otherPhrases(date1, date2, operation, era, lang, state)
-- translate specialized phrases
local dateStr = ''
if operation == 'islamic' then
if date2=='' then date2 = mw.getCurrentFrame():callParserFunction('#time', 'xmY', date1) end
date1 = getISODate(date1, operation, lang, 1, nil)
date2 = getISODate(date2, operation, lang, 2, nil)
if era == '' then era = 'ad' end
dateStr = translatePhrase(date1, '', era, lang, state) .. ' (' .. translatePhrase(date2, '', 'ah', lang, state) .. ')'
era = ''
elseif operation == 'julian' then
if not date2 and date1 then -- Convert from Julian to Gregorian calendar date
if Calendar == nil then
Calendar = require("Module:Calendário") -- lazy loding (only if needed)
end
local JDN = Calendar._date2jdn(date1, 0)
if JDN then
date2 = date1 -- first date is assumed to be Julian
date1 = Calendar._jdn2date(JDN, 1)
end
end
date1 = getISODate(date1, operation, lang, 1, nil)
date2 = getISODate(date2, operation, lang, 2, nil)
dateStr = translatePhrase(date1, date2, operation, lang, state)
dateStr = mw.ustring.gsub(mw.ustring.gsub(dateStr, '%( ', '('), ' %)', ')') -- in case date2 is empty
elseif operation == 'turn of the year' or operation == 'turn of the decade' or operation == 'turn of the century' then
local dt = 1
if operation == 'turn of the decade' then dt=10 end
if not date2 or date2=='' then date2=tostring(tonumber(date1)-dt) end
if era~='bp' and era~='bc' then date1, date2 = date2, date1 end
if operation == 'turn of the year' then
date1 = ISOdate(date1, lang, '', '', 1)
date2 = ISOdate(date2, lang, '', '', 1)
else
date1 = formatnum1(date1, lang)
date2 = formatnum1(date2, lang)
end
dateStr = translatePhrase(date1, date2, operation, lang, state)
elseif operation == 'year unknown' then
dateStr = translatePhrase('', '', operation, lang, state) .. '<div style="display: none;">Unknown date</div>'
elseif operation == 'unknown' then
dateStr = tostring(mw.message.new( "exif-unknowndate" ):inLanguage( lang )) .. '<div style="display: none;">Unknown date</div>'
end
-- add era
if era ~= '' then
dateStr = translatePhrase(dateStr, '', era, lang, state)
end
return dateStr
end
-- =======================================================================
local function checkAliases(str1, str2, sType)
-- some inputs have many aliases - reconcile them and ensure string is playing a proper role
local out = ''
if str1 and str1~='' then
local a = i18n.Synonyms[str1] -- look up synonyms of "str1"
if a then
out = a[1]
else
p.Error = string.format('<span style="background-color:red;">Error in [[Module:Complex date]]: %s is not recognized.</span>', str1)
end
elseif str2 and str2~='' then -- if "str1" of type "sType" is empty than maybe ...
local a = i18n.Synonyms[str2] -- ..."str2" is of the same type and is not empty
if a and a[2]==sType then
out = a[1]
str2 = ''
end
end
return out, str2
end
-- =======================================================================
local function datePrecision(dateStr, units)
-- "in this module "Units" is a string like millennium, century, or decade
-- "precision" is wikibase compatible date precision number: 6=millennium, 7=century, 8=decade, 9=year, 10=month, 11=day
-- based on string or numeric input calculate "Units" and "precision"
local precision
if type(units)=='number' then
precision = units
if precision>11 then precision=11 end -- clip the range of precision values
if precision==6 then units='millennium'
elseif precision==7 then units='century'
elseif precision==8 then units='decade'
else units = ''
end
elseif type(units)=='string' then
units = string.lower(units)
if units=='millennium' then precision=6
elseif units=='century' then precision=7
elseif units=='decade' then precision=8
else precision=9
end
end
if units=='' or precision==9 then
local sLen = mw.ustring.len(dateStr)
if sLen<= 4 then precision=9
elseif sLen== 7 then precision=10
elseif sLen>=10 then precision=11
end
units=''
end
if precision==6 and dateStr.match( dateStr, '%d000' )~=nil then
dateStr = tostring(math.floor(tonumber(dateStr)/1000) +1)
elseif precision==7 and mw.ustring.match( dateStr, '%d%d00' )~=nil then
dateStr = tostring(math.floor(tonumber(dateStr)/100) +1)
end
return dateStr, units, precision
end
-- =======================================================================
local function isodate2timestamp(dateStr, precision, era)
-- convert date string to timestamps used by Quick Statements
local tStamp = nil
if era == 'ah' or precision<6 then
return nil
elseif era ~= '' then
local eraLUT = {ad='+', bc='-', bp='-' }
era = eraLUT[era]
else
era='+'
end
-- convert isodate to timestamp used by quick statements
if precision>=9 then
if string.match(dateStr,"^%d%d%d%d$") then -- if YYYY format
tStamp = era .. dateStr .. '-00-00T00:00:00Z/9'
elseif string.match(dateStr,"^%d%d%d%d%-%d%d$") then -- if YYYY-MM format
tStamp = era .. dateStr .. '-00T00:00:00Z/10'
elseif string.match(dateStr,"^%d%d%d%d%-%d%d%-%d%d$") then -- if YYYY-MM-DD format
tStamp = era .. dateStr .. 'T00:00:00Z/11'
end
elseif precision==8 then -- decade
tStamp = era .. dateStr .. '-00-00T00:00:00Z/8'
elseif precision==7 then -- century
local d = tostring(tonumber(dateStr)-1)
tStamp = era .. d .. '50-00-00T00:00:00Z/7'
elseif precision==6 then
local d = tostring(tonumber(dateStr)-1)
tStamp = era .. d .. '500-00-00T00:00:00Z/6'
end
return tStamp
end
-- =======================================================================
local function oneDateQScode(dateStr, adj, era, precision)
-- create QuickStatements string for "one date" dates
local outputStr = ''
local d = isodate2timestamp(dateStr, precision, era)
if not d then
return ''
end
local rLUT = { early='Q40719727' , mid='Q40719748', late='Q40719766',
['1quarter']='Q40690303' , ['2quarter']='Q40719649' , ['3quarter']='Q40719662', ['4quarter']='Q40719674',
spring='Q40720559' , summer='Q40720564' , autumn='Q40720568' , winter='Q40720553',
firsthalf='Q40719687', secondhalf='Q40719707' }
local qLUT = {['from']='P580', ['until']='P582', ['after']='P1319', ['before']='P1326', ['by']='P1326'}
local refine = rLUT[adj]
local qualitier = qLUT[adj]
if adj=='' then
outputStr = d
elseif adj=='circa' then
outputStr = d..",P1480,Q5727902"
elseif refine then
outputStr = d..",P4241,"..refine
elseif precision>7 and qualitier then
local century = string.gsub(d, 'Z%/%d+', 'Z/7')
outputStr = century ..",".. qualitier ..","..d
end
return outputStr
end
-- =======================================================================
local function twoDateQScode(date1, date2, state)
-- create QuickStatements string for "two date" dates
if state.adj1~='' or state.adj2~='' or state.era1~=state.era2 then
return '' -- QuickStatements string are not generated for two date phrases with adjectives
end
local outputStr = ''
local d1 = isodate2timestamp(date1, state.precision1, state.era1)
local d2 = isodate2timestamp(date2, state.precision2, state.era2)
if (not d1) or (not d2) then
return ''
end
-- find date with lower precision in common to both dates
local cd
local year1 = tonumber(string.sub(d1,2,5))
local year2 = tonumber(string.sub(d2,2,5))
local k = 0
for i = 1,10,1 do
if string.sub(d1,1,i)==string.sub(d2,1,i) then
k = i -- find last matching letter
end
end
if k>=9 then -- same month, since "+YYYY-MM-" is in common
cd = isodate2timestamp(string.sub(d1,2,8), 10, state.era1)
elseif k>=6 and k<9 then -- same year, since "+YYYY-" is in common
cd = isodate2timestamp(tostring(year1), 9, state.era1)
elseif k==4 then -- same decade(k=4, precision=8), since "+YYY" is in common
cd = isodate2timestamp(tostring(year1), 8, state.era1)
elseif k==3 then -- same century(k=3, precision=7) since "+YY" is in common
local d = tostring(math.floor(year1/100) +1) -- convert 1999 -> 20
cd = isodate2timestamp( d, 7, state.era1)
elseif k==2 then -- same millennium (k=2, precision=6), since "+Y" is in common
local d = tostring(math.floor(year1/1000) +1) -- convert 1999 -> 2
cd = isodate2timestamp( d, 6, state.era1)
end
if not cd then
return ''
end
--if not cd then
-- return ' <br/>error: ' .. d1.." / " .. d2.." / ".. (cd or '') .." / ".. string.sub(d1,2,5).." / " .. string.sub(d2,2,5).." / " .. tostring(k)
--end
--
if (state.conj=='from-until') or (state.conj=='and' and year1==year2-1) then
outputStr = cd ..",P580,".. d1 ..",P582,".. d2
elseif (state.conj=='between') or (state.conj=='or' and year1==year2-1) then
outputStr = cd ..",P1319,".. d1 ..",P1326,".. d2
elseif state.conj=='circa2' then
outputStr = cd ..",P1319,".. d1 ..",P1326,".. d2 ..",P1480,Q5727902"
end
return outputStr
end
-- =======================================================================
local function processInputParams(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, lang, passNr)
-- process inputs and save date in state array
local state = {}
state.conj = string.lower(conj or '')
state.adj1 = string.lower(adj1 or '')
state.adj2 = string.lower(adj2 or '')
state.era1 = string.lower(era1 or '')
state.era2 = string.lower(era2 or '')
state.units1 = string.lower(units1 or '')
state.units2 = string.lower(units2 or '')
-- if date 1 is missing but date 2 is provided than swap them
if date1 == '' and date2 ~= '' then
date1 = date2
date2 = ''
state = {adj1 = state.adj2, era1 = state.era2, units1 = state.units2,
adj2 = '', era2 = '', units2 = '', conj=state.conj, num=1}
end
if date2 ~= '' then state.nDates = 2
elseif date1 ~= '' then state.nDates = 1
else state.nDates = 0
end
-- reconcile alternative names for text inputs
local conj = checkAliases(state.conj ,'' ,'j')
state.adj1 ,conj = checkAliases(state.adj1 ,conj,'a')
state.units1,conj = checkAliases(state.units1,conj,'p')
state.era1 ,conj = checkAliases(state.era1 ,conj,'e')
state.special,conj = checkAliases('',conj,'c')
state.adj2 = checkAliases(state.adj2 ,'','a')
state.units2 = checkAliases(state.units2,'','p')
state.era2 = checkAliases(state.era2 ,'','e')
state.conj = conj
state.lang = lang
if p.Error~=nil then
return nil
end
-- calculate date precision value
date1, state.units1, state.precision1 = datePrecision(date1, state.units1)
date2, state.units2, state.precision2 = datePrecision(date2, state.units2)
-- Handle special cases
-- Some complex phrases can be created out of simpler ones. Therefore on pass # 1 we try to create
-- the phrase using complex phrase and if that is not found than on the second pass we try to build
-- the phrase out of the simpler ones
if passNr==1 then
if state.adj1=='circa' and state.nDates == 2 then
state.conj = 'circa2'
state.adj1 = ''
state.adj2 = ''
end
if state.nDates == 2 and state.adj1=='late' and state.adj2=='early' and state.conj=='and'
and state.units1==state.units2 and state.era1==state.era2 then
if state.units1=='century' then
state.conj='turn of the century'
elseif state.units1=='decade' then
state.conj='turn of the decade'
elseif state.units1=='' then
state.conj='turn of the year'
end
state.adj1 = ''
state.adj2 = ''
state.units1 = ''
state.units2 = ''
end
end
state.adj, state.era, state.units, state.precision = state.adj1, state.era1, state.units1, state.precision1
return date1, date2, state
end
-- ==================================================
-- === External functions ===========================
-- ==================================================
function p.Era(frame)
-- process inputs
local dateStr
local args = frame.args
if not (args.lang and mw.language.isSupportedLanguage(args.lang)) then
args.lang = frame:callParserFunction( "int", "lang" ) -- get user's chosen language
end
local lang = args['lang']
local dateStr = args['date'] or ''
local eraType = string.lower(args['era'] or '')
dateStr = ISOdate(dateStr, lang, '', '', 1)
if eraType then
eraType = checkAliases(eraType ,'','e')
dateStr = translatePhrase(dateStr, '', eraType, lang, {})
end
return dateStr
end
-- =======================================================================
function p._complex_date(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, lang, passNr)
local Output=''
local state
-- process inputs and save date in state array
date1, date2, state = processInputParams(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, lang, passNr)
if p.Error~=nil then
return nil
end
local errorStr = string.format(
'\n*conj=%s, adj1=%s, era1=%s, unit1=%s, prec1=%i, adj2=%s, era2=%s, unit2=%s, prec2=%i, special=%s',
state.conj, state.adj1, state.era1, state.units1, state.precision1,
state.adj2, state.era2, state.units2, state.precision2, state.special)
-- call specialized functions
local QScode = ''
if state.special~='' then
Output = otherPhrases(date1, date2, state.special, state.era1, lang, state)
elseif state.conj~='' then
QScode = twoDateQScode(date1, date2, state)
Output = twoDatePhrase(date1, date2, state, lang)
elseif state.adj1~='' or state.era1~='' or state.units1~='' then
Output = oneDatePhrase(date1, state.adj1, state.era1, state.units1, lang, 1, nil, state)
QScode = oneDateQScode(date1, state.adj1, state.era1, state.precision1)
elseif date1~='' then
Output = ISOdate(date1, lang, '', 'dtstart', '100-999')
end
if p.Error~=nil then
return errorStr
end
-- if there is any wikicode in the string than execute it
if mw.ustring.find(Output, '{') then
Output = mw.getCurrentFrame():preprocess(Output)
end
if QScode and #QScode>0 then
QScode = ' <div style="display: none;">date QS:P,' .. QScode .. '</div>'
end
return Output .. QScode
end
-- =======================================================================
function p._complex_date_cer(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, certainty, lang)
-- same as p._complex_date but with extra parameter for certainty: probably, possibly, presumably, etc.
local dateStr = p._complex_date(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, lang, 1)
certainty = checkAliases(certainty, conj, 'r')
local LUT = {probably='Q56644435', presumably='Q18122778', possibly='Q30230067', circa='Q5727902' }
if certainty and LUT[certainty] then
local state = {}
date1, date2, state = processInputParams(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, lang, 1)
dateStr = translatePhrase(dateStr, '', certainty, lang, state)
dateStr = string.gsub(dateStr, '(%<div style="display: none;"%>date QS:P,[^%<]+)(%</div%>)', '%1,P1480,' .. LUT[certainty] .. '%2' )
end
return dateStr
end
-- =======================================================================
function p.complex_date(frame)
-- process inputs
local dateStr
local args = frame.args
if not (args.lang and mw.language.isSupportedLanguage(args.lang)) then
args.lang = frame:callParserFunction( "int", "lang" ) -- get user's chosen language
end
local date1 = args['date1'] or args['2'] or args['date'] or ''
local date2 = args['date2'] or args['3'] or ''
local conj = args['conj'] or args['1'] or ''
local adj1 = args['adj1'] or args['adj'] or ''
local adj2 = args['adj2'] or ''
local units1 = args['precision1'] or args['precision'] or ''
local units2 = args['precision2'] or args['precision'] or ''
local era1 = args['era1'] or args['era'] or ''
local era2 = args['era2'] or args['era'] or ''
local certainty = args['certainty']
local lang = args['lang']
dateStr = p._complex_date_cer(conj, adj1, date1, units1, era1, adj2, date2, units2, era2, certainty, lang)
if p.Error~=nil then
dateStr = p.Error .. '[[Categoria:!Pages using Complex date template with incorrect parameter]]'
end
return dateStr
end
return p
11bb6cqwmgtdx8i54dx9jqb7tygdiq7
Módulo:GetParameters
828
7174
70358
2026-04-25T03:41:53Z
Exec8
6243
Pájina foun: 'local p = {} --[[ Função auxiliar que preenche a lista de argumentos, visto que o usuário pode precisar usar uma combinação de parâmetros nomeados e sem nome. Isto é relevante porque os parâmetros nomeados não são idênticos aos parâmetros sem nome devido ao corte de sequências (strings) e ao lidar com sequências (strings) às vezes queremos preservar ou remover esse espaço em branco, dependendo da aplicação. ]] function p.getParameters( frame_args, arg_list...'
70358
Scribunto
text/plain
local p = {}
--[[
Função auxiliar que preenche a lista de argumentos, visto que o usuário pode precisar usar uma combinação de
parâmetros nomeados e sem nome. Isto é relevante porque os parâmetros nomeados não são
idênticos aos parâmetros sem nome devido ao corte de sequências (strings) e ao lidar com sequências (strings)
às vezes queremos preservar ou remover esse espaço em branco, dependendo da aplicação.
]]
function p.getParameters( frame_args, arg_list )
local new_args = {};
local index = 1;
local value;
for i,arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index];
index = index + 1;
end
new_args[arg] = value;
end
return new_args;
end
--[[
Função auxiliar para interpretar sequências (strings) booleanas
]]
function p.getBoolean( boolean_str )
local boolean_value;
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower();
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false;
else
boolean_value = true;
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str;
else
error( 'Nenhum valor booleano encontrado' );
end
return boolean_value
end
function p.defined(frame)
local arg = mw.text.trim(frame.args[1])
--if arg == tostring(tonumber(arg)) then -- resultado indesejado para '-0'
-- arg = tonumber(arg)
--end
--if mw.ustring.find(arg, '^%s*-?[1-9][0-9]*%s*$') ~= nil or arg == '0' then
-- arg = tonumber(arg)
--end
if mw.ustring.find(arg, '^-?[1-9][0-9]*$') ~= nil then
arg = tonumber(arg)
elseif arg == '0' then
arg = 0
end
return frame:getParent().args[arg] ~= nil
end
return p
cc1qxklre1ga2icdr6xnkvoqxzzhxg5
Módulo:If preview/configuration
828
7175
70359
2026-04-25T03:42:11Z
Exec8
6243
Pájina foun: '--[[ Realizamos a verificação real para saber se esta é uma pré-visualização aqui, pois o pré-processamento é relativamente caro. ]] local frame = mw.getCurrentFrame() local function is_preview() local revision_id = frame:preprocess('{{REVISIONID}}') -- {{REVISIONID}} geralmente é a sequência ('string') vazia quando pré-visualizada. -- Eu não sei por que estamos verificando "nil", mas ei, talvez algum dia as coisas -- tenham quebrado. return revision_id ==...'
70359
Scribunto
text/plain
--[[
Realizamos a verificação real para saber se esta é uma pré-visualização aqui, pois
o pré-processamento é relativamente caro.
]]
local frame = mw.getCurrentFrame()
local function is_preview()
local revision_id = frame:preprocess('{{REVISIONID}}')
-- {{REVISIONID}} geralmente é a sequência ('string') vazia quando pré-visualizada.
-- Eu não sei por que estamos verificando "nil", mas ei, talvez algum dia as coisas
-- tenham quebrado.
return revision_id == nil or revision_id == ''
end
local function templatestyles()
return frame:extensionTag{
name = 'templatestyles', args = { src = 'Módulo:If preview/styles.css' }
}
end
return {
preview = is_preview(),
templatestyles = templatestyles(),
warning_infrastructure = '%s<div class="preview-warning"><strong>Aviso de pré-visualização:</strong> %s</div>',
missing_warning = 'A predefinição não tem texto de aviso. Por favor adicione um aviso.'
}
grzjqzrhr06zwchubf64oj7a6x51r25
Módulo:Infocaixa
828
7176
70360
2026-04-25T03:42:30Z
Exec8
6243
Pájina foun: 'local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Ii][Aa]%s*:[^]]*]]' local has_rows = false local lists = { plainlist_t = { patterns = { '^plainlist$', '%splainlist$', '^plainlist%s', '%splainlist%s' }, found = false, styles = 'Plainlist/styles.css' }, hlist_t = {...'
70360
Scribunto
text/plain
local p = {}
local args = {}
local origArgs = {}
local root
local empty_row_categories = {}
local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Ii][Aa]%s*:[^]]*]]'
local has_rows = false
local lists = {
plainlist_t = {
patterns = {
'^plainlist$',
'%splainlist$',
'^plainlist%s',
'%splainlist%s'
},
found = false,
styles = 'Plainlist/styles.css'
},
hlist_t = {
patterns = {
'^hlist$',
'%shlist$',
'^hlist%s',
'%shlist%s'
},
found = false,
styles = 'Hlist/styles.css'
}
}
local function has_list_class(args_to_check)
for _, list in pairs(lists) do
if not list.found then
for _, arg in pairs(args_to_check) do
for _, pattern in ipairs(list.patterns) do
if mw.ustring.find(arg or '', pattern) then
list.found = true
break
end
end
if list.found then break end
end
end
end
end
local function fixChildBoxes(sval, tt)
local function notempty( s ) return s and s:match( '%S' ) end
if notempty(sval) then
local marker = '<span class=special_infobox_marker>'
local s = sval
local slast = ''
while slast ~= s do
slast = s
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Ii][Aa]%s*:[^]]*%]%])', '%2%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)', '%2%1')
end
s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker)
if s:match(marker) then
s = mw.ustring.gsub(s, marker .. '%s*' .. marker, '')
s = mw.ustring.gsub(s, '([\r\n]|-[^\r\n]*[\r\n])%s*' .. marker, '%1')
s = mw.ustring.gsub(s, marker .. '%s*([\r\n]|-)', '%1')
s = mw.ustring.gsub(s, '(</[Cc][Aa][Pp][Tt][Ii][Oo][Nn]%s*>%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '(<%s*[Tt][Aa][Bb][Ll][Ee][^<>]*>%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '^(%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '([\r\n]%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, marker .. '(%s*</[Tt][Aa][Bb][Ll][Ee]%s*>)', '%1')
s = mw.ustring.gsub(s, marker .. '(%s*\n|%})', '%1')
end
if s:match(marker) then
local subcells = mw.text.split(s, marker)
s = ''
for k = 1, #subcells do
if k == 1 then
s = s .. subcells[k] .. '</' .. tt .. '></tr>'
elseif k == #subcells then
local rowstyle = ' style="display:none"'
if notempty(subcells[k]) then rowstyle = '' end
s = s .. '<tr' .. rowstyle ..'><' .. tt .. ' colspan=2>\n' ..
subcells[k]
elseif notempty(subcells[k]) then
if (k % 2) == 0 then
s = s .. subcells[k]
else
s = s .. '<tr><' .. tt .. ' colspan=2>\n' ..
subcells[k] .. '</' .. tt .. '></tr>'
end
end
end
end
s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n')
s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n')
s = mw.ustring.gsub(s, '^([%*#;:])', '\n%1')
s = mw.ustring.gsub(s, '^(%{%|)', '\n%1')
return s
else
return sval
end
end
local function cleanInfobox()
root = tostring(root)
if has_rows == false then
root = mw.ustring.gsub(root, '<table[^<>]*>%s*</table>', '')
end
end
local function union(t1, t2)
local vals = {}
for k, v in pairs(t1) do
vals[v] = true
end
for k, v in pairs(t2) do
vals[v] = true
end
local ret = {}
for k, v in pairs(vals) do
table.insert(ret, k)
end
return ret
end
local function getArgNums(prefix)
local nums = {}
for k, v in pairs(args) do
local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$')
if num then table.insert(nums, tonumber(num)) end
end
table.sort(nums)
return nums
end
local function addRow(rowArgs)
if rowArgs.header and rowArgs.header ~= '_BLANK_' then
has_rows = true
has_list_class({ rowArgs.rowclass, rowArgs.class, args['tópico-classe'] })
root
:tag('tr')
:addClass(rowArgs.rowclass)
:cssText(rowArgs.rowstyle)
:tag('th')
:attr('colspan', '2')
:addClass('infobox-header')
:addClass(rowArgs.class)
:addClass(args['tópico-classe'])
:cssText(args['tópico-estilo'])
:cssText(rowArgs.rowcellstyle)
:wikitext(fixChildBoxes(rowArgs.header, 'th'))
if rowArgs.data then
root:wikitext(
--'[[Category:Pages using infobox templates with ignored data cells]]'
)
end
elseif rowArgs.data and rowArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ rowArgs.rowclass, rowArgs.class })
local row = root:tag('tr')
row:addClass(rowArgs.rowclass)
row:cssText(rowArgs.rowstyle)
if rowArgs.label then
row
:tag('th')
:attr('scope', 'row')
:addClass('infobox-label')
:cssText(args['rótulo-estilo'])
:cssText(rowArgs.rowcellstyle)
:wikitext(rowArgs.label)
:done()
end
local dataCell = row:tag('td')
dataCell
:attr('colspan', not rowArgs.label and '2' or nil)
:addClass(not rowArgs.label and 'infobox-full-data' or 'infobox-data')
:addClass(rowArgs.class)
:cssText(rowArgs.datastyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(fixChildBoxes(rowArgs.data, 'td'))
else
table.insert(empty_row_categories, rowArgs.data or '')
end
end
local function renderTitle()
if not args['cabeçalho'] then return end
has_rows = true
has_list_class({args['cabeçalho-classe']})
root
:tag('caption')
:addClass('infobox-title')
:addClass(args['cabeçalho-classe'])
:cssText(args['cabeçalho-estilo'])
:wikitext(args['cabeçalho'])
end
local function renderAboveRow()
if not args['título'] then return end
has_rows = true
has_list_class({ args['título-classe'] })
local frame = mw.getCurrentFrame()
local titleText = args['título'] or args['titulo'] or mw.title.getCurrentTitle().text
local span = mw.html.create('span')
if args['hCard'] then
span:addClass(args['hCard'])
end
span:wikitext(titleText)
local content = tostring(span)
if args['pictograma'] then
local pictogramArgs = {
pictograma = args['pictograma'],
['tamanho-pictograma'] = args['tamanho-pictograma'] or '30px',
['pictograma-ligação'] = args['pictograma-ligação'],
['pictograma-legenda'] = args['pictograma-legenda'],
opacidade = args['opacidade'],
['margem-superior'] = args['margem-superior']
}
content = content .. frame:expandTemplate{ title = 'Info/topo/imagem', args = pictogramArgs }
end
local row = root:tag('tr')
local th = row:tag('th')
th
:attr('colspan', '2')
:addClass('infobox-above')
:addClass(args['título-classe'] or 'infobox-above')
:cssText(args['título-estilo'] or '')
:wikitext(content)
end
local function renderBelowRow()
if not args['rodapé'] then return end
has_rows = true
has_list_class({ args['rodapé-classe'] })
root
:tag('tr')
:tag('td')
:attr('colspan', '2')
:addClass('infobox-below')
:addClass(args['rodapé-classe'])
:cssText(args['rodapé-estilo'])
:wikitext(fixChildBoxes(args['rodapé'],'td'))
end
local function addSubheaderRow(subheaderArgs)
if subheaderArgs.data and
subheaderArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ subheaderArgs.rowclass, subheaderArgs.class })
local row = root:tag('tr')
row:addClass(subheaderArgs.rowclass)
local dataCell = row:tag('td')
dataCell
:attr('colspan', '2')
:addClass('infobox-subheader')
:addClass(subheaderArgs.class)
:cssText(subheaderArgs.datastyle)
:cssText(subheaderArgs.rowcellstyle)
:wikitext(fixChildBoxes(subheaderArgs.data, 'td'))
else
table.insert(empty_row_categories, subheaderArgs.data or '')
end
end
local function renderSubheaders()
if args['subtítulo'] then
args['subtítulo1'] = args['subtítulo']
end
if args['subtítulo-classe-linha'] then
args['subtítulo-classe-linha1'] = args['subtítulo-classe-linha']
end
local subheadernums = getArgNums('subtítulo')
for k, num in ipairs(subheadernums) do
addSubheaderRow({
data = args['subtítulo' .. tostring(num)],
datastyle = args['subtítulo-estilo'],
rowcellstyle = args['subtítulo-estilo' .. tostring(num)],
class = args['subtítulo-classe'],
rowclass = args['subtítulo-classe-linha' .. tostring(num)]
})
end
end
local function addImageRow(imageArgs)
if imageArgs.data and
imageArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ imageArgs.rowclass, imageArgs.class })
local row = root:tag('tr')
row:addClass(imageArgs.rowclass)
local dataCell = row:tag('td')
dataCell
:attr('colspan', '2')
:addClass('infobox-image')
:addClass(imageArgs.class)
:cssText(imageArgs.datastyle)
:wikitext(fixChildBoxes(imageArgs.data, 'td'))
else
table.insert(empty_row_categories, imageArgs.data or '')
end
end
local function renderImages()
if args['imagem'] then
args['imagem1'] = args['imagem']
end
if args['legenda'] then
args['legenda1'] = args['legenda']
end
local imagenums = getArgNums('imagem')
for k, num in ipairs(imagenums) do
local caption = args['legenda' .. tostring(num)]
local data = mw.html.create():wikitext(args['imagem' .. tostring(num)])
if caption then
data
:tag('div')
:addClass('infobox-caption')
:cssText(args['legenda-estilo'])
:wikitext(caption)
end
addImageRow({
data = tostring(data),
datastyle = args['imagem-estilo'],
class = args['imagem-classe'],
rowclass = args['imagem-classe-linha' .. tostring(num)]
})
end
end
local function preprocessRows()
if not args.autoheaders then return end
local rownums = union(getArgNums('tópico'), getArgNums('dados'))
table.sort(rownums)
local lastheader
for k, num in ipairs(rownums) do
if args['tópico' .. tostring(num)] then
if lastheader then
args['tópico' .. tostring(lastheader)] = nil
end
lastheader = num
elseif args['dados' .. tostring(num)] and
args['dados' .. tostring(num)]:gsub(
category_in_empty_row_pattern, ''
):match('^%S') then
local data = args['dados' .. tostring(num)]
if data:gsub(category_in_empty_row_pattern, ''):match('%S') then
lastheader = nil
end
end
end
if lastheader then
args['tópico' .. tostring(lastheader)] = nil
end
end
local function renderRows()
local rownums = union(getArgNums('tópico'), getArgNums('dados'))
table.sort(rownums)
for k, num in ipairs(rownums) do
addRow({
header = args['tópico' .. tostring(num)],
label = args['rótulo' .. tostring(num)],
data = args['dados' .. tostring(num)],
datastyle = args['dados-estilo'],
class = args['class' .. tostring(num)],
rowclass = args['classe-linha' .. tostring(num)],
rowstyle = args['rowstyle' .. tostring(num)],
rowcellstyle = args['rowcellstyle' .. tostring(num)]
})
end
end
local function renderNavBar()
if not args['nome'] then return end
has_rows = true
root
:tag('tr')
:tag('td')
:attr('colspan', '2')
:addClass('infobox-navbar')
:wikitext(require('Módulo:Navbar')._navbar{
args['nome'],
mini = 1,
})
end
local function renderItalicTitle()
local italicTitle = args['título em itálico'] and mw.ustring.lower(args['título em itálico'])
if italicTitle == '' or italicTitle == 'forçar' or italicTitle == 'sim' then
root:wikitext(require('Módulo:Título em itálico')._main({}))
end
end
local function renderEmptyRowCategories()
for _, s in ipairs(empty_row_categories) do
root:wikitext(s)
end
end
local function renderTrackingCategories()
if args.decat == 'yes' or args.decat == 'sim' then return end
if args.child == 'yes' or args.child == 'sim' then
if args['cabeçalho'] then
root:wikitext(
--'[[Category:Pages using embedded infobox templates with the title parameter]]'
)
end
elseif #(getArgNums('dados')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
--root:wikitext('[[Category:Articles using infobox templates with no data rows]]')
end
end
local function loadTemplateStyles()
local frame = mw.getCurrentFrame()
local hlist_templatestyles = ''
if lists.hlist_t.found then
hlist_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = lists.hlist_t.styles }
}
end
local plainlist_templatestyles = ''
if lists.plainlist_t.found then
plainlist_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = lists.plainlist_t.styles }
}
end
local base_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = 'Módulo:Infocaixa/estilos.css' }
}
local templatestyles = ''
if args['templatestyles'] then
templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['templatestyles'] }
}
end
local child_templatestyles = ''
if args['child templatestyles'] then
child_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['child templatestyles'] }
}
end
local grandchild_templatestyles = ''
if args['grandchild templatestyles'] then
grandchild_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['grandchild templatestyles'] }
}
end
return table.concat({
hlist_templatestyles,
plainlist_templatestyles,
base_templatestyles,
templatestyles,
child_templatestyles,
grandchild_templatestyles
})
end
local function structure_infobox_common()
renderSubheaders()
renderImages()
preprocessRows()
renderRows()
renderBelowRow()
renderNavBar()
renderItalicTitle()
renderEmptyRowCategories()
renderTrackingCategories()
cleanInfobox()
end
local function _infobox()
local child = args.child and mw.ustring.lower(args.child) or ''
if child ~= 'yes' and child ~= 'sim' then
root = mw.html.create('table')
root
:addClass(args.subbox == 'yes' and 'infobox-subbox' or 'infobox')
:addClass(args['classe'])
:cssText(args['estilo'])
has_list_class({ args['classe'] })
renderTitle()
renderAboveRow()
else
root = mw.html.create()
root
:wikitext(args['cabeçalho'])
end
structure_infobox_common()
return loadTemplateStyles() .. root
end
local function preprocessSingleArg(argName)
if origArgs[argName] and origArgs[argName] ~= '' then
args[argName] = origArgs[argName]
end
end
local function preprocessArgs(prefixTable, step)
if type(prefixTable) ~= 'table' then
error("Non-table value detected for the prefix table", 2)
end
if type(step) ~= 'number' then
error("Invalid step value detected", 2)
end
for i,v in ipairs(prefixTable) do
if type(v) ~= 'table' or type(v.prefix) ~= "string" or
(v.depend and type(v.depend) ~= 'table') then
error('Invalid input detected to preprocessArgs prefix table', 2)
end
preprocessSingleArg(v.prefix)
if args[v.prefix] and v.depend then
for j, dependValue in ipairs(v.depend) do
if type(dependValue) ~= 'string' then
error('Invalid "depend" parameter value detected in preprocessArgs')
end
preprocessSingleArg(dependValue)
end
end
end
local a = 1
local moreArgumentsExist = true
while moreArgumentsExist == true do
moreArgumentsExist = false
for i = a, a + step - 1 do
for j,v in ipairs(prefixTable) do
local prefixArgName = v.prefix .. tostring(i)
if origArgs[prefixArgName] then
moreArgumentsExist = true
preprocessSingleArg(prefixArgName)
end
if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then
for j,dependValue in ipairs(v.depend) do
local dependArgName = dependValue .. tostring(i)
preprocessSingleArg(dependArgName)
end
end
end
end
a = a + step
end
end
local function parseDataParameters()
preprocessSingleArg('autoheaders')
preprocessSingleArg('child')
preprocessSingleArg('classe')
preprocessSingleArg('subbox')
preprocessSingleArg('estilo')
preprocessSingleArg('cabeçalho')
preprocessSingleArg('cabeçalho-classe')
preprocessSingleArg('cabeçalho-estilo')
preprocessSingleArg('título')
preprocessSingleArg('titulo')
preprocessSingleArg('título-classe')
preprocessSingleArg('título-estilo')
preprocessSingleArg('pictograma')
preprocessSingleArg('tamanho-pictograma')
preprocessSingleArg('pictograma-ligação')
preprocessSingleArg('pictograma-legenda')
preprocessSingleArg('opacidade')
preprocessSingleArg('margem-superior')
preprocessSingleArg('hCard')
preprocessSingleArg('incorporar')
preprocessArgs({
{prefix = 'subtítulo', depend = {'subtítulo-estilo', 'subtítulo-classe-linha'}}
}, 10)
preprocessSingleArg('subtítulo-estilo')
preprocessSingleArg('subtítulo-classe')
preprocessArgs({
{prefix = 'imagem', depend = {'legenda', 'imagem-classe-linha'}}
}, 10)
preprocessSingleArg('legenda-estilo')
preprocessSingleArg('imagem-estilo')
preprocessSingleArg('imagem-classe')
preprocessArgs({
{prefix = 'tópico'},
{prefix = 'dados', depend = {'rótulo'}},
{prefix = 'classe-linha'},
{prefix = 'rowstyle'},
{prefix = 'rowcellstyle'},
{prefix = 'class'}
}, 50)
preprocessSingleArg('tópico-classe')
preprocessSingleArg('tópico-estilo')
preprocessSingleArg('rótulo-estilo')
preprocessSingleArg('dados-estilo')
preprocessSingleArg('rodapé')
preprocessSingleArg('rodapé-classe')
preprocessSingleArg('rodapé-estilo')
preprocessSingleArg('nome')
args['título em itálico'] = origArgs['título em itálico']
preprocessSingleArg('decat')
preprocessSingleArg('templatestyles')
preprocessSingleArg('child templatestyles')
preprocessSingleArg('grandchild templatestyles')
end
function p.infobox(frame)
if frame == mw.getCurrentFrame() then
origArgs = frame:getParent().args
else
origArgs = frame
end
parseDataParameters()
return _infobox()
end
function p.infoboxTemplate(frame)
origArgs = {}
for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end
parseDataParameters()
return _infobox()
end
return p
hff0yawh2ac71ap8h7r4j85ff6uvagn
Módulo:Manutenção
828
7177
70361
2026-04-25T03:42:47Z
Exec8
6243
Pájina foun: '-- Configuração dos assuntos local assuntos = { ['de ambiente'] = {'ambiente', 'amb'}, ['de arte'] = {'arte'}, ['de biografia'] = {'biografia', 'bio'}, ['de biografia histórica'] = {'bioh'}, ['do Brasil'] = {'brasil', 'bra', 'br'}, ['de ciência'] = {'ciência', 'ciencia', 'ci'}, ['sobre cinema e TV'] = {'cinema', 'cine', 'tv'}, ['de economia'] = {'economia', 'eco'}, ['de empresa'] = {'empresa', 'emp'}, ['de esporte'] = {'esporte', 'desp', 'esp'}, ['...'
70361
Scribunto
text/plain
-- Configuração dos assuntos
local assuntos = {
['de ambiente'] = {'ambiente', 'amb'},
['de arte'] = {'arte'},
['de biografia'] = {'biografia', 'bio'},
['de biografia histórica'] = {'bioh'},
['do Brasil'] = {'brasil', 'bra', 'br'},
['de ciência'] = {'ciência', 'ciencia', 'ci'},
['sobre cinema e TV'] = {'cinema', 'cine', 'tv'},
['de economia'] = {'economia', 'eco'},
['de empresa'] = {'empresa', 'emp'},
['de esporte'] = {'esporte', 'desp', 'esp'},
['de ficção'] = {'ficção', 'fic'},
['de futebol'] = {'futebol', 'fut'},
['de geografia'] = {'geografia', 'geo'},
['de geografia (África)'] = {'geo-af'},
['de geografia (América)'] = {'geo-am'},
['de geografia (Europa)'] = {'geo-eu'},
['de geografia (Extremo Oriente)'] = {'geo-eo'},
['de geografia (Médio Oriente)'] = {'geo-mo'},
['de geografia (Oceania/Pacífico)'] = {'geo-oc'},
['de história'] = {'história', 'hist'},
['de história (África)'] = {'hist-af'},
['de história (América)'] = {'hist-am'},
['de história (Europa)'] = {'hist-eu'},
['de história (Extremo Oriente)'] = {'hist-eo'},
['de história (Médio Oriente)'] = {'hist-mo'},
['de história (Oceania/Pacífico)'] = {'hist-oc'},
['de jogo'] = {'jogo'},
['de localidade'] = {'localidade', 'loc'},
['de lusofonia'] = {'lusofonia', 'lusof'},
['de música'] = {'música', 'musica', 'mús', 'mus'},
['de política'] = {'política', 'pol'},
['de Portugal'] = {'portugal', 'por', 'prt', 'pt'},
['de sociedade'] = {'sociedade', 'soc'},
['de saúde'] = {'saúde'},
['de tecnologia'] = {'tecnologia', 'tec'}
}
local m = {}
m.assuntos = {}
-- inverte a tabela, de {['de ambiente']={'ambiente', 'amb'}, ...} para {['ambiente']='de ambiente', ['amb']='de ambiente', ...}
for v, t in pairs(assuntos) do
for _, k in ipairs(t) do
m.assuntos[k] = v
end
end
assuntos = nil
-- verifica se o mês é válido e retorna o mês em letra minúscula
local valida_mes = function(mes)
local meses = {'[Jj]aneiro', '[Ff]evereiro', '[Mm]arço', '[Aa]bril', '[Mm]aio', '[Jj]unho',
'[Jj]ulho', '[Aa]gosto', '[Ss]etembro', '[Oo]utubro', '[Nn]ovembro', '[Dd]ezembro'}
for n, m in ipairs(meses) do
if string.find(mes, '^' .. m .. ' de %d+$') then
return string.lower(mes)
end
end
end
m.categorizar = function(frame)
local config = frame.args
local catbase, mes
local cats = {}
-- Esta função é só para manutenção de artigos
if mw.title.getCurrentTitle().namespace ~= 0 then
return
end
if config['1'] then
catbase = config['1']
else
return
end
local catsecao = config['seção']
local arg1 = config['arg1'] or '^Est[ae] .'
local cat2 = config ['cat2']
local args = frame:getParent().args or {}
local secao = args['1'] and string.find(args['1'], '^Esta sec?ção')
if secao and catsecao then
catbase = catsecao
elseif args['1'] and args['1'] ~= '' then
-- permite passar a data no primeiro argumento
if valida_mes(args['1']) or string.match(args['1'], '^2%d%d%d$') then
mes = args['1']
-- se o primeiro argumento não é um assunto e não começa com Este ou Esta
elseif not m.assuntos[args['1']] and not mw.ustring.find(args['1'], arg1) then
table.insert(cats, '!Páginas com argumentos incorretos em marca de manutenção')
end
end
-- categoria de data
mes = mes or args['data'] or args['Data'] or args['date'] or args['Date']
if mes then
local vmes = valida_mes(mes)
if not vmes then
local ano = string.match(mes, '^2%d%d%d$')
if ano then
mes = ano
else
table.insert(cats, '!Páginas com parâmetro de data formatado incorretamente')
mes = nil
end
else
mes = vmes
end
end
if mes then
local cat = '!Artigos ' .. catbase .. ' desde ' .. mes
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
else
-- se a categoria de mês não existir tenta ver se existe o mês com letra maiúscula
cat = '!Artigos ' .. catbase .. ' desde ' .. string.gsub(mes, '^%a', string.upper)
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
else
-- se também não existe, tenta colocar somente o ano
local ano = string.match(mes, '2%d%d%d')
if ano then
table.insert(cats, '!Artigos ' .. catbase .. ' desde ' .. ano)
-- senão coloca na categoria base
else
table.insert(cats, '!Artigos ' .. catbase)
end
end
end
-- se tiver cat2, repete tudo para cat2
if cat2 then
cat = cat2 .. ' desde ' .. mes
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
else
cat = cat2 .. ' desde ' .. string.gsub(mes, '^%a', string.upper)
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
else
local ano = string.match(mes, '2%d%d%d')
if ano then
table.insert(cats, cat2 .. ' desde ' .. ano)
else
table.insert(cats, cat2)
end
end
end
end
else -- não tem data válida, coloca a categoria base
table.insert(cats, '!Artigos ' .. catbase)
if cat2 then
table.insert(cats, cat2)
end
end
-- categoria de assunto
local algum = false
local semcat = false
for k, v in pairs(args) do
if string.find(k, '^%d%d-$') then
v = string.lower(v)
if m.assuntos[v] then
algum = true
local cat = '!Artigos ' .. m.assuntos[v] .. ' ' .. catbase
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
else
semcat = true
end
end
else
k = string.lower(k)
if m.assuntos[k] and v ~= '' then
algum = true
local cat = '!Artigos ' .. m.assuntos[k] .. ' ' .. catbase
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
else
semcat = true
end
end
end
end
if not algum then
local cat = '!Artigos ' .. catbase .. ' sem indicação de tema'
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
end
elseif semcat then
local cat = '!Artigos ' .. catbase .. ' por assunto'
local cat2 = '!Artigos ' .. catbase .. ' por tema'
if mw.title.new(cat, 14).exists then
table.insert(cats, cat)
elseif mw.title.new(cat2, 14).exists then
table.insert(cats, cat2)
end
end
-- finalizando
for i, cat in ipairs(cats) do
cats[i] = '[[Categoria:' .. cat .. ']]'
end
return table.concat(cats)
end
return m
fx1feam4vc819htp2ft4t5ucuvuq6yb
Módulo:URL
828
7178
70362
2026-04-25T03:43:05Z
Exec8
6243
Pájina foun: '-- -- Este módulo implementa a {{URL}} -- -- Veja unidade de testes em [[Módulo:URL/testes]] local p = {} function trim(s) return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1")) end function safeUri(s) local success, uri = pcall(function() return mw.uri.new(s) end) if success then return uri end end function p._url(url, text) url = trim(url or '') text = trim(text or '') if url == '' then if text == '' then...'
70362
Scribunto
text/plain
--
-- Este módulo implementa a {{URL}}
--
-- Veja unidade de testes em [[Módulo:URL/testes]]
local p = {}
function trim(s)
return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))
end
function safeUri(s)
local success, uri = pcall(function()
return mw.uri.new(s)
end)
if success then
return uri
end
end
function p._url(url, text)
url = trim(url or '')
text = trim(text or '')
if url == '' then
if text == '' then
return mw.getCurrentFrame():expandTemplate{ title = 'tlx', args = { 'URL', "''exemplo.com''", "''texto de exibição opicional''" } }
else
return text
end
end
-- Se a URL contiver espaços descodificados, codificá-los, porque o MediaWiki, caso contrário, pode interpretar um espaço como o fim da URL
url = mw.ustring.gsub(url, '%s', function(s) return mw.uri.encode(s, 'PATH') end)
-- Se houver uma string de consulta vazia ou fragmento id, removê-lo, uma vez que irá fazer com que mw.uri.new lançe um erro
url = mw.ustring.gsub(url, '#$', '')
url = mw.ustring.gsub(url, '%?$', '')
-- If it's an HTTP[S] URL without the double slash, fix it.
url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?):(/?)([^/])', 'http%1://%3')
-- Lidar com URLs da Wikidata do formato http://
url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?)://', 'http%1://')
local uri = safeUri(url)
-- Lidar com URLs sem protocolo e com URLs que são relativo a protocolo,
-- ex.: www.exemplo.com/foo or www.exemplo.com:8080/foo, e //www.exemplo.com/foo
if uri and (not uri.protocol or (uri.protocol and not uri.host)) and url:sub(1, 2) ~= '//' then
url = 'http://' .. url
uri = safeUri(url)
end
if text == '' then
if uri then
if uri.path == '/' then uri.path = '' end
local port = ''
if uri.port then port = ':' .. uri.port end
text = mw.ustring.lower(uri.host or '') .. port .. (uri.relativePath or '')
else -- A URL é mal-formado, então apenas mostrar o que quer que foi aprovada em
text = url
end
end
-- Adicionar <wbr> depois da sequências _/.-#
text = mw.ustring.gsub(text,"(/+)","<wbr/>%1") -- Esta entrada DEVE ser a primeira. "<wbr/>" tem uma "/" nele, você sabe.
text = mw.ustring.gsub(text,"(%.+)","<wbr/>%1")
-- texto = mw.ustring.gsub(text,"(%-+)","<wbr/>%1") -- DISATIVADO por agora
text = mw.ustring.gsub(text,"(%#+)","<wbr/>%1")
text = mw.ustring.gsub(text,"(_+)","<wbr/>%1")
return mw.ustring.format('<span class="url">[%s %s]</span>', url, text)
end
function p.url(frame)
local templateArgs = frame.args
local url = templateArgs[1] or ''
local text = templateArgs[2] or ''
return p._url(url, text)
end
return p
5qen73db54o53je94zjq81f44pimyzi
Módulo:WikidataIB/nolinks
828
7179
70363
2026-04-25T03:43:21Z
Exec8
6243
Pájina foun: 'local p ={} --[[ The values here are the English sitelinks for items that should not be linked. These 36 are not definitive and may be altered to suit. --]] p.items = { "Alemanha", "Austrália", "África do Sul", "Áustria", "Bélgica", "Canadá", "China", "Dinamarca", "Escócia", "Espanha", "Estados Unidos", "França", "Grécia", "Hungria", "Inglaterra", "Irlanda do Norte", "Islândia", "Israel", "...'
70363
Scribunto
text/plain
local p ={}
--[[
The values here are the English sitelinks for items that should not be linked.
These 36 are not definitive and may be altered to suit.
--]]
p.items = {
"Alemanha",
"Austrália",
"África do Sul",
"Áustria",
"Bélgica",
"Canadá",
"China",
"Dinamarca",
"Escócia",
"Espanha",
"Estados Unidos",
"França",
"Grécia",
"Hungria",
"Inglaterra",
"Irlanda do Norte",
"Islândia",
"Israel",
"Itália",
"Índia",
"Jamaica",
"Japão",
"Luxemburgo",
"México",
"Noruega",
"Nova Zelândia",
"País de Gales",
"Países Baixos",
"Polónia",
"Portugal",
"RU",
"Reino Unido",
"República da Irlanda",
"Rússia",
"Suécia",
"Suíça",
"Turquia",
"USA",
}
--[[
This provides a convenient way to create a test whether an item is on the list.
--]]
p.itemsindex = {}
for i, v in ipairs(p.items) do
p.itemsindex[v] = true
end
return p
nhyzm7n4x24cn2p2inav0u6jk6niv78
Módulo:WikidataIB/titleformats
828
7180
70364
2026-04-25T03:43:37Z
Exec8
6243
Pájina foun: '--[[ To satisfy Wikipedia:Manual of Style/Titles, certain types of items are italicised, and others are quoted. This submodule lists the entity-ids used in 'instance of' (P31), which allows a module to identify the values that should be formatted. The table p.formats is indexed by entity-id, and contains the value " or '' --]] local p = {} p.italics = { "Q571", -- book "Q13593966", -- literary trilogy "Q277759", -- book series "Q2188189...'
70364
Scribunto
text/plain
--[[
To satisfy Wikipedia:Manual of Style/Titles, certain types of items are italicised,
and others are quoted.
This submodule lists the entity-ids used in 'instance of' (P31),
which allows a module to identify the values that should be formatted.
The table p.formats is indexed by entity-id, and contains the value " or ''
--]]
local p = {}
p.italics = {
"Q571", -- book
"Q13593966", -- literary trilogy
"Q277759", -- book series
"Q2188189", -- musical work
"Q11424", -- film
"Q13593818", -- film trilogy
"Q24856", -- film series
"Q5398426", -- television series
"Q482994", -- album
"Q169930", -- extended play
"Q1760610", -- comic book
"Q7889", -- video game
"Q7058673", -- video game series
"Q25379", -- play
"Q2743", -- musical
"Q37484", -- epic poem
"Q41298", -- magazine
}
p.quotes = {
"Q207628", -- musical composition
}
p.size = 0
p.formats = {}
for i, v in ipairs(p.italics) do
p.formats[v] = "''"
p.size = p.size + 1
end
for i, v in ipairs(p.quotes) do
p.formats[v] = '"'
p.size = p.size + 1
end
return p
9cqv4efkokpekljfta08lgc5metvfyu
Template:Info/Assentamento/líderes
10
7181
70365
2026-04-25T03:44:24Z
Exec8
6243
Pájina foun: '{{#if: {{{1|}}} |{{ #ifexist: {{{1|}}} | {{{1|}}} | {{{1|}}} }}{{ #if: {{{2|}}}{{{3|}}} | ({{{2|}}}{{ And2 | {{{2|}}} | {{{3|}}} | , }}{{{3|}}}) }} }}<noinclude> {{Documentação|conteúdo=Predefinição auxiliar para preenchimento de líderes}} [[Categoria:!Info Assentamento]] [[Categoria:!Subpredefinições]] </noinclude>'
70365
wikitext
text/x-wiki
{{#if: {{{1|}}} |{{
#ifexist: {{{1|}}}
| {{{1|}}} | {{{1|}}} }}{{
#if: {{{2|}}}{{{3|}}}
| ({{{2|}}}{{
And2 | {{{2|}}} | {{{3|}}} | , }}{{{3|}}}) }} }}<noinclude>
{{Documentação|conteúdo=Predefinição auxiliar para preenchimento de líderes}}
[[Categoria:!Info Assentamento]]
[[Categoria:!Subpredefinições]]
</noinclude>
d81sguieawdbv8pifiq3qzg5w840tgm
Template:Info/CoordStr
10
7182
70366
2026-04-25T03:44:42Z
Exec8
6243
Pájina foun: '{{#switch: {{{1|}}} |latd ={{Coor dms/str | {{{2|}}} | {{{3|}}} |1|2}} |latm={{Coor dms/str | {{{2|}}} | {{{3|}}} |4|2}} |lats={{Coor dms/str | {{{2|}}} | {{{3|}}} |7|2}} |latNS={{#if: {{{2|}}} | {{{2|}}} |{{Coor dms/strL ||lat| {{{3|}}} }} }} |longd={{Coor dms/str | {{{2|}}} | {{{3|}}} |12|2}} |longm={{Coor dms/str | {{{2|}}} | {{{3|}}} |15|2}} |longs={{Coor dms/str | {{{2|}}} | {{{3|}}} |18|2}} |longEW={{#if: {{{2|}}} |{{#switch: {{uc:{{{2|}}}}} |E|L=E|#default=W}} |{...'
70366
wikitext
text/x-wiki
{{#switch: {{{1|}}}
|latd ={{Coor dms/str | {{{2|}}} | {{{3|}}} |1|2}}
|latm={{Coor dms/str | {{{2|}}} | {{{3|}}} |4|2}}
|lats={{Coor dms/str | {{{2|}}} | {{{3|}}} |7|2}}
|latNS={{#if: {{{2|}}} | {{{2|}}}
|{{Coor dms/strL ||lat| {{{3|}}} }} }}
|longd={{Coor dms/str | {{{2|}}} | {{{3|}}} |12|2}}
|longm={{Coor dms/str | {{{2|}}} | {{{3|}}} |15|2}}
|longs={{Coor dms/str | {{{2|}}} | {{{3|}}} |18|2}}
|longEW={{#if: {{{2|}}}
|{{#switch: {{uc:{{{2|}}}}} |E|L=E|#default=W}}
|{{Coor dms/strL ||lon| {{{3|}}} }} }}
}}<noinclude>
{{Documentação|conteúdo=Predefinição auxiliar para indicar componentes de coordenadas (latd, latm, longd, etc.), usando uma string com 21 caracteres no formato normalmente usado no Wikidata.
;Exemplos
*latd: <code><nowiki>{{Info/CoordStr| latd | 8 | }}</nowiki></code><br>ou <code><nowiki>{{Info/CoordStr| latd || 08°17'18 N 98°36'37 E }}</nowiki></code>
*latNS: <code><nowiki>{{Info/CoordStr| latNS | N}}</nowiki></code><br>ou<code><nowiki>{{Info/CoordStr| latNS || 08°17'18 N 98°36'37 E}}</nowiki></code>
*longEW: <code><nowiki>{{Info/CoordStr| longEW | E}}</nowiki></code><br>ou<code><nowiki>{{Info/CoordStr| longEW || 08°17'18 N 98°36'37 E}}</nowiki></code>
Outros valores (seletores) para o 1.º parâmetro são latm, lats, longd, longm e longs.
}}
[[Categoria:!Subpredefinições]]
</noinclude>
rt5fvvoiuh1n8vri7f95p46jn5d8l0s
Template:Info/Mapa dinâmico
10
7183
70367
2026-04-25T03:44:58Z
Exec8
6243
Pájina foun: '<includeonly>{{#if: {{Coor dms/str | {{{latd|{{{1|}}}}}} | {{{coord_str|}}} |1|2}} |{{#if: {{{legenda|}}}{{{visível|}}} | <tr class="mergedrow"> <td colspan="2" style="text-align:center;">{{mapa dinâmico| latitude={{#ifeq: {{uc:{{Coor dms/strL | {{{latNS|{{{4|}}}}}} |lat| {{{coord_str|}}} }} }} |S|-}}{{ Conversor de graus |{{Coor dms/str | {{{latd|{{{1|}}}}}} | {{{coord_str|}}} |1|2}} |{{Coor dms/str | {{{latm|{{{2|}}}}}} | {{{coord_str|}}} |4|2}} |{{Coor dms/str | {{{la...'
70367
wikitext
text/x-wiki
<includeonly>{{#if: {{Coor dms/str | {{{latd|{{{1|}}}}}} | {{{coord_str|}}} |1|2}} |{{#if: {{{legenda|}}}{{{visível|}}} |
<tr class="mergedrow">
<td colspan="2" style="text-align:center;">{{mapa dinâmico|
latitude={{#ifeq: {{uc:{{Coor dms/strL | {{{latNS|{{{4|}}}}}} |lat| {{{coord_str|}}} }} }} |S|-}}{{
Conversor de graus
|{{Coor dms/str | {{{latd|{{{1|}}}}}} | {{{coord_str|}}} |1|2}}
|{{Coor dms/str | {{{latm|{{{2|}}}}}} | {{{coord_str|}}} |4|2}}
|{{Coor dms/str | {{{lats|{{{3|}}}}}} | {{{coord_str|}}} |7|2}}
|sem_símbolo=sim}}|
longitude ={{#ifeq: {{#switch: {{uc:{{Coor dms/strL | {{{longEW|{{{8|}}}}}} |lon| {{{coord_str|}}} }} }}
|E|L=E|#default=W}}
|W|-}}{{
Conversor de graus
|{{Coor dms/str | {{{longd|{{{5|}}}}}} | {{{coord_str|}}} |12|2}}
|{{Coor dms/str | {{{longm|{{{6|}}}}}} | {{{coord_str|}}} |15|2}}
|{{Coor dms/str | {{{longs|{{{7|}}}}}} | {{{coord_str|}}} |18|2}}
|sem_símbolo=sim}}|
align=center|
zoom ={{{zoom|13}}}|
height ={{{altura|250}}}|
width ={{{largura|250}}} }}
<small>{{#if: {{{legenda|}}}
| {{{legenda|}}} | Localização em mapa dinâmico}}</small></td></tr> }} }}</includeonly><noinclude>
{{Documentação}}
</noinclude>
jo66aevnczj33mcvcjdxcsim3w7vk5a
Template:Info/coord
10
7184
70368
2026-04-25T03:45:11Z
Exec8
6243
Pájina foun: '{{#if: {{{latd|{{{latitude|{{{1|}}}}}}}}} |{{ #switch: {{#if: {{{latm|{{{2|}}}}}} |A|x}}{{#if: {{{lats|{{{3|}}}}}} |B|x}}{{ #if: {{{longm|{{{6|}}}}}} |C|x}}{{#if: {{{longs|{{{7|}}}}}} |D|x}} |xxxx ={{Coord| display={{{display|}}} | {{{latd|{{{latitude|{{{1|}}}}}}}}} | {{{latNS|{{{4|N}}}}}} | {{{longd|{{{longitude|{{{5|0}}}}}}}}} |{{#switch: {{uc:{{{longEW|{{{8|}}}}}}}} |E|L=E|#default={{#if: {{{longitude|}}} |E|W}}}} |{{ #if: {{{coord_sufixo|}}} |{{Se_vazio| {{{coo...'
70368
wikitext
text/x-wiki
{{#if: {{{latd|{{{latitude|{{{1|}}}}}}}}} |{{
#switch: {{#if: {{{latm|{{{2|}}}}}} |A|x}}{{#if: {{{lats|{{{3|}}}}}} |B|x}}{{
#if: {{{longm|{{{6|}}}}}} |C|x}}{{#if: {{{longs|{{{7|}}}}}} |D|x}}
|xxxx ={{Coord| display={{{display|}}} | {{{latd|{{{latitude|{{{1|}}}}}}}}} | {{{latNS|{{{4|N}}}}}} | {{{longd|{{{longitude|{{{5|0}}}}}}}}} |{{#switch: {{uc:{{{longEW|{{{8|}}}}}}}}
|E|L=E|#default={{#if: {{{longitude|}}} |E|W}}}} |{{
#if: {{{coord_sufixo|}}}
|{{Se_vazio| {{{coord_sufixo|}}} | {{{9|}}} |type:landmark}} }} }}
|AxCx ={{Coord| display={{{display|}}} | {{{latd|{{{latitude|{{{1|}}}}}}}}} | {{{latm|{{{2|}}}}}} | {{{latNS|{{{4|N}}}}}} | {{{longd|{{{longitude|{{{5|0}}}}}}}}} | {{{longm|{{{6|}}}}}} |{{#switch: {{uc:{{{longEW|{{{8|}}}}}}}}
|E|L=E|#default={{#if: {{{longitude|}}} |E|W}}}} |{{
#if: {{{coord_sufixo|}}}
|{{Se_vazio| {{{coord_sufixo|}}} | {{{9|}}} |type:landmark}} }} }}
|#default ={{Coord| display={{{display|}}} | {{{latd|{{{latitude|{{{1|}}}}}}}}} | {{Se_vazio | {{{latm|{{{2|}}}}}} |0}} | {{Se_vazio | {{{lats|{{{3|}}}}}} |0}} | {{{latNS|{{{4|N}}}}}} | {{{longd|{{{longitude|{{{5|0}}}}}}}}} | {{Se_vazio | {{{longm|{{{6|}}}}}} |0}} | {{Se_vazio | {{{longs|{{{7|}}}}}} |0}} |{{#switch: {{uc:{{{longEW|{{{8|}}}}}}}}
|E|L=E|#default={{#if: {{{longitude|}}} |E|W}}}} |{{
#if: {{{coord_sufixo|}}}
|{{Se_vazio| {{{coord_sufixo|}}} | {{{9|}}} |type:landmark}} }} }}
}} }}<noinclude>
{{Documentação|conteúdo=Predefinição auxiliar para colocar {{tl|Coord}} em infocaixas.}}
[[Categoria:!Metapredefinições]]
</noinclude>
7xczohm0h8o28hk4c07so5tpwxg69sz
Template:And2
10
7185
70369
2026-04-25T03:46:21Z
Exec8
6243
Pájina foun: '{{#if: {{{1|}}} |{{#if: {{{2|}}} |{{{3|1}}} |{{{4|}}}}} |{{{4|}}}}}<noinclude> [[Categoria:!Metapredefinições|{{PAGENAME}}]] </noinclude>'
70369
wikitext
text/x-wiki
{{#if: {{{1|}}}
|{{#if: {{{2|}}}
|{{{3|1}}}
|{{{4|}}}}}
|{{{4|}}}}}<noinclude>
[[Categoria:!Metapredefinições|{{PAGENAME}}]]
</noinclude>
f3bh1992dwepuqairkbqgswmztknx1w
Template:Densidade populacional3
10
7186
70370
2026-04-25T03:46:46Z
Exec8
6243
Pájina foun: '{{#if: {{Densidade populacional2 | {{{pop|}}} | {{{akm|}}} }} |{{Densidade populacional | {{{pop|}}} | {{{akm|}}} | {{{dec|1}}} | noprefix=x}} |{{#if: {{Densidade populacional2 | {{{pop|}}} | {{{ami|}}} }} |{{Densidade populacional | {{{pop|}}} | {{{ami|}}} | {{{dec|1}}} | noprefix=x | sufixo=hab./mi²}} |{{#if: {{{dkm|}}} |{{nowrap | {{ Ifnumber | {{{dkm|}}} | {{formatnum:{{{dkm|}}}}} |{{#ifeq:{{Str_rightc|{{{dkm|}}}|4}}|hab. |{{Str_crop|{{{dkm|}}}|4}} |{{#if...'
70370
wikitext
text/x-wiki
{{#if: {{Densidade populacional2 | {{{pop|}}} | {{{akm|}}} }}
|{{Densidade populacional | {{{pop|}}} | {{{akm|}}} | {{{dec|1}}} | noprefix=x}}
|{{#if: {{Densidade populacional2 | {{{pop|}}} | {{{ami|}}} }}
|{{Densidade populacional | {{{pop|}}} | {{{ami|}}} | {{{dec|1}}} | noprefix=x | sufixo=hab./mi²}}
|{{#if: {{{dkm|}}}
|{{nowrap | {{
Ifnumber | {{{dkm|}}} | {{formatnum:{{{dkm|}}}}}
|{{#ifeq:{{Str_rightc|{{{dkm|}}}|4}}|hab.
|{{Str_crop|{{{dkm|}}}|4}}
|{{#ifeq:{{Str_rightc|{{{dkm|}}}|3}}|hab
|{{Str_crop|{{{dkm|}}}|3}}|{{{dkm|}}}
}}
}}}} hab./km²}}
|{{
#if: {{{dmi|}}}
|{{nowrap | {{
Ifnumber | {{{dmi|}}} | {{formatnum:{{{dmi|}}}}}
|{{#ifeq:{{Str_rightc|{{{dmi|}}}|4}}|hab.
|{{Str_crop|{{{dmi|}}}|4}}
|{{#ifeq:{{Str_rightc|{{{dmi|}}}|3}}|hab
|{{Str_crop|{{{dmi|}}}|3}}|{{{dmi|}}}
}}
}}}} hab./mi²}} }} }} }} }}<noinclude>
{{Documentação}}
</noinclude>
fithkuuynar68t4yz42ss342oofm2zb
Template:FmtMetroFt
10
7187
70371
2026-04-25T03:46:59Z
Exec8
6243
Pájina foun: '{{#if: {{{1|}}} |{{formatnum:{{{1|}}}}} |{{#if: {{{2|}}} |{{formatnum:{{#expr: {{{2|}}} * 0.3048 round 0}} }} }} }}{{ #if: {{{1|}}}{{{2|}}} | m}}<noinclude> {{Documentação}} </noinclude>'
70371
wikitext
text/x-wiki
{{#if: {{{1|}}}
|{{formatnum:{{{1|}}}}}
|{{#if: {{{2|}}}
|{{formatnum:{{#expr: {{{2|}}} * 0.3048 round 0}} }} }} }}{{
#if: {{{1|}}}{{{2|}}} | m}}<noinclude>
{{Documentação}}
</noinclude>
d900zrxluzamvqyuswm67epavsor7v1
Template:Iflang
10
7188
70372
2026-04-25T03:47:10Z
Exec8
6243
Pájina foun: '{{#switch: {{lc:{{{lang|{{{1}}}}}}}} |br|langbr|lang-br|pt-br|pt_br|ptbr={{{br|{{{2|}}}}}} |pt|langpt|lang-pt|eu|langeu|lang-eu|pt-pt|pt_pt|pt-eu|pt_eu|ptpt|pe={{{pt|{{{3|}}}}}} |#default={{{br|{{{2|}}}}}}}}<noinclude> {{Documentação}} </noinclude>'
70372
wikitext
text/x-wiki
{{#switch: {{lc:{{{lang|{{{1}}}}}}}}
|br|langbr|lang-br|pt-br|pt_br|ptbr={{{br|{{{2|}}}}}}
|pt|langpt|lang-pt|eu|langeu|lang-eu|pt-pt|pt_pt|pt-eu|pt_eu|ptpt|pe={{{pt|{{{3|}}}}}}
|#default={{{br|{{{2|}}}}}}}}<noinclude>
{{Documentação}}
</noinclude>
e8w4mraorz36q1dtmt83fk3jmiv7q8i
Template:Info/Assentamento/styles.css
10
7189
70373
2026-04-25T03:48:00Z
Exec8
6243
Pájina foun: '/* {{pp|small=y}} */ .ib-settlement { border-collapse: collapse; line-height: 1.2em; } @media (min-width: 640px) { .ib-settlement { width: 23em; } } /* TODO split definitions to appropriate class names when live from HTML element */ .ib-settlement td, .ib-settlement th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.4em 0.6em; } .ib-settlement .mergedtoprow .infobox-full-data, .ib-settlement .mergedtoprow .infobox-header, .ib-settlement .mergedtoprow .info...'
70373
sanitized-css
text/css
/* {{pp|small=y}} */
.ib-settlement {
border-collapse: collapse;
line-height: 1.2em;
}
@media (min-width: 640px) {
.ib-settlement {
width: 23em;
}
}
/* TODO split definitions to appropriate class names when live from HTML element */
.ib-settlement td,
.ib-settlement th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.ib-settlement .mergedtoprow .infobox-full-data,
.ib-settlement .mergedtoprow .infobox-header,
.ib-settlement .mergedtoprow .infobox-data,
.ib-settlement .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-below {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.ib-settlement .mergedrow .infobox-full-data,
.ib-settlement .mergedrow .infobox-data,
.ib-settlement .mergedrow .infobox-label {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.ib-settlement .mergedbottomrow .infobox-full-data,
.ib-settlement .mergedbottomrow .infobox-data,
.ib-settlement .mergedbottomrow .infobox-label {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.ib-settlement .maptable {
border: 0;
padding: 0;
}
.ib-settlement .infobox-header,
.ib-settlement .infobox-below {
text-align: left;
}
.ib-settlement .infobox-above {
font-size: 125%;
line-height: 1.3em;
}
.ib-settlement .infobox-subheader {
background-color: #cddeff;color:inherit;
font-weight: bold;
}
.ib-settlement-native {
font-weight: normal;
padding-top: 0.2em;
}
.ib-settlement-other-name {
font-size: 78%;
}
.ib-settlement-official {
font-weight: bold;
}
.ib-settlement-caption {
padding: 0.3em 0 0 0;
}
.ib-settlement-caption-link {
padding: 0.2em 0;
}
.ib-settlement-nickname {
display: inline;
}
.ib-settlement-fn {
font-weight: normal;
display: inline;
}
r64slwko84pew5lxs3tepin9znpz4pc
Módulo:I18n/complex date
828
7190
70374
2026-04-25T03:49:01Z
Exec8
6243
Pájina foun: '--[[ __ __ _ _ ___ _ ___ __ _ _ _ | \/ | ___ __| |_ _| | ___ _|_ _/ |( _ ) _ __ / /__ ___ _ __ ___ _ __ | | _____ __ __| | __ _| |_ ___ | |\/| |/ _ \ / _` | | | | |/ _ (_)| || |/ _ \| '_ \ / / __/ _ \| '_ ` _ \| '_ \| |/ _ \ \/ / / _` |/ _` | __/ _ \ | | | | (_) | (_| | |_| | | __/_ | || | (_) | | | |/ / (_| (_) | | | | | | |_) | | __/> < | (_| | (_| | || __/ |...'
70374
Scribunto
text/plain
--[[
__ __ _ _ ___ _ ___ __ _ _ _
| \/ | ___ __| |_ _| | ___ _|_ _/ |( _ ) _ __ / /__ ___ _ __ ___ _ __ | | _____ __ __| | __ _| |_ ___
| |\/| |/ _ \ / _` | | | | |/ _ (_)| || |/ _ \| '_ \ / / __/ _ \| '_ ` _ \| '_ \| |/ _ \ \/ / / _` |/ _` | __/ _ \
| | | | (_) | (_| | |_| | | __/_ | || | (_) | | | |/ / (_| (_) | | | | | | |_) | | __/> < | (_| | (_| | || __/
|_| |_|\___/ \__,_|\__,_|_|\___(_)___|_|\___/|_| |_/_/ \___\___/|_| |_| |_| .__/|_|\___/_/\_\ \__,_|\__,_|\__\___|
|_|
This code was copied from Commons please request changes there.
Maintainers:
*Jarekt
]]
local Ordinal = require('Module:Ordinal')._Ordinal
local Roman = require('Module:Roman-cd')._Numeral
local linguistic = require('Module:Linguística')
-- ==========================================================================
-- === Local Helper functions ==============================================
-- ==========================================================================
-- form of French "of" based on "precision", which is wikibase compatible date precision format:
-- 6=millennium, 7=century, 8=decade, 9=year, 10=month, 11=day
-- 1 2 3 4 5 mill cent deca year month day
local frOf = {'du','du','du','du','du', 'du', 'du', 'de', 'de', 'de', 'du'}
local function decYear(state,lang,case)
--Declension of word "year" in several languages
if state.precision == 9 then
yearCase = {
fi={xxx='vuosien', gen='vuoden', ill='vuoteen', ptv='vuotta', ela='vuodesta', ine='vuonna'},
sl={insP='letoma', ins='letom', gen='leta', loc='letu'},
hsb={insP='lětami', ins='lětom', gen='lěta', loc='lěće'}
}
return yearCase[lang][case] .. ' '
else
return ''
end
end
local function decCentury(lang,case)
--Declension of word "century" in several languages
centuryCase = {
pl={nom='wiek', gen='wieku', ins='wiekiem', loc='wieku', default = 'wiek'},
hsb={nom='lětstotk', gen='lětstotka', ins='lětstotkom', loc='lětstotku', default = 'lětstotk'}
}
return centuryCase[lang][case] or centuryCase[lang]['default']
end
local function decMillennium(lang,case)
--Declension of word "century" in several languages
millenniumCase = {
pl={nom='tysiąclecie', gen='tysiąclecia', ins='tysiącleciem', loc='tysiącleciu', default = 'tysiąclecie'},
hsb={nom='lěttysac', gen='lěttysaca', ins='lěttysacom', loc='lěttysacu', default = 'lěttysac'}
}
return millenniumCase[lang][case] or millenniumCase[lang]['default']
end
-- ==========================================================================
-- === Output data structure ===============================================
-- ==========================================================================
local p = {}
--[[
Multiple formats are possible:
1) string with key words "$date1" and "$date2" which will be replaced later by the date strings
2) function which can be used to create output string
* Function INPUTS:
- date1 and date2 string with date strings. "$date1" and "$date2" can also be used which will be replaced latter
- state is a table with full description of the phrase we are trying to construct. It includes state.precision1 (and 2)
which is wikibase compatible date precision format: 6=millennium, 7=century, 8=decade, 9=year, 10=month, 11=day
3) table with following fields:
* table[1] is either string or a function
* table.case is a 2 element table with Grammatical cases used by given language to alter
month name or other adjective related to date # 1 and 2
]]
p.Translations = {
-- ==========================================
-- === Two date phrases =====================
-- ==========================================
['from-until'] = {
nDates = 2,
ar='من $date1 إلى $date2',
['be-tarask']={'з $date1 да $date2', case={'gen','gen'}},
bn='$date1 থেকে $date2 পর্যন্ত',
ca='$date1 fins $date2',
cs='$date1 až $date2',
da='fra $date1 til $date2',
de='$date1 bis $date2',
el='από $date1 έως $date2',
en='from $date1 until $date2',
['en-gb']='from $date1 until $date2',
['en-ca']='from $date1 until $date2',
eo='de $date1 al $date2',
es='de $date1 a $date2',
et='$date1 kuni $date2',
fa='از $date1 تا $date2',
fi='$date1–$date2', -- välisenä aikana
fr=function(date1, date2, state) -- could actually be better should be "d'octobre à mars 2013' not "de octore 2013 à mars 2013"
if state.precision > 10 then -- precision > month
return 'du $date1 au $date2'
else -- "DE septebmbre" / "D'octobre"
return linguistic.of(date1, 'fr') .. " à $date2"
end
end,
gl='de $date1 a $date2', --Template:From until used 'desde $date1 ata $date2'
he='מ- $date1 עד $date2',
hr='od $date1 do $date2',
hsb={'wot $date1 do $date2', case={'gen','gen'}},
hu='$date1 – $date2',
it='dal $date1 al $date2',
ja='$date1から$date2まで',
mk='од $date1 до $date2',
ml='$date1 മുതൽ $date2 വരെ',
nb='fra $date1 til $date2',
nds='$date1 bet $date2',
nn='fra $date1 til $date2',
nl='$date1 tot $date2',
no='fra $date1 til $date2',
pl={'od $date1 do $date2', case={'gen','gen'}},
ro='din $date1 până în $date2',
pt='de $date1 a $date2',
qu="$date1 p'unchawmanta $date2 p\'unchawkama",
ru={'с $date1 по $date2', case={'gen','gen'}},
sk={'od $date1 do $date2', case={'gen','gen'}},
sl={'od $date1 do $date2', case={'gen','gen'}},
sv='från $date1 till $date2',
uk={'з $date1 до $date2', case={'gen','gen'}},
ur='از $date1 تا $date2',
vi='từ $date1 đến $date2',
['zh-hans']='从$date1到$date2',
['zh-hant']='從$date1到$date2',
default='<span style="color:red">$date1 - $date2</span>',
},
['between']={
nDates = 2,
ar='بين $date1 و $date2',
['be-tarask']={'між $date1 і $date2', case={'ins','ins'}},
bn='$date1 এবং $date2-এর মাঝামাঝি',
ca='entre $date1 i $date2',
cs={'mezi $date1 a $date2', case={'ins','ins'}},
da='mellem $date1 og $date2',
de='zwischen $date1 und $date2',
el='μεταξύ $date1 και $date2',
en='between $date1 and $date2',
['en-gb']='between $date1 and $date2',
['en-ca']='between $date1 and $date2',
eo='inter $date1 kaj $date2',
es='entre $date1 y $date2',
et='$date1 ja $date2 vahel',
fa='بین $date1 و $date2',
fi={function(date1, date2, state) return decYear(state,'fi','xxx') .. '$date1 ja $date2 välisenä aikana' end, case={'gen','gen'}},
fr='entre $date1 et $date2',
gl='entre $date1 e $date2',
he='בין $date1 ו- $date2',
hr='između $date1 i $date2',
hsb={'mjez $date1 a $date2', case={'ins','ins'}},
hu='$date1 és $date2 között',
hi='$date1 और $date2 के बीच',
it='tra il $date1 e il $date2',
ja='$date1と$date2の間',
mk='помеѓу $date1 и $date2',
ml='$date1, $date2 എന്നിവയ്ക്കിടയ്ക്ക്',
nb='mellom $date1 og $date2',
nds='twischen $date1 un $date2',
nn='mellom $date1 og $date2',
nl='tussen $date1 en $date2',
no='mellom $date1 og $date2',
pl={'między $date1 a $date2', case={'ins','ins'}},
ro='între $date1 și $date2',
pt='entre $date1 e $date2',
qu="$date1 p'unchawpa $date2 p'unchawpapas chawpin",
ru={'между $date1 и $date2', case={'ins','ins'}},
sk={'medzi $date1 a $date2', case={'ins','ins'}},
sl={function(date1, date2, state) return 'med ' .. decYear(state,'sl','insP') .. '$date1 in $date2' end, case={'ins','ins'}},
sv='mellan $date1 och $date2',
uk={'між $date1 та $date2', case={'ins','ins'}},
ur='بین $date1 و $date2',
vec='tra el $date1 e el $date2',
vi='giữa $date1 và $date2',
['zh-hans']='在$date1到$date2之间',
['zh-hant']='在$date1到$date2之間',
default='<span style="color:red">$date1 - $date2</span>',
},
['or'] = {
nDates = 2,
ar='$date1 أو $date2',
['be-tarask']='$date1 ці $date2',
bn='$date1 অথবা $date2',
ca='$date1 o $date2',
cs='$date1 nebo $date2',
da='$date1 eller $date2',
de='$date1 oder $date2',
el='$date1 ή $date2',
en='$date1 or $date2',
['en-gb']='$date1 or $date2',
['en-ca']='$date1 or $date2',
eo='$date1 aŭ $date2',
es='$date1 o $date2',
et='$date1 või $date2',
fa='$date1 یا $date2',
fi='$date1 tai $date2',
fr='$date1 ou $date2',
gl='$date1 ou $date2',
he='$date1 או $date2',
hr='$date1 ili $date2',
hsb='$date1 abo $date2',
hu='$date1 vagy $date2',
it='$date1 o $date2',
ja='$date1または$date2',
mk='$date1 или $date2',
ml='$date1 അഥവാ $date2',
nb='$date1 eller $date2',
nn='$date1 eller $date2',
nds='$date1 oder $date2',
nl='$date1 of $date2',
no='$date1 eller $date2',
pl='$date1 lub $date2',
pt='$date1 ou $date2',
qu='$date1 icha $date2',
ro='$date1 sau $date2',
ru='$date1 или $date2',
sk='$date1 alebo $date2',
sl='$date1 ali $date2',
sv='$date1 eller $date2',
uk='$date1 або $date2',
ur='$date1 یا $date2',
th='$date1 หรือ $date2',
vi='$date1 hoặc $date2',
['zh-hans']='$date1或$date2',
['zh-hant']='$date1或$date2',
default=function(date1, date2, state) return linguistic.conj({date1, date2}, state.lang, 'or') end,
},
['and'] = {
nDates = 2,
ar='$date1 و $date2',
['be-tarask']='$date1 і $date2',
bn='$date1 এবং $date2',
ca='$date1 i $date2',
cs='$date1 a $date2',
da='$date1 og $date2',
de='$date1 und $date2',
el='$date1 και $date2',
en='$date1 and $date2',
['en-gb']='$date1 and $date2',
['en-ca']='$date1 and $date2',
eo='$date1 kaj $date2',
es='$date1 y $date2',
et='$date1 ja $date2',
fa='$date1 و $date2',
fi='$date1 ja $date2',
fr='$date1 et $date2',
gl='$date1 e $date2',
he='$date1 ו- $date2',
hu='$date1 és $date2',
hsb='$date1 a $date2',
it='$date1 e $date2',
ja='$date1および$date2',
mk='$date1 и $date2',
ml='$date1 ഒപ്പം $date2',
nb='$date1 og $date2',
nn='$date1 og $date2',
nds='$date1 un $date2',
nl='$date1 en $date2',
no='$date1 og $date2',
pl='$date1 i $date2',
pt='$date1 e $date2',
qu='$date1wan $date2pas',
ro='$date1 și $date2',
ru='$date1 и $date2',
sk='$date1 a $date2',
sl='$date1 in $date2',
sv='$date1 och $date2',
uk='$date1 та $date2',
ur='$date1 و $date2',
vi='$date1 và $date2',
['zh-hans']='$date1和$date2',
['zh-hant']='$date1和$date2',
default=function(date1, date2, state) return linguistic.conj({date1, date2}, state.lang, 'and') end,
},
-- ==========================================
-- === Prepositions =========================
-- ==========================================
['by'] = {
nDates = 1,
ar='حوالي $date1',
['be-tarask']={'да $date1', case={'gen',''}},
bn='$date1 কর্তৃক',
ca='vers $date1',
cs={'kolem $date1', case={'gen',''}},
da='mod $date1',
de='spätestens $date1',
el='έως $date1',
en='by $date1',
['en-gb']='by $date1',
['en-ca']='by $date1',
eo='ne post $date1',
es='para $date1',
et='hiljemalt $date1',
fa='توسط $date1',
fi={function(date1, state) return decYear(state,'fi','ill') .. '$date1 mennessä' end, case={'ill',''}},
fr='$date1 (au plus tard)',
gl='cara a $date1',
he='עד $date1',
hr='do $date1',
hsb={'do $date1', case={'gen',''}},
it='entro il $date1',
ja='$date1まで',
mk='кон $date1',
ml='$date1-ൽ',
nb='innen $date1',
nn='innan $date1',
nds='$date1 oder vördem al',
nl='tegen $date1',
no='innen $date1',
pl={'przed $date1', case={'ins',''}},
pt='por $date1',
qu="$date1 p'unchawkama",
ro='de $date1',
ru={'к $date1', case={'dat',''}},
sk={'okolo $date1', case={'gen',''}},
sl={function(date1, state) return 'najpozneje ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='senast $date1',
uk={'до $date1', case={'dat',''}},
ur='توسط $date1',
vi='vào $date1', -- need to insert "đã" somewhere later in the sentence -->
['zh-hans']='$date1前后',
['zh-hant']='$date1前后',
default='<span style="color:red">by $date1</span>',
},
['before'] = {
nDates = 1,
ar='قبل $date1',
['be-tarask']={'перад $date1', case={'ins',''}},
bn='$date1-এর আগে',
bg='Преди $date1',
ca='abans $date1',
cs={'před $date1', case={'ins',''}},
da='før $date1',
de='vor $date1',
el='πριν από $date1',
en='before $date1',
['en-gb']='before $date1',
['en-ca']='before $date1',
eo='antaŭ $date1',
es='antes de $date1',
et='enne $date1',
fa='پیش از $date1',
fi={function(date1, state) return 'ennen ' .. decYear(state,'fi','ptv') .. '$date1' end, case={'ptv',''}},
fr='avant $date1',
gl='antes do $date1',
he='לפני $date1',
hr='prije $date1',
hsb={'do $date1', case={'gen',''}},
hu='$date1 előtt',
it='prima del $date1',
ja='$date1より前',
mk='пред $date1',
ml='$date1-നു മുമ്പ്',
nb='før $date1',
nn='før $date1',
nds='vör $date1',
nl='voor $date1',
no='før $date1',
pl={'przed $date1', case={'ins',''}},
pt='antes de $date1',
qu="$date1 p'unchaw ñawpan",
ro='înainte de $date1',
ru={'ранее $date1', case={'gen',''}},
sk={'pred $date1', case={'ins',''}},
sl={function(date1, state) return 'pred ' .. decYear(state,'sl','ins') .. ' $date1' end, case={'ins',''}},
sv='före $date1',
uk={'до $date1', case={'gen',''}},
ur='قبل $date1',
vi='trước $date1',
['zh-hans']='在$date1之前',
['zh-hant']='在$date1之前',
default='<span style="color:red">before $date1</span>',
},
['from'] = {
nDates = 1,
ar='من $date1',
['be-tarask']={'з $date1', case={'gen',''}},
bn='$date1 থেকে',
cs={'od $date1', case={'gen',''}},
de='Seit $date1',
el='από $date1',
en='from $date1',
['en-gb']='from $date1',
['en-ca']='from $date1',
eo='ekde $date1',
es='desde $date1',
et='alates $date1',
fa='از $date1',
fi={function(date1, state) return decYear(state,'fi','ela') .. '$date1 alkaen' end, case={'ela',''}},
fr= function(date1, state) return 'à partir '.. frOf[state.precision] ..' $date1' end,
gl='desde o $date1',
he='מ- $date1',
hr='od $date1',
hsb={'wot $date1', case={'gen',''}},
it='dal $date1',
ja='$date1から',
nds='vonaf $date1',
mk='од $date1',
nb='fra $date1',
nn='frå $date1',
ml='$date1 മുതൽ',
nl='vanaf $date1',
no='fra $date1',
pl={'od $date1', case={'gen',''}},
qu="$date1 p'unchawmanta",
ro='din $date1',
ru={'С $date1', case={'gen',''}},
sk={'od $date1', case={'gen',''}},
sl={function(date1, state) return 'od ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='från $date1',
uk={'з $date1', case={'gen',''}},
ur='از $date1',
vi='từ $date1',
['zh-hans']='自$date1',
['zh-hant']='自$date1',
default='<span style="color:red">from $date1</span>',
},
['until'] = {
nDates = 1,
['be-tarask']={'усутыч да $date1', case={'gen',''}},
bn='$date1 পর্যন্ত',
cs={'do $date1', case={'gen', ''}},
de='bis $date1',
en='until $date1',
['en-gb']='until $date1',
['en-ca']='until $date1',
eo='ĝis $date1',
es='hasta $date1',
fr=function(date1, state)
if state.precision > 10 then -- precision > month
return "jusqu'au $date1"
else
return "jusqu'à $date1"
end
end,
hr='do $date1',
hsb={'do $date1', case={'gen',''}},
it='al $date1',
nb= 'til $date1',
nl= 'tot $date1',
nn= 'til $date1',
pl={'do $date1', case={'gen',''}},
ru={'вплоть до $date1', case={'gen',''}},
sk={'do $date1', case={'gen', ''}},
uk={'аж до $date1', case={'gen',''}},
ur='تک $date1',
['zh-hans']='直到$date1',
['zh-hant']='直到$date1',
default='<span style="color:red">until $date1</span>',
},
['after'] = {
nDates = 1,
ar='بعد $date1',
['be-tarask']={'пасьля $date1', case={'gen',''}},
bn='$date1-এর পরে',
ca='desprès $date1',
cs={'po $date1', case={'loc',''}},
de='nach $date1',
da='efter $date1',
el='μετά από $date1',
en='after $date1',
['en-gb']='after $date1',
['en-ca']='after $date1',
eo='post $date1',
es='después de $date1',
et='pärast $date1',
fa='پس از $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 jälkeen' end, case={'gen',''}},
fr='après $date1',
gl='despois do $date1',
he='לאחר $date1',
hr='nakon $date1',
hu='$date1 után',
hsb={'po $date1', case={'loc',''}},
it='dopo il $date1',
ja='$date1より後',
mk='по $date1',
ml='$date1-നു ശേഷം',
nb='etter $date1',
nn='etter $date1',
nds='na $date1',
nl='na $date1',
no='etter $date1',
pl={'po $date1', case={'loc',''}},
pt='após $date1',
qu="$date1 p'unchaw qhipan",
ro='după $date1',
ru={'после $date1', case={'gen',''}},
sk={'po $date1', case={'loc',''}},
sl={function(date1, state) return 'po ' .. decYear(state,'sl','loc') .. ' $date1' end, case={'loc',''}},
sv='efter $date1',
uk={'після $date1', case={'gen',''}},
ur='بعد $date1',
vi='sau $date1',
['zh-hans']='在$date1之后',
['zh-hant']='在$date1之後',
default='<span style="color:red">after $date1</span>',
},
-- ==========================================
-- === Adjectives ===========================
-- ==========================================
['early'] = {
nDates = 1,
ar='بداية $date1',
['be-tarask']={'пачатак $date1', case={'gen',''}},
bn='$date1-এর শুরুতে',
ca='al principi de $date1',
cs={'začátek $date1', case={'gen',''}},
da='tidlig $date1',
de='Anfang $date1',
el='αρχές του $date1',
en='early $date1',
['en-gb']='early $date1',
['en-ca']='early $date1',
eo='komence de $date1',
es='a principios de $date1',
et='$date1 algus',
fa='اوایل $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 alku' end, case={'gen',''}},
fr='début $date1',
gl='a principios de $date1',
he='תחילת $date1',
hr='početak $date1',
hsb={'spočatk $date1', case={'gen',''}},
hu='$date1 elején',
it='inizio del $date1',
ja='$date1初頭',
mk='почеток на $date1',
ml='$date1 ആദ്യപാദം',
nb='tidlig $date1',
nn='tidleg $date1',
nds='Anfang $date1',
nl='begin $date1',
no='tidlig $date1',
pl={'początek $date1', case={'gen',''}},
pt='a princípios de $date1',
qu="$date1 ñawpaq p'unchawkunapi",
ro='începând cu $date1',
ru={'начало $date1', case={'gen',''}},
sk={'začiatok $date1', case={'gen',''}},
sl=function(date1, state)-- could actually be better should be "d'octobre à mars 2013' not "de octore 2013 à mars 2013"
if state.precision == 9 then -- precision > month
return 'zgodnje leto $date1'
else -- "DE septebmbre" / "D'octobre"
return 'zgodnji $date1'
end
end,
sv='början av $date1',
uk={'початок $date1', case={'gen',''}},
ur='ابتدا $date1',
vi='đầu năm $date1',
['zh-hans']='$date1早期',
['zh-hant']='$date1早期',
default='<span style="color:red">early $date1</span>',
},
['mid'] = {
nDates = 1,
ar='منتصف $date1',
['be-tarask']={'сярэдзіна $date1', case={'gen',''}},
bn='$date1-এর মাঝামাঝি',
ca='a mitjan $date1',
cs={'polovina $date1', case={'gen',''}},
da='midten af $date1',
de='Mitte $date1',
el='μέσα του $date1',
en='mid $date1',
['en-gb']='mid $date1',
['en-ca']='mid $date1',
eo='meze de $date1',
es='a mediados de $date1',
et='$date1 keskel',
fa='اواسط $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 puoliväli' end, case={'gen',''}},
fr='mi $date1',
gl='a mediados de $date1',
he='אמצע $date1',
hr='sredina $date1',
hsb={'srjedź $date1', case={'gen',''}},
hu='$date1 közepén',
it='metà del $date1',
ja='$date1半ば',
mk='средина на $date1',
ml='$date1 മദ്ധ്യം',
nb='midten av $date1',
nn='midten av $date1',
nds='Midd $date1',
nl='midden $date1',
no='midten av $date1',
pl={'środek $date1', case={'gen',''}},
pt='meados de $date1',
qu="$date1 chawpin p'unchawkunapi",
ro='mijlocul lui $date1',
ru={'середина $date1', case={'gen',''}},
sk={'polovica $date1', case={'gen',''}},
sl={function(date1, state) return 'sredina ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='mitten av $date1',
uk={'середина $date1', case={'gen',''}},
ur='وسط $date1',
vi='giữa năm $date1',
['zh-hans']='$date1中期',
['zh-hant']='$date1中期',
default='<span style="color:red">mid $date1</span>',
},
['late'] = {
nDates = 1,
ar='نهاية $date1',
bn='$date1-এর শেষে',
['be-tarask']={'канец $date1', case={'gen',''}},
ca='al final de $date1',
cs='konec $date1',
da='sen $date1',
de='Ende $date1',
el='τέλη του $date1',
en='late $date1',
['en-gb']='late $date1',
['en-ca']='late $date1',
eo='fine de $date1',
es='a fines de $date1',
et='$date1 lõpp',
fa='اواخر $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 loppu' end, case={'gen',''}},
fr='fin $date1',
gl='a finais de $date1',
he='סוף $date1',
hr='kraj $date1',
hsb={'kónc $date1', case={'gen',''}},
hu='$date1 végén',
it='fine del $date1',
ja='$date1末',
mk='крајот на $date1',
ml='$date1 അന്ത്യപാദം',
nb='sent $date1',
no='seint $date1',
nds='Enn $date1',
nl='eind $date1',
no='sent $date1',
pl={'koniec $date1', case={'gen',''}},
pt='ao final de $date1',
qu="$date1 qhipaq p'unchawkunapi",
ro='sfârșitul lui $date1',
ru={'конец $date1', case={'gen',''}},
sk={'koniec $date1', case={'gen',''}},
sl={function(date1, state) return 'pozno ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='slutet av $date1',
uk={'кінець $date1', case={'gen',''}},
ur='اخیر $date1',
vi='cuối năm $date1',
['zh-hans']='$date1晚期',
['zh-hant']='$date1晚期',
default='<span style="color:red">late $date1</span>',
},
['circa'] = {
nDates = 1,
ar='حوالي $date1',
['be-tarask']={'каля $date1', case={'gen',''}},
bn='প্রায় $date1',
ca='cap a $date1',
cs='cca $date1',
da='ca. $date1',
de='etwa $date1',
el='περ. $date1',
en='circa $date1',
['en-gb']='circa $date1',
['en-ca']='circa $date1',
eo='ĉirkaŭ $date1',
es='hacia $date1', -- suggestion use "hacia"/"hacia el" or leave the latin circa or ca.
et='ca. $date1',
fa='حوالی $date1', -- template:Circa used 'حدود $date1'
fi={function(date1, state) return 'suunnilleen ' .. decYear(state,'fi','ine') .. '$date1' end, case={'ine',''}}, -- template:Circa used 'noin $date1'
fr=function(date1, state)
if state.precision >= 11 then -- precision >= day
return 'vers le $date1'
else
return 'vers $date1'
end
end,
gl='entre $date1', -- template:Circa used 'cara a $date1'
he='בסביבות $date1',
hr='oko $date1',
hsb={'wokoło $date1', case={'gen',''}},
hu='$date1 körül',
it='$date1 circa',
ja='$date1頃',
ko='$date1경',
mk='~ $date1', -- template:Circa used 'o. $date1'
nb='ca. $date1',
nn='ca. $date1',
nds='üm un bi $date1',
nl='ca. $date1',
no='ca. $date1',
pl={'około $date1', case={'gen',''}},
pt='cerca de $date1',
qu='$date1chá',
ro='circa $date1',
ru={'около $date1', case={'gen',''}},
sk='cca $date1',
sl={function(date1, state) return 'ok. ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='c:a $date1', -- template:Circa used 'ca $date1'
uk={'близько $date1', case={'gen', ''}},
ur='قریباً $date1',
vi='vào khoảng $date1',
['zh-hans']='约$date1',
['zh-hant']='約$date1',
default='<span style="color:red">circa $date1</span>',
},
['uncertain'] = {
nDates = 1,
['zh-hans']='$date1(?)',
['zh-hant']='$date1(?)',
default='$date1 (?)',
},
probably = { -- see Q56644435
nDates = 1,
ast = 'probablemente $date1',
bn = 'সম্ভবত $date1',
ca = 'probablement $date1',
cs = 'pravděpodobně $date1',
de = 'wahrscheinlich $date1',
el = 'πιθανόν $date1',
en = 'probably $date1',
['en-gb']='probably $date1',
['en-ca']='probably $date1',
eo = 'probable $date1',
es = 'probable $date1',
fa = 'احتمالاً $date1',
fr = 'probablement $date1',
he = 'כפי הנראה $date1',
hu = 'feltehetőleg $date1',
it = 'probabile $date1',
mk = 'веројатно $date1',
nl = 'waarschijnlijk $date1',
pl = 'prawdopodobnie $date1',
pt = 'provavelmente $date1',
ru = 'вероятно $date1',
sv = 'antagligen $date1',
default='<span style="color:red">probably $date1</span>',
},
possibly = { -- see Q30230067
nDates = 1,
ast = 'posiblemente $date1',
bn = 'যথাসম্ভব $date1',
cs = 'možná $date1',
de = 'möglicherweise $date1',
en = 'possibly $date1',
['en-gb']='possibly $date1',
['en-ca']='possibly $date1',
eo = 'eble $date1',
el = 'πιθανόν $date1',
fa = 'احتمالاً $date1',
fr = 'peut-être $date1',
hu = 'talán $date1',
mk = 'можеби $date1',
nl = 'mogelijk $date1',
pl = 'być może $date1',
pt = 'possivelmente $date1',
ro = 'poate $date1',
ru = 'возможно $date1',
sv = 'möjligen $date1',
default='<span style="color:red">possibly $date1</span>',
},
presumably = { -- see Q18122778
nDates = 1,
ast = 'presumiblemente $date1',
de = 'vermutlich $date1',
en = 'presumably $date1',
['en-gb']='presumably $date1',
['en-ca']='presumably $date1',
fr = 'présumé $date1',
it = 'presumibilmente $date1',
ru = 'предположительно $date1',
pl = 'przypuszczalnie $date1',
default='<span style="color:red">presumably $date1</span>',
},
['year unknown']= {
nDates = 0,
ca='Any desconegut',
['be-tarask']='Год невядомы',
bn='অজানা বছর',
cs='neznámý rok',
de='Jahr unbekannt',
el='άγνωστο έτος',
en='year unknown',
['en-gb']='year unknown',
['en-ca']='year unknown',
eo='jaro nesciata',
es='Año desconocido',
fa='سال نامعلوم',
fi='tuntematon vuosi',
fr='Année inconnue',
he='שנה לא ידועה',
hsb='lěto njeznate',
hr='nepoznata godina',
it='anno sconosciuto',
ja='年代不明',
la='Sine anno',
ml='വർഷം ലഭ്യമല്ല',
mk='непозната година',
nb='ukjent år',
nn='ukjent år',
nl='zonder jaar',
no='ukjent år',
pl='rok nieznany',
qu='Mana riqsisqa wata',
ru='Год неизвестен',
sk='neznámy rok',
sl='neznano leto',
sv='Okänt år',
uk='рік невідомий',
ur='سال نامعلوم',
vi='không rõ năm',
['zh-hans']='年份未知',
['zh-hant']='年份未知',
default='<span style="color:red">year unknown</span>',
},
-- ==========================================
-- === Parts of a whole =====================
-- ==========================================
['firsthalf'] = {
nDates = 1,
ar='النصف الأول من $date1',
['be-tarask']={'першая палова $date1', case={'gen',''}},
bn='$date1-এর প্রথমার্ধ',
ca='1a meitat de $date1',
cs={'1. polovina $date1', case={'gen',''}},
da='1. halvdel af $date1',
de='1. Hälfte $date1',
el='πρώτο μισό του $date1',
en='first half of $date1',
['en-gb']='first half of $date1',
['en-ca']='first half of $date1',
eo='unua duono de $date1',
es='primera mitad de $date1',
et='$date1 esimene pool',
fa='نیمهٔ نخست $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 alkupuolisko' end, case={'gen',''}},
fr='1<sup>re</sup> moitié de $date1',
gl='primeira metade de $date1',
he='במחצית הראשונה של $date1',
hsb={'prěnja połojca $date1', case={'gen',''}},
hu='$date1 első felében',
hr='prva polovina $date1',
it='prima metà del $date1',
ja='$date1上半期',
mk='прва половина на $date1',
ml='$date1 ആദ്യപകുതി',
nb='første halvdel av $date1',
nn='fyrste halvdelen av $date1',
nds='1. Helft $date1',
nl='eerste helft $date1',
no='første halvdel av $date1',
pl={'pierwsza połowa $date1', case={'gen',''}},
pt='primeira metade de $date1',
qu='$date1 ñawpaq kuskanpi',
ro='prima jumătate a lui $date1',
ru={'первая половина $date1', case={'gen',''}},
sk={'1. polovica $date1', case={'gen',''}},
sl={function(date1, state) return 'prva polovica ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='första halvan av $date1',
uk={'перша половина $date1', case={'gen',''}},
ur='نصف اول $date1',
vi='nửa đầu năm $date1',
['zh-hans']='$date1上半期',
['zh-hant']='$date1上半期',
default='<span style="color:red">first half of $date1</span>',
},
['secondhalf'] = {
nDates = 1,
ar='النصف الثاني من $date1',
['be-tarask']={'другая палова $date1', case={'gen',''}},
bn='$date1-এর দ্বিতীয়ার্ধ',
ca='2a meitat de $date1',
cs={'2. polovina $date1', case={'gen',''}},
da='2. halvdel af $date1',
de='2. Hälfte $date1',
el='δεύτερο μισό του $date1',
en='second half of $date1',
['en-gb']='second half of $date1',
['en-ca']='second half of $date1',
eo='dua duono de $date1',
es='segunda mitad de $date1',
et='$date1 teine pool',
fa='نیمهٔ دوم $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 loppupuolisko' end, case={'gen',''}},
fr='2<sup>e</sup> moitié de $date1',
gl='segunda metade de $date1',
he='במחצית השנייה של $date1',
hsb={'druha połojca $date1', case={'gen',''}},
hr='druga polovina $date1',
hu='$date1 második felében',
it='seconda metà del $date1',
ja='$date1下半期',
mk='втора половина на $date1',
ml='$date1 രണ്ടാം പകുതി',
nb='andre halvdel av $date1',
nn='andre halvdelen av $date1',
nds='2. Helft vun $date1',
nl='tweede helft $date1',
no='andre halvdel av $date1',
pl={'druga połowa $date1', case={'gen',''}},
pt='segunda metade de $date1',
qu='$date1 qhipaq kuskanpi',
ro='a doua jumătate a lui $date1',
ru={'вторая половина $date1', case={'gen',''}},
sk={'2. polovica $date1', case={'gen',''}},
sl={'druga polovica {{IfNum | $date0 | leta}} $date1', case={'gen',''}},
sv='andra halvan av $date1',
uk={'друга половина $date1', case={'gen',''}},
ur='نصف آخر $date1',
vi='nửa cuối năm $date1',
['zh-hans']='$date1下半期',
['zh-hant']='$date1下半期',
default='<span style="color:red">second half of $date1</span>',
},
['1quarter']= {
nDates = 1,
bn='$date1-এর প্রথম ত্রৈমাসিক',
['be-tarask']={'першая чвэрць $date1', case={'gen',''}},
cs={'1. čtvrtina $date1', case={'gen',''}},
de='erstes Viertel $date1',
en='first quarter of $date1',
['en-gb']='first quarter of $date1',
['en-ca']='first quarter of $date1',
eo='unua kvarono de $date1',
es='primer cuarto del $date1',
fa='ربع نخست $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 ensimmäinen neljännes' end, case={'gen',''}},
fr= function(date1, state) return 'premier quart '.. frOf[state.precision] ..' $date1' end,
he='רבעון ראשון של $date1',
hsb={'prěnja štwórćina $date1', case={'gen',''}},
hr='prva četvrtina $date1',
it='primo quarto del $date1',
ja='$date1第1四半期',
nb='første kvartal av $date1',
nl='eerste kwart $date1',
nn='fyrste kvartalet av $date1',
no='første kvartal av $date1',
pl={'pierwsza ćwiartka $date1', case={'gen',''}},
qu='$date1 ñawpaq ñiqin tawa phatmanpi',
ru={'первая четверть $date1', case={'gen',''}},
sk={'1. štvrtina $date1', case={'gen',''}},
sl={'prva četrtina {{IfNum | $date0 | leta}} $date1', case={'gen',''}},
sl={function(date1, state) return 'prva četrtina ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='första kvartalet av $date1',
uk={'1-ша чверть $date1', case={'gen',''}},
ur='پہلی سہ ماہی $date1',
vi='quý 1 năm $date1',
['zh-hans']='$date1第一季度',
['zh-hant']='$date1第一季度',
default='<span style="color:red">first quarter of $date1</span>',
},
['2quarter']= {
nDates = 1,
['be-tarask']={'другая чвэрць $date1', case={'gen',''}},
bn='$date1-এর দ্বিতীয় ত্রৈমাসিক',
cs={'2. čtvrtina $date1', case={'gen',''}},
de='zweites Viertel $date1',
en='second quarter of $date1',
['en-gb']='second quarter of $date1',
['en-ca']='second quarter of $date1',
eo='dua kvarono de $date1',
es='segundo cuarto del $date1',
fa='ربع دوم $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 toinen neljännes' end, case={'gen',''}},
fr= function(date1, state) return 'deuxième quart '.. frOf[state.precision] ..' $date1' end,
he='רבעון שני של $date1',
hsb={'druha štwórćina $date1', case={'gen',''}},
hr='druga četvrtina $date1',
it='secondo quarto del $date1',
ja='$date1第2四半期',
nb='andre kvartal av $date1',
nl='tweede kwart $date1',
nn='andre kvartalet av $date1',
no='andre kvartal av $date1',
pl={'druga ćwiartka $date1', case={'gen',''}},
qu='$date1 iskay ñiqin tawa phatmanpi',
ru={'вторая четверть $date1', case={'gen',''}},
sk={'2. štvrtina $date1', case={'gen',''}},
sl={function(date1, state) return 'druga četrtina ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='andra kvartalet av $date1',
uk={'2-га чверть $date1', case={'gen',''}},
ur='دوسری سہ ماہی $date1',
vi='quý 2 năm $date1',
['zh-hans']='$date1第二季度',
['zh-hant']='$date1第二季度',
default='<span style="color:red">second quarter of $date1</span>',
},
['3quarter']= {
nDates = 1,
['be-tarask']={'трэцяя чвэрць $date1', case={'gen',''}},
bn='$date1-এর তৃতীয় ত্রৈমাসিক',
cs={'3. čtvrtina $date1', case={'gen',''}},
de='drittes Viertel $date1',
en='third quarter of $date1',
['en-gb']='third quarter of $date1',
['en-ca']='third quarter of $date1',
eo='tria kvarono de $date1',
es='tercer cuarto del $date1',
fa='ربع سوم $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 kolmas neljännes' end, case={'gen',''}},
fr= function(date1, state) return 'troisième quart '.. frOf[state.precision] ..' $date1' end,
he='רבעון שלישי של $date1',
hsb={'třeća štwórćina $date1', case={'gen',''}},
hr='treća četvrtina $date1',
it='terzo quarto del $date1',
ja='$date1第3四半期',
nb='tredje kvartal av $date1',
nl='derde kwart $date1',
nn='tredje kvartalet av $date1',
no='tredje kvartal av $date1',
pl={'trzecia ćwiartka $date1', case={'gen',''}},
qu='$date1 kimsa ñiqin tawa phatmanpi',
sk={'3. štvrtina $date1', case={'gen',''}},
sl={function(date1, state) return 'tretja četrtina ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
ru={'третья четверть $date1', case={'gen',''}},
sv='tredje kvartalet av $date1',
uk={'3-тя чверть $date1', case={'gen',''}},
ur='تیسری سہ ماہی $date1',
vi='quý 3 năm $date1',
['zh-hans']='$date1第三季度',
['zh-hant']='$date1第三季度',
default='<span style="color:red">third quarter of $date1</span>',
},
['4quarter']= {
nDates = 1,
['be-tarask']={'чацьвёртая чвэрць $date1', case={'gen',''}},
bn='$date1-এর চতুর্থ ত্রৈমাসিক',
cs={'4. čtvrtina $date1', case={'gen',''}},
de='letztes Viertel $date1',
en='fourth quarter of $date1',
['en-gb']='fourth quarter of $date1',
['en-ca']='fourth quarter of $date1',
eo='kvara kvarono de $date1',
es='último cuarto del $date1',
fa='ربع چهارم $date1',
fi={function(date1, state) return decYear(state,'fi','gen') .. '$date1 viimeinen neljännes' end, case={'gen',''}},
fr= function(date1, state) return 'quatrième quart '.. frOf[state.precision] ..' $date1' end,
he='רבעון רביעי של $date1',
hsb={'poslednja štwórćina $date1', case={'gen',''}},
hr='četvrta četvrtina $date1',
it='quarto quarto del $date1',
ja='$date1第4四半期',
nb='fjerde kvartal av $date1',
nl='vierde kwart $date1',
nn='tredje kvartalet av $date1',
no='fjerde kvartal av $date1',
pl={'czwarta ćwiartka $date1', case={'gen',''}},
qu='$date1 qhipaq ñiqin tawa phatmanpi',
ru={'последняя четверть $date1', case={'gen',''}},
sk={'4. štvrtina $date1', case={'gen',''}},
sl={function(date1, state) return 'zadnja četrtina ' .. decYear(state,'sl','gen') .. ' $date1' end, case={'gen',''}},
sv='fjärde kvartalet av $date1',
uk={'4-та чверть $date1', case={'gen',''}},
ur='چوتھی سہ ماہی $date1',
vi='quý 4 năm $date1',
['zh-hans']='$date1第四季度',
['zh-hant']='$date1第四季度',
default='<span style="color:red">forth quarter of $date1</span>',
},
-- ==========================================
-- === Seasons ==============================
-- ==========================================
['spring'] = {
nDates = 1,
ar='ربيع $date1',
['be-tarask']='вясна $date1',
bn='বসন্তকাল $date1',
ca='primavera $date1',
cs={'jaro $date1', case={'gen', ''}},
da='Forår $date1',
de='Frühling $date1',
en='Spring $date1',
['en-gb']='Spring $date1',
['en-ca']='Spring $date1',
eo='printempo $date1',
es='primavera de $date1',
et='$date1 kevad',
fa='بهار $date1',
fi='Kevät $date1',
fr='printemps $date1',
gl='primavera $date1',
he='אביב $date1',
hr='proljeće $date1',
hsb='nalěćo $date1',
hu='$date1 tavasza',
it='primavera $date1',
ja='{{#if:$date1|$date1年}}春',
mk='пролет $date1',
ml='$date1 വസന്തം',
nb='våren $date1',
nds='Vörjohr $date1',
nn='våren $date1',
nl='voorjaar $date1',
no='våren $date1',
pl='wiosna $date1',
pt='primavera de $date1',
ro='primăvara lui $date1',
ru='весна $date1',
sk={'jar $date1', case={'gen', ''}},
sl='pomlad $date1',
sv='våren $date1',
uk='весна $date1',
ur='بہار $date1',
vi='mùa đông năm $date1',
['zh-hans']='{{#if:$date1|$date1年}}春季',
['zh-hant']='{{#if:$date1|$date1年}}春季',
default='<span style="color:red">Spring $date1</span>',
},
['summer'] = {
nDates = 1,
ar='صيف $date1',
['be-tarask']='лета $date1',
bn='গ্রীষ্মকাল $date1',
ca='estiu $date1',
cs={'léto $date1', case={'gen', ''}},
da='Sommer $date1',
de='Sommer $date1',
en='Summer $date1',
['en-gb']='Summer $date1',
['en-ca']='Summer $date1',
eo='somero $date1',
es='verano de $date1',
et='$date1 suvi',
fa='تابستان $date1',
fi='Kesä $date1',
fr='été $date1',
gl='verán $date1',
he='קיץ $date1',
hr='ljeto $date1',
hsb='lěćo $date1',
hu='$date1 nyara',
it='estate $date1',
ja='{{#if:$date1|$date1年}}夏',
mk='лето $date1',
ml='$date1 വേനൽ',
nb='sommeren $date1',
nds='Sommer $date1',
nn='sumaren $date1',
nl='zomer $date1',
no='sommeren $date1',
pl='lato $date1',
pt='verão de $date1',
ro='vara lui $date1',
ru='лето $date1',
sk={'leto $date1', case={'gen', ''}},
sl='poletje $date1',
sv='sommaren $date1',
uk='літо $date1',
ur='گرما $date1',
vi='mùa hè năm $date1',
['zh-hans']='{{#if:$date1|$date1年}}夏季',
['zh-hant']='{{#if:$date1|$date1年}}夏季',
default='<span style="color:red">Summer $date1</span>',
},
['autumn'] = {
nDates = 1,
ar='خريف $date1',
['be-tarask']='восень $date1',
bn='শরত্কাল $date1',
ca='tardor $date1',
cs={'podzim $date1', case={'gen', ''}},
da='Efterår $date1',
de='Herbst $date1',
en='Autumn $date1',
['en-gb']='Autumn $date1',
['en-ca']='Autumn $date1',
eo='aŭtuno $date1',
es='otoño de $date1',
et='$date1 sügis',
fa='پاییز $date1',
fi='Syksy $date1',
fr='automne $date1',
gl='outono $date1',
he='סתיו $date1',
hr='jesen $date1',
hsb='nazyma $date1',
hu='$date1 ősze',
it='autunno $date1',
ja='{{#if:$date1|$date1年}}秋',
mk='есен $date1',
ml='$date1 ശരത്കാലം',
nb='høsten $date1',
nds='Harvst $date1',
nn='hausten $date1',
nl='herfst $date1',
no='høsten $date1',
pl='jesień $date1',
pt='outono de $date1',
ro='toamna lui $date1',
ru='осень $date1',
sk={'jeseň $date1', case={'gen', ''}},
sl='jesen $date1',
sv='hösten $date1',
uk='осінь $date1',
ur='خزاں $date1',
vi='mùa thu năm $date1',
['zh-hans']='{{#if:$date1|$date1年}}秋季',
['zh-hant']='{{#if:$date1|$date1年}}秋季',
default='<span style="color:red">Autumn $date1</span>',
},
['winter'] = {
nDates = 1,
ar='شتاء $date1',
['be-tarask']='зіма $date1',
bn='শীতকাল $date1',
ca='hivern $date1',
cs={'zima $date1', case={'gen', ''}},
da='Vinter $date1',
de='Winter $date1',
en='Winter $date1',
['en-gb']='Winter $date1',
['en-ca']='Winter $date1',
eo='vintro $date1',
es='invierno de $date1',
et='$date1 talv',
fa='زمستان $date1',
fi='Talvi $date1',
fr='hiver $date1',
gl='inverno $date1',
he='חורף $date1',
hr='zima $date1',
hsb='zyma $date1',
hu='$date1 tele',
it='inverno $date1',
ja='{{#if:$date1|$date1年}}冬',
mk='зима $date1',
ml='$date1 ശൈത്യകാലം',
nds='Winter $date1',
nl='winter $date1',
nb='vinteren $date1',
nn='vinteren $date1',
no='vinteren $date1',
pl='zima $date1',
pt='inverno de $date1',
ro='iarna lui $date1',
ru='зима $date1',
sk={'zima $date1', case={'gen', ''}},
sl='zima $date1',
sv='vintern $date1',
uk='зима $date1',
ur='سرما $date1',
vi='mùa đông năm $date1',
['zh-hans']='{{#if:$date1|$date1年}}冬季',
['zh-hant']='{{#if:$date1|$date1年}}冬季',
default='<span style="color:red">Winter $date1</span>',
},
-- ==========================================
-- === Decade/Century/Millennium ============
-- ==========================================
['decade'] = {
nDates = 1,
ar='أعوام $date1',
['be-tarask']='$date1-я гады',
bn='$date1-এর দশক',
ca='dècada del $date1',
cs=function(date1, state) return ((date1 % 100 == 0) and 'první dekáda' or ((date1 % 100) .. '. léta')) .. ' ' .. (math.floor(date1 / 100) + 1) .. '. století' end,
da="$date1'erne",
de='$date1er-Jahre',
el='δεκαετία του $date1',
en='$date1s',
['en-gb']='$date1s',
['en-ca']='$date1s',
eo='$date1-aj jaroj',
es='años $date1',
et='$date1ndad',
fa='دههٔ $date1',
fi='$date1-luvulla',
fr='années $date1',
gl='anos $date1',
he='שנות ה-$date1',
hr='$date1-ih',
hsb='$date1te lěta',
hu='$date1-s évek',
it="{{#ifexpr: $date1 mod 100 = 0 | primo decennio del {{Roman|{{#expr: ($date1 / 100) + 1}}}} sec. | anni '{{#expr: $date1 mod 100 }} del {{Roman|{{#expr: floor($date1 / 100) + 1}}}} sec.}}",
ja='$date1年代',
mk='$date1-ти',
ml='ദശകം $date1-ൽ',
nb='$date1-årene',
nn='$date1-åra',
nds='Johren $date1',
nl='jaren $date1',
no='$date1-årene',
pl=function(date1, state)
local str = 'lata '..(date1 % 100)..'. '
if (date1 % 100 == 0) then
str = 'pierwsza dekada '
elseif (date1 % 100 == 10) then
str = 'druga dekada '
end
return str .. Roman(math.floor(date1 / 100) + 1) .. ' wieku'
end,
pt='década de $date1',
qu='$date1 watakuna',
ro='anii $date1',
ru='$date1-е годы',
sk=function(date1, state) return ((date1 % 100 == 0) and 'prvé desaťročie' or ((date1 % 100) .. '. roky')) .. ' ' .. (math.floor(date1 / 100) + 1) .. '. storočia' end,
sl='$date1-ta leta',
sv='$date1-talet{{#switch:$date1|1300|1400|1500|1600|1700|1800|1900|2000|2100= (decennium)}}',
uk='$date1-ті роки',
ur='دہائی $date1',
vi='thập niên $date1',
['zh-hans']='$date1年代',
['zh-hant']='$date1年代',
default='<span style="color:red">$date1s</span>',
},
['century'] = {
nDates = 1,
ar='القرن $date1',
['be-tarask']=function(date1, state) return Ordinal(date1, 'be-tarask') .. ' стагодзьдзе' end,
bn=function(date1, state) return Ordinal(date1, 'bn') .. ' শতাব্দী' end,
ca='segle {{small-caps|{{lc:{{Roman year|$date1}}}}}}',
cs='$date1. století',
da='$date1. århundrede',
de='$date1. Jahrhundert',
el='$date1ος αιώνας',
en=function(date1, state) return Ordinal(date1, 'en') .. ' century' end,
['en-gb']=function(date1, state) return Ordinal(date1, 'en-gb') .. ' century' end,
['en-ca']=function(date1, state) return Ordinal(date1, 'en-ca') .. ' century' end,
eo='$date1-a jarcento',
es=function(date1, state) return 'siglo ' .. Roman(date1) end,
et='$date1. sajand',
fa='سدهٔ $date1',
fi='{{#expr: ($date1 - 1) * 100}}-luvulla',
fr=function(date1, state) return Ordinal(date1, 'fr', 'roman', 'm') .. ' siècle' end,
gl=function(date1, state) return 'século ' .. Roman(date1) end,
he='המאה ה-$date1',
hr='$date1. stoljeće',
hsb='$date1. lětstotk',
hu='$date1. évszázad',
it=function(date1, state) return Roman(date1) .. ' sec.' end,
ja='$date1世紀',
la='saeculum $date1',
mk=function(date1, state) return Roman(date1) .. ' век' end,
ml='$date1-ആം നൂറ്റാണ്ട്',
nb=function(date1, state) return Ordinal(date1, 'nb') .. ' århundre' end,
nn=function(date1, state) return 'det ' .. Ordinal(date1, 'no') .. ' århundre' end,
nds='$date1. Johrhunnert',
nl='$date1e eeuw',
no=function(date1, state) return Ordinal(date1, 'no') .. ' århundre' end,
pl=function(date1, state) return Roman(date1) .. ' ' .. decCentury('pl',state.case) end,
pt=function(date1, state) return 'século ' .. Roman(date1) end,
qu='$date1 ñiqin pachakwata',
ro='secolul al $date1-lea',
ru=function(date1, state) return Roman(date1) .. ' век' end,
sk='$date1. storočie',
sl=function(date1, state) return Ordinal(date1, 'sl') .. '. stoletje' end,
sv='{{#expr:$date1 - 1}}00-talet',
tt=function(date1, state) return Roman(date1) .. ' гасыр' end,
uk=function(date1, state) return Roman(date1) .. ' ст.' end,
ur='صدی $date1',
vi='thế kỷ $date1',
['zh-hans']='$date1世纪',
['zh-hant']='$date1世紀',
default='<span style="color:red">$date1 century</span>',
},
['millennium'] = {
nDates = 1,
['be-tarask']=function(date1, state) return Ordinal(date1, 'be-tarask') .. ' тысячагодзьдзе' end,
bn=function(date1, state) return Ordinal(date1, 'bn') .. ' সহস্রাব্দ' end,
cs='$date1. tisíciletí',
de='$date1. Jahrtausend',
en=function(date1, state) return Ordinal(date1, 'en') .. ' millennium' end,
['en-gb']=function(date1, state) return Ordinal(date1, 'en-gb') .. ' millennium' end,
['en-ca']=function(date1, state) return Ordinal(date1, 'en-ca') .. ' millennium' end,
eo='$date1-a jarmilo',
es=function(date1, state) return Roman(date1) .. ' milenio' end,
fa=function(date1, state) return 'هزارهٔ ' .. Ordinal(date1, 'fa') end,
fr=function(date1, state) return Ordinal(date1, 'fr', 'roman', 'm') .. ' millénaire' end,
hr='$date1. tisućljeće',
hsb='$date1. lěttysac',
it=function(date1, state) return Roman(date1) .. ' millennio' end,
ja='$date1千年紀',
la='millennium $date1',
nb=function(date1, state) return Ordinal(date1, 'nb') .. ' årtusen' end,
nn=function(date1, state) return Ordinal(date1, 'no') .. ' tusenår' end,
nl='$date1e millennium',
no=function(date1, state) return Ordinal(date1, 'no') .. ' årtusen' end,
pl=function(date1, state) return Roman(date1) .. ' ' .. decMillennium('pl',state.case) end,
pt=function(date1, state) return Roman(date1) .. ' milénio' end,
['pt-br']=function(date1, state) return Roman(date1) .. ' milênio' end,
qu='$date1 ñiqin waranqawata',
ru=function(date1, state) return Roman(date1) .. ' тысячелетие' end,
sk='$date1. tisícročie',
sl=function(date1, state) return Ordinal(date1, 'sl') .. '. tisočletje' end,
sv=function(date1, state) return Ordinal(date1, 'sv') .. ' årtusendet' end,
uk=function(date1, state) return Roman(date1) .. ' тис.' end,
ur=function(date1, state) return 'ہزارہ ' .. Ordinal(date1, 'ur') end,
vi='thiên niên kỷ $date1',
['zh-hans']=function(date1, state) return Ordinal(date1, 'zh-hans') .. '千年' end,
['zh-hant']=function(date1, state) return Ordinal(date1, 'zh-hant') .. '千年' end,
--default='{{Please translate|$date1 millennium|Module:I18n/complex date}}',
default='<span style="color:red">$date1 millennium</span>',
},
['million'] = {
de = '$date1 Millionen Jahre',
en = '$date1 million years',
['en-gb'] = '$date1 million years',
['en-ca'] = '$date1 million years',
eo = '$date1 milionoj da jaroj',
es = '$date1 millones de años',
nl = '$date1e miljoen jaar',
fr = '$date1 millions d’années',
it = '$date1 milioni di anni',
nb = '$date1 millioner år',
nl = '$date1 miljoen jaar',
nn = '$date1 millionar år',
pl = '$date1 milionów lat',
pt = '$date1 milhões de anos',
ru = '$date1 миллиона лет',
uk = '$date1 мільйони років',
ur = '$date1 ملین سال',
['zh-hans'] = '$date1百万年',
['zh-hant'] = '$date1百万年',
default='<span style="color:red">$date1 million years</span>',
nDates = 1,
},
['billion'] = {
de = '$date1 Milliarden Jahre',
en = '$date1 billion years',
['en-gb'] = '$date1 billion years',
['en-ca'] = '$date1 billion years',
es = '$date1 mil millones de años',
nl = '$date1e miljard jaar',
fr = '$date1 milliard d’années',
it = '$date1 miliardi di anni',
nb = '$date1 milliarder år',
nl = '$date1 miljard jaar',
nn = '$date1 milliardar år',
pl = '$date1 miliardów lat',
pt = '$date1 mil milhões de anos',
ru = '$date1 миллиардов лет',
uk = '$date1 мільярдів років',
ur = '$date1 بلین سال',
['zh-hans'] = '$date1十亿年',
['zh-hant'] = '$date1十億年',
default='<span style="color:red$date1 billion years</span>',
nDates = 1,
},
-- ==========================================
-- === Complex phrases ======================
-- ==========================================
-- Phrases which for some languages can be build out of simpler phrases
-- Their "default" state, used when no translation in the requested language was found, returns a "state" like
-- table which is used to call the function again and built the phrase out of simple phrases
-- $date1 - original date - 1
-- $date2 - original date
-- if era is BC than $date1 and $date2 are swapped
['turn of the century'] = {
nDates = 2,
['be-tarask']=function(date1, date2, state) return 'канец ' .. Roman(date1) ..' — пачатак ' .. Roman(date2) ..' стагодзьдзя' end,
bn=function(date1, date2, state) return '$date1/' .. Ordinal(date2, 'bn') .. ' শতাব্দীর পালাবদলে' end,
cs='přelom $date1. a $date2. století',
de=function(date1, date2, state) return 'Jahrhundertwende $date1/' .. Ordinal(date2, 'de') end,
en=function(date1, date2, state) return 'turn of the $date1/' .. Ordinal(date2, 'en') .. ' century' end,
['en-gb']=function(date1, date2, state) return 'turn of the $date1/' .. Ordinal(date2, 'en-gb') .. ' century' end,
['en-ca']=function(date1, date2, state) return 'turn of the $date1/' .. Ordinal(date2, 'en-ca') .. ' century' end,
eo='ŝanĝo de la $date1-a al la $date2-a jarcentoj',
es=function(date1, date2, state) return 'hacia finales del siglo ' .. Roman(date1) .. ' y principios del siglo ' .. Roman(date2) .. '' end,
fi='{{#expr: $date1 * 100-100}}-luvun loppu ja {{#expr: $date2 * 100-100}}-luvun alku',
fr=function(date1, date2, state) return 'fin du ' .. Ordinal(date1, 'fr', 'roman', 'm') .. ' siècle / début du ' .. Ordinal(date2, 'fr', 'roman', 'm') end,
hr='kraj $date1. i početak $date2. stoljeća',
hsb=function(date1, date2, state) return 'přechod ' .. Roman(date1) ..' do ' .. Roman(date2) ..' lětstotka' end,
it=function(date1, date2, state) return 'fine del ' .. Roman(date1) .. ' sec. e inizio del ' .. Roman(date2) .. ' sec.' end,
ja='$date1世紀から$date2世紀への変わり目',
nb=function(date1, date2, state) return 'slutten av det ' .. Ordinal(date1, 'nb') .. ' århundre/begynnelsen av det ' .. Ordinal(date2, 'nb') .. ' århundre' end,
nl=function(date1, date2, state) return 'eind $date1e/begin $date2e eeuw' end,
nn=function(date1, date2, state) return 'slutten av det ' .. Ordinal(date1, 'nn') .. ' hundreåret/byrjinga av det ' .. Ordinal(date2, 'nn') .. ' hundreåret' end,
pl=function(date1, date2, state) return 'przełom ' .. Roman(date1) ..' i ' .. Roman(date2) ..' wieku' end,
qu="$date1 ñiqin waranqawatamanta $date2 ñiqin waranqawataman t'ikrasqanpi",
ru=function(date1, date2, state) return 'конец ' .. Roman(date1) ..' — начало ' .. Roman(date2) ..' века' end,
sk='prelom $date1. a $date2. storočia',
sl=function(date1, date2, state) return 'pozno ' .. Ordinal(date1, 'sl') .. '. in zgodnje ' .. Ordinal(date2, 'sl') .. '. stoletje' end,
sv=function(date1, date2, state) return '$date1/' .. Ordinal(date2, 'sv') .. ' årtusendets sekelskifte' end,
uk=function(date1, date2, state) return 'кін. ' .. Roman(date1) ..' ст. — поч. ' .. Roman(date2) ..' ст.' end,
vi='bước sang thế kỷ $date2',
['zh-hans']=function(date1, date2, state) return '$date1世纪末' .. Ordinal(date2, 'zh-hans') .. '世纪初' end,
['zh-hant']=function(date1, date2, state) return '$date1世紀末' .. Ordinal(date2, 'zh-hant') .. '世紀初' end,
default=function(date1, date2, state) return {conj='and', adj1 = 'late', unit1='century', era1=state.era1, adj2 = 'early', unit2='century', era2=state.era2} end,
},
-- $date1 - original date - 10
-- $date2 - original date
-- if era is BC than $date1 and $date2 are swapped
['turn of the decade']={
nDates = 2,
['be-tarask']='канец $date1-х — пачатак $date2-х гг.',
bn='$date1-এর দশকের শেষে এবং $date2-এর দশকের শুরুতে',
cs=function(date1, date2, state)
local decade1 = math.floor((date1 % 100) / 10)
local decade2 = math.floor((date2 % 100) / 10)
local century1 = math.floor( date1 / 100) + 1
local century2 = math.floor( date2 / 100) + 1
if decade1 == 0 and date1 < date2 then
return "přelom 1. a 2. dekády " .. century1 .. ". století"
elseif decade2 == 0 and date2 < date1 then
return "přelom 9. a 10. dekády " .. century1 .. ". století"
elseif (decade1 == 9 and date1 < date2) or (decade2 == 9 and date2 < date1) then
return "přelom " .. century1 .. ". a " .. century2 .. ". století"
else
return "přelom " .. decade1 .. "0. a " .. decade2 .. "0. let " .. century1 .. ". století"
end
end,
de='späte $date1er und frühe $date2er',
en='late $date1s and early $date2s',
['en-gb']='late $date1s and early $date2s',
['en-ca']='late $date1s and early $date2s',
eo='ŝanĝo de la $date1-a al la $date2-a jardekoj',
es='finales de los años $date1 y principios de los años $date2',
fa='اواخر دههٔ $date1 و اوایل دههٔ $date2',
fi='$date1-luvun loppu ja $date2-luvun alku',
fr='fin des années $date1 / début des années $date2',
hr='kraj $date1-ih i početak $date2-ih',
hsb='pózdnje $date1te a zažne $date2te lěta',
it='fine degli anni $date1 / inizio degli anni $date2',
ja='$date1年代末から$date2年代初頭',
nb = 'sent på $date1-tallet og tidlig på $date2-tallet',
nl = 'eind $date1e/begin $date2e decennium',
nn = 'seint på $date1-talet og tidleg på $date2-talet',
pl=function(date1, date2, state)
local decade1 = math.floor(date1 % 100)
local decade2 = math.floor(date2 % 100)
local century1 = Roman(math.floor( date1 / 100) + 1)
local century2 = Roman(math.floor( date2 / 100) + 1)
if decade1 == 0 and date1 < date2 then
return "przełom pierwszej i drugiej dekady " .. century1 .. " wieku"
elseif decade1 == 10 and date1 < date2 then
return "przełom drugiej dekady i lat 20. " .. century1 .. " wieku"
elseif decade1 == 90 and decade2 == 0 then
return "przełom ostatniej dekady " .. century1 .. " i pierwszej dekady " .. century2 .. " wieku"
else
return "przełom lat " .. decade1 .. ". i " .. decade2 .. ". " .. century1 .. " wieku"
end
end,
qu='qhipaq $date1 watakuna ñawpaq $date2 watakunapas',
ru='конец $date1-х — начало $date2-х гг.',
sv='sena $date1-talet och tidiga $date2-talet',
sk=function(date1, date2, state)
local decade1 = math.floor((date1 % 100) / 10)
local decade2 = math.floor((date2 % 100) / 10)
local century1 = math.floor( date1 / 100) + 1
local century2 = math.floor( date2 / 100) + 1
if decade1 == 0 and date1 < date2 then
return "prelom 1. a 2. desaťročia " .. century1 .. ". storočia"
elseif decade2 == 0 and date2 < date1 then
return "prelom 9. a 10. desaťročia " .. century1 .. ". storočia"
elseif (decade1 == 9 and date1 < date2) or (decade2 == 9 and date2 < date1) then
return "prelom " .. century1 .. ". a " .. century2 .. ". storočia"
else
return "prelom " .. decade1 .. "0. a " .. decade2 .. "0. rokov " .. century1 .. ". storočia"
end
end,
sl='pozna $date1-ta in zgodnja $date2-ta leta',
uk='кінець $date1-х — початок $date2-х рр.',
ur='اخیر دہائی $date1 و ابتدا دہائی $date2',
vi='bước sang thập niên $date2',
['zh-hans']='$date1年代末$date2年代初',
['zh-hant']='$date1年代末$date2年代初',
default=function(date1, date2, state) return {conj='and', adj1 = 'late', unit1='decade', era1=state.era1, adj2 = 'early', unit2='decade', era2=state.era2} end,
},
-- $date1 - original date - 1
-- $date2 - original date
-- if era is BC than $date1 and $date2 are swapped
['turn of the year']={
nDates = 2,
['be-tarask']='канец $date1 — пачатак $date2 г.',
bn='$date1-এর শেষে এবং $date2-এর শুরুতে',
cs='přelom roku $date1/$date2',
de='Jahreswechsel $date1/$date2',
en='late $date1 and early $date2',
['en-gb']='late $date1 and early $date2',
['en-ca']='late $date1 and early $date2',
eo='jarŝanĝo $date1 / $date2',
es='finales de $date1 y principios de $date2',
fa='اواخر $date1 و اوایل $date2',
fi='vuoden $date1 loppu ja vuoden $date2 alku',
fr='fin $date1 / début $date2',
hsb='kónc $date1/spočatk $date2',
ja='$date1年末から$date2年初め',
nb='årsskiftet $date1/$date2',
nl='eind $date1 en begin $date2',
nn='årsskiftet $date1/$date2',
pl='koniec $date1 i początek $date2 roku',
qu="$date1 qhipaq p'unchawkuna $date2 ñawpaq p'unchawkunapas",
ru='конец $date1 — начало $date2 г.',
sk='prelom rokov $date1/$date2',
sl='konec leta $date1 in začetek $date2',
sv='sena $date1 och tidiga $date2',
uk='кінець $date1 — початок $date2 р.',
ur='اخیر $date1 و ابتدا $date2',
vi='bước sang năm $date2',
['zh-hans']='$date1年末$date2年初',
['zh-hant']='$date1年末$date2年初',
default=function(date1, date2, state) return {conj='and', adj1 = 'late', unit1='year', era1=state.era1, adj2 = 'early', unit2='year', era2=state.era2} end,
},
['circa2'] = {
nDates = 2,
ar='حوالي $date1 – $date2',
['be-tarask']={'прыкладна з $date1 да прыкладна $date2', case={'gen','gen'}},
bn='প্রায় $date1 এবং প্রায় $date2-এর মাঝামাঝি',
ca='cap a $date1 o $date2',
cs='cca $date1 až $date2',
da='ca. mellem $date1 og $date2',
de='etwa $date1 bis $date2',
el='περίπου μεταξύ $date1 και $date2',
en='between circa $date1 and circa $date2',
['en-gb']='between circa $date1 and circa $date2',
['en-ca']='between circa $date1 and circa $date2',
eo='proksimume de $date1 ĝis $date2',
es='hacia $date1 o $date2',
et='ca. $date1 ja $date2 vahel',
fa='حدوداً بین $date1 و $date2',
fi={function(date1, date2, state) return 'suunnilleen ' .. decYear(state,'fi','xxx') .. '$date1 ja $date2 välisenä aikana' end, case={'gen','gen'}},
fr='vers $date1-$date2',
gl='entre $date1 e $date2',
he='בסביבות ה- $date1 עד $date2',
hr='oko između $date1 i $date2',
hsb={'wot něhdźe $date1 do něhdźe $date2', case={'gen','gen'}},
hu='$date1 és $date2 között',
it='tra il $date1 e il $date2 circa',
ja='$date1頃と$date2頃の間',
mk='~ помеѓу $date1 и $date2',
nb='ca. mellom $date1 og $date2',
nn='ca. mellom $date1 og $date2',
nds='üm un bi $date1 bet $date2',
nl='ca. $date1 tot $date2',
no='ca. mellom $date1 og $date2',
pl={'od około $date1 do około $date2', case={'gen','gen'}},
pt='cerca de $date1 a $date2',
qu="$date1 p'unchawmantachá $date2 p'unchawkamachá",
ro='circa $date1 – $date2',
ru={'с около $date1 до, примерно, $date2', case={'gen','gen'}},
sk='cca $date1 až $date2',
sl={function(date1, date2, state) return 'ok. ' .. decYear(state,'sl','gen') .. ' $date1 do $date2' end, case={'gen','gen'}},
sv='c:a $date1 till $date2',
uk={'з близько $date1 до, приблизно, $date2', case={'gen','gen'}},
ur='قریباً بین $date1 و $date2',
vi='giữa vào khoảng $date1 và vào khoảng $date2',
['zh-hans']='约$date1~$date2间',
['zh-hant']='約$date1~$date2間',
default=function(date1, date2, state) return {conj='between', adj1 = 'circa', unit1=state.unit1, era1=state.era1, adj2 = 'circa', unit2=state.unit2, era2=state.era2} end,
},
-- ==========================================
-- === Eras and calendars ===================
-- ==========================================
['julian'] = {
nDates = 2,
ar='$date1 ($date2 حسب [[w:ar:التقويم اليولياني|تقويم يولياني]])',
['be-tarask']='$date1 ($date2 паводле [[w:be-tarask:Юліянскі каляндар|ст. ст.]]',
bn='$date1 (জুলিয়ান ক্যালেন্ডারে $date2)',
ca='$date1 ($date2 segons el [[w:ca:Calendari julià|calendari julià]])',
cs='$date1 ($date2 podle [[w:cs:Juliánský kalendář|juliánského kalendáře]])',
da='$date1 ($date2 [[w:da:Julianske kalender|Julianske kalender]])',
de='$date1 ($date2 [[w:de:Julianischer Kalender|Julianischer Kalender]])',
el='$date1 ($date2 με το [[w:el:Ιουλιανό ημερολόγιο|Ιουλιανό ημερολόγιο]])',
en='$date1 ($date2 in [[w:Old Style and New Style dates|Julian calendar]])',
['en-gb']='$date1 ($date2 in [[w:Old Style and New Style dates|Julian calendar]])',
['en-ca']='$date1 ($date2 in [[w:Old Style and New Style dates|Julian calendar]])',
fa='$date1 ($date2 در [[w:fa:Old Style and New Style dates|تقویم جولیان]])',
eo='$date1 ($date2 laŭ la [[w:eo:Julia kalendaro|Julia Kalendaro]])',
es='$date1 ($date2 según el [[w:es:Calendario juliano|calendario juliano]])',
et='$date1 ($date2 [[w:et:Juliuse kalender|Juliuse kalendris]])',
fi='$date1 ($date2 [[w:fi:juliaaninen kalenteri|juliaanisen kalenterin]] mukaan)',
fr='$date1 ($date2 dans le [[w:fr:calendrier julien|calendrier julien]])',
gl='$date1 ($date2 segundo o [[w:gl:Calendario xuliano|calendario xuliano]])',
hu='$date1 ($date2 a [[w:hu:Julianus-naptár|Julián naptárban]])',
hr='$date1 ($date2 prema [[w:hr:Julijanski kalendar|julijanskom kalendaru]])',
he='$date1 ($date2 ב[[w:he:לוח היוליאני|הלוח היוליאני]])',
hsb='$date1 ($date2 po julianiskej protyce)',
it='$date1 ($date2 secondo il [[w:it:Calendario giuliano|calendario giuliano]])',
ja='$date1([[w:ja:ユリウス暦|ユリウス暦]] $date2)',
mk='$date1 ($date2 по [[w:mk:Јулијански календар|Јулијанскиот календар]])',
ml='$date1 ([[w:Old Style and New Style dates|ജൂലിയൻ കാലഗണനാരീതിയിൽ]] $date2)',
nds='$date1 ($date2 na’n [[w:nds:Juliaansch Klenner|Juliaanschen Klenner]])',
nb='$date1 ($date2 etter [[w:no:Juliansk kalender|den julianske kalenderen]])',
nn='$date1 ($date2 etter [[w:no:Juliansk kalender|den julianske kalenderen]])',
nl='$date1 ($date2 volgens de [[w:nl:Juliaanse kalender|Juliaanse kalender]])',
no='$date1 ($date2 etter [[w:no:Juliansk kalender|den julianske kalender]])',
pl='$date1 ($date2 wedle [[w:pl:Daty nowego i starego porządku|kalendarza juliańskiego]])',
pt='$date1 ($date2 no [[w:pt:Mudança para o calendário gregoriano|calendário juliano]])',
qu='$date1 ($date2 [[w:qu:Hulyanu kalindaryu|Hulyanu kalindaryupi]])',
ro='$date1 ($date2 în [[w:ro:calendarul iulian|calendarul iulian]])',
ru='$date1 ($date2 [[w:ru:Юлианский календарь|по ст. ст.]])',
sk='$date1 ($date2 podľa [[w:sk:Juliánsky kalendár|juliánskeho kalendára]])',
sl='$date1 ($date2 po [[w:sl:Julijanski koledar|julijanskem koledarju]])',
sv='$date1 ($date2 [[w:sv:Gamla stilen|gamla stilen]])',
uk='$date1 ($date2 [[w:uk:Юліанський календар|Юліанський календар]])',
ur='$date1 ($date2 حسب [[w:ur:نئے اور پانے انداز کی تاریخ|جولین تقویم]])',
vi='$date1 ($date2 trong [[w:vi:Lịch Julius|lịch Juliêng]])',
['zh-hans']='$date1([[w:Old Style and New Style dates|格里历]]$date2)',
['zh-hant']='$date1([[w:Old Style and New Style dates|格里曆]]$date2)',
default='<span style="color:red">$date1 ($date2 in [[w:Old Style and New Style dates|Julian calendar]])</span>',
},
['ad'] = {
nDates = 1,
['be-tarask']='$date1 [[w:be-tarask:ад Нараджэньня Хрыста|пасьля Н. Х.]]',
bn ='$date1 খ্রিস্টাব্দ',
ca ='$date1 dC',
cs ='$date1 n. l.',
de ='$date1 n. Chr.',
el ='$date1 μ.Χ.',
en ='$date1 [[w:en:Anno Domini|AD]]',
['en-gb'] ='$date1 [[w:en:Anno Domini|AD]]',
['en-ca'] ='$date1 [[w:en:Anno Domini|AD]]',
eo ='$date1 pK',
es ='$date1 [[w:es:Anno Dómini|d. C.]]',
fa ='$date1 م.',
fi ='$date1 jaa.',
fr ='$date1 ap. J.-C.',
gl ='$date1 d.C.',
he ='$date1 לספירה',
hu ='i. sz. $date1',
hr ='$date1 p. Kr.',
hsb='$date1 po Chr.',
it ='$date1 d.C.',
ja ='西暦$date1',
mk ='$date1 н.е.',
ml ='ക്രി.വ. $date1',
nb ='$date1 e.Kr.',
nl ='$date1 n.Chr.',
nn ='$date1 e.Kr.',
no ='$date1 e.Kr.',
pl ='$date1 [[w:pl:naszej ery|n.e.]]',
ro ='$date1 d.Hr.',
ru ='$date1 н. э.',
sk ='$date1 po Kr.',
sl ='$date1 n. št.',
sv ='$date1 [[w:sv:Efter Kristus|e.Kr.]]',
uk ='$date1 н. е.',
ur ='$date1 ء',
vi ='$date1 [[w:vi:Công Nguyên|CN]]',
['zh-hans'] ='[[w:zh:基督纪年|公元]]$date1',
['zh-hant'] ='[[w:zh:基督纪年|公元]]$date1',
default='<span style="color:red">$date1 [[w:en:Anno Domini|AD]]</span>',
},
['ah'] = {
nDates = 1,
['be-tarask']='$date1 [[w:be-tarask:Ісламскі каляндар|хіджры]]',
bn ='$date1 [[w:bn:ইসলামি বর্ষপঞ্জি|হিজরী]]',
cs ='$date1 [[w:cs:Anno Hegirae|AH]]',
en ='$date1 [[w:en:Hijri year|AH]]',
['en-gb'] ='$date1 [[w:en:Hijri year|AH]]',
['en-ca'] ='$date1 [[w:en:Hijri year|AH]]',
eo ='$date1 post la [[w:eo:Heĝiro|Heĝiro]]',
fa ='$date1 ه.ق.',
fr ='$date1 [[w:fr:Calendrier musulman|A.H.]]',
he ="$date1 [[w:he:הלוח המוסלמי|להג'רה]]",
hr ='$date1 god. hidžre',
ja ='[[w:ja:ヒジュラ暦|ヒジュラ暦]]$date1',
nb ='$date1 [[w:no:Den muslimske kalenderen|A.H.]]',
nn ='$date1 [[w:nn:Den muslimske kalenderen|A.H.]]',
pl ='$date1 [[w:pl:Kalendarz muzułmański|A.H.]]',
ru ='$date1 [[w:ru:Исламский календарь|хиджры]]',
sk ='$date1 [[w:sk:A. H.|A. H.]]',
sv ='$date1 [[w:sv:Muslimska kalendern|A.H.]]',
uk ='$date1 [[w:uk:Мусульманський календар|хіджри]]',
ur ='$date1 ھ',
vi ='$date1 [[w:vi:Lịch Hồi giáo|AH]]',
['zh-hans'] ='[[w:en:Hijri year|Hijri历]]$date1',
['zh-hant'] ='[[w:en:Hijri year|Hijri曆]]$date1',
default='<span style="color:red">$date1 [[w:en:Hijri year|AH]]</span>',
},
['bc'] = {
nDates = 1,
ar ='$date1 ق.م.',
['be-tarask']='$date1 [[w:be-tarask:да Нараджэньня Хрыста|да Н. Х.]]',
bn ='খ্রিস্টপূর্ব $date1',
ca ='$date1 [[w:ca:Abans de Crist|aC]]',
cs ='$date1 [[w:cs:Př. n. l.|př. n. l.]]',
de ='$date1 [[w:de:v. Chr.|v. Chr.]]',
el ='$date1 π.Χ.',
en ='$date1 [[w:en:Ante Christum natum|BC]]',
['en-gb'] ='$date1 [[w:en:Ante Christum natum|BC]]',
['en-ca'] ='$date1 [[w:en:Ante Christum natum|BC]]',
eo ='$date1 aK',
es ='$date1 [[w:es:Antes de Cristo|a. C.]]',
fa ='$date1 پ.م.',
fi ='$date1 eaa.',
fr ='$date1 av. J.-C.',
gl ='$date1 [[w:gl:Antes de Cristo|a.C.]]',
he ='$date1 לפני הספירה',
hr ='$date1 [[w:hr:Pr. Kr.|pr. Kr.]]',
hsb='$date1 do Chr.',
hu ='i. e. $date1',
it ='$date1 [[w:it:Avanti Cristo|a.C.]]',
ja ='[[w:ja:紀元前|紀元前]]$date1',
mk ='$date1 п.н.е.',
ml ='ക്രി.മു. $date1',
nds='$date1 vör uns Tied',
nb ='$date1 f.Kr.',
nl ='$date1 v.Chr.',
nn ='$date1 f.Kr.',
no ='$date1 f.Kr.',
pl ='$date1 [[w:pl:przed naszą erą|p.n.e.]]',
pt ='$date1 [[w:pt:Anno Domini|a.C.]]',
ro ='$date1 î.Hr.',
ru ='$date1 до н. э.',
sk ='$date1 [[w:sk:Pred Kristom|pred Kr.]]',
sl ='$date1 pr. n. št.',
sv ='$date1 [[w:sv:Före Kristus|f.Kr.]]',
uk ='$date1 до н. е.',
ur ='$date1 ق م',
vi ='$date1 [[w:vi:Trước Công Nguyên|TCN]]',
['zh-hans'] ='[[w:zh:基督纪年|公元前]]$date1',
['zh-hant'] ='[[w:zh:基督纪年|公元前]]$date1',
default='<span style="color:red">$date1 [[w:en:Ante Christum natum|BC]]</span>',
},
['bp'] = {
nDates = 1,
ar ='$date1 [[w:ar:قبل الحاضر|قبل الحاضر]]',
be ='$date1 [[w:be-tarask:Да нашых дзён|Да нашых дзён]]',
['be-tarask']='$date1 [[w:be-tarask:Да нашых дзён|Да нашых дзён]]',
bn ='বর্তমানের আগে $date1',
ca ='$date1 [[w:ca:BP (unitat de temps)|BP]]',
cs ='$date1 [[w:cs:B. P.|B. P.]]',
de ='$date1 [[w:de:Before Present|BP]]',
el ='$date1 [[w:en:Before Present|BP]]',
en ='$date1 [[w:en:Before Present|BP]]',
['en-gb'] ='$date1 [[w:en:Before Present|BP]]',
['en-ca'] ='$date1 [[w:en:Before Present|BP]]',
eo='$date1 [[w:eo:Before Present|BP]]',
es ='$date1 [[w:es:Before Present|BP]]',
et ='$date1 [[w:et:Before Present|BP]]',
fa ='$date1 پیش از اکنون',
fi ='$date1 [[w:fi:BP (ajanlasku)|BP]]',
fr ='$date1 [[w:fr:Avant le présent|avant le présent]]',
hr ='$date1 [[w:hr:BP|prije današnjice]]',
it ='$date1 [[w:it:Before Present|BP]]',
ja ='$date1 [[w:ja:BP (年代測定)|BP]]',
lv ='$date1 [[w:lv:Pirms mūsdienām|Pirms mūsdienām]]',
mk ='$date1 [[w:mk:Пред сегашноста|п.с.]]',
ml ='[[w:en:Before Present|ഇന്നത്തെ കാലത്തിനു മുമ്പ്]] $date1',
nb ='$date1 [[w:no:Before Present|BP]]',
nn ='$date1 [[w:nn:Before Present|BP]]',
nl ='$date1 [[w:nl:Before Present|BP]]',
no ='$date1 [[w:no:Before Present|BP]]',
pl ='$date1 [[w:pl:Before Present|BP]]',
pt ='$date1 [[w:pt:Antes do Presente|Antes do Presente]]',
ru ='$date1 [[w:ru:До настоящего времени|до н. в.]]',
sk ='$date1 [[w:sk:BP (čas)|BP]]',
sl ='$date1 [[w:sl:pred sedanjostjo|p. s.]]',
sr ='$date1 [[w:sr:Прије садашњости|Прије садашњости]]',
sv ='$date1 [[w:sv:B.P.|B.P.]]',
uk ='$date1 [[w:uk:Років тому|Років тому]]',
ur ='$date1 قبل حاضر',
vi ='$date1 [[w:en:Before Present|trước ngày nay]]',
['zh-hans'] ='[[w:zh:距今|距今]]$date1',
['zh-hant'] ='[[w:zh:距今|距今]]$date1',
default='<span style="color:red">$date1 [[w:en:Before Present|BP]]</span>',
},
}
-- List of possible string inputs to "adj", "junction", "era", and "precision" fields
-- Each term is matched to its synonym and the role: a - adjective, e - era
-- p - precision, c - calendar and combos, r - certainty and j - conjunction
p.Synonyms = {
-- adjectives and prepositions
['quarter1']={'1quarter','a'},
['1stquarter']={'1quarter','a'},
['1st quarter']={'1quarter','a'},
['first quarter']={'1quarter','a'},
['1quarter']={'1quarter','a'},
['quarter2']={'2quarter','a'},
['2ndquarter']={'2quarter','a'},
['2nd quarter']={'2quarter','a'},
['second quarter']={'2quarter','a'},
['2quarter']={'2quarter','a'},
['quarter3']={'3quarter','a'},
['3rdquarter']={'3quarter','a'},
['3rd quarter']={'3quarter','a'},
['third quarter']={'3quarter','a'},
['3quarter']={'3quarter','a'},
['quarter4']={'4quarter','a'},
['4thquarter']={'4quarter','a'},
['4th quarter']={'4quarter','a'},
['fourth quarter']={'4quarter','a'},
['4quarter']={'4quarter','a'},
['spring']={'spring','a'},
['summer']={'summer','a'},
['fall']={'autumn','a'},
['autumn']={'autumn','a'},
['winter']={'winter','a'},
['beginning']={'early','a'},
['early']={'early','a'},
['1half']={'firsthalf','a'},
['1sthalf']={'firsthalf','a'},
['1st half']={'firsthalf','a'},
['firsthalf']={'firsthalf','a'},
['first half']={'firsthalf','a'},
['end']={'late','a'},
['late']={'late','a'},
['middle']={'mid','a'},
['mid']={'mid','a'},
['2half']={'secondhalf','a'},
['2ndhalf']={'secondhalf','a'},
['2nd half']={'secondhalf','a'},
['secondhalf']={'secondhalf','a'},
['second half']={'secondhalf','a'},
['<']={'before','a'},
['b']={'before','a'},
['before']={'before','a'},
['>']={'after','a'},
['a']={'after','a'},
['after']={'after','a'},
['~']={'circa','a'},
['c']={'circa','a'},
['ca']={'circa','a'},
['circa']={'circa','a'},
['by']={'by','a'},
['from']={'from','a'},
['until']={'until','a'},
['uncertain']={'uncertain','r'},
['possibly']={'possibly','r'},
['probably']={'probably','r'},
['presumably']={'presumably','r'},
-- eras
['bc']={'bc','e'},
['bce']={'bc','e'},
['before present']={'bp','e'},
['bp']={'bp','e'},
['ce']={'ad','e'},
['ad']={'ad','e'},
['ah']={'ah','e'},
-- conjunctions
['&']={'and','j'},
['and']={'and','j'},
['or']={'or','j'},
['-']={'from-until','j'},
['–']={'from-until','j'},
['from-until']={'from-until','j'},
['between']={'between','j'},
['circa2']={'circa2','a'},
-- precision
['day']={'day','p'},
['month']={'month','p'},
['year']={'year','p'},
['s']={'decade','p'},
['decade']={'decade','p'},
['century']={'century','p'},
['millennium']={'millennium','p'},
['million']={'million','p'},
['billion']={'billion','p'},
-- calendar
['julian']={'julian','c'},
['islamic']={'islamic','c'},
['hijri']={'islamic','c'},
-- "Turn of the ..." options are a combos which will be handled in similar way as calendars
['turn of the century']={'turn of the century','c'},
['century turn']={'turn of the century','c'},
['turn of the decade']={'turn of the decade','c'},
['decade turn']={'turn of the decade','c'},
['turn of the year']={'turn of the year','c'},
['year turn']={'turn of the year','c'},
-- other dates which will be handled in similar way as calendars
['?']={'unknown','c'},
['unknown']={'unknown','c'},
['unknown year']={'year unknown','c'},
['year unknown']={'year unknown','c'},
}
return p
0e2yvsz1f3uxpr4vh5dhj72vlat8dss
Template:Str len
10
7191
70375
2026-04-25T03:49:23Z
Exec8
6243
Pájina foun: '{{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}}<noinclude> {{documentation}} <!-- Inserir categorias apenas na documentação desta predefinição --> </noinclude>'
70375
wikitext
text/x-wiki
{{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}}<noinclude>
{{documentation}}
<!-- Inserir categorias apenas na documentação desta predefinição -->
</noinclude>
9p1dia8pawmjf95if7hoebliocldg8f
Módulo:If preview/styles.css
828
7192
70376
2026-04-25T03:49:49Z
Exec8
6243
Pájina foun: '/* {{pp|small=yes}} */ .preview-warning { font-style: italic; /* @noflip */ padding-left: 1.6em; margin-bottom: 0.5em; color: var(--color-error, red); } /* O elemento templatestyles insere um elemento link antes das notas de cabeçalhos. * TODO: Remover link se/quando a WMF resolver T200206 */ .preview-warning + link + .preview-warning { margin-top: -0.5em; }'
70376
sanitized-css
text/css
/* {{pp|small=yes}} */
.preview-warning {
font-style: italic;
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
color: var(--color-error, red);
}
/* O elemento templatestyles insere um elemento link antes das notas de cabeçalhos.
* TODO: Remover link se/quando a WMF resolver T200206 */
.preview-warning + link + .preview-warning {
margin-top: -0.5em;
}
i3xvko2kgo474ikivy207yh94iaa9m2
Módulo:Infocaixa/estilos.css
828
7193
70377
2026-04-25T03:50:02Z
Exec8
6243
Pájina foun: '/* {{pp|small=y}} */ /* * This TemplateStyles sheet deliberately does NOT include the full set of * infobox styles. We are still working to migrate all of the manual * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] * DO NOT ADD THEM HERE */ /* * not strictly certain these styles are necessary since the modules now * exclusively output infobox-subbox or infobox, not both * just replicating the module faithfully */ .infobox-subbox { padding: 0; bor...'
70377
sanitized-css
text/css
/* {{pp|small=y}} */
/*
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
* DO NOT ADD THEM HERE
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
/* Dark theme: [[William_Wragg]], [[Coral_Castle]] */
@media screen {
html.skin-theme-clientpref-night .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {
background: #1f1f23 !important;
/* switch with var( --color-base ) when supported. */
color: #f8f9fa;
}
}
@media screen and ( prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .infobox-full-data:not(.notheme) > div:not(.notheme)[style] {
background: #1f1f23 !important;
/* switch with var( --color-base ) when supported. */
color: #f8f9fa;
}
}
/* Since infobox is a table, many infobox templates take advantage of this to
* add columns and rows to the infobox itself rather than as part of a new table
* inside them. This class should be discouraged and removed on the long term,
* but allows us to at least identify these tables going forward
* Currently in use on: [[Módulo:Infobox3cols]]
* Fixes issue described in [[phab:F55300125]] on Vector 2022.
*/
@media (min-width: 640px) {
body.skin--responsive .infobox-table {
display: table !important;
}
body.skin--responsive .infobox-table > caption {
display: table-caption !important;
}
body.skin--responsive .infobox-table > tbody {
display: table-row-group;
}
body.skin--responsive .infobox-table th,
body.skin--responsive .infobox-table td {
padding-left: inherit;
padding-right: inherit;
}
}
ek84jmt0frtqv7uqj8jstaomiu89nb4
Módulo:Se vazio
828
7194
70378
2026-04-25T03:50:14Z
Exec8
6243
Pájina foun: 'local p = {} function p.main(frame) local args = require('Módulo:Arguments').getArgs(frame, {wrappers = 'Predefinição:Se vazio', removeBlanks = false}) -- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, -- even though there's really no legitimate use case for this. At some point, this will be removed. local lowestNil = math.huge for i = 8,1,-1 do if args[i] == nil then args[i] = '' lowestNil = i end end...'
70378
Scribunto
text/plain
local p = {}
function p.main(frame)
local args = require('Módulo:Arguments').getArgs(frame, {wrappers = 'Predefinição:Se vazio', removeBlanks = false})
-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,
-- even though there's really no legitimate use case for this. At some point, this will be removed.
local lowestNil = math.huge
for i = 8,1,-1 do
if args[i] == nil then
args[i] = ''
lowestNil = i
end
end
for k,v in ipairs(args) do
if v ~= '' then
if lowestNil < k then
-- If any uses of this template depend on the behavior above, add them to a tracking category.
-- This is a rather fragile, convoluted, hacky way to do it, but it ensures that this module's output won't be modified
-- by it.
frame:extensionTag('ref', '[[Categoria:!Instâncias de Predefinição:Se_vazio com argumentos faltando]]', {group = 'TrackingCategory'})
frame:extensionTag('references', '', {group = 'TrackingCategory'})
end
return v
end
end
end
return p
fc5xeviabn73c0e9cmthkqxba8xbd47
Módulo:Ordinal
828
7195
70379
2026-04-25T03:50:56Z
Exec8
6243
Pájina foun: 'local p = {} ------------------------------------------------------------------------------- -- Ordinal converte um número inteiro em um numeral seguido do indicador de -- número ordinal. ------------------------------------------------------------------------------- function p.ordinal(frame) local valor = frame.args[1] or frame.args.valor local artigo = frame.args[2] or frame.args.artigo local sufixo = "º" if artigo == "f" then sufixo = "ª" end return valor .. suf...'
70379
Scribunto
text/plain
local p = {}
-------------------------------------------------------------------------------
-- Ordinal converte um número inteiro em um numeral seguido do indicador de
-- número ordinal.
-------------------------------------------------------------------------------
function p.ordinal(frame)
local valor = frame.args[1] or frame.args.valor
local artigo = frame.args[2] or frame.args.artigo
local sufixo = "º"
if artigo == "f" then sufixo = "ª" end
return valor .. sufixo
end
return p
trbszvcfituwxc5yxtjb07qxmverpz7
Template:Densidade populacional
10
7196
70380
2026-04-25T03:51:16Z
Exec8
6243
Pájina foun: '<includeonly>{{#if: {{{noprefix|{{{nosufpre|}}}}}} ||{{#if: {{{nolink|{{{nl|{{{nlk|}}}}}}}}} |densidade|[[Densidade populacional|densidade]]}}: }}{{ nowrap|{{formatnum: {{#expr: {{{1|}}} / {{{2|}}} round {{#if: {{{3|}}} |{{{3|}}}|1}}}}}}{{ #if: {{{sufixo|}}} | {{{sufixo|}}} |{{#if: {{{nosufix|{{{nosufpre|}}}}}} || hab./km²}}}}}}</includeonly><noinclude> {{Documentação}} </noinclude>'
70380
wikitext
text/x-wiki
<includeonly>{{#if: {{{noprefix|{{{nosufpre|}}}}}}
||{{#if: {{{nolink|{{{nl|{{{nlk|}}}}}}}}}
|densidade|[[Densidade populacional|densidade]]}}: }}{{
nowrap|{{formatnum: {{#expr: {{{1|}}} / {{{2|}}} round {{#if: {{{3|}}} |{{{3|}}}|1}}}}}}{{
#if: {{{sufixo|}}}
| {{{sufixo|}}}
|{{#if: {{{nosufix|{{{nosufpre|}}}}}}
|| hab./km²}}}}}}</includeonly><noinclude>
{{Documentação}}
</noinclude>
qzvbigu44ehmhs1pywm5vqatj8nd04a
Template:Densidade populacional2
10
7197
70381
2026-04-25T03:51:35Z
Exec8
6243
Pájina foun: '<includeonly>{{#iferror: {{#expr: {{{1|}}} / {{{2|}}} }} |{{#if: {{{3|}}} | {{nowrap | {{{3|}}} {{#if: {{{nosufix|}}} || hab./km²}}}} |{{#iferror: {{#expr: {{{4|}}} / {{{5|}}} }} ||{{fmtn |{{#expr: {{{4|}}} / {{{5|}}} round {{#if: {{{dec|}}} |{{{dec|}}}|1}} }} | {{#if: {{{nosufix|}}} || hab./km²}} }} }}}} |{{fmtn |{{#expr: {{{1|}}} / {{{2|}}} round {{#if: {{{dec|}}} |{{{dec|}}}|1}} }} | {{#if: {{{nosufix|}}} || hab./km²}}}} }}</includeonly><noinclude> {{Documentação}} <...'
70381
wikitext
text/x-wiki
<includeonly>{{#iferror: {{#expr: {{{1|}}} / {{{2|}}} }}
|{{#if: {{{3|}}} | {{nowrap | {{{3|}}} {{#if: {{{nosufix|}}} || hab./km²}}}}
|{{#iferror: {{#expr: {{{4|}}} / {{{5|}}} }}
||{{fmtn |{{#expr: {{{4|}}} / {{{5|}}} round {{#if: {{{dec|}}} |{{{dec|}}}|1}} }} | {{#if: {{{nosufix|}}} || hab./km²}} }} }}}}
|{{fmtn |{{#expr: {{{1|}}} / {{{2|}}} round {{#if: {{{dec|}}} |{{{dec|}}}|1}} }} | {{#if: {{{nosufix|}}} || hab./km²}}}} }}</includeonly><noinclude>
{{Documentação}}
</noinclude>
qugu0xk36dw0q53l78bqff4kihwoqda
Template:Falta-geodata
10
7198
70382
2026-04-25T03:51:52Z
Exec8
6243
Pájina foun: '<includeonly>{{#switch: {{NAMESPACE}} |{{ns:0}}|{{ns:Category}} =Categoria:!Artigos com coordenadas em falta {{ #switch: {{lc:{{{1|}}}}} |afg|af|afeganistão=(Afeganistão) |zaf|za|áfrica do sul=(África do Sul) |ala|ax|ilhas aland=(Ilhas Aland) |alb|al|albânia=(Albânia) |deu|de|alemanha=(Alemanha) |and|ad|andorra=(Andorra) |ago|ao|angola=(Angola) |aia|ai|anguilla=(Anguilla) |ata|aq|antárctida|antártida|antártica=(Antártida) |atg|ag|antígua e barbuda=(Antígua e Ba...'
70382
wikitext
text/x-wiki
<includeonly>{{#switch: {{NAMESPACE}}
|{{ns:0}}|{{ns:Category}} =[[Categoria:!Artigos com coordenadas em falta {{
#switch: {{lc:{{{1|}}}}}
|afg|af|afeganistão=(Afeganistão)
|zaf|za|áfrica do sul=(África do Sul)
|ala|ax|ilhas aland=(Ilhas Aland)
|alb|al|albânia=(Albânia)
|deu|de|alemanha=(Alemanha)
|and|ad|andorra=(Andorra)
|ago|ao|angola=(Angola)
|aia|ai|anguilla=(Anguilla)
|ata|aq|antárctida|antártida|antártica=(Antártida)
|atg|ag|antígua e barbuda=(Antígua e Barbuda)
|ant|an|antilhas holandesas=(Antilhas Holandesas)
|sau|sa|arábia saudita=(Arábia Saudita)
|dza|dz|argélia=(Argélia)
|arg|ar|argentina=(Argentina)
|arm|am|arménia|armênia=(Arménia)
|abw|aw|aruba=(Aruba)
|aus|au|austrália=(Austrália)
|aut|at|áustria=(Áustria)
|aze|az|azerbaijão=(Azerbaijão)
|bhs|bs|bahamas=(Bahamas)
|bhr|bh|bahrain=(Bahrain)
|bgd|bd|bangladesh=(Bangladesh)
|brb|bb|barbados=(Barbados)
|bel|be|bélgica=(Bélgica)
|blz|bz|belize=(Belize)
|ben|bj|benim=(Benim)
|bmu|bm|bermudas=(Bermudas)
|blr|by|bielorrússia=(Bielorrússia)
|bol|bo|bolívia=(Bolívia)
|bih|ba|bósnia e herzegovina=(Bósnia e Herzegovina)
|bwa|bw|botswana=(Botswana)
|bvt|bv|ilha bouvet=(Ilha Bouvet)
|bra|br|brasil=(Brasil)
|brn|bn|brunei=(Brunei)
|bgr|bg|bulgária=(Bulgária)
|bfa|bf|burkina faso=(Burkina Faso)
|bdi|bi|burundi=(Burundi)
|btn|bt|butão=(Butão)
|cpv|cv|cabo verde=(Cabo Verde)
|khm|kh|camboja|cambodja=(Camboja)
|cmr|cm|camarões=(Camarões)
|can|ca|canadá=(Canadá)
|cym|ky|ilhas cayman|ilhas caimão=(Ilhas Cayman)
|kaz|kz|cazaquistão=(Cazaquistão)
|caf|cf|república centro-africana=(República Centro-Africana)
|tcd|td|chade=(Chade)
|cze|cz|república checa|república tcheca=(República Checa)
|chl|cl|chile=(Chile)
|chn|cn|china=(China)
|cyp|cy|chipre=(Chipre)
|cxr|cx|ilha christmas=(Ilha Christmas)
|cck|cc|ilhas cocos=(Ilhas Cocos)
|col|co|colômbia=(Colômbia)
|com|km|comores=(Comores)
|cog|cg|república do congo=(República do Congo)
|cod|cd|república democrática do congo=(República Democrática do Congo)
|cok|ck|ilhas cook=(Ilhas Cook)
|kor|kr|coreia do sul=(Coreia do Sul)
|prk|kp|coreia do norte=(Coreia do Norte)
|civ|ci|costa do marfim=(Costa do Marfim)
|cri|cr|costa rica=(Costa Rica)
|hrv|hr|croácia=(Croácia)
|cub|cu|cuba=(Cuba)
|dnk|dk|dinamarca=(Dinamarca)
|dji|dj|djibouti|jibuti=(Djibouti)
|dma|dm|dominica=(Dominica)
|dom|do|república dominicana=(República Dominicana)
|egy|eg|egito=(Egito)
|slv|sv|el salvador=(El Salvador)
|are|ae|emirados árabes unidos=(Emirados Árabes Unidos)
|ecu|ec|equador=(Equador)
|eri|er|eritreia=(Eritreia)
|svk|sk|eslováquia=(Eslováquia)
|svn|si|eslovénia|eslovênia=(Eslovénia)
|esp|es|espanha=(Espanha)
|usa|us|estados unidos|estados unidos da américa=(Estados Unidos)
|est|ee|estónia=(Estónia)
|eth|et|etiópia=(Etiópia)
|fro|fo|ilhas feroé=(Ilhas Feroé)
|fji|fj|fiji=(Fiji)
|phl|ph|filipinas=(Filipinas)
|fin|fi|finlândia=(Finlândia)
|fra|fr|frança=(França)
|gab|ga|gabão=(Gabão)
|gmb|gm|gâmbia=(Gâmbia)
|gha|gh|gana=(Gana)
|geo|ge|geórgia=(Geórgia)
|sgs|gs|geórgia do sul e sandwich do sul=(Geórgia do Sul e Sandwich do Sul)
|gib|gi|gibraltar=(Gibraltar)
|grc|gr|grécia=(Grécia)
|grd|gd|granada=(Granada)
|grl|gl|gronelândia|groenlândia=(Gronelândia)
|glp|gp|guadalupe=(Guadalupe)
|gum|gu|guam=(Guam)
|gtm|gt|guatemala=(Guatemala)
|ggy|gg|guernsey=(Guernsey)
|guy|gy|guiana=(Guiana)
|guf|gf|guiana francesa=(Guiana Francesa)
|gnb|gw|guiné-bissau=(Guiné-Bissau)
|gin|gn|guiné-conacri=(Guiné-Conacri)
|gnq|gq|guiné equatorial=(Guiné Equatorial)
|hti|ht|haiti=(Haiti)
|hmd|hm|ilha heard e ilhas mcdonald=(Ilha Heard e Ilhas McDonald)
|hnd|hn|honduras=(Honduras)
|hkg|hk|hong kong=(Hong Kong)
|hun|hu|hungria=(Hungria)
|yem|ye|iémen=(Iémen)
|ind|in|índia=(Índia)
|idn|id|indonésia=(Indonésia)
|irq|iq|iraque=(Iraque)
|irn|ir|irão|irã=(Irão)
|irl|ie|irlanda=(Irlanda)
|isl|is|islândia=(Islândia)
|isr|il|israel=(Israel)
|ita|it|itália=(Itália)
|jam|jm|jamaica=(Jamaica)
|jpn|jp|japão=(Japão)
|jey|je|jersey=(Jersey)
|jor|jo|jordânia=(Jordânia)
|kir|ki|kiribati=(Kiribati)
|kwt|kw|kuwait=(Kuwait)
|lao|la|laos=(Laos)
|lso|ls|lesoto=(Lesoto)
|lva|lv|letónia|letônia=(Letónia)
|lbn|lb|líbano=(Líbano)
|lbr|lr|libéria=(Libéria)
|lby|ly|líbia=(Líbia)
|lie|li|liechtenstein=(Liechtenstein)
|ltu|lt|lituânia=(Lituânia)
|lux|lu|luxemburgo=(Luxemburgo)
|mac|mo|macau=(Macau)
|mkd|mk|república da macedónia|república da macedônia=(República da Macedónia)
|mdg|mg|madagáscar=(Madagáscar)
|mys|my|malásia=(Malásia)
|mwi|mw|malawi=(Malawi)
|mdv|mv|maldivas=(Maldivas)
|mli|ml|mali=(Mali)
|mlt|mt|malta=(Malta)
|flk|fk|ilhas malvinas|ilhas falkland=(Ilhas Malvinas)
|imn|im|ilha de man=(Ilha de Man)
|mnp|mp|marianas setentrionais=(Marianas Setentrionais)
|mar|ma|marrocos=(Marrocos)
|mhl|mh|ilhas marshall=(Ilhas Marshall)
|mtq|mq|martinica=(Martinica)
|mus|mu|maurícia=(Maurícia)
|mrt|mr|mauritânia=(Mauritânia)
|myt|yt|mayotte=(Mayotte)
|umi|um|menores distantes dos estados unidos, ilhas=(Menores Distantes dos Estados Unidos, Ilhas)
|mex|mx|méxico=(México)
|mmr|mm|myanmar|birmânia=(Myanmar)
|fsm|fm|estados federados da micronésia=(Estados Federados da Micronésia)
|moz|mz|moçambique=(Moçambique)
|mda|md|moldávia=(Moldávia)
|mco|mc|mônaco=(Mônaco)
|mng|mn|mongólia=(Mongólia)
|mne|me|montenegro=(Montenegro)
|msr|ms|montserrat=(Montserrat)
|nam|na|namíbia=(Namíbia)
|nru|nr|nauru=(Nauru)
|npl|np|nepal=(Nepal)
|nic|ni|nicarágua=(Nicarágua)
|ner|ne|níger=(Níger)
|nga|ng|nigéria=(Nigéria)
|niu|nu|niue=(Niue)
|nfk|nf|ilha norfolk=(Ilha Norfolk)
|nor|no|noruega=(Noruega)
|ncl|nc|nova caledónia|nova caledônia=(Nova Caledónia)
|nzl|nz|nova zelândia=(Nova Zelândia)
|omn|om|oman=(Oman)
|nld|nl|países baixos|holanda=(Países Baixos)
|plw|pw|palau=(Palau)
|pse|ps|palestina=(Palestina)
|pan|pa|panamá=(Panamá)
|png|pg|papua-nova guiné=(Papua-Nova Guiné)
|pak|pk|paquistão=(Paquistão)
|pry|py|paraguai=(Paraguai)
|per|pe|peru=(Peru)
|pcn|pn|pitcairn=(Pitcairn)
|pyf|pf|polinésia francesa=(Polinésia Francesa)
|pol|pl|polônia=(Polônia)
|pri|pr|porto rico=(Porto Rico)
|prt|pt|portugal=(Portugal)
|qat|qa|qatar=(Qatar)
|ken|ke|quênia|quénia=(Quénia)
|kgz|kg|quirguistão=(Quirguistão)
|gbr|gb|reino unido|grã-bretanha=(Reino Unido)
|reu|re|reunião=(Reunião)
|rou|ro|romênia|roménia=(Roménia)
|rwa|rw|ruanda=(Ruanda)
|rus|ru|rússia=(Rússia)
|esh|eh|saara ocidental=(Saara Ocidental)
|asm|as|samoa americana=(Samoa Americana)
|wsm|ws|samoa ocidental|samoa=(Samoa Ocidental)
|spm|pm|saint pierre et miquelon=(Saint Pierre et Miquelon)
|slb|sb|ilhas salomão=(Ilhas Salomão)
|kna|kn|são cristóvão e névis|saint kitts e nevis=(São Cristóvão e Névis)
|smr|sm|san marino=(San Marino)
|stp|st|são tomé e príncipe=(São Tomé e Príncipe)
|vct|vc|são vicente e granadinas=(São Vicente e Granadinas)
|shn|sh|santa helena=(Santa Helena)
|lca|lc|santa lúcia=(Santa Lúcia)
|sen|sn|senegal=(Senegal)
|sle|sl|serra leoa=(Serra Leoa)
|srb|rs|sérvia=(Sérvia)
|syc|sc|seychelles=(Seychelles)
|sgp|sg|singapura=(Singapura)
|syr|sy|síria=(Síria)
|som|so|somália=(Somália)
|lka|lk|sri lanka=(Sri Lanka)
|swz|sz|suazilândia=(Suazilândia)
|sdn|sd|sudão=(Sudão)
|swe|se|suécia=(Suécia)
|che|ch|suíça=(Suíça)
|sur|sr|suriname=(Suriname)
|sjm|sj|svalbard e jan mayen=(Svalbard e Jan Mayen)
|tha|th|tailândia=(Tailândia)
|twn|tw|taiwan=(Taiwan)
|tjk|tj|tajiquistão=(Tajiquistão)
|tza|tz|tanzânia=(Tanzânia)
|tls|tl|timor-leste=(Timor-Leste)
|tgo|tg|togo=(Togo)
|tkl|tk|toquelau=(Toquelau)
|ton|to|tonga=(Tonga)
|tto|tt|trindade e tobago=(Trindade e Tobago)
|tun|tn|tunísia=(Tunísia)
|tca|tc|turks e caicos=(Turks e Caicos)
|tkm|tm|turquemenistão=(Turquemenistão)
|tur|tr|turquia=(Turquia)
|tuv|tv|tuvalu=(Tuvalu)
|ukr|ua|ucrânia=(Ucrânia)
|uga|ug|uganda=(Uganda)
|ury|uy|uruguai=(Uruguai)
|uzb|uz|usbequistão=(Usbequistão)
|vut|vu|vanuatu=(Vanuatu)
|vat|va|vaticano=(Vaticano)
|ven|ve|venezuela=(Venezuela)
|vnm|vn|vietnam|vietnã|vietname=(Vietname)
|vir|vi|ilhas virgens americanas=(Ilhas Virgens Americanas)
|vgb|vg|ilhas virgens britânicas=(Ilhas Virgens Britânicas)
|wlf|wf|wallis e futuna=(Wallis e Futuna)
|zmb|zm|zâmbia=(Zâmbia)
|zwe|zw|zimbabwe=(Zimbabwe)}}]] }}</includeonly><noinclude>
{{Documentação}}
</noinclude>
rludyyhu6wg5pbp2ldze0wg7pj2x54b
Módulo:Roman-cd
828
7199
70383
2026-04-25T03:52:19Z
Exec8
6243
Pájina foun: '--[[ This module converts Arabic numerals into Roman numerals. It currently works for any non-negative integer below 5 billions (up to 4 999 999 999). Zero is represented as "N" (from Classical Latin adverbs "nec" or "non"), like in standard CLDR data. For numbers starting at 4 thousands, this version no longer generates any HTML+CSS, but only plain-text: standard Unicode combining diacritics are used for overlines (U+0305 for the first level, then U+0304 for the second le...'
70383
Scribunto
text/plain
--[[
This module converts Arabic numerals into Roman numerals.
It currently works for any non-negative integer below 5 billions (up to 4 999 999 999).
Zero is represented as "N" (from Classical Latin adverbs "nec" or "non"), like in standard CLDR data.
For numbers starting at 4 thousands, this version no longer generates any HTML+CSS, but only plain-text:
standard Unicode combining diacritics are used for overlines (U+0305 for the first level,
then U+0304 for the second level, but both are treated equivalently when parsing Roman numbers).
For numbers starting at 4 billions, it still uses 4 letters M with double overlines because
triple overlines are not supported in plain-text (this is acceptable, just like "MMMM" is also
acceptable for representing 4000 but this version chooses the shorter "IV" with a single overline).
The Roman number parser will accept all valid notations (except apostrophic/Claudian/lunate notations
using reversed C), more than what it generates, and will correctly convert them to Arabic numbers.
Please do not modify this code without applying the changes first at Module:Roman/sandbox and testing
at Module:Roman/sandbox/testcases and Module talk:Roman/sandbox/testcases.
Authors and maintainers:
* User:RP88, User:Verdy_p
]]
local p = {}
--[============[
Private data
--]============]
-- See CLDR data /common/rbnf/root.xml for "roman-upper" rules. However we still don't
-- use the rarely supported Roman extension digits after 'M' (in U+2160..2188), but use
-- the more common notation with diacritical overlines ('ↁ'='V̅', 'ↂ'='X̅', etc.).
-- Please avoid using HTML with "text-decoration:overline" style, but use plain-text
-- combining characters (U+0304 and/or U+0305).
local decimalRomans = {
d0 = { [0] = '', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX' },
d1 = { [0] = '', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC' },
d2 = { [0] = '', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM' },
d3 = { [0] = '', 'M', 'MM', 'MMM', 'I̅V̅', 'V̅', 'V̅I̅', 'V̅I̅I̅', 'V̅I̅I̅I̅', 'I̅X̅' },
d4 = { [0] = '', 'X̅', 'X̅X̅', 'X̅X̅X̅', 'X̅L̅', 'L̅', 'L̅X̅', 'L̅X̅X̅', 'L̅X̅X̅X̅', 'X̅C̅' },
d5 = { [0] = '', 'C̅', 'C̅C̅', 'C̅C̅C̅', 'C̅D̅', 'D̅', 'D̅C̅', 'D̅C̅C̅', 'D̅C̅C̅C̅', 'C̅M̅' },
d6 = { [0] = '', 'M̅', 'M̅M̅', 'M̅M̅M̅', 'I̿V̿', 'V̿', 'V̿I̿', 'V̿I̿I̿', 'V̿I̿I̿I̿', 'I̿X̿' },
d7 = { [0] = '', 'X̿', 'X̿X̿', 'X̿X̿X̿', 'X̿L̿', 'L̿', 'L̿X̿', 'L̿X̿X̿', 'L̿X̿X̿X̿', 'X̿C̿' },
d8 = { [0] = '', 'C̿', 'C̿C̿', 'C̿C̿C̿', 'C̿D̿', 'D̿', 'D̿C̿', 'D̿C̿C̿', 'D̿C̿C̿C̿', 'C̿M̿' },
d9 = { [0] = '', 'M̿', 'M̿M̿', 'M̿M̿M̿', 'M̿M̿M̿M̿' },
}
local romanDecimals = {
-- Basic Latin capital letters
N = 0, -- abbreviated "nec" or "non" adverb in Classical Latin
I = 1, V = 5, X = 10, L = 50, C = 100,
D = 500,-- TODO: add Medieval "apostrophic/Claudian/lunate" notations like "IƆ"
M = 1000,
-- Basic Latin small letters (not used in Classical Latin, but added in Medieval Latin)
n = 0, -- abbreviated "nec" or "non" adverb in Classical Latin
i = 1, v = 5, x = 10, l = 50, c = 100,
d = 500,-- TODO: add Medieval "apostrophic/Claudian/lunate" notations like "IƆ"
m = 1000,
-- U+0304 .. U+0305 : COMBINING (MACRON|OVERLINE)
['\204\132'] = -1000, -- (0xCC,0x84 in UTF-8) multiplier (thousand)
['\204\133'] = -1000, -- (0xCC,0x85 in UTF-8) multiplier (thousand), considered equivalent here
-- U+033F : COMBINING DOUBLE OVERLINE
['\204\191'] = -1000000, -- (0xCC,0xBF in UTF-8) multiplier (million)
-- U+012A
['Ī'] = 1000, ['ī'] = 1000, -- LATIN LETTER WITH COMBINING MACRON, canonically equivalent to 'I' and U+0304
-- U+2160 .. U+216F : Roman capital digit symbols (compatibility, monospaced in CJK fonts)
['Ⅰ'] = 1, ['Ⅱ'] = 2, ['Ⅲ'] = 3, ['Ⅳ'] = 4, ['Ⅴ'] = 5, ['Ⅵ'] = 6,
['Ⅶ'] = 7, ['Ⅷ'] = 8, ['Ⅸ'] = 9, ['Ⅹ'] = 10, ['Ⅺ'] = 11, ['Ⅻ'] = 12,
['Ⅼ'] = 50, ['Ⅽ'] = 100, ['Ⅾ'] = 500, ['Ⅿ'] = 1000,
-- U+2170 .. U+217F : Roman lowercase digit symbols (compatibility, monospaced in CJK fonts)
['ⅰ'] = 1, ['ⅱ'] = 2, ['ⅲ'] = 3, ['ⅳ'] = 4, ['ⅴ'] = 5, ['ⅵ'] = 6,
['ⅶ'] = 7, ['ⅷ'] = 8, ['ⅸ'] = 9, ['ⅹ'] = 10, ['ⅺ'] = 11, ['ⅻ'] = 12,
['ⅼ'] = 50, ['ⅽ'] = 100, ['ⅾ'] = 500, ['ⅿ'] = 1000,
-- U+2180 .. U+2182 : Old Roman symbols (these have no case pairs)
['ↀ'] = 1000, -- = 'I̅' = 'M'. TODO: add Medieval "apostrophic/Claudian/lunate" notations like "CIƆ"; do not confuse it with "CD" (400)
['ↁ'] = 5000, -- = 'V̅'. TODO: add Medieval "apostrophic/Claudian/lunate" notations like "DƆ" and "IƆƆ"
['ↂ'] = 10000, -- = 'X̅'. TODO: add Medieval "apostrophic/Claudian/lunate" notations like "CCIƆƆ"
-- U+2183..U+2184 : ROMAN DIGIT (CAPITAL|LOWER) REVERSED C. TODO: add for "apostrophic/Claudian/lunate" notations (and support "Ɔ" OPEN O as aliases)
-- The reversed "C" is a trailing multiplier by 10 but if it is not paired by a leading "C", the surrounded value will be divided by 2:
-- * "I" = 1, but if followed by followed by "Ɔ", it takes the value 100:
-- * when followed by a first "Ɔ" it multiplies it by 10 giving 1000 (assuming "CIƆ"), but if not prefixed by a pairing "C", gives 500 for "IƆ" = "D".
-- * when followed by a second "Ɔ" it multiplies it by 10 giving 1000 (assuming "CCIƆƆ"), but if not prefixed by a pairing "C", gives 5000 for "IƆƆ" = "DƆ".
-- * for higher multiples, using overlines is highly preferred for noting multipliers by 1000.
-- U+2185: ROMAN NUMERAL SIX LATE FORM
['ↅ'] = 6, -- = 'VI' (overstriked letters)
-- U+2186: ROMAN NUMERAL FIFTY EARLY FORM (Borrowed in Latin in capital form, from Greek Final sigma, similar to "C" with a leg meaning "half")
['ↆ'] = 50, -- = 'L'
-- U+2187 .. U+2188: ROMAN NUMERAL (ONE HUNDRED|FIFTY) THOUSAND (Archaic, rarely supported in fonts)
['ↇ'] = 50000, -- = 'L̅'. TODO: add Medieval "apostrophic/Claudian/lunate" notations like "DƆƆ" and "IƆƆƆ"
['ↈ'] = 100000, -- = 'C̅'. TODO: add Medieval "apostrophic/Claudian/lunate" notations like "CCCDƆƆ" and "CCCIƆƆƆ"
}
--[=================[
Private functions
--]=================]
--[==[
This function returns a string containing the input value formatted as a Roman numeral.
It works for non-negative integers lower than 5 billions (up to 4 999 999 999: this covers
all unsigned 32-bit integers), otherwise it returns the number formatted using Latin
digits. The result string will be an UTF-8-encoded plain-text alphabetic string.
]==]--
local function convertArabicToRoman(value)
if value >= 1 and value <= 4999999999 and value == math.floor(value) then
local d0, d1, d2, d3, d4, d5, d6, d7, d8
d0, value = value % 10, math.floor(value / 10)
d1, value = value % 10, math.floor(value / 10)
d2, value = value % 10, math.floor(value / 10)
d3, value = value % 10, math.floor(value / 10)
d4, value = value % 10, math.floor(value / 10)
d5, value = value % 10, math.floor(value / 10)
d6, value = value % 10, math.floor(value / 10)
d7, value = value % 10, math.floor(value / 10)
d8, value = value % 10, math.floor(value / 10)
return table.concat({
decimalRomans.d9[value],
decimalRomans.d8[d8],
decimalRomans.d7[d7],
decimalRomans.d6[d6],
decimalRomans.d5[d5],
decimalRomans.d4[d4],
decimalRomans.d3[d3],
decimalRomans.d2[d2],
decimalRomans.d1[d1],
decimalRomans.d0[d0],
})
elseif value == 0 then
return 'N' -- for adverbs "nec" or "non" in Classical Latin (which had no zero)
end
return tostring(value)
end
--[==[
This function converts a plain-text string containing a Roman numeral to an integer.
It works for values between 0 (N) and 4 999 999 999 (M̿M̿M̿M̿C̿M̿X̿C̿I̿X̿C̅M̅X̅C̅I̅X̅CMXCIX).
]==]--
local function convertRomanToArabic(roman)
if roman == '' then return nil end
local result, prevRomanDecimal, multiplier = 0, 0, 1
for i = mw.ustring.len(roman), 1, -1 do
local currentRomanDecimal = romanDecimals[mw.ustring.sub(roman, i, i)]
if currentRomanDecimal == nil then
return nil
elseif currentRomanDecimal < 0 then
multiplier = multiplier * -currentRomanDecimal
else
currentRomanDecimal, multiplier = currentRomanDecimal * multiplier, 1
if currentRomanDecimal < prevRomanDecimal then
result = result - currentRomanDecimal
else
result = result + currentRomanDecimal
prevRomanDecimal = currentRomanDecimal
end
end
end
return result
end
--[==[
This function converts a string containing a Roman numeral to an integer.
It works for values between 0 and 4999999999.
The input string may contain HTML tags using style="text-decoration:overline" (not recommended).
]==]--
local function convertRomanHTMLToArabic(roman)
local result = convertRomanToArabic(roman)
if result == nil then
result = tonumber(roman)
end
return result
[==[ DISABLED FOR NOW, NOT REALLY NEEDED AND NOT CORRECTLY TESTED
local result = 0
local overline_start_len = mw.ustring.len(overline_start)
if mw.ustring.sub(roman, 1, overline_start_len) == overline_start then
local end_tag_start, end_tag_end = mw.ustring.find(roman, overline_end, overline_start_len, true)
if end_tag_start ~= nil then
local roman_high = mw.ustring.sub(roman, overline_start_len + 1, end_tag_start - 1)
local roman_low = mw.ustring.sub(roman, end_tag_end + 1, mw.ustring.len(roman)) or ''
if (mw.ustring.find(roman_high, "^[mdclxvi]+$") ~= nil) and (mw.ustring.find(roman_low, "^[mdclxvi]*$") ~= nil) then
result = convertRomanToArabic(roman_high) * 1000 + convertRomanToArabic(roman_low)
end
end
end
return result
]==]
end
--[==[
Helper function to handle error messages.
]==]--
local function outputError(message)
return table.concat({
'<strong class="error">Roman Module Error: ', message,
'</strong>[[Category:Errors reported by Module Roman]]'
})
end
--[================[
Public functions
--]================]
--[==[
isRoman
Tests if the trimmed input is a valid Roman numeral. Returns true if so, false if not.
For the purposes of this function, the empty string (after trimming whitespaces) is not a Roman numeral.
Parameters
s: string to test if it is a valid Roman numeral
Error Handling:
If the input is not a valid Roman numeral this function returns false.
]==]--
function p.isRoman(s)
return type(s) == 'string' and convertRomanToArabic(mw.text.trim(s)) ~= nil
end
--[==[
toArabic
This function converts a Roman numeral into an Arabic numeral.
It works for values between 0 and 4999999999.
'N' is converted to 0 and the empty string is converted to nil.
Parameters
roman: string containing value to convert into an Arabic numeral
Error Handling:
If the input is not a valid Roman numeral this function returns nil.
]==]--
function p.toArabic(roman)
if type(roman) == 'string' then
roman = mw.text.trim(roman)
local result = convertRomanToArabic(roman)
if result == nil then
result = tonumber(roman)
end
return result
elseif type(roman) == 'number' then
return roman
else
return nil
end
end
--[==[
_Numeral
This function returns a string containing the input value formatted as a Roman numeral.
It works for values between 0 and 4999999999.
Parameters
value: integer or string containing value to convert into a Roman numeral
Error Handling:
If the input does not look like it contains a number or the number is outside of the
supported range an error message is returned.
]==]--
function p._Numeral(value)
if value == nil then
return outputError('missing value')
end
if type(value) == 'string' then
value = tonumber(value)
elseif type(value) ~= 'number' then
return outputError('unsupported value')
end
return convertArabicToRoman(value)
end
--[==[
Numeral
This function for MediaWiki converts an Arabic numeral into a Roman numeral.
It works for values between 0 and 4999999999 (includes the whole range of unsigned 32-bit integers).
Arabic numeral zero is output as 'N' (for Latin negation adverbs "nec" or "non").
Usage:
{{#invoke:Roman|Numeral|<value>}}
{{#invoke:Roman|Numeral}} - uses the caller's parameters
Parameters
1: Value to convert into a Roman numeral. Must be at least 0 and less than 5,000,000.
Error Handling:
If the input does not look like it contains a number or the number is outside of the
supported range an error message is returned.
]==]--
function p.Numeral(frame)
-- if no argument provided than check parent template/module args
local args = frame.args
if args[1] == nil then
args = frame:getParent().args
end
return p._Numeral(args[1])
end
return p
acpyuzp8gc0fjs3p0yrt4wa52wf2e2p
Módulo:Linguística
828
7200
70384
2026-04-25T03:52:45Z
Exec8
6243
Pájina foun: '-- de Wikidata:Module:Linguistic -- some simple internationalization that can be called by other modules local p = {} local lang = 'pt' local langobj = mw.language.new(lang) local vowels = 'aeiouyąăẵằẳặȃắâẫấầẩậãäǟāáàȁǎảẚåǻḁạǡæǣǽĕȇêễếềểệḙẽḛëēḕéḗèȅěẻẹęȩḝǝĭȋîĩḭïḯīíìȉǐỉịįıŏȏôỗốồổộõṏṍöōṑóṓòȍǒỏọǫǭơỡớờởợøǿŭȗûṷũṻṹṵüǖǘ...'
70384
Scribunto
text/plain
-- de Wikidata:Module:Linguistic
-- some simple internationalization that can be called by other modules
local p = {}
local lang = 'pt'
local langobj = mw.language.new(lang)
local vowels = 'aeiouyąăẵằẳặȃắâẫấầẩậãäǟāáàȁǎảẚåǻḁạǡæǣǽĕȇêễếềểệḙẽḛëēḕéḗèȅěẻẹęȩḝǝĭȋîĩḭïḯīíìȉǐỉịįıŏȏôỗốồổộõṏṍöōṑóṓòȍǒỏọǫǭơỡớờởợøǿŭȗûṷũṻṹṵüǖǘǜǚṳūúùȕǔủůụųưữứừửựŷỹÿȳýỳỷẙỵ'
-- i18n
local wordor = ' ou '
local wordand = ' e '
local comma = ', '
local fullstop = '. '
local wordsep = ' '
local function isin(str, pattern)
if str and pattern and mw.ustring.find(str, pattern, 1, true ) then
return true
end
end
local function processgender(str)
if (str == 'f') or (str == 'fem') or (str == 'feminino') then
return 'feminino'
elseif (str == 'n') or (str == 'neutro') then
return 'neutro'
else
return 'masculino'
end
end
local function processnumber(str)
if (str == 'p') or (str == 'plural') then
return 'plural'
else
return 'singular'
end
end
function p.vowelfirst (str)
if str and #str > 0 then return isin(vowels, mw.ustring.lower(mw.ustring.sub(str, 1, 1))) end
end
function p.inparentheses(str, lang, space)
if (not str) or str == '' then
return str
end
str = '(' .. str .. ')'
if not space then
space = ' '
end
return space .. str
end
function p.of(word, gender, number, determiner, raw)
if not word then
word = ''
end
word = mw.text.trim( word )
if not raw then --texte non mis en forme pour gérer les élisions
raw = p.texteLien(word) or word
end
gender = processgender(gender)
number = processnumber(number)
local vowel = p.vowelfirst(raw)
local feminine = (gender== 'feminino')
-- raw is the string without the Wikiformatting so that it correctly analyses the string that is [[:fr:Italie|Italie]] -> 'italie'
-- any way to automate this ?
if number == 'plural' then
return 'dos ' .. word
elseif determiner and (determiner ~= '-') then-- de la, du // determiner ~= '-' veut dire renseigné comme vide
if vowel then
return 'da ' .. word
elseif feminine then
return 'de ' .. word
else
return 'do ' .. word
end
else
if vowel then
return 'de ' .. word
else
return 'de ' .. word
end
end
end
function p.noungroup(noun, adj)
if not noun or noun == '' then
return nil -- not '' so that it is not counted as a string by mw.listToText
end
return noun .. wordsep(lang) .. adj -- lorsque c'est en français
end
function p.quickconj(args, conjtype)
local separator, conjunction
-- cas où separator ~= conj
if type(conjtype) == 'function' then
conjtype = conjtype()
end
if (not conjtype) or conjtype == 'and' then
separator, conjunction = comma, wordand
elseif conjtype == 'or' then
separator, conjunction = comma, wordor
end
if (separator and conjunction) then
return mw.text.listToText(args, separator, conjunction)
end
-- autres cas
if conjtype == 'comma' then
separator = comma
elseif conjtype == 'new line' then
separator = '<br />'
--for i, j in pairs(args) do -- ajoute une majuscule
-- args[i] = p.lcfirst(j)
--end
else
separator = conjtype
end
return table.concat(args, separator)
end
function p.conj(args, conjtype)
if (not args) then
return nil
end
local newargs = {}
for i, j in pairs(args) do
if type(j) ~= 'nil' then
table.insert(newargs, j)
end
end
if #newargs == 0 then
return nil
end
return p.quickconj(newargs, conjtype, lang)
end
function p.conjfromWiki(frame)
args = frame.args
if not args or not args[1] then
args = mw.getCurrentFrame():getParent().args
end
local conjtype = args.type
newargs = {} -- transform args metatable into a table so it can be concetenated
for i, j in pairs(args) do
if type(i) == 'number' then
j = mw.text.trim(j)
if j ~= '' then
table.insert(newargs, j)
end
else
if i ~= 'type' and i ~= 'lang' then
return error('bad parameter in template:Conj:' .. i), '[[Categoria:!Páginas com uso incorrecto da predefinição/Conj|A]]'
end
end
end
return p.conj(newargs, conjtype)
end
local function findcomplement(str, beginswith) -- retourne le nom principal et le complément du nom ou nil et nil si échec
local particles = {" da ", " de ", " das ", " do ", " dos "}
if beginswith and (not mw.ustring.find(str, "^" .. beginswith)) then
return nil
end
for i, pattern in pairs(particles) do
local pos = mw.ustring.find(str, pattern)
if pos then
local main = mw.ustring.sub(str, 1, pos -1)
local comp = mw.ustring.sub(str, pos + string.len(pattern))
return main, comp
end
end
return nil
end
function p.keepcomplement(str, beginswith) -- par exemple "gare de Lyon" -> "Lyon"
local main, compl = findcomplement(str, beginswith)
if compl then
return compl
end
return str
end
function p.removecomplement(str, beginswith) -- par exemple "gare de Lyon" -> "gare"
local main, compl = findcomplement(str, beginswith)
if main then
return main
end
return str
end
--[=[
texteLien le lien intere initial '^[[lien|texte]]' de str et retourne : texte, lien
Si le lien est '[[texte]]', retourne : texte, texte.
Si str ne commence pas par un lien interwiki, retourne : nil
]=]
function p.texteLien( str )
if type( str ) == 'string' then
local lien, texte = str:match( '^%[%[ *([^%[%]|]*)|? *([^%[%]]*)%]%]' )
if not lien then
lien, texte = str:match( '^%b<>%[%[ *([^%[%]|]*)|? *([^%[%]]*)%]%]' )
end
if lien then
local testlien = string.lower( lien )
local fichier = string.match( testlien, '^ficheiro:' )
or string.match( testlien, '^imagem:' )
or string.match( testlien, '^file:' )
or string.match( testlien, '^image:' )
if not fichier then
texte = ( texte ~= '' and texte ) or lien
return texte, lien
end
end
end
return nil
end
function p.ucfirst(str)
if (type (str ) ~= 'string') or (string == "") then
return str
end
local strTemp, tag, tagTemp = str, ''
-- sépare les balises html initiales (span ou autres)
while strTemp:match( '^%b<>' ) do
tagTemp, strTemp = strTemp:match( '^(%b<>)(.*)$' )
tag = tag .. tagTemp
end
local texte = p.texteLien( strTemp )
if texte then
-- ajoute les crochets de fin de lien pour être sur de ne remplacer que le texte du lien
texte = texte .. ']]'
-- échappe les caractère magique
local pattern = texte:gsub( '([$%%()*+%-.?()^])', '%%%1' )
-- ajoute la majuscule au texte du lien
str = str:gsub( pattern, p.ucfirst( texte ), 1 )
else
str = tag .. langobj:ucfirst( strTemp )
end
return str
end
function p.lcfirst(str)
if (type (str ) ~= 'string') or (string == "") then
return str
end
local strTemp, tag, tagTemp = str, ''
-- sépare les balises html initiales (span ou autres)
while strTemp:match( '^%b<>' ) do
tagTemp, strTemp = strTemp:match( '^(%b<>)(.*)$' )
tag = tag .. tagTemp
end
local texte = p.texteLien( strTemp )
if texte then
-- ajoute les crochets de fin de lien pour être sur de ne remplacer que le texte du lien
texte = texte .. ']]'
-- échappe les caractère magique
local pattern = texte:gsub( '([$%%()*+%-.?()^])', '%%%1' )
-- ajuste a minuscula no texto do link
str = str:gsub( pattern, p.lcfirst( texte ), 1 )
else
str = tag .. langobj:lcfirst( strTemp )
end
return str
end
function p.ucfirstE(frame)
return p.ucfirst(frame.args[1])
end
function p.lcfirstE(frame)
return p.lcfirst(frame.args[1])
end
--[[
function p.toascii(str)
local convtable = mw.loadData("Módulo:Linguística/ASCII")
for i, j in pairs(convtable) do -- manquent les majuscules
str = mw.ustring.gsub(str, '[' .. i .. ']', j)
end
return str
end
]]--
return p
9yds1iuh5424zv12zh6pdecpla2jt7x
Módulo:ISOdate
828
7201
70385
2026-04-25T03:53:13Z
Exec8
6243
Pájina foun: '--[[ This module is intended for processing of date strings. Please do not modify this code without applying the changes first at Module:ISOdate/sandbox and testing at Module:ISOdate/sandbox/testcases and Module talk:ISOdate/sandbox/testcases. Authors and maintainers: * User:Parent5446 - original version of the function mimicking template:ISOdate * User:Jarekt - original version of the functions mimicking template:Date and template:ISOyear ]] local p = {} -- ====...'
70385
Scribunto
text/plain
--[[
This module is intended for processing of date strings.
Please do not modify this code without applying the changes first at Module:ISOdate/sandbox and testing
at Module:ISOdate/sandbox/testcases and Module talk:ISOdate/sandbox/testcases.
Authors and maintainers:
* User:Parent5446 - original version of the function mimicking template:ISOdate
* User:Jarekt - original version of the functions mimicking template:Date and template:ISOyear
]]
local p = {}
-- =======================================
-- === Dependencies ======================
-- =======================================
local D = require('Module:DateI18n') -- the enwp version of c:Module:Date
--[[
ISOyear
This function returns year part of date string.
Usage:
{{#invoke:ISOdate|ISOyear|target_string}}
Parameters
1: The date string
Error Handling:
If the string does not look like it contain the year than the function will not return anything.
That is the preferred treatment for the template:Creator which is the main (only?) template calling it.
]]
function p.ISOyear( frame )
return p._ISOyear( frame.args[1] )
end
function p._ISOyear( input )
if not input then
return ''
end
input = mw.text.trim( input )
-- if empty string then return it
if input == "" then
return input
end
-- if number then return it
if tonumber( input ) then
return mw.ustring.format( '%04i', input )
end
-- otherwise use regular expression match
input = mw.ustring.match( input, '^+?(-?%d%d?%d?%d?)-' )
if input and tonumber( input ) then
return mw.ustring.format( '%04i', input )
else
return ''
end
end
--[[
ISOdate
This function is the core part of the ISOdate template.
Usage:
{{#invoke:ISOdate|ISOdate|target_string|lang=}}
Parameters:
1: The date string
lang: The language to display it in
form: Language format (genitive, etc.) for some languages
class: CSS class for the <time> node
Error Handling:
If the string does not look like it contain the proper ISO date than the function will return the original string.
That is the preferred treatment for the template:Information (and similar templates) which calling it.
]]
function p.ISOdate(frame)
local datestr, succeded
local args = frame.args
if not (args.lang and mw.language.isSupportedLanguage(args.lang)) then
args.lang = frame:callParserFunction( "int", "lang" ) -- get user's chosen language
end
datestr, succeded = p._ISOdate(
mw.text.trim(args[1]),
args.lang, -- language
args.case or '', -- allows to specify grammatical case for the month for languages that use them
args.class or 'dtstart', -- allows to set the html class of the time node where the date is included.
args.trim_year or '100-999' -- by default pad one and 2 digit years to be 4 digit long, while keeping 3 digit years as is
)
return datestr
end
function p._ISOdate(datestr, lang, case, class, trim_year)
-- pattern: regexp - regular expresion to test; dlen - number of date elements; tail = which element is a "tail" if any
-- regexp hints:
-- 1) Strings starting with "^" and ending with "$" indicate whole string match
-- 2) optional tail part copied as-is and following the main parsed part of the date have to be separated from the date by a whitespace, so "(\s.+)?"
local patterns = {
-- strings starting with YYYY-MM-DD HH:MM:SS. Year 4 digits (if we know seconds than it was within the last 100 years), the rest 1-2
-- date and time can be separated by space or "T" and there could be a "Z" on the end indicating "Zulu" time zone
{dlen=6, tail=7, regexp="^+?(%d%d%d%d)-(%d%d?)-(%d%d?)[ T](%d%d?):(%d%d?):(%d%d?)Z?(%s.*)"},
{dlen=6, tail=0, regexp="^+?(%d%d%d%d)-(%d%d?)-(%d%d?)[ T](%d%d?):(%d%d?):(%d%d?)Z?$"},
-- strings starting with YYYY-MM-DD HH:MM. Year 4 digits, the rest 1-2
-- (if one knows hour and minute than it was probably after a year 1000)
{dlen=5, tail=6, regexp="^+?(%d%d%d%d)-(%d%d?)-(%d%d?)[ T](%d%d?):(%d%d?)(%s.+)"},
{dlen=5, tail=0, regexp="^+?(%d%d%d%d)-(%d%d?)-(%d%d?)[ T](%d%d?):(%d%d?)$"},
-- strings starting with YYYY-MM-DD. Year 1-4 digits, the rest 1-2
{dlen=3, tail=4, regexp="^+?(%d%d?%d?%d?)-(%d%d?)-(%d%d?)(%s.+)"},
{dlen=3, tail=0, regexp="^+?(%d%d?%d?%d?)-(%d%d?)-(%d%d?)$"},
-- strings starting with YYYY-MM. Year 3-4 digits, month 2 digits
-- (want to avoit converting to dates strings like 10-5 = 5
{dlen=2, tail=3, regexp="^+?(%d%d%d%d?)-(%d%d)(%s.+)"},
-- if whole string is in YYYY-MM form: If Year 1-4 digits, month 1-2 digits
{dlen=2, tail=0, regexp="^+?(%d%d?%d?%d?)-(%d%d?)$"},
-- string starts with a number -> it has to be 3 or 4 digit long to be a year
{dlen=1, tail=2, regexp="^+?(%d%d%d%d?)(%s.+)"},
-- if whole string is a number (1-4 digit long) than it will be interpreted as a year
{dlen=1, tail=0, regexp="^+?(%d%d?%d?%d?)$"},
}
-- create datevec based on which variables are provided
local datevec, tail, formatNum
datevec, tail, formatNum = p.test_date_formats(datestr or '', patterns)
if datevec[1]=='' or datevec[1]==nil then
-- quickly return if datestr does not look like date (it could be a template)
return datestr, false
end
-- call p._Date function to format date string
local succeded, datestr2
succeded, datestr2 = pcall( D._Date, datevec, lang, case, class, trim_year)
if succeded and datestr2~='' then
return mw.text.trim( datestr2 .. tail), true
else -- in case of errors return the original string
return datestr, false
end
end
function p.ISOdate_extended(frame)
-- pattern: regexp - regular expresion to test; dlen - number of date elements; tail = which element is a "tail" if any
-- regexp hints:
-- 1) Strings starting with "^" and ending with "$" indicate whole string match
-- 2) optional tail part copied as-is and following the main parsed part of the date have to be separated from the date by a whitespace, so "(\s.+)?"
local datestr, succeded
local args = frame.args
if not (args.lang and mw.language.isSupportedLanguage(args.lang)) then
args.lang = frame:callParserFunction( "int", "lang" ) -- get user's chosen language
end
datestr, succeded = p._ISOdate(
mw.text.trim(args[1]),
args.lang, -- language
args.case or '', -- allows to specify grammatical case for the month for languages that use them
args.class or 'dtstart', -- allows to set the html class of the time node where the date is included.
args.trim_year or '100-999' -- by default pad one and 2 digit years to be 4 digit long, while keeping 3 digit years as is
)
if succeded then
return datestr
end
local patterns = {
-- Exended set of recognized formats: like MM/DD/YYYY
{dlen=3, tail=4, regexp="^(%d%d?)[-./](%d%d?)[-./](%d%d%d%d)(%s.+)"},
{dlen=3, tail=0, regexp="^(%d%d?)[-./](%d%d?)[-./](%d%d%d%d)$"},
{dlen=3, tail=0, regexp="^(%d%d?)%s(%w+)%s(%d%d%d%d)$"},
{dlen=3, tail=0, regexp="^(%w+)%s(%d%d?),%s(%d%d%d%d)$"},
}
local datevec, tail, formatNum, category = ''
datevec, tail, formatNum = p.test_date_formats(frame.args[1], patterns)
if formatNum==1 or formatNum==2 then
vec = datevec;
if tonumber(datevec[1])>12 then
frame.args[1] = string.format('%04i-%02i-%02i', datevec[3], datevec[2], datevec[1] )
category = '[[Category:Date in DD/MM/YYYY format]]'
return mw.text.trim( p.ISOdate(frame) .. tail);
elseif tonumber(datevec[2])>12 then
frame.args[1] = string.format('%04i-%02i-%02i', datevec[3], datevec[1], datevec[2] )
category = '[[Category:Date in MM/DD/YYYY format]]'
return mw.text.trim( p.ISOdate(frame) .. tail);
end
elseif (formatNum==3 or formatNum==4) and (datevec[3]=='' or datevec[3]~=nil) then
local str = mw.getCurrentFrame():callParserFunction( "#time", { 'Y-m-d', datestr} )
local vec = {str:match( "^(%d%d?%d?%d?)-(%d%d?)-(%d%d?)$" )}
if vec and vec[1]~=nil then
frame.args[1] = string.format('%04i-%02i-%02i', vec[1], vec[2], vec[3] )
category = '[[Category:Date in word format]]'
return p.ISOdate(frame);
end
end
return datestr
end
function p.test_date_formats(datestr, patterns)
-- pattern: regexp - regular expresion to test; dlen - number of date elements; tail = which element is a "tail" if any
local datevec = {'','','','','',''}
local tail = ''
local vec, pat
local formatNum = 0
for i, pat in ipairs( patterns ) do
vec = {datestr:match( pat.regexp )}
if vec and vec[1]~=nil then
for j=1,pat.dlen do
datevec[j] = vec[j]
end
if pat.tail>0 and vec[pat.tail]~=nil then
tail = mw.ustring.gsub(' ' .. vec[pat.tail], ' +', ' ')
end
formatNum = i
break
end
end
return datevec, tail, formatNum
end
return p
nab04kxj0ywahk6drgfjdo6jbixhup7
Módulo:DateI18n
828
7202
70386
2026-04-25T03:53:38Z
Exec8
6243
Pájina foun: '--[[ __ __ _ _ ____ _ ___ _ ___ | \/ | ___ __| |_ _| | ___ _| _ \ __ _| |_ ___|_ _/ |( _ ) _ __ | |\/| |/ _ \ / _` | | | | |/ _ (_) | | |/ _` | __/ _ \| || |/ _ \| '_ \ | | | | (_) | (_| | |_| | | __/_| |_| | (_| | || __/| || | (_) | | | | |_| |_|\___/ \__,_|\__,_|_|\___(_)____/ \__,_|\__\___|___|_|\___/|_| |_| This module is intended for processing of date strings. Please do not modify this code withou...'
70386
Scribunto
text/plain
--[[
__ __ _ _ ____ _ ___ _ ___
| \/ | ___ __| |_ _| | ___ _| _ \ __ _| |_ ___|_ _/ |( _ ) _ __
| |\/| |/ _ \ / _` | | | | |/ _ (_) | | |/ _` | __/ _ \| || |/ _ \| '_ \
| | | | (_) | (_| | |_| | | __/_| |_| | (_| | || __/| || | (_) | | | |
|_| |_|\___/ \__,_|\__,_|_|\___(_)____/ \__,_|\__\___|___|_|\___/|_| |_|
This module is intended for processing of date strings.
Please do not modify this code without applying the changes first at Module:Date/sandbox and testing
at Module:Date/sandbox/testcases and Module talk:Date/sandbox/testcases.
Authors and maintainers:
* User:Parent5446 - original version of the function mimicking template:ISOdate
* User:Jarekt - original version of the functions mimicking template:Date
]]
require('strict')
-- ==================================================
-- === Internal functions ===========================
-- ==================================================
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to Module:Yesno
local function yesno(val, default)
if type(val) == 'boolean' then
return val
elseif type(val) == 'number' then
if val==1 then
return true
elseif val==0 then
return false
end
elseif type(val) == 'string' then
val = mw.ustring.lower(val) -- put in lower case
if val == 'no' or val == 'n' or val == 'false' or tonumber(val) == 0 then
return false
elseif val == 'yes' or val == 'y' or val == 'true' or tonumber(val) == 1 then
return true
end
end
return default
end
---------------------------------------------------------------------------------------
-- String replacement that ignores part of the string in "..."
local function strReplace(String, old, new)
if String:find('"') then
local T={}
for i, str in ipairs(mw.text.split( String, '"', true )) do
if i%2==1 then
str = str:gsub(old, new)
end
table.insert(T, str)
end
return table.concat(T,'"')
else
return String:gsub(old, new)
end
end
---------------------------------------------------------------------------------------
-- process datevec
-- INPUT:
-- * datevec - Array of {year,month,day,hour,minute,second, tzhour, tzmin} containing broken
-- down date-time component strings or numbers
-- OUTPUT:
-- * datecode - a code specifying content of the array where Y' is year, 'M' is month,
-- 'D' is day, 'H' is hour, 'M' minute, 'S' is second. output has to be one of YMDHMS, YMDHM, YMD, YM, MD, Y
-- * datenum - same array but holding only numbers or nuls
local function parserDatevec(datevec)
-- if month is not a number than check if it is a month name in project's language
local month = datevec[2]
if month and month~='' and not tonumber(month) then
datevec[2] = mw.getContentLanguage():formatDate( "n", month)
end
-- create datecode based on which variables are provided and check for out-of-bound values
local maxval = {nil, 12, 31, 23, 59, 59, 23, 59} -- max values for year, month, ...
local minval = {nil, 1, 1, 0, 0, 0, -23, 0} -- min values for year, month, ...
local c = {'Y', 'M', 'D', 'H', 'M', 'S', '', ''}
local datecode = '' -- a string signifying which combination of variables was provided
local datenum = {} -- date-time encoded as a vector = [year, month, ... , second]
for i = 1,8 do
datenum[i] = tonumber(datevec[i])
if datenum[i] and (i==1 or (datenum[i]>=minval[i] and datenum[i]<=maxval[i])) then
datecode = datecode .. c[i]
end
end
return datecode, datenum
end
---------------------------------------------------------------------------------------
-- process datevec
-- INPUT:
-- * datecode - a code specifying content of the array where Y' is year, 'M' is month,
-- 'D' is day, 'H' is hour, 'M' minute, 'S' is second. output has to be one of YMDHMS, YMDHM, YMD, YM, MD, Y
-- * datenum - Array of {year,month,day,hour,minute,second, tzhour, tzmin} as numbers or nuls
-- OUTPUT:
-- * timeStamp - date string in the format taken by mw.language:formatDate lua function and {{#time}} perser function
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:formatDate
-- https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time
-- * datecode - with possible corrections
local function getTimestamp(datecode, datenum)
-- create time stamp string (for example 2000-02-20 02:20:20) based on which variables were provided
local timeStamp
if datecode == 'YMDHMS' then
timeStamp = string.format('%04i-%02i-%02i %02i:%02i:%02i', datenum[1], datenum[2], datenum[3], datenum[4], datenum[5], datenum[6] )
elseif datecode == 'YMDHM' then
timeStamp = string.format('%04i-%02i-%02i %02i:%02i', datenum[1], datenum[2], datenum[3], datenum[4], datenum[5] )
elseif datecode:sub(1,3)=='YMD' then
timeStamp = string.format('%04i-%02i-%02i', datenum[1], datenum[2], datenum[3] )
datecode = 'YMD' -- 'YMD', 'YMDHMS' and 'YMDHM' are the only supported format starting with 'YMD'. All others will be converted to 'YMD'
elseif datecode == 'YM' then
timeStamp = string.format('%04i-%02i', datenum[1], datenum[2] )
elseif datecode:sub(1,1)=='Y' then
timeStamp = string.format('%04i', datenum[1] )
datecode = 'Y'
elseif datecode == 'M' then
timeStamp = string.format('%04i-%02i-%02i', 2000, datenum[2], 1 )
elseif datecode == 'MD' then
timeStamp = string.format('%04i-%02i-%02i', 2000, datenum[2], datenum[3] )
else
timeStamp = nil -- format not supported
end
return timeStamp, datecode
end
---------------------------------------------------------------------------------------
-- trim leading zeros in years prior to year 1000
-- INPUT:
-- * datestr - translated date string
-- * lang - language of translation
-- OUTPUT:
-- * datestr - updated date string
local function trimYear(datestr, year, lang)
local yearStr0, yearStr1, yearStr2, zeroStr
yearStr0 = string.format('%04i', year ) -- 4 digit year in standard form "0123"
yearStr1 = mw.language.new(lang):formatDate( 'Y', yearStr0) -- same as calling {{#time}} parser function
--yearStr1 = mw.getCurrentFrame():callParserFunction( "#time", { 'Y', yearStr0, lang } ) -- translate to a language
if yearStr0==yearStr1 then -- most of languages use standard form of year
yearStr2 = tostring(year)
else -- some languages use different characters for numbers
yearStr2 = yearStr1
zeroStr = mw.ustring.sub(yearStr1,1,1) -- get "0" in whatever language
for i=1,3 do -- trim leading zeros
if mw.ustring.sub(yearStr2,1,1)==zeroStr then
yearStr2 = mw.ustring.sub(yearStr2, 2, 5-i)
else
break
end
end
end
return string.gsub(datestr, yearStr1, yearStr2 ) -- in datestr replace long year with trimmed one
end
---------------------------------------------------------------------------------------
-- Look up proper format string to be passed to {{#time}} parser function
-- INPUTS:
-- * datecode: YMDHMS, YMDHM, YMD, YM, MD, Y, or M
-- * day : Number between 1 and 31 (not needed for most languages)
-- * lang : language
-- OUTPUT:
-- * dFormat : input to {{#time}} function
local function getDateFormat(datecode, day, lang)
local function parseFormat(dFormat, day)
if dFormat:find('default') and #dFormat>10 then
-- special (and messy) case of dFormat code depending on a day number
-- then json contains a string with more json containing "default" field and 2 digit day keys
-- if desired day is not in that json than use "default" case
dFormat = dFormat:gsub('”','"') -- change fancy double quote to a straight one, used for json marking
local D = mw.text.jsonDecode( dFormat ) --com = mw.dumpObject(D)
day = string.format('d%02i',day) -- create day key
dFormat = D[day] or D.default
dFormat = dFormat:gsub("'", '"') -- change single quote to a double quote, used for {{#time}} marking
end
return dFormat
end
local T = {}
local tab = mw.ext.data.get('DateI18n.tab', lang)
for _, row in pairs(tab.data) do -- convert the output into a dictionary table
local id, _, msg = unpack(row)
T[id] = msg
end
local dFormat = T[datecode]
if dFormat=='default' and (datecode=='YMDHMS' or datecode=='YMDHM') then
-- for most languages adding hour:minute:second is done by adding ", HH:MM:SS to the
-- day precission date, those languages are skipped in DateI18n.tab and default to
-- English which stores word "default"
dFormat = parseFormat(T['YMD'], day).. ', H:i'
if datecode=='YMDHMS' then
dFormat = dFormat .. ':s'
end
else
dFormat = parseFormat(dFormat, day)
end
return dFormat
end
---------------------------------------------------------------------------------------
-- Look up proper format string to be passed to {{#time}} parser function
-- INPUTS:
-- * month : month number
-- * case : gramatic case abbriviation, like "ins", "loc"
-- * lang : language
-- OUTPUT:
-- * dFormat : input to {{#time}} function
local function MonthCase(month, case, lang)
local T = {{},{},{},{},{},{},{},{},{},{},{},{}}
local tab = mw.ext.data.get('I18n/MonthCases.tab', lang)
for _, row in pairs(tab.data) do
local mth, cs, msg = unpack(row)
T[mth][cs] = msg
end
return T[month][case]
end
-- ==================================================
-- === External functions ===========================
-- ==================================================
local p = {}
--[[ ========================================================================================
Date
This function is the core part of the ISOdate template.
Usage:
local Date = require('Module:DateI18n')._Date
local dateStr = Date({2020, 12, 30, 12, 20, 11}, lang)
Parameters:
* {year,month,day,hour,minute,second, tzhour, tzmin}: broken down date-time component strings or numbers
tzhour, tzmin are timezone offsets from UTC, hours and minutes
* lang: The language to display it in
* case: Language format (genitive, etc.) for some languages
* class: CSS class for the <time> node, use "" for no metadata at all
]]
function p._Date(datevec, lang, case, class, trim_year)
-- make sure inputs are in the right format
if not lang or not mw.language.isValidCode( lang ) then
lang = mw.getCurrentFrame():callParserFunction( "int", "lang" ) -- get user's chosen language
end
if lang == 'be-tarsk' then
lang = 'be-x-old'
end
-- process datevec and extract timeStamp and datecode strings as well as numeric datenum array
local datecode, datenum = parserDatevec(datevec)
local year, month, day = datenum[1], datenum[2], datenum[3]
local timeStamp, datecode = getTimestamp(datecode, datenum)
if not timeStamp then -- something went wrong in parserDatevec
return ''
end
-- Commons [[Data:DateI18n.tab]] page stores prefered formats for diferent
-- languages and datecodes (specifying year-month-day or just year of month-day, etc)
-- Look up country specific format input to {{#time}} function
local dFormat = getDateFormat(datecode, day, lang)
-- By default the gramatical case is not specified (case=='') allowing the format to be specified
-- in [[Data:DateI18n.tab]]. You can overwrite the default grammatical case of the month by
-- specifying "case" variable. This is needed mostly by Slavic languages to create more complex
-- phrases as it is done in [[c:Module:Complex date]]
case = case or ''
if (lang=='qu' or lang=='qug') and (case=='nom') then
-- Special case related to Quechua and Kichwa languages. The form in the I18n is
-- Genitive case with suffix "pi" added to month names provided by {#time}}
-- in Nominative case that "pi" should be removed
-- see https://commons.wikimedia.org/wiki/Template_talk:Date#Quechua from 2014
dFormat = dFormat:gsub('F"pi"', 'F')
elseif (case=='gen') then
dFormat = strReplace(dFormat, "F", "xg")
elseif (case=='nom') then
dFormat = strReplace(dFormat, "xg", "F")
elseif (case ~= '') then
-- see is page [[Data:I18n/MonthCases.tab]] on Commons have name of the month
-- in specific gramatic case in desired language. If we have it than replace
-- "F" and xg" in dFormat
local monthMsg = MonthCase(month, case, lang)
if monthMsg and monthMsg ~= '' then -- make sure it exists
dFormat = strReplace(dFormat, 'F', '"'..monthMsg..'"') -- replace default month with month name we already looked up
dFormat = strReplace(dFormat, 'xg', '"'..monthMsg..'"')
end
end
-- Translate the date using specified format
-- See https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.language:formatDate and
-- https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##time for explanation of the format
local datestr = mw.language.new(lang):formatDate( dFormat, timeStamp) -- same as using {{#time}} parser function
-- Special case related to Thai solar calendar: prior to 1940 new-year was at different
-- time of year, so just year (datecode=='Y') is ambiguous and is replaced by "YYYY or YYYY" phrase
if lang=='th' and datecode=='Y' and year<=1940 then
datestr = string.format('%04i หรือ %04i', year+542, year+543 )
end
-- If year<1000 than either keep the date padded to the length of 4 digits or trim it
-- decide if the year will stay padded with zeros (for years in 0-999 range)
if year and year<1000 then
if type(trim_year)=='nil' then
trim_year = '100-999'
end
local trim = yesno(trim_year,nil) -- convert to boolean
if trim==nil and type(trim_year)=='string' then
-- if "trim_year" not a simple True/False than it is range of dates
-- for example '100-999' means to pad one and 2 digit years to be 4 digit long, while keeping 3 digit years as is
local YMin, YMax = trim_year:match( '(%d+)-(%d+)' )
trim = (YMin~=nil and year>=tonumber(YMin) and year<=tonumber(YMax))
end
if trim==true then
datestr = trimYear(datestr, year, lang) -- in datestr replace long year with trimmed one
end
end
-- append timezone if present
if datenum[7] and (datecode == 'YMDHMS' or datecode == 'YMDHM') then
-- use {{#time}} parser function to create timezone string, so that we use correct character set
local sign = (datenum[7]<0) and '−' or '+'
timeStamp = string.format("2000-01-01 %02i:%02i:00", math.abs(datenum[7]), datenum[8] or 0)
local timezone = mw.language.new(lang):formatDate( 'H:i', timeStamp) -- same as using {{#time}} parser function
datestr = string.format("%s %s%s", datestr, sign, timezone )
end
-- html formating and tagging of date string
if class and class ~= '' and datecode~='M' and datecode~='MD'then
local DateHtmlTags = '<span style="white-space:nowrap"><time class="%s" datetime="%s">%s</time></span>'
datestr = DateHtmlTags:format(class, timeStamp, datestr)
end
return datestr
end
--[[ ========================================================================================
Date
This function is the core part of the ISOdate template.
Usage:
{{#invoke:DateI18n|Date|year=|month=|day=|hour=|minute=|second=|tzhour=|tzmin=|lang=en}}
Parameters:
* year, month, day, hour, minute, second: broken down date-time component strings
* tzhour, tzmin: timezone offset from UTC, hours and minutes
* lang: The language to display it in
* case: Language format (genitive, etc.) for some languages
* class: CSS class for the <time> node, use "" for no metadata at all
]]
function p.Date(frame)
local args = {}
for name, value in pairs( frame.args ) do
name = string.gsub( string.lower(name), ' ', '_')
args[name] = value
end
return p._Date(
{ args.year, args.month, args.day, args.hour, args.minute, args.second, args.tzhour, args.tzmin },
args.lang, -- language
args.case, -- allows to specify grammatical case for the month for languages that use them
args.class or 'dtstart', -- allows to set the html class of the time node where the date is included. This is useful for microformats.
args.trim_year or '100-999' -- by default pad one and 2 digit years to be 4 digit long, while keeping 3 digit years as is
)
end
return p
lcwmkh5p6iicle9dw7qzn6d8j6xkduv
Módulo:Check for conflicting parameters
828
7203
70388
2026-04-25T03:56:52Z
Exec8
6243
Pájina foun: 'local p = {} local function trim(s) return s:match('^%s*(.-)%s*$') end local function isnotempty(s) return s and s:match('%S') end function p.check(frame) local args = frame.args local pargs = frame:getParent().args local checknested = isnotempty(args['nested']) local delimiter = isnotempty(args['delimiter']) and args['delimiter'] or ';' local argpairs = {} for k, v in pairs(args) do if type(k) == 'number' then local plist = mw.text.split(v, delimiter) l...'
70388
Scribunto
text/plain
local p = {}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
local checknested = isnotempty(args['nested'])
local delimiter = isnotempty(args['delimiter']) and args['delimiter'] or ';'
local argpairs = {}
for k, v in pairs(args) do
if type(k) == 'number' then
local plist = mw.text.split(v, delimiter)
local pfound = {}
local count = 0
for ii, vv in ipairs(plist) do
vv = trim(vv)
if checknested and pargs[vv] or isnotempty(pargs[vv]) then
count = count + 1
table.insert(pfound, vv)
end
end
if count > 1 then
table.insert(argpairs, pfound)
end
end
end
local warnmsg = {}
local res = ''
local cat = ''
if args['cat'] and mw.ustring.match(args['cat'],'^[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]:') then
cat = args['cat']
end
local template = args['template'] and ' in ' .. args['template'] or ''
if #argpairs > 0 then
for i, v in ipairs( argpairs ) do
table.insert(
warnmsg,
mw.ustring.format(
'Using more than one of the following parameters%s: <code>%s</code>.',
template,
table.concat(v, '</code>, <code>')
)
)
if cat ~= '' then
res = res .. '[[' .. cat .. '|' .. (v[1] == '' and ' ' or '') .. v[1] .. ']]'
end
end
end
if #warnmsg > 0 then
res = require('Module:If preview')._warning({
table.concat(warnmsg, '<br>')
}) .. res
end
return res
end
return p
59n770hna40q9pw4oa0dsp86euaks0u
Módulo:ParameterCount
828
7204
70389
2026-04-25T03:57:17Z
Exec8
6243
Pájina foun: '-- This module produces a count of all the arguments passed to it. local yesno = require('Module:Yesno') -- Trim a string local function trim(s) return s:match('^%s*(.-)%s*$') end -- Test whether a string is blank local function isBlank(s) return not s:find('%S') end -- Tests whether a string is a valid positional key, and if so, returns it. If -- the key is invalid, this returns nil. local function isPositionalKey(s) s = trim(s) if s:find('^[1-9][0-9]*$') then ret...'
70389
Scribunto
text/plain
-- This module produces a count of all the arguments passed to it.
local yesno = require('Module:Yesno')
-- Trim a string
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
-- Test whether a string is blank
local function isBlank(s)
return not s:find('%S')
end
-- Tests whether a string is a valid positional key, and if so, returns it. If
-- the key is invalid, this returns nil.
local function isPositionalKey(s)
s = trim(s)
if s:find('^[1-9][0-9]*$') then
return tonumber(s)
end
end
-- Return the count of all arguments for which testFunc returns a truthy value.
local function count(args, testFunc)
local ret = 0
for key, val in pairs(args) do
if testFunc(key, val) then
ret = ret + 1
end
end
return ret
end
-- Check shared arguments and get the parent argument count.
local function main(frame, testFunc)
local blankifiedTestFunc
if yesno(frame.args.checkblanks) ~= false then
-- Extend the test function to check for blanks as well.
blankifiedTestFunc = function (key, val)
if not isBlank(val) then
return testFunc(key, val)
end
end
else
blankifiedTestFunc = testFunc
end
return count(frame:getParent().args, blankifiedTestFunc)
end
return {
-- Called with {{#invoke:ParameterCount|all}}
-- All specified parameters are counted, even those not supported by the
-- template.
all = function (frame)
return main(frame, function () return true end)
end,
-- Called with {{#invoke:ParameterCount|main}}
-- Users can specify a list of parameters to check, and a list of Lua
-- Ustring patterns to check each parameter against.
main = function (frame)
local args = frame.args
local keys, patterns = {}, {}
-- Get key list
for i, key in ipairs(args) do
local positionalKey = isPositionalKey(key)
if positionalKey then
keys[positionalKey] = true
else
keys[trim(key)] = true
end
end
-- Get patterns
do
local function getPattern(i)
local pattern = args['pattern' .. tostring(i)]
if pattern and pattern ~= '' then
return pattern
end
end
local i = 1
local pattern = getPattern(i)
while pattern do
patterns[i] = pattern
i = i + 1
pattern = getPattern(i)
end
end
-- Construct the test function
local testFunc = function (key, val)
if keys[key] then
return true
end
for i, pattern in ipairs(patterns) do
if mw.ustring.find(tostring(key), pattern) then
return true
end
end
return false
end
return main(frame, testFunc)
end
}
bo1vhgb6r7zni8qgcvzfnnphlmq92ml
Módulo:Settlement short description
828
7205
70390
2026-04-25T03:57:39Z
Exec8
6243
Pájina foun: '--generates auto short description for use in infobox settlement local p = {} p.categories = "" local plain = require('Module:Plain text')._main local getArgs = require('Module:Arguments').getArgs local tableTools = require ('Module:TableTools') function p.reverseTable (init) init[1], init[3] = init[3], init[1] return init end function p.assign (args, argname, num) local val local var = {} for i = 0,num do --handle initial "subdivision_foo" without number if i ==...'
70390
Scribunto
text/plain
--generates auto short description for use in infobox settlement
local p = {}
p.categories = ""
local plain = require('Module:Plain text')._main
local getArgs = require('Module:Arguments').getArgs
local tableTools = require ('Module:TableTools')
function p.reverseTable (init)
init[1], init[3] = init[3], init[1]
return init
end
function p.assign (args, argname, num)
local val
local var = {}
for i = 0,num do
--handle initial "subdivision_foo" without number
if i == 0 then
val = ""
else
val = tostring(i)
end
var[i+1] = p.validate(plain(args[argname..val]))
end
return var
end
--Display short description using {{short description}}
function p.shortdesc(text, frame)
return frame:expandTemplate{title = 'Short description', args = {text, 'noreplace'}}
end
function p.category (cattype)
local category = string.format('[[Category:Pages using infobox settlement with bad %s]]', cattype)
if category then p.categories = p.categories..category end --categorize
end
--sanity and other checks
function p.validate (parameter, cat)
if not parameter then return nil end
parameter = parameter:gsub('%b()', '') --remove things in brackets as extraneous information
:gsub('%s+', ' ') --fix possible extra spaces from previous cleanup
:gsub('^%s+', '') --trim spaces from beginning
:gsub('%s+$', '') --trim spaces from end
if parameter:match("[,;]") or not parameter:match("%a") then --must have some letters, ignore if multiple types/subdivisions
if cat then p.category (cat) end
return nil
end
if (parameter == "") then return nil end
return parameter
end
--removes redundancy like "England, United Kingdom" and fixes issues like "Foo in United States" (to "Foo in the United States")
--also used in Module:Type in location
function p.cleanupLoc (location)
if location == "" then return nil end
local replacements = {
["England, United Kingdom"] = "England",
["Scotland, United Kingdom"] = "Scotland",
["Wales, United Kingdom"] = "Wales",
["New York City, New York, United States"] = "New York City",
["^United States$"] = "the United States",
["London, United Kingdom"] = "London, England"
}
for i, v in pairs(replacements) do
location = location:gsub(i, v) --series of replacements
end
return location
end
function p.main(frame)
local categories = ""
local subdivision_types = {}
local subdivision_names = {}
local args = getArgs (frame, {parentOnly = true})
local settlement_type = p.validate(plain(args.settlement_type or args.type), "settlement type") or "Place"
local short_description = plain(args.short_description)
subdivision_types = p.assign(args, "subdivision_type", 2)
subdivision_names = p.assign(args, "subdivision_name", 2)
if short_description then
if (short_description == 'no') then
return
else
local language = mw.language.getContentLanguage()
return p.shortdesc(language:ucfirst(short_description), frame)
end
end
if not(subdivision_names[3] and
(string.find(settlement_type, '[nN]eighbo[u]?rhood') or string.find(settlement_type, '[sS]uburb'))) then
subdivision_names[3] = nil --display the third subdivision_type only if suburb or neighborhood
end
--if say "Voivodeship" is found within the subdivision_type, then specially handle
--by adding Voivodeship to the end if not already present
for x, y in ipairs (subdivision_types) do
local special_types = {
"Voivodeship"
}
for i, j in ipairs(special_types) do
if subdivision_names[x] and string.find(y, j, 1, true)
and not string.find(subdivision_names[x], j, 1, true) then
subdivision_names[x] = subdivision_names[x].." "..j
end
end
end
for x, y in ipairs (subdivision_names) do
if y then
if string.find(settlement_type, y, 1, true) then --if the subdivision is found within the settlement type
subdivision_names[x] = nil --don't display redundancy
p.category ("settlement type")
end
if y == mw.title.getCurrentTitle().text then --if the title is the same as one of the subdivision_names
subdivision_names[x] = nil --don't display redundancy
end
end
end
local location = table.concat(tableTools.compressSparseArray(p.reverseTable(subdivision_names)), ', ')
location = p.cleanupLoc (location)
if location then location = " in " .. location else location = "" end
local language = mw.language.getContentLanguage()
return p.shortdesc(language:ucfirst(settlement_type..location), frame)..p.categories
end
return p
sdmmtzi7bcwz6i491hq96btdkaj2hrz
Módulo:Plain text
828
7206
70393
2026-04-25T04:02:25Z
Exec8
6243
Pájina foun: '--converts text with wikilinks to plain text, e.g "[[foo|gah]] is [[bar]]" to "gah is bar" --removes anything enclosed in tags that isn't nested, mediawiki strip markers (references etc), files, italic and bold markup require[[strict]] local p = {} function p.main(frame) local text = frame.args[1] local encode = require('Module:yesno')(frame.args.encode) return p._main(text, encode) end function p._main(text, encode) if not text then return end text = mw.text.killMark...'
70393
Scribunto
text/plain
--converts text with wikilinks to plain text, e.g "[[foo|gah]] is [[bar]]" to "gah is bar"
--removes anything enclosed in tags that isn't nested, mediawiki strip markers (references etc), files, italic and bold markup
require[[strict]]
local p = {}
function p.main(frame)
local text = frame.args[1]
local encode = require('Module:yesno')(frame.args.encode)
return p._main(text, encode)
end
function p._main(text, encode)
if not text then return end
text = mw.text.killMarkers(text)
:gsub(' ', ' ') --replace nbsp spaces with regular spaces
:gsub('<br ?/?>', ', ') --replace br with commas
:gsub('<span.->(.-)</span>', '%1') --remove spans while keeping text inside
:gsub('<i.->(.-)</i>', '%1') --remove italics while keeping text inside
:gsub('<b.->(.-)</b>', '%1') --remove bold while keeping text inside
:gsub('<em.->(.-)</em>', '%1') --remove emphasis while keeping text inside
:gsub('<strong.->(.-)</strong>', '%1') --remove strong while keeping text inside
:gsub('<sub.->(.-)</sub>', '%1') --remove subscript markup; retain contents
:gsub('<sup.->(.-)</sup>', '%1') --remove superscript markup; retain contents
:gsub('<u.->(.-)</u>', '%1') --remove underline markup; retain contents
:gsub('<.->.-<.->', '') --strip out remaining tags and the text inside
:gsub('<.->', '') --remove any other tag markup
:gsub('%[%[%s*[Ff][Ii][Ll][Ee]%s*:.-%]%]', '') --strip out files
:gsub('%[%[%s*[Ii][Mm][Aa][Gg][Ee]%s*:.-%]%]', '') --strip out use of image:
:gsub('%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:.-%]%]', '') --strip out categories
:gsub('%[%[[^%]]-|', '') --strip out piped link text
:gsub('([^%[])%[[^%[%]][^%]]-%s', '%1') --strip out external link text
:gsub('^%[[^%[%]][^%]]-%s', '') --strip out external link text
:gsub('[%[%]]', '') --then strip out remaining [ and ]
:gsub("'''''", "") --strip out bold italic markup
:gsub("'''?", "") --not stripping out '''' gives correct output for bolded text in quotes
:gsub('%-%-%-%-+', '') --remove ---- lines
:gsub("^%s+", "") --strip leading
:gsub("%s+$", "") --and trailing spaces
:gsub("%s+", " ") --strip redundant spaces
if encode then
return mw.text.encode(text)
else
return text
end
end
return p
hoter5uo4etb5wdwstjvk8cajoqttvl
Template:Short description
10
7207
70394
2026-04-25T04:03:16Z
Exec8
6243
Pájina foun: '{{#ifeq:{{lc:{{{1|}}}}}|none|{{SHORTDESC:|{{{2|}}}}}<nowiki/><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 10...'
70394
wikitext
text/x-wiki
{{#ifeq:{{lc:{{{1|}}}}}|none|{{SHORTDESC:|{{{2|}}}}}<nowiki/><!--Prevents whitespace issues when used with adjacent newlines-->|<div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}</div>}}<includeonly>{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description]]}}}}}}</includeonly><!-- Start tracking
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using short description with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Short description]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}<!--
-->{{#ifexpr: {{#invoke:String|len|{{{1|}}}}}>100 | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}<!--
--><includeonly>{{#if:{{{1|}}}||[[Category:Pages with empty short description]]}}</includeonly><!--
-->{{Short description/lowercasecheck|{{{1|}}}}}<!--
-->{{Main other |{{SDcat |sd={{{1|}}} }} }}<noinclude>
{{Documentation}}
</noinclude>
kneamzwadjt95irj9gnv7bocpjuw4uz
Template:Short description/lowercasecheck
10
7208
70395
2026-04-25T04:03:32Z
Exec8
6243
Pájina foun: '{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1 |<!-- first character is a lower case letter; test against whitelist -->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist--> |c. <!--for circa--> |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --> |#default=<!-- apply categ...'
70395
wikitext
text/x-wiki
{{#ifeq:<!--test first character for lower-case letter-->{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1
|<!-- first character is a lower case letter; test against whitelist
-->{{#switch: {{First word|{{{1|}}}}}<!--begin whitelist-->
|c. <!--for circa-->
|gTLD
|iMac
|iOS
|iOS,
|iPad
|iPhone
|iTunes
|macOS
|none
|pH
|pH-dependent=<!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing -->
|#default=<!-- apply category to track lower-case short descriptions -->{{main other|[[Category:Pages with lower-case short description|{{trim|{{{1|}}}}}]]}}{{Testcases other|{{red|CATEGORY APPLIED}}}}<!-- end whitelist test -->}}
|<!-- short description does not start with lower-case letter; do nothing; end lower-case test -->
}}<noinclude>
{{documentation}}
</noinclude>
i1e9w8d3rdcgxtws9nvbvfopq7y0nnk
Template:Pagetype
10
7209
70396
2026-04-25T04:04:20Z
Exec8
6243
Pájina foun: '{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noinclude>'
70396
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:pagetype|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
lljnsh3xa96oyrio8us1qbonct9sq7b
Template:SDcat
10
7210
70397
2026-04-25T04:04:34Z
Exec8
6243
Pájina foun: '<includeonly>{{#invoke:SDcat |setCat}}</includeonly><noinclude> {{documentation}} </noinclude>'
70397
wikitext
text/x-wiki
<includeonly>{{#invoke:SDcat |setCat}}</includeonly><noinclude>
{{documentation}}
</noinclude>
gejktck2ca8vfelabmrprhfecoxzlpi
Módulo:Pagetype
828
7211
70398
2026-04-25T04:04:59Z
Exec8
6243
Pájina foun: '-------------------------------------------------------------------------------- -- -- -- This meta-module which automatically detects namespaces, and allows -- -- for a great deal of customisation. It can easily be ported to other -- -- wikis by changing the values in the [[Module:Pagetype/config]]. -- --...'
70398
Scribunto
text/plain
--------------------------------------------------------------------------------
-- --
-- This meta-module which automatically detects namespaces, and allows --
-- for a great deal of customisation. It can easily be ported to other --
-- wikis by changing the values in the [[Module:Pagetype/config]]. --
-- --
--------------------------------------------------------------------------------
-- Load config.
local cfg = mw.loadData('Module:Pagetype/config')
-- Load required modules.
local yesno = require('Module:Yesno')
local p = {}
-- Look up a namespace argument in the args table.
local function lookUpNamespaceArg(args, key)
local arg = args[key]
-- Convert "yes", "1" etc. to true, "no", "0" etc. to false, and leave
-- other values the same.
return yesno(arg, arg)
end
-- Append multiple values to an array
local function appendMultiple(target, source)
for _, value in ipairs(source) do
table.insert(target, value)
end
end
-- Get argument keys for a title's namespace
local function getNamespaceArgKeys(title)
local nsInfo = mw.site.namespaces[title.namespace]
local customAliases = cfg.customNamespaceAliases[title.namespace] or {}
local keys = {}
if nsInfo.name ~= '' then
table.insert(keys, nsInfo.name)
end
if nsInfo.canonicalName ~= nsInfo.name and nsInfo.canonicalName ~= '' then
table.insert(keys, nsInfo.canonicalName)
end
appendMultiple(keys, nsInfo.aliases)
appendMultiple(keys, customAliases)
return keys
end
-- Get the argument for a title's namespace, if it was specified in the args table.
local function getNamespaceArg(title, args)
if title.isTalkPage then
return lookUpNamespaceArg(args, cfg.talk)
end
for _, key in ipairs(getNamespaceArgKeys(title)) do
local arg = lookUpNamespaceArg(args, mw.ustring.lower(key))
if arg ~= nil then
return arg
end
end
return nil
end
-- Look up a page type specific to the title's namespace
local function getExplicitPageType(title)
if title.isTalkPage then
return cfg.talkDefault
else
return cfg.pagetypes[title.namespace]
end
end
-- Get a default page type that is not specific to the title's namespace
local function getDefaultPageType(args)
local other = lookUpNamespaceArg(args, cfg.other)
if type(other) == 'string' then
return other
else
return cfg.otherDefault
end
end
local function detectRedirects(title, args)
local redirect = lookUpNamespaceArg(args, cfg.redirect)
if redirect == false then
-- Don't detect redirects if they have been specifically disallowed.
return nil
end
-- Allow custom values for redirects.
if not title.isRedirect then
return nil
elseif type(redirect) == 'string' then
return redirect
else
return cfg.redirectDefault
end
end
local function capitalize(pageType)
local first = mw.ustring.sub(pageType, 1, 1)
local rest = mw.ustring.sub(pageType, 2)
return mw.ustring.upper(first) .. rest
end
local function pluralize(pageType)
if cfg.irregularPlurals[pageType] then
return cfg.irregularPlurals[pageType]
else
return pageType .. cfg.plural -- often 's'
end
end
local function parseContent(title, args, optionsList)
if title.namespace==828 and title.subpageText~='doc' -- don't detect modules
or not title.exists -- can't check unless page exists
then
return nil
end
local content = title:getContent()
if content == nil then
return nil
end
local templates -- lazily evaluated
for _, options in next, optionsList do
local list, parameter, default, articleOnly = unpack(options, 1, 4)
if not articleOnly or title.namespace==0 then -- only check for templates if we should...
local out = lookUpNamespaceArg(args, parameter)
if type(out) == "string" or (out ~= false and default) then -- ...and if we actually have anything to say about them
if not templates then
templates = {} -- do our delayed evaluation now that we are required to
content = require('Module:Wikitext Parsing').PrepareText(content) -- disregard templates which do not have any affect
for template in string.gmatch(content, "{{%s*([^|}]-)%s*[|}]") do
templates[#templates+1] = capitalize(template)
end
end
local wantedTemplates = mw.loadData('Module:Pagetype/' .. list)
local templateFound = false
for _, template in next, templates do
if wantedTemplates[template] then
templateFound = true
break
end
end
if templateFound then
if type(out)=='string' then
return out
elseif out ~= false and default then
return default
end
end
end
end
end
end
-- Find pages which do not exist
local function nonExistent(title, args)
local arg = lookUpNamespaceArg(args, cfg.ne)
if arg == false then
return nil
end
local exists = false
if title.exists then -- not an article if it does not exist
exists = true
elseif title.namespace==8 and mw.message.new(title.text):exists() then
exists = true
elseif title.namespace==6 and title.fileExists then
exists = true
end
if not exists then
if type(arg) == 'string' then
return arg
else
return cfg.naDefault
end
end
end
-- Get page types for mainspaces pages with an explicit class specified
local function getMainNamespaceClassPageType(title, args)
local class = args[1]
if type(class) == 'string' then -- Put in lower case so e.g. "na" and "NA" will both match
class = mw.ustring.lower(class)
end
local arg = lookUpNamespaceArg(args, cfg.na)
if arg == false then -- don't check for this class if it is specifically disallowed
return nil
end
if cfg.naAliases[class] then
if type(arg) == 'string' then
return arg
else
return cfg.naDefault
end
else
return nil
end
end
-- Get page type specified by an explicit namespace argument.
local function getNamespaceArgPageType(title, args)
local namespaceArg = getNamespaceArg(title, args)
if namespaceArg == true then
-- Namespace has been explicitly enabled, so return the default for
-- this namespace
return getExplicitPageType(title)
elseif namespaceArg == false then
-- Namespace has been explicitly disabled
return getDefaultPageType(args)
elseif namespaceArg then
-- This namespaces uses custom text
return namespaceArg
else
return nil
end
end
-- Get page type not specified or detected by other means
local function getOtherPageType(title, args)
-- Whether the title is in the set of default active namespaces which are looked up in cfg.pagetypes.
local isInDefaultActiveNamespace = false
local defaultNamespacesKey = args[cfg.defaultns]
if defaultNamespacesKey == cfg.defaultnsAll then
isInDefaultActiveNamespace = true
else
local defaultNamespaces
if defaultNamespacesKey == cfg.defaultnsExtended then
defaultNamespaces = cfg.extendedNamespaces
elseif defaultNamespacesKey == cfg.defaultnsNone then
defaultNamespaces = {}
else
defaultNamespaces = cfg.defaultNamespaces
end
isInDefaultActiveNamespace = defaultNamespaces[title.namespace]
end
if isInDefaultActiveNamespace then
return getExplicitPageType(title)
else
return getDefaultPageType(args)
end
end
function p._main(args)
local title
if args.page then
title = mw.title.new(args.page)
else
title = mw.title.getCurrentTitle()
end
if title and not yesno(args.talk, true) and args[cfg.defaultns] ~= cfg.defaultnsAll then
title = title.subjectPageTitle
end
local pageType = detectRedirects(title, args)
or nonExistent(title, args)
or parseContent(title, args, {
{'softredirect', cfg.softRedirect, cfg.softRedirectDefault},
{'setindex', cfg.sia, cfg.siaDefault, true},
{'disambiguation', cfg.dab, cfg.dabDefault, true},
{'rfd', cfg.rfd, cfg.rfdDefault},
})
or (title.namespace == 0 and getMainNamespaceClassPageType(title, args))
or getNamespaceArgPageType(title, args)
or getOtherPageType(title, args)
if yesno(args.plural, false) then
pageType = pluralize(pageType)
end
if yesno(args.caps, false) then
pageType = capitalize(pageType)
end
return pageType
end
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame)
return p._main(args)
end
return p
nqu0kvn2uc9jqptetkmoluzmahcxzzp
Módulo:SDcat
828
7212
70399
2026-04-25T04:05:14Z
Exec8
6243
Pájina foun: '--[[ SDcat Module to check whether local short description matches that on Wikidata --]] local p = {} ------------------------------------------------------------------------------- --[[ setCat has the qid of a Wikidata entity passed as |qid= (it defaults to the associated qid of the current article if omitted) and the local short description passed as |sd= It returns a category if there is an associated Wikidata entity. It returns one of the following tracking categories,...'
70399
Scribunto
text/plain
--[[
SDcat
Module to check whether local short description matches that on Wikidata
--]]
local p = {}
-------------------------------------------------------------------------------
--[[
setCat has the qid of a Wikidata entity passed as |qid=
(it defaults to the associated qid of the current article if omitted)
and the local short description passed as |sd=
It returns a category if there is an associated Wikidata entity.
It returns one of the following tracking categories, as appropriate:
* Category:Short description matches Wikidata (case-insensitive)
* Category:Short description is different from Wikidata
* Category:Short description with empty Wikidata description
For testing purposes, a link prefix |lp= may be set to ":" to make the categories visible.
--]]
-- function exported for use in other modules
-- (local short description, Wikidata entity-ID, link prefix)
p._setCat = function(sdesc, itemID, lp)
if not mw.wikibase then return nil end
if itemID == "" then itemID = nil end
-- Wikidata description field
local wdesc = (mw.wikibase.getDescription(itemID) or ""):lower()
if wdesc == "" then
return "[[" .. lp .. "Category:Short description with empty Wikidata description]]"
elseif wdesc == sdesc then
return "[[" .. lp .. "Category:Short description matches Wikidata]]"
else
return "[[" .. lp .. "Category:Short description is different from Wikidata]]"
end
end
-- function exported for call from #invoke
p.setCat = function(frame)
local args
if frame.args.sd then
args = frame.args
else
args = frame:getParent().args
end
-- local short description
local sdesc = mw.text.trim(args.sd or ""):lower()
-- Wikidata entity-ID
local itemID = mw.text.trim(args.qid or "")
-- link prefix, strip quotes
local lp = mw.text.trim(args.lp or ""):gsub('"', '')
return p._setCat(sdesc, itemID, lp)
end
return p
cml06m2kvz7og9bi5f1xe6ylhi3d9a0
Módulo:Pagetype/config
828
7213
70400
2026-04-25T04:07:10Z
Exec8
6243
Pájina foun: '-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line. -------------------------------------------------------------------------------- -- Start...'
70400
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Module:Pagetype configuration data --
-- This page holds localisation and configuration data for Module:Pagetype. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Start configuration data --
--------------------------------------------------------------------------------
-- This table holds the default page types for each namespace. Keys to this
-- table should be integers that can be used as keys to mw.site.namespaces.
cfg.pagetypes = {
[0] = 'article', -- Main namespace
[2] = 'user page',
[4] = 'project page',
[6] = 'file',
[8] = 'interface page', -- MediaWiki namespace
[10] = 'template',
[12] = 'help page',
[14] = 'category',
[100] = 'portal',
[118] = 'draft',
[126] = 'MOS page',
[710] = 'Timed Text page',
[828] = 'module',
[1728] = 'event page',
[2300] = 'gadget',
[2302] = 'gadget definition',
[-1] = 'special page',
[-2] = 'file', -- Media namespace
}
-- This table holds the namespaces to be looked up from cfg.pagetypes by
-- default.
cfg.defaultNamespaces = {
[0] = true, -- main
[6] = true, -- file
[10] = true, -- template
[14] = true, -- category
[828] = true, -- module
}
-- This table holds the namespaces to be looked up from cfg.pagetypes if
-- cfg.defaultnsExtended is set.
cfg.extendedNamespaces = {
[0] = true, -- main
[2] = true, -- user
[4] = true, -- project
[6] = true, -- file
[8] = true, -- mediawiki
[10] = true, -- template
[12] = true, -- help
[14] = true, -- category
[100] = true, -- portal
[118] = true, -- draft
[828] = true, -- module
}
-- This table holds custom aliases for each namespace.
cfg.customNamespaceAliases = {
[0] = {'main'},
}
-- The parameter name to set which default namespace values to be looked up from
-- cfg.pagetypes.
cfg.defaultns = 'defaultns'
-- The value of cfg.defaultns to set all namespaces, including talk.
cfg.defaultnsAll = 'all'
-- The value of cfg.defaultns to set the namespaces listed in
-- cfg.extendedNamespaces
cfg.defaultnsExtended = 'extended'
-- The value of cfg.defaultns to set no default namespaces.
cfg.defaultnsNone = 'none'
-- The parameter name to use for talk pages.
cfg.talk = 'talk'
-- The default value for talk pages.
cfg.talkDefault = 'talk page'
-- The parameter name to use for disambiguation pages page.
cfg.dab = 'dab'
-- The parameter name to use for non-existent pages.
cfg.ne = 'nonexistent'
cfg.neDefault = 'page'
cfg.softRedirect = 'soft_redirect'
cfg.softRedirectDefault = 'redirect'
cfg.sia = 'sia'
cfg.siaDefault = 'article'
cfg.rfd = 'redirect'
cfg.rfdDefault = 'redirect'
-- This table holds the different possible aliases for disambiguation-class
-- pages. These should be lower-case.
cfg.dabAliases = {
['disambiguation'] = true,
['disambig'] = true,
['disamb'] = true,
['dab'] = true,
}
-- The default value for disambiguation pages.
cfg.dabDefault = 'page'
-- The parameter name to use for N/A-class page.
cfg.na = 'na'
-- This table holds the different possible aliases for N/A-class pages. These
-- should be lower-case.
cfg.naAliases = {
['na'] = true,
['n/a'] = true,
}
-- The default value for N/A-class pages.
cfg.naDefault = 'page'
-- The parameter name to use for redirects.
cfg.redirect = 'redirect'
-- The default value to use for redirects.
cfg.redirectDefault = 'redirect'
-- The parameter name for undefined namespaces.
cfg.other = 'other'
-- The value used if the module detects an undefined namespace.
cfg.otherDefault = 'page'
-- The usual suffix denoting a plural.
cfg.plural = 's'
-- This table holds plurals not formed by a simple suffix.
cfg.irregularPlurals = {
["category"] = "categories"
}
--------------------------------------------------------------------------------
-- End configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line
dbot8rq8sjl2bypo7kiymiyo4gxz08i
Módulo:Wikitext Parsing
828
7214
70401
2026-04-25T04:08:11Z
Exec8
6243
Pájina foun: 'require("strict") --Helper functions local function startswith(text, subtext) return string.sub(text, 1, #subtext) == subtext end local function endswith(text, subtext) return string.sub(text, -#subtext, -1) == subtext end local function allcases(s) return s:gsub("%a", function(c) return "["..c:upper()..c:lower().."]" end) end local trimcache = {} local whitespace = {[" "]=1, ["\n"]=1, ["\t"]=1, ["\r"]=1} local function cheaptrim(str) --mw.text.trim is surprisingly e...'
70401
Scribunto
text/plain
require("strict")
--Helper functions
local function startswith(text, subtext)
return string.sub(text, 1, #subtext) == subtext
end
local function endswith(text, subtext)
return string.sub(text, -#subtext, -1) == subtext
end
local function allcases(s)
return s:gsub("%a", function(c)
return "["..c:upper()..c:lower().."]"
end)
end
local trimcache = {}
local whitespace = {[" "]=1, ["\n"]=1, ["\t"]=1, ["\r"]=1}
local function cheaptrim(str) --mw.text.trim is surprisingly expensive, so here's an alternative approach
local quick = trimcache[str]
if quick then
return quick
else
-- local out = string.gsub(str, "^%s*(.-)%s*$", "%1")
local lowEnd
local strlen = #str
for i = 1,strlen do
if not whitespace[string.sub(str, i, i)] then
lowEnd = i
break
end
end
if not lowEnd then
trimcache[str] = ""
return ""
end
for i = strlen,1,-1 do
if not whitespace[string.sub(str, i, i)] then
local out = string.sub(str, lowEnd, i)
trimcache[str] = out
return out
end
end
end
end
--[=[ Implementation notes
---- NORMAL HTML TAGS ----
Tags are very strict on how they want to start, but loose on how they end.
The start must strictly follow <[tAgNaMe](%s|>) with no room for whitespace in
the tag's name, but may then flow as they want afterwards, making
<div\nclass\n=\n"\nerror\n"\n> valid
There's no sense of escaping < or >
E.g.
<div class="error\>"> will end at \> despite it being inside a quote
<div class="<span class="error">error</span>"> will not process the larger div
If a tag has no end, it will consume all text instead of not processing
---- NOPROCESSING TAGS (nowiki, pre, syntaxhighlight, source, etc.) ----
(In most comments, <source> will not be mentioned. This is because it is the
deprecated version of <syntaxhighlight>)
No-Processing tags have some interesting differences to the above rules.
For example, their syntax is a lot stricter. While an opening tag appears to
follow the same set of rules, A closing tag can't have any sort of extra
formatting period. While </div a/a> is valid, </nowiki a/a> isn't - only
newlines and spaces/tabs are allowed in closing tags.
Note that, even though <pre> tags cause a visual change when the ending tag has
extra formatting, it won't cause the no-processing effects. For some reason, the
format must be strict for that to apply.
Both the content inside the tag pair and the content inside each side of the
pair is not processed. E.g. <nowiki |}}>|}}</nowiki> would have both of the |}}
escaped in practice.
When something in the code is referenced to as a "Nowiki Tag", it means a tag
which causes wiki text to not be processed, which includes <nowiki>, <pre>,
and <syntaxhighlight>
Since we only care about these tags, we can ignore the idea of an intercepting
tag preventing processing, and just go straight for the first ending we can find
If there is no ending to find, the tag will NOT consume the rest of the text in
terms of processing behaviour (though <pre> will appear to have an effect).
Even if there is no end of the tag, the content inside the opening half will
still be unprocessed, meaning {{X20|<nowiki }}>}} wouldn't end at the first }}
despite there being no ending to the tag.
Note that there are some tags, like <math>, which also function like <nowiki>
which are included in this aswell. Some other tags, like <ref>, have far too
unpredictable behaviour to be handled currently (they'd have to be split and
processed as something seperate - its complicated, but maybe not impossible.)
I suspect that every tag listed in [[Special:Version]] may behave somewhat like
this, but that's far too many cases worth checking for rarely used tags that may
not even have a good reason to contain {{ or }} anyways, so we leave them alone.
---- HTML COMMENTS AND INCLUDEONLY ----
HTML Comments are about as basic as it could get for this
Start at <!--, end at -->, no extra conditions. Simple enough
If a comment has no end, it will eat all text instead of not being processed
includeonly tags function mostly like a regular nowiki tag, with the exception
that the tag will actually consume all future text if not given an ending as
opposed to simply giving up and not changing anything. Due to complications and
the fact that this is far less likely to be present on a page, aswell as being
something that may not want to be escaped, includeonly tags are ignored during
our processing
--]=]
local validtags = {nowiki=1, pre=1, syntaxhighlight=1, source=1, math=1}
--This function expects the string to start with the tag
local function TestForNowikiTag(text, scanPosition)
local tagName = (string.match(text, "^<([^\n />]+)", scanPosition) or ""):lower()
if not validtags[tagName] then
return nil
end
local nextOpener = string.find(text, "<", scanPosition+1) or -1
local nextCloser = string.find(text, ">", scanPosition+1) or -1
if nextCloser > -1 and (nextOpener == -1 or nextCloser < nextOpener) then
local startingTag = string.sub(text, scanPosition, nextCloser)
--We have our starting tag (E.g. '<pre style="color:red">')
--Now find our ending...
if endswith(startingTag, "/>") then --self-closing tag (we are our own ending)
return {
Tag = tagName,
Start = startingTag,
Content = "", End = "",
Length = #startingTag
}
else
local endingTagStart, endingTagEnd = string.find(text, "</"..allcases(tagName).."[ \t\n]*>", scanPosition)
if endingTagStart then --Regular tag formation
local endingTag = string.sub(text, endingTagStart, endingTagEnd)
local tagContent = string.sub(text, nextCloser+1, endingTagStart-1)
return {
Tag = tagName,
Start = startingTag,
Content = tagContent,
End = endingTag,
Length = #startingTag + #tagContent + #endingTag
}
else --Content inside still needs escaping (also linter error!)
return {
Tag = tagName,
Start = startingTag,
Content = "", End = "",
Length = #startingTag
}
end
end
end
return nil
end
local function TestForComment(text, scanPosition) --Like TestForNowikiTag but for <!-- -->
if string.match(text, "^<!%-%-", scanPosition) then
local commentEnd = string.find(text, "-->", scanPosition+4, true)
if commentEnd then
return {
Start = "<!--", End = "-->",
Content = string.sub(text, scanPosition+4, commentEnd-1),
Length = commentEnd-scanPosition+3
}
else --Consumes all text if not given an ending
return {
Start = "<!--", End = "",
Content = string.sub(text, scanPosition+4),
Length = #text-scanPosition+1
}
end
end
return nil
end
--[[ Implementation notes
The goal of this function is to escape all text that wouldn't be parsed if it
was preprocessed (see above implementation notes).
Using keepComments will keep all HTML comments instead of removing them. They
will still be escaped regardless to avoid processing errors
--]]
local function PrepareText(text, keepComments)
local newtext = {}
local scanPosition = 1
while true do
local NextCheck = string.find(text, "<[NnSsPpMm!]", scanPosition) --Advance to the next potential tag we care about
if not NextCheck then --Done
newtext[#newtext+1] = string.sub(text,scanPosition)
break
end
newtext[#newtext+1] = string.sub(text,scanPosition,NextCheck-1)
scanPosition = NextCheck
local Comment = TestForComment(text, scanPosition)
if Comment then
if keepComments then
newtext[#newtext+1] = Comment.Start .. mw.text.nowiki(Comment.Content) .. Comment.End
end
scanPosition = scanPosition + Comment.Length
else
local Tag = TestForNowikiTag(text, scanPosition)
if Tag then
local newTagStart = "<" .. mw.text.nowiki(string.sub(Tag.Start,2,-2)) .. ">"
local newTagEnd =
Tag.End == "" and "" or --Respect no tag ending
"</" .. mw.text.nowiki(string.sub(Tag.End,3,-2)) .. ">"
local newContent = mw.text.nowiki(Tag.Content)
newtext[#newtext+1] = newTagStart .. newContent .. newTagEnd
scanPosition = scanPosition + Tag.Length
else --Nothing special, move on...
newtext[#newtext+1] = string.sub(text, scanPosition, scanPosition)
scanPosition = scanPosition + 1
end
end
end
return table.concat(newtext, "")
end
--[=[ Implementation notes
This function is an alternative to Transcluder's getParameters which considers
the potential for a singular { or } or other odd syntax that %b doesn't like to
be in a parameter's value.
When handling the difference between {{ and {{{, mediawiki will attempt to match
as many sequences of {{{ as possible before matching a {{
E.g.
{{{{A}}}} -> { {{{A}}} }
{{{{{{{{Text|A}}}}}}}} -> {{ {{{ {{{Text|A}}} }}} }}
If there aren't enough triple braces on both sides, the parser will compromise
for a template interpretation.
E.g.
{{{{A}} }} -> {{ {{ A }} }}
While there are technically concerns about things such as wikilinks breaking
template processing (E.g. {{[[}}]]}} doesn't stop at the first }}), it shouldn't
be our job to process inputs perfectly when the input has garbage ({ / } isn't
legal in titles anyways, so if something's unmatched in a wikilink, it's
guaranteed GIGO)
Setting dontEscape will prevent running the input text through EET. Avoid
setting this to true if you don't have to set it.
Returned values:
A table of all templates. Template data goes as follows:
Text: The raw text of the template
Name: The name of the template
Args: A list of arguments
Children: A list of immediate template children
--]=]
--Helper functions
local function boundlen(pair)
return pair.End-pair.Start+1
end
--Main function
local function ParseTemplates(InputText, dontEscape)
--Setup
if not dontEscape then
InputText = PrepareText(InputText)
end
local function finalise(text)
if not dontEscape then
return mw.text.decode(text)
else
return text
end
end
local function CreateContainerObj(Container)
Container.Text = {}
Container.Args = {}
Container.ArgOrder = {}
Container.Children = {}
-- Container.Name = nil
-- Container.Value = nil
-- Container.Key = nil
Container.BeyondStart = false
Container.LastIndex = 1
Container.finalise = finalise
function Container:HandleArgInput(character, internalcall)
if not internalcall then
self.Text[#self.Text+1] = character
end
if character == "=" then
if self.Key then
self.Value[#self.Value+1] = character
else
self.Key = cheaptrim(self.Value and table.concat(self.Value, "") or "")
self.Value = {}
end
else --"|" or "}"
if not self.Name then
self.Name = cheaptrim(self.Value and table.concat(self.Value, "") or "")
self.Value = nil
else
self.Value = self.finalise(self.Value and table.concat(self.Value, "") or "")
if self.Key then
self.Key = self.finalise(self.Key)
self.Args[self.Key] = cheaptrim(self.Value)
self.ArgOrder[#self.ArgOrder+1] = self.Key
else
local Key = tostring(self.LastIndex)
self.Args[Key] = self.Value
self.ArgOrder[#self.ArgOrder+1] = Key
self.LastIndex = self.LastIndex + 1
end
self.Key = nil
self.Value = nil
end
end
end
function Container:AppendText(text, ftext)
self.Text[#self.Text+1] = (ftext or text)
if not self.Value then
self.Value = {}
end
self.BeyondStart = self.BeyondStart or (#table.concat(self.Text, "") > 2)
if self.BeyondStart then
self.Value[#self.Value+1] = text
end
end
function Container:Clean(IsTemplate)
self.Text = table.concat(self.Text, "")
if self.Value and IsTemplate then
self.Value = {string.sub(table.concat(self.Value, ""), 1, -3)} --Trim ending }}
self:HandleArgInput("|", true) --Simulate ending
end
self.Value = nil
self.Key = nil
self.BeyondStart = nil
self.LastIndex = nil
self.finalise = nil
self.HandleArgInput = nil
self.AppendText = nil
self.Clean = nil
end
return Container
end
--Step 1: Find and escape the content of all wikilinks on the page, which are stronger than templates (see implementation notes)
local scannerPosition = 1
local wikilinks = {}
local openWikilinks = {}
while true do
local Position, _, Character = string.find(InputText, "([%[%]])%1", scannerPosition)
if not Position then --Done
break
end
scannerPosition = Position+2 --+2 to pass the [[ / ]]
if Character == "[" then --Add a [[ to the pending wikilink queue
openWikilinks[#openWikilinks+1] = Position
else --Pair up the ]] to any available [[
if #openWikilinks >= 1 then
local start = table.remove(openWikilinks) --Pop the latest [[
wikilinks[start] = {Start=start, End=Position+1, Type="Wikilink"} --Note the pair
end
end
end
--Step 2: Find the bounds of every valid template and variable ({{ and {{{)
local scannerPosition = 1
local templates = {}
local variables = {}
local openBrackets = {}
while true do
local Start, _, Character = string.find(InputText, "([{}])%1", scannerPosition)
if not Start then --Done (both 9e9)
break
end
local _, End = string.find(InputText, "^"..Character.."+", Start)
scannerPosition = Start --Get to the {{ / }} set
if Character == "{" then --Add the {{+ set to the queue
openBrackets[#openBrackets+1] = {Start=Start, End=End}
else --Pair up the }} to any available {{, accounting for {{{ / }}}
local BracketCount = End-Start+1
while BracketCount >= 2 and #openBrackets >= 1 do
local OpenSet = table.remove(openBrackets)
if boundlen(OpenSet) >= 3 and BracketCount >= 3 then --We have a {{{variable}}} (both sides have 3 spare)
variables[OpenSet.End-2] = {Start=OpenSet.End-2, End=scannerPosition+2, Type="Variable"} --Done like this to ensure chronological order
BracketCount = BracketCount - 3
OpenSet.End = OpenSet.End - 3
scannerPosition = scannerPosition + 3
else --We have a {{template}} (both sides have 2 spare, but at least one side doesn't have 3 spare)
templates[OpenSet.End-1] = {Start=OpenSet.End-1, End=scannerPosition+1, Type="Template"} --Done like this to ensure chronological order
BracketCount = BracketCount - 2
OpenSet.End = OpenSet.End - 2
scannerPosition = scannerPosition + 2
end
if boundlen(OpenSet) >= 2 then --Still has enough data left, leave it in
openBrackets[#openBrackets+1] = OpenSet
end
end
end
scannerPosition = End --Now move past the bracket set
end
--Step 3: Re-trace every object using their known bounds, collecting our parameters with (slight) ease
local scannerPosition = 1
local activeObjects = {}
local finalObjects = {}
while true do
local LatestObject = activeObjects[#activeObjects] --Commonly needed object
local NNC, _, Character --NNC = NextNotableCharacter
if LatestObject then
NNC, _, Character = string.find(InputText, "([{}%[%]|=])", scannerPosition)
else
NNC, _, Character = string.find(InputText, "([{}])", scannerPosition) --We are only after templates right now
end
if not NNC then
break
end
if NNC > scannerPosition and LatestObject then
local scannedContent = string.sub(InputText, scannerPosition, NNC-1)
LatestObject:AppendText(scannedContent, finalise(scannedContent))
end
scannerPosition = NNC+1
if Character == "{" or Character == "[" then
local Container = templates[NNC] or variables[NNC] or wikilinks[NNC]
if Container then
CreateContainerObj(Container)
if Container.Type == "Template" then
Container:AppendText("{{")
scannerPosition = NNC+2
elseif Container.Type == "Variable" then
Container:AppendText("{{{")
scannerPosition = NNC+3
else --Wikilink
Container:AppendText("[[")
scannerPosition = NNC+2
end
if LatestObject and Container.Type == "Template" then --Only templates count as children
LatestObject.Children[#LatestObject.Children+1] = Container
end
activeObjects[#activeObjects+1] = Container
elseif LatestObject then
LatestObject:AppendText(Character)
end
elseif Character == "}" or Character == "]" then
if LatestObject then
LatestObject:AppendText(Character)
if LatestObject.End == NNC then
if LatestObject.Type == "Template" then
LatestObject:Clean(true)
finalObjects[#finalObjects+1] = LatestObject
else
LatestObject:Clean(false)
end
activeObjects[#activeObjects] = nil
local NewLatest = activeObjects[#activeObjects]
if NewLatest then
NewLatest:AppendText(LatestObject.Text) --Append to new latest
end
end
end
else --| or =
if LatestObject then
LatestObject:HandleArgInput(Character)
end
end
end
--Step 4: Fix the order
local FixedOrder = {}
local SortableReference = {}
for _,Object in next,finalObjects do
SortableReference[#SortableReference+1] = Object.Start
end
table.sort(SortableReference)
for i = 1,#SortableReference do
local start = SortableReference[i]
for n,Object in next,finalObjects do
if Object.Start == start then
finalObjects[n] = nil
Object.Start = nil --Final cleanup
Object.End = nil
Object.Type = nil
FixedOrder[#FixedOrder+1] = Object
break
end
end
end
--Finished, return
return FixedOrder
end
local p = {}
--Main entry points
p.PrepareText = PrepareText
p.ParseTemplates = ParseTemplates
--Extra entry points, not really required
p.TestForNowikiTag = TestForNowikiTag
p.TestForComment = TestForComment
return p
--[==[ console tests
local s = [=[Hey!{{Text|<nowiki | ||>
Hey! }}
A</nowiki>|<!--AAAAA|AAA-->Should see|Shouldn't see}}]=]
local out = p.PrepareText(s)
mw.logObject(out)
local s = [=[B<!--
Hey!
-->A]=]
local out = p.TestForComment(s, 2)
mw.logObject(out); mw.log(string.sub(s, 2, out.Length))
local a = p.ParseTemplates([=[
{{User:Aidan9382/templates/dummy
|A|B|C {{{A|B}}} { } } {
|<nowiki>D</nowiki>
|<pre>E
|F</pre>
|G|=|a=|A = [[{{PAGENAME}}|A=B]]{{Text|1==<nowiki>}}</nowiki>}}|A B=Success}}
]=])
mw.logObject(a)
]==]
1pc5nwfjm9r5mkdrg3s2ci608uixfb7
Módulo:Pagetype/softredirect
828
7215
70402
2026-04-25T04:08:39Z
Exec8
6243
Pájina foun: '-- This page contains a table of all soft redirect templates and their -- redirects. Templates names are capitalized, and the Template: prefix is -- removed. Templates are grouped with the main template first, followed by -- its redirects. return { ["R from category navigation"] = true, ["Redirect from category navigation"] = true, ["Category redirect"] = true, ["Cat move"] = true, ["Cat red"] = true, ["Cat redir"] = true, ["Cat redirect"] = true, ["Category move"]...'
70402
Scribunto
text/plain
-- This page contains a table of all soft redirect templates and their
-- redirects. Templates names are capitalized, and the Template: prefix is
-- removed. Templates are grouped with the main template first, followed by
-- its redirects.
return {
["R from category navigation"] = true,
["Redirect from category navigation"] = true,
["Category redirect"] = true,
["Cat move"] = true,
["Cat red"] = true,
["Cat redir"] = true,
["Cat redirect"] = true,
["Category move"] = true,
["Category Redirect"] = true,
["Categoryredirect"] = true,
["Catr"] = true,
["Catred"] = true,
["Catredir"] = true,
["Catredirect"] = true,
["R from template-generated category"] = true,
["Redirect from template-generated category"] = true,
["Portal soft redirect"] = true,
["Portal Redirect"] = true,
["Portal redirect"] = true,
["Portal Soft Redirect"] = true,
["Portalredirect"] = true,
["Portalsoftredirect"] = true,
["PortRed"] = true,
["Portred"] = true,
["Portsoftred"] = true,
["PSR"] = true,
["Psr"] = true,
["Soft portal redirect"] = true,
["Soft redirect portal"] = true,
["SPR"] = true,
["Spr"] = true,
["SRP"] = true,
["Srp"] = true,
["Salted redirect"] = true,
["Soft redirect"] = true,
["Interwiki redirect"] = true,
["Plain soft redirect"] = true,
["Soft"] = true,
["Soft link"] = true,
["Soft redir"] = true,
["Soft Redirect"] = true,
["Softr"] = true,
["Softredir"] = true,
["SoftRedirect"] = true,
["Softredirect"] = true,
["Userrename"] = true,
["Wikibooks redirect"] = true,
["WBOOK"] = true,
["Wbook"] = true,
["Wikibook redirect"] = true,
["Wikibooks Redirect"] = true,
["WikibooksRedirect"] = true,
["Wikibooksredirect"] = true,
["Wikimedia Commons redirect"] = true,
["COMM"] = true,
["Comm"] = true,
["Commons Redirect"] = true,
["Commons redirect"] = true,
["CommonsRedirect"] = true,
["Commonsredirect"] = true,
["Wikimedia commons redirect"] = true,
["Wikiquote redirect"] = true,
["Wq"] = true,
["Wikisource redirect"] = true,
["Wikispecies redirect"] = true,
["Wikispecies Redirect"] = true,
["WikispeciesRedirect"] = true,
["Wikispeciesredirect"] = true,
["WSPEC"] = true,
["Wspec"] = true,
["Wikivoyage redirect"] = true,
["Wiktionary redirect"] = true,
["Moved to Wiktionary"] = true,
["RedirecttoWiktionary"] = true,
["Wi"] = true,
["Wikt red"] = true,
["Wikt redirect"] = true,
["Wiktionary Redirect"] = true,
["Wiktionary-redirect"] = true,
["WiktionaryRedirect"] = true,
["Wiktionaryredirect"] = true,
["Wiktr"] = true,
["Wiktred"] = true,
["Wiktredir"] = true,
["Wtr"] = true,
["Wtsr"] = true,
}
krad2do3vq17ck777hpwdoaxr3vo5yt
Módulo:Pagetype/setindex
828
7216
70403
2026-04-25T04:09:04Z
Exec8
6243
Pájina foun: '-- This page contains a table of all set index templates and their -- redirects. Templates names are capitalized, and the Template: prefix is -- removed. Templates are grouped with the main template first, followed by -- its redirects. return { ["Set index article"] = true, ["Sia"] = true, ["Set index"] = true, ["SIA"] = true, ["Set-index"] = true, ["Setindex"] = true, ["Set-index article"] = true, ["Animal common name"] = true, ["Chemistry index"] = true,...'
70403
Scribunto
text/plain
-- This page contains a table of all set index templates and their
-- redirects. Templates names are capitalized, and the Template: prefix is
-- removed. Templates are grouped with the main template first, followed by
-- its redirects.
return {
["Set index article"] = true,
["Sia"] = true,
["Set index"] = true,
["SIA"] = true,
["Set-index"] = true,
["Setindex"] = true,
["Set-index article"] = true,
["Animal common name"] = true,
["Chemistry index"] = true,
["Chemdisambig"] = true,
["Chemistry disambiguation"] = true,
["Chemistry set index"] = true,
["Chemindex"] = true,
["Enzyme index"] = true,
["Fungus common name"] = true,
["Given name"] = true,
["First name"] = true,
["Forename"] = true,
["Greek myth index"] = true,
["Lake index"] = true,
["Lakeindex"] = true,
["Locomotive index"] = true,
["Media set index"] = true,
["Media index"] = true,
["Molecular formula index"] = true,
["MolFormDisambig"] = true,
["Molecular formula disambiguation"] = true,
["MolFormIndex"] = true,
["Mountain index"] = true,
["Mountainindex"] = true,
["Nickname"] = true,
["Painting index"] = true,
["Plant common name"] = true,
["River index"] = true,
["Road index"] = true,
["Roadindex"] = true,
["Ship index"] = true,
["Shipindex"] = true,
["Sport index"] = true,
["Sportindex"] = true,
["Storm index"] = true,
["Surname"] = true,
["Surnames"] = true,
["DisambigName"] = true,
["DisambigNm"] = true,
["DisambigN"] = true,
}
nn9l9r1pmrobxspg0rm1qgng5nzu19x
Módulo:Pagetype/disambiguation
828
7217
70404
2026-04-25T04:09:29Z
Exec8
6243
Pájina foun: '-- This page contains a table of all disambiguation templates and their -- redirects. Templates names are capitalized, and the Template: prefix is -- removed. Templates are grouped with the main template first, followed by -- its redirects. return { ["Disambiguation"] = true, ["Begriffsklärung"] = true, ["DAB"] = true, ["Dab"] = true, ["Dab page"] = true, ["Dabpage"] = true, ["Dbig"] = true, ["Dis"] = true, ["Disam"] = true, ["Disamb"] = true, ["Disambig"] = tru...'
70404
Scribunto
text/plain
-- This page contains a table of all disambiguation templates and their
-- redirects. Templates names are capitalized, and the Template: prefix is
-- removed. Templates are grouped with the main template first, followed by
-- its redirects.
return {
["Disambiguation"] = true,
["Begriffsklärung"] = true,
["DAB"] = true,
["Dab"] = true,
["Dab page"] = true,
["Dabpage"] = true,
["Dbig"] = true,
["Dis"] = true,
["Disam"] = true,
["Disamb"] = true,
["Disambig"] = true,
["Disambig misspelling"] = true,
["Disambig-plants"] = true,
["Disambiguation page"] = true,
["Manual of Style disambiguation"] = true,
["Meta disambig"] = true,
["MOS disambiguation"] = true,
["MoS disambiguation"] = true,
["Portal disambig"] = true,
["Portal disambiguation"] = true,
["Project disambiguation"] = true,
["Shortcut disambig"] = true,
["Wikipedia disambiguation"] = true,
["WP disambig"] = true,
["WP-disambig"] = true,
["Airport disambiguation"] = true,
["Airport disambig"] = true,
["Biology disambiguation"] = true,
["Call sign disambiguation"] = true,
["Callsigndis"] = true,
["Caselaw disambiguation"] = true,
["Case law disambiguation"] = true,
["Chinese title disambiguation"] = true,
["Chinese title disambig"] = true,
["CJKVdab"] = true,
["Disambig-Chinese-char-title"] = true,
["Disambiguation cleanup"] = true,
["Cleanup disambig"] = true,
["Cleanup disambiguation"] = true,
["CleanupDisambig"] = true,
["Dab cleanup"] = true,
["Dab-cleanup"] = true,
["Dabclean"] = true,
["Disamb-cleanup"] = true,
["Disambcleanup"] = true,
["Disambig cleanup"] = true,
["Disambig-cleanup"] = true,
["Disambig-CU"] = true,
["Disambig-cu"] = true,
["Disambigcleanup"] = true,
["Disambiguate-cleanup"] = true,
["Disambiguation-cleanup"] = true,
["Geodis-cleanup"] = true,
["Disambiguation with potential"] = true,
["Disambiguation with possibilties"] = true,
["Genus disambiguation"] = true,
["Genus disambig"] = true,
["Greek letter organization disambiguation"] = true,
["GLO disambiguation"] = true,
["Hangul title disambiguation"] = true,
["Hospital disambiguation"] = true,
["Hospitaldis"] = true,
["Human name disambiguation"] = true,
["Bio-dab"] = true,
["Hndab"] = true,
["HNDIS"] = true,
["HnDis"] = true,
["Hndis"] = true,
["Hndisambig"] = true,
["Human name dab"] = true,
["Name list"] = true,
["Personal name"] = true,
["Personal name disambiguation"] = true,
["Human name disambiguation cleanup"] = true,
["Hndis-cleanup"] = true,
["Personal name disambiguation cleanup"] = true,
["Hurricane season disambiguation"] = true,
["Letter–number combination disambiguation"] = true,
["Letter-Number Combination Disambiguation"] = true,
["Letter-Number combination disambiguation"] = true,
["Letter-number combination disambiguation"] = true,
["Letter-NumberCombDisambig"] = true,
["Letter-NumberCombdisambig"] = true,
["Letter-NumberCombinationDisambiguation"] = true,
["LNCD"] = true,
["Mathematical disambiguation"] = true,
["Math dab"] = true,
["Math disambiguation"] = true,
["Math-dab"] = true,
["Mathdab"] = true,
["Mathematics disambiguation"] = true,
["Maths disambiguation"] = true,
["Military unit disambiguation"] = true,
["Mil-unit-dis"] = true,
["Mil-unit-disambig"] = true,
["Music disambiguation"] = true,
["Music disambig"] = true,
["Number disambiguation"] = true,
["Numberdis"] = true,
["Numdab"] = true,
["Numdisambig"] = true,
["Opus number disambiguation"] = true,
["Phonetics disambiguation"] = true,
["Place name disambiguation"] = true,
["DisambigG"] = true,
["DisambigGeo"] = true,
["Disambiggeo"] = true,
["Geo-dis"] = true,
["Geodab"] = true,
["Geodis"] = true,
["Geodisambig"] = true,
["Geographic disambiguation"] = true,
["Geographical disambiguation"] = true,
["Pnd"] = true,
["Road disambiguation"] = true,
["Roaddis"] = true,
["School disambiguation"] = true,
["School disambig"] = true,
["Schooldab"] = true,
["Schooldis"] = true,
["Species Latin name abbreviation disambiguation"] = true,
["Species Latin name disambiguation"] = true,
["LatinNameDisambig"] = true,
["Species disambiguation"] = true,
["SpeciesLatinNameDisambig"] = true,
["Station disambiguation"] = true,
["Station dab"] = true,
["Synagogue disambiguation"] = true,
["Taxonomy disambiguation"] = true,
["Template disambiguation"] = true,
["Template ambiguous"] = true,
["Template dab"] = true,
["Template disambig"] = true,
["WoO number disambiguation"] = true,
}
120emfqmecg5jbyx2n1prgswwe275a0
Módulo:Pagetype/rfd
828
7218
70405
2026-04-25T04:10:00Z
Exec8
6243
Pájina foun: '-- This page contains a table of all RfD templates and their -- redirects. Templates names are capitalized, and the Template: prefix is -- removed. Templates are grouped with the main template first, followed by -- its redirects. return { -- Template forms (these should be substituted so we should rarely see these) ["Redirect for discussion"] = true, ["RFD"] = true, ["RfD"] = true, ["Rfd1"] = true, ["Rfd-t"] = true, ["Rfd"] = true, ["Rfd-NPF"] = true, ["Rfd-...'
70405
Scribunto
text/plain
-- This page contains a table of all RfD templates and their
-- redirects. Templates names are capitalized, and the Template: prefix is
-- removed. Templates are grouped with the main template first, followed by
-- its redirects.
return {
-- Template forms (these should be substituted so we should rarely see these)
["Redirect for discussion"] = true,
["RFD"] = true,
["RfD"] = true,
["Rfd1"] = true,
["Rfd-t"] = true,
["Rfd"] = true,
["Rfd-NPF"] = true,
["Rfd-NPF/core"] = true,
-- Module forms
["#invoke:RfD"] = true,
["<includeonly>safesubst:</includeonly>#invoke:RfD"] = true, -- The form made by substituting RfD
}
9dx0g2c8g863kg6hcwx1wgsou16k45p
Template:Shortdesc there
10
7219
70406
2026-04-25T04:11:25Z
Exec8
6243
Pájina foun: '<noinclude><!-- {{{1}}} is the description {{{2}}} sets noreplace {{{note}}} overrides default HTML comment (empty value or "none" suppresses it) --></noinclude><includeonly>{{subst:#if:{{{1|}}} |{{subst:includeonly|{{Short description|{{{1}}}{{subst:#switch:{{subst:lc:{{{2|}}}}} |noreplace |nr={{subst:!}}noreplace | }}}}}}{{subst:#if:{{{note|a}}} |{{subst:#ifeq:{{subst:lc:{{{note}}}}}|none | |{{subst:html comment...'
70406
wikitext
text/x-wiki
<noinclude><!--
{{{1}}} is the description
{{{2}}} sets noreplace
{{{note}}} overrides default HTML comment
(empty value or "none" suppresses it)
--></noinclude><includeonly>{{subst:#if:{{{1|}}}
|{{subst:includeonly|{{Short description|{{{1}}}{{subst:#switch:{{subst:lc:{{{2|}}}}}
|noreplace
|nr={{subst:!}}noreplace
|
}}}}}}{{subst:#if:{{{note|a}}}
|{{subst:#ifeq:{{subst:lc:{{{note}}}}}|none
|
|{{subst:html comment|{{{note|For transclusion only}}}}}}}
|}}
|}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
tg5kvmcbjx4ckl8ndrs29niyr0urs50
Template:Shortdesc here
10
7220
70407
2026-04-25T04:11:52Z
Exec8
6243
Pájina foun: '<noinclude><!-- {{{1}}} is the description {{{2}}} sets noreplace {{{note}}} overrides default HTML comment (empty value or "none" suppresses it) --></noinclude><includeonly>{{subst:#if:{{{1|}}} |{{subst:noinclude|{{Short description|{{{1}}}{{subst:#switch:{{subst:lc:{{{2|}}}}} |noreplace |nr={{subst:!}}noreplace | }}}}}}{{subst:#if:{{{note|a}}} |{{subst:#ifeq:{{subst:lc:{{{note}}}}}|none | |{{subst:html comment|{...'
70407
wikitext
text/x-wiki
<noinclude><!--
{{{1}}} is the description
{{{2}}} sets noreplace
{{{note}}} overrides default HTML comment
(empty value or "none" suppresses it)
--></noinclude><includeonly>{{subst:#if:{{{1|}}}
|{{subst:noinclude|{{Short description|{{{1}}}{{subst:#switch:{{subst:lc:{{{2|}}}}}
|noreplace
|nr={{subst:!}}noreplace
|
}}}}}}{{subst:#if:{{{note|a}}}
|{{subst:#ifeq:{{subst:lc:{{{note}}}}}|none
|
|{{subst:html comment|{{{note|For this page only}}}}}}}
|}}
|}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
keains07vtq9bqe2gz34cu8yngyvl1s
Template:User Short descriptions
10
7221
70408
2026-04-25T04:13:05Z
Exec8
6243
Pájina foun: '{{userbox | border-c = #bcbcac | id = [[File:Farm-Fresh quill.png]] | id-c = #f8f9f8 | info = This user is a participant in '''[[Wikipedia:WikiProject Short descriptions|WikiProject Short descriptions]]'''. | info-c = #f8f9f8 | usercategory = WikiProject Short descriptions participants | nocat = {{{nocat|}}} }}<noinclude> {{Documentation}} </noinclude>'
70408
wikitext
text/x-wiki
{{userbox
| border-c = #bcbcac
| id = [[File:Farm-Fresh quill.png]]
| id-c = #f8f9f8
| info = This user is a participant in '''[[Wikipedia:WikiProject Short descriptions|WikiProject Short descriptions]]'''.
| info-c = #f8f9f8
| usercategory = WikiProject Short descriptions participants
| nocat = {{{nocat|}}}
}}<noinclude>
{{Documentation}}
</noinclude>
tiqyzluppev0xvpdi377n1ly7lmkay3
Template:Pushpin map
10
7222
70409
2026-04-25T04:14:47Z
Exec8
6243
Redirecionamento para [[Template:Location map]]
70409
wikitext
text/x-wiki
#REDIRECT [[Template:Location map]]
{{redirect category shell|{{R nick}}{{R tsh}}}}
h1lybz01xpky4w5htuo7af91ki1eowd
Template:Documentação/nomedoc
10
7223
70411
2026-04-25T04:18:09Z
Exec8
6243
Pájina foun: '{{#switch: {{SUBPAGENAME}} |sandbox|testcases|teste|Testes={{ #rel2abs: ../doc }} |#default={{SUBJECTPAGENAME}}/doc }}<noinclude> [[Categoria:!Subpredefinições]] </noinclude>'
70411
wikitext
text/x-wiki
{{#switch: {{SUBPAGENAME}}
|sandbox|testcases|teste|Testes={{ #rel2abs: ../doc }}
|#default={{SUBJECTPAGENAME}}/doc
}}<noinclude>
[[Categoria:!Subpredefinições]]
</noinclude>
gbe2ho65x0kgsfjdu7q7fkzg8ffb6g4
Módulo:Convert/wikidata/data
828
7224
70415
2026-04-25T04:20:48Z
Exec8
6243
Pájina foun: '--[[ Cache of Wikidata information with units for Module:Convert. The codes should rarely change, and using a cache means that changing a unit at Wikidata will not cause lots of converts in articles to break. For a unit known to convert, the unit here must have: label = Wikidata label for unit (used only when listing units) ucode = unit code for input to convert (there are no optional fields because convert handles everything) For a unit not known to convert, the unit h...'
70415
Scribunto
text/plain
--[[ Cache of Wikidata information with units for Module:Convert.
The codes should rarely change, and using a cache means that changing a
unit at Wikidata will not cause lots of converts in articles to break.
For a unit known to convert, the unit here must have:
label = Wikidata label for unit (used only when listing units)
ucode = unit code for input to convert
(there are no optional fields because convert handles everything)
For a unit not known to convert, the unit here must have:
label = Wikidata label for unit (used only when listing units)
(no ucode field)
_ucode = unit code for input to convert, and the
symbol used to display the unit when abbr=on
(convert will use the specified fields to display the unit,
and will not attempt to do a conversion)
For a unit not known to convert, the unit here may have:
name1 = singular name used to display the unit when abbr=off
name2 = plural name used to display the unit when abbr=off
link = name of article that unit will be linked to when lk=on
si = key for the SI base unit, if any
The base unit for each SI unit here must have:
symbol = symbol used to display the base unit when abbr=on
name1 = singular name of base unit used to display the unit when abbr=off
(if name1 is not given, symbol will be used, but an SI unit should have a name)
The base unit for each SI unit here may have:
name2 = plural name of base unit used to display the unit when abbr=off
link = name of article that unit will be linked to when lk=on
(applies for all SI units using this base, where the
SI unit does not define its own link field)
If name1 is not specified, the symbol is used for the name.
If name2 is not specified, a plural name is formed by appending 's' to name1.
If link is not specified, name1 is used for the link.
SI units are assumed to be simple items like V (volt) where 'mV' would
cause convert to insert:
'm' before the base symbol 'V' to make 'mV', if abbr=on
'milli' before the base name 'volt' to make 'millivolt', if abbr=off
A unit like "square meter" would not work because it needs an SI prefix
inserted before "meter" rather than at the beginning of the name.
Items that should not be used with convert as no precise unit is implied:
Q11247037 ton generic (cannot use)
Q178413 gallon generic
Q130964 calorie dubious (ambiguous, should not use)
Q216658 bushel dubious
Q420266 fluid ounce dubious
]]
local wikidata_units = {
-- Following are SI base units.
A = {
symbol = 'A',
name1 = 'ampere',
},
F = {
symbol = 'F',
name1 = 'faraday',
},
H = {
symbol = 'H',
name1 = 'henry',
},
V = {
symbol = 'V',
name1 = 'volt',
},
-- Following are aliases to convert unit codes, used with "input=<value><space><unit>".
kilograms = {
ucode = 'kg',
},
-- Following are SI units not known to convert, used with "input=<value><space><unit>".
kV = {
ucode = 'kV',
si = 'V',
},
mV = {
ucode = 'mV',
si = 'V',
},
-- Following are Wikidata units.
Q131255 = {
label = 'farad',
_ucode = 'F',
si = 'F',
},
Q163354 = {
label = 'henry',
_ucode = 'H',
si = 'H',
},
Q1916026 = {
label = 'microvolt',
_ucode = 'uV',
si = 'V',
},
Q193933 = {
label = 'dioptre',
name1 = 'dioptre',
_ucode = 'dpt',
},
Q212120 = {
label = 'ampere hour',
name1 = 'ampere hour',
_ucode = 'A⋅h',
},
Q2448803 = {
label = 'millivolt',
_ucode = 'mV',
si = 'V',
},
Q2451296 = {
label = 'microfarad',
_ucode = 'uF',
si = 'F',
},
Q2490574 = {
label = 'milliampere',
_ucode = 'mA',
si = 'A',
},
Q25250 = {
label = 'volt',
_ucode = 'V',
si = 'V',
},
Q25272 = {
label = 'ampere',
_ucode = 'A',
si = 'A',
},
Q2553708 = {
label = 'megavolt',
_ucode = 'MV',
si = 'V',
},
Q2554092 = {
label = 'kilovolt',
_ucode = 'kV',
si = 'V',
},
Q2636421 = {
label = 'nanohenry',
_ucode = 'nH',
si = 'H',
},
Q2679083 = {
label = 'microhenry',
_ucode = 'uH',
si = 'H',
},
Q2682463 = {
label = 'nanofarad',
_ucode = 'nF',
si = 'F',
},
Q2756030 = {
label = 'picofarad',
_ucode = 'pF',
si = 'F',
},
Q2793566 = {
label = 'gigavolt',
_ucode = 'GV',
si = 'V',
},
Q2924137 = {
label = 'millihenry',
_ucode = 'mH',
si = 'H',
},
Q3117809 = {
label = 'microampere',
_ucode = 'uA',
si = 'A',
},
Q33680 = {
label = 'radian',
name1 = 'radian',
_ucode = 'rad',
},
Q4456994 = {
label = 'millifarad',
_ucode = 'mF',
si = 'F',
},
Q47083 = {
label = 'ohm',
name1 = 'ohm',
_ucode = 'Ω',
},
Q483261 = {
label = 'dalton',
name1 = 'dalton',
_ucode = 'u',
},
Q550341 = {
label = 'volt-ampere',
name1 = 'volt-ampere',
_ucode = 'VA',
},
Q100995 = {
label = 'pound',
ucode = 'lb',
},
Q1022113 = {
label = 'cubic centimetre',
ucode = 'cc',
},
Q102573 = {
label = 'becquerel',
ucode = 'Bq',
},
Q103246 = {
label = 'sievert',
ucode = 'Sv',
},
Q1050958 = {
label = 'inch of mercury',
ucode = 'inHg',
},
Q1051665 = {
label = 'metre per second squared',
ucode = 'm/s2',
},
Q1052397 = {
label = 'rad',
ucode = 'rad',
},
Q1054140 = {
label = 'megametre',
ucode = 'Mm',
},
Q1057069 = {
label = 'hectogram',
ucode = 'hg',
},
Q1063786 = {
label = 'square inch',
ucode = 'sqin',
},
Q1092296 = {
label = 'annum',
ucode = 'year',
},
Q11570 = {
label = 'kilogram',
ucode = 'kg',
},
Q11573 = {
label = 'metre',
ucode = 'm',
},
Q11574 = {
label = 'second',
ucode = 's',
},
Q11579 = {
label = 'kelvin',
ucode = 'K',
},
Q11582 = {
label = 'litre',
ucode = 'litre',
},
Q1165588 = {
label = 'rod',
ucode = 'rod',
},
Q1165799 = {
label = 'thou',
ucode = 'thou',
},
Q11776930 = {
label = 'megagram',
ucode = 'Mg',
},
Q11929860 = {
label = 'kiloparsec',
ucode = 'kpc',
},
Q1194225 = {
label = 'pound-force',
ucode = 'lbf',
},
Q12129 = {
label = 'parsec',
ucode = 'pc',
},
Q12438 = {
label = 'newton',
ucode = 'N',
},
Q1255620 = {
label = 'dram',
ucode = 'drachm',
},
Q12874593 = {
label = 'watt-hour',
ucode = 'W.h',
},
Q128822 = {
label = 'knot',
ucode = 'kn',
},
Q1374438 = {
label = 'kilosecond',
ucode = 'ks',
},
Q1377051 = {
label = 'gigasecond',
ucode = 'Gs',
},
Q14754979 = {
label = 'zettagram',
ucode = 'Zg',
},
Q14786969 = {
label = 'megajoule',
ucode = 'MJ',
},
Q14787261 = {
label = 'megawatt hour',
ucode = 'MW.h',
},
Q1550511 = {
label = 'square yard',
ucode = 'sqyd',
},
Q160857 = {
label = 'metric horsepower',
ucode = 'hp',
},
Q1628990 = {
label = 'horsepower-hour',
ucode = 'hph',
},
Q163343 = {
label = 'tesla',
ucode = 'T',
},
Q1645498 = {
label = 'microgram',
ucode = 'ug',
},
Q17087835 = {
label = 'cuerda',
ucode = 'cda',
},
Q174728 = {
label = 'centimetre',
ucode = 'cm',
},
Q174789 = {
label = 'millimetre',
ucode = 'mm',
},
Q175821 = {
label = 'micrometre',
ucode = 'um',
},
Q1770733 = {
label = 'teragram',
ucode = 'Tg',
},
Q1772386 = {
label = 'decigram',
ucode = 'dg',
},
Q177493 = {
label = 'gauss',
ucode = 'G',
},
Q1777507 = {
label = 'femtosecond',
ucode = 'fs',
},
Q177974 = {
label = 'standard atmosphere',
ucode = 'atm',
},
Q178674 = {
label = 'nanometre',
ucode = 'nm',
},
Q180154 = {
label = 'kilometre per hour',
ucode = 'km/h',
},
Q180892 = {
label = 'solar mass',
ucode = 'solar mass',
},
Q1811 = {
label = 'astronomical unit',
ucode = 'au',
},
Q1815100 = {
label = 'centilitre',
ucode = 'cl',
},
Q182098 = {
label = 'kilowatt hour',
ucode = 'kW.h',
},
Q1823150 = {
label = 'microwatt',
ucode = 'uW',
},
Q182429 = {
label = 'metre per second',
ucode = 'm/s',
},
Q1826195 = {
label = 'decilitre',
ucode = 'dl',
},
Q185078 = {
label = 'are',
ucode = 'a',
},
Q185153 = {
label = 'erg',
ucode = 'erg',
},
Q185648 = {
label = 'torr',
ucode = 'Torr',
},
Q190095 = {
label = 'gray',
ucode = 'Gy',
},
Q191118 = {
label = 'tonne',
ucode = 'tonne',
},
Q1913097 = {
label = 'femtogram',
ucode = 'fg',
},
Q192274 = {
label = 'picometre',
ucode = 'pm',
},
Q1972579 = {
label = 'poundal',
ucode = 'pdl',
},
Q200323 = {
label = 'decimetre',
ucode = 'dm',
},
Q201933 = {
label = 'dyne',
ucode = 'dyn',
},
Q2029519 = {
label = 'hectolitre',
ucode = 'hl',
},
Q2051195 = {
label = 'gigawatt hour',
ucode = 'GW.h',
},
Q207488 = {
label = 'Rankine scale',
ucode = 'R',
},
Q208788 = {
label = 'femtometre',
ucode = 'fm',
},
Q2101 = {
label = 'elementary charge',
ucode = 'e',
},
Q21014455 = {
label = 'metre per minute',
ucode = 'm/min',
},
Q21062777 = {
label = 'megapascal',
ucode = 'MPa',
},
Q21064807 = {
label = 'kilopascal',
ucode = 'kPa',
},
Q211256 = {
label = 'mile per hour',
ucode = 'mph',
},
Q21178489 = {
label = 'barrels per day',
ucode = 'oilbbl/d',
},
Q2143992 = {
label = 'kilohertz',
ucode = 'kHz',
},
Q21467992 = {
label = 'cubic foot per second',
ucode = 'cuft/s',
},
Q215571 = {
label = 'newton metre',
ucode = 'Nm',
},
Q216795 = {
label = 'dunam',
ucode = 'dunam',
},
Q216880 = {
label = 'kilogram-force',
ucode = 'kgf',
},
Q18413919 = {
label = 'centimetre per second',
ucode = 'cm/s',
},
Q218593 = {
label = 'inch',
ucode = 'in',
},
Q2282891 = {
label = 'microlitre',
ucode = 'ul',
},
Q2282906 = {
label = 'nanogram',
ucode = 'ng',
},
Q229354 = {
label = 'curie',
ucode = 'Ci',
},
Q232291 = {
label = 'square mile',
ucode = 'sqmi',
},
Q2332346 = {
label = 'millilitre',
ucode = 'ml',
},
Q23387 = {
label = 'week',
ucode = 'week',
},
Q23823681 = {
label = 'terawatt',
ucode = 'TW',
},
Q23925410 = {
label = 'gallon (UK)',
ucode = 'impgal',
},
Q23925413 = {
label = 'gallon (US)',
ucode = 'USgal',
},
Q2438073 = {
label = 'attogram',
ucode = 'ag',
},
Q2474258 = {
label = 'millisievert',
ucode = 'mSv',
},
Q2483628 = {
label = 'attosecond',
ucode = 'as',
},
Q2489298 = {
label = 'square centimetre',
ucode = 'cm2',
},
Q2518569 = {
label = 'nanosievert',
ucode = 'nSv',
},
Q25235 = {
label = 'hour',
ucode = 'h',
},
Q25236 = {
label = 'watt',
ucode = 'W',
},
Q25267 = {
label = 'degree Celsius',
ucode = 'C',
},
Q25269 = {
label = 'joule',
ucode = 'J',
},
Q253276 = {
label = 'mile',
ucode = 'mi',
},
Q25343 = {
label = 'square metre',
ucode = 'm2',
},
Q25406 = {
label = 'coulomb',
ucode = 'coulomb',
},
Q25517 = {
label = 'cubic metre',
ucode = 'm3',
},
Q260126 = {
label = 'Roentgen equivalent man',
ucode = 'rem',
},
Q2612219 = {
label = 'petagram',
ucode = 'Pg',
},
Q2619500 = {
label = 'foe',
ucode = 'foe',
},
Q2637946 = {
label = 'decalitre',
ucode = 'dal',
},
Q2655272 = {
label = 'exagram',
ucode = 'Eg',
},
Q2691798 = {
label = 'centigram',
ucode = 'cg',
},
Q2739114 = {
label = 'microsievert',
ucode = 'uSv',
},
Q2799294 = {
label = 'gigagram',
ucode = 'Gg',
},
Q3013059 = {
label = 'kiloannum',
ucode = 'millennium',
},
Q305896 = {
label = 'dots per inch',
ucode = 'dpi',
},
Q3207456 = {
label = 'milliwatt',
ucode = 'mW',
},
Q3221356 = {
label = 'yoctometre',
ucode = 'ym',
},
Q3239557 = {
label = 'picogram',
ucode = 'pg',
},
Q3241121 = {
label = 'milligram',
ucode = 'mg',
},
Q3267417 = {
label = 'terametre',
ucode = 'Tm',
},
Q3270676 = {
label = 'zeptometre',
ucode = 'zm',
},
Q3276763 = {
label = 'gigahertz',
ucode = 'GHz',
},
Q3277907 = {
label = 'exametre',
ucode = 'Em',
},
Q3277915 = {
label = 'zettametre',
ucode = 'Zm',
},
Q3277919 = {
label = 'petametre',
ucode = 'Pm',
},
Q3312063 = {
label = 'femtolitre',
ucode = 'fl',
},
Q3320608 = {
label = 'kilowatt',
ucode = 'kW',
},
Q3332822 = {
label = 'megaton of TNT',
ucode = 'Mt(TNT)',
},
Q35852 = {
label = 'hectare',
ucode = 'ha',
},
Q3675550 = {
label = 'cubic millimetre',
ucode = 'mm3',
},
Q3710 = {
label = 'foot',
ucode = 'ft',
},
Q3773454 = {
label = 'megaparsec',
ucode = 'Mpc',
},
Q3902688 = {
label = 'picolitre',
ucode = 'pl',
},
Q3902709 = {
label = 'picosecond',
ucode = 'ps',
},
Q39369 = {
label = 'hertz',
ucode = 'Hz',
},
Q3972226 = {
label = 'kilolitre',
ucode = 'kl',
},
Q4068266 = {
label = "apothecaries' drachm",
ucode = 'drachm',
},
Q41803 = {
label = 'gram',
ucode = 'g',
},
Q4220561 = {
label = 'kilometre per second',
ucode = 'km/s',
},
Q42289 = {
label = 'degree Fahrenheit',
ucode = 'F',
},
Q4243638 = {
label = 'cubic kilometre',
ucode = 'km3',
},
Q44395 = {
label = 'pascal',
ucode = 'Pa',
},
Q48013 = {
label = 'ounce',
ucode = 'oz',
},
Q482798 = {
label = 'yard',
ucode = 'yd',
},
Q4989854 = {
label = 'kilojoule',
ucode = 'kJ',
},
Q4992853 = {
label = 'kiloton of TNT',
ucode = 'kt(TNT)',
},
Q5139563 = {
label = 'hectopascal',
ucode = 'hPa',
},
Q5151 = {
label = 'month',
ucode = 'month',
},
Q531 = {
label = 'light-year',
ucode = 'ly',
},
Q5465723 = {
label = 'foot-poundal',
ucode = 'ftpdl',
},
Q573 = {
label = 'day',
ucode = 'd',
},
Q577 = {
label = 'year',
ucode = 'year',
},
Q5879479 = {
label = 'gigawatt',
ucode = 'GW',
},
Q6003257 = {
label = 'attometre',
ucode = 'am',
},
Q613726 = {
label = 'yottagram',
ucode = 'Yg',
},
Q6170164 = {
label = 'yoctogram',
ucode = 'yg',
},
Q667419 = {
label = 'long ton',
ucode = 'LT',
},
Q673166 = {
label = 'gravity of Earth',
ucode = 'g0',
},
Q693944 = {
label = 'grain',
ucode = 'gr',
},
Q6982035 = {
label = 'megawatt',
ucode = 'MW',
},
Q712226 = {
label = 'square kilometre',
ucode = 'km2',
},
Q723733 = {
label = 'millisecond',
ucode = 'ms',
},
Q732454 = {
label = 'megaannum',
ucode = 'Myr',
},
Q732707 = {
label = 'megahertz',
ucode = 'MHz',
},
Q752079 = {
label = 'gross register ton',
ucode = 'grt',
},
Q752197 = {
label = 'kilojoule per mole',
ucode = 'kJ/mol',
},
Q7727 = {
label = 'minute',
ucode = 'min',
},
Q794261 = {
label = 'cubic metre per second',
ucode = 'm3/s',
},
Q809678 = {
label = 'barye',
ucode = 'Ba',
},
Q81292 = {
label = 'acre',
ucode = 'acre',
},
Q81454 = {
label = 'ångström',
ucode = 'angstrom',
},
Q828224 = {
label = 'kilometre',
ucode = 'km',
},
Q83327 = {
label = 'electronvolt',
ucode = 'eV',
},
Q838801 = {
label = 'nanosecond',
ucode = 'ns',
},
Q842015 = {
label = 'microsecond',
ucode = 'us',
},
Q844211 = {
label = 'kilogram per cubic metre',
ucode = 'kg/m3',
},
Q844338 = {
label = 'hectometre',
ucode = 'hm',
},
Q844976 = {
label = 'oersted',
ucode = 'Oe',
},
Q848856 = {
label = 'decametre',
ucode = 'dam',
},
Q854546 = {
label = 'gigametre',
ucode = 'Gm',
},
Q857027 = {
label = 'square foot',
ucode = 'sqft',
},
Q9048643 = {
label = 'nanolitre',
ucode = 'nl',
},
Q93318 = {
label = 'nautical mile',
ucode = 'nmi',
},
}
return { wikidata_units = wikidata_units }
e0oadhpk55nehxq8r0iliggv562by3a
Template:Thinsp
10
7225
70416
2026-04-25T04:21:17Z
Exec8
6243
Pájina foun: '<span style="white-space: nowrap;">{{#if:{{{1|}}}|{{#if:{{{2|}}}|| }}}}{{{1|}}} <!-- -->{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}| {{{3}}}}}<!-- -->{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}| {{{5}}}}}<!-- -->{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}| {{{7}}}}}<!-- -->{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}| {{{9}}}}}<!-- -->{{#if:{{{10|}}}| {{{10}}}}}</span><noinclude> {{Documentation}} <!-- Please add categorie...'
70416
wikitext
text/x-wiki
<span style="white-space: nowrap;">{{#if:{{{1|}}}|{{#if:{{{2|}}}|| }}}}{{{1|}}} <!--
-->{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}| {{{3}}}}}<!--
-->{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}| {{{5}}}}}<!--
-->{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}| {{{7}}}}}<!--
-->{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}| {{{9}}}}}<!--
-->{{#if:{{{10|}}}| {{{10}}}}}</span><noinclude>
{{Documentation}}
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
b3t8ug596s2nqqnys55o7tsr76dnm00
Template:PH wikidata/regionlink
10
7226
70417
2026-04-25T04:21:56Z
Exec8
6243
Pájina foun: '{{<includeonly>safesubst:</includeonly>#switch:{{{1}}} | NCR | Metro Manila | National Capital Region = [[Metro Manila|National Capital Region]] | I | Ilocos Region = [[Ilocos Region]] | CAR | Cordillera Administrative Region = [[Cordillera Administrative Region]] | II | Cagayan Valley = [[Cagayan Valley]] | III | Central Luzon = [[Central Luzon]] | IV-A | CALABARZON | Calabarzon = [[Calabarzon]] | IV-B | MIMAROPA | Mimaropa = [[Mimaropa]] | V | Bicol Region = Bicol Region...'
70417
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#switch:{{{1}}}
| NCR | Metro Manila | National Capital Region = [[Metro Manila|National Capital Region]]
| I | Ilocos Region = [[Ilocos Region]]
| CAR | Cordillera Administrative Region = [[Cordillera Administrative Region]]
| II | Cagayan Valley = [[Cagayan Valley]]
| III | Central Luzon = [[Central Luzon]]
| IV-A | CALABARZON | Calabarzon = [[Calabarzon]]
| IV-B | MIMAROPA | Mimaropa = [[Mimaropa]]
| V | Bicol Region = [[Bicol Region]]
| VI | Western Visayas = [[Western Visayas]]
| NIR | Negros Island Region | = [[Negros Island Region]]
| VII | Central Visayas = [[Central Visayas]]
| VIII | Eastern Visayas = [[Eastern Visayas]]
| IX | Zamboanga Peninsula = [[Zamboanga Peninsula]]
| X | Northern Mindanao = [[Northern Mindanao]]
| XI | Davao Region = [[Davao Region]]
| XII | SOCCSKSARGEN | Soccsksargen = [[Soccsksargen]]
| XIII | Caraga = [[Caraga]]
| BARMM | Bangsamoro | Bangsamoro Autonomous Region = [[Bangsamoro|Bangsamoro Autonomous Region in Muslim Mindanao]]
| #default = {{{1|}}}
}}
l5x66pl2ay16gfs676eaf7g008v7vjj
Template:Coord
10
7227
70418
2026-04-25T04:22:18Z
Exec8
6243
Pájina foun: '<includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude> {{Documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>'
70418
wikitext
text/x-wiki
<includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
0o7lasvhdxe29mlczlsmvzkvka0kscy
Template:Areacodestyle
10
7228
70419
2026-04-25T04:22:36Z
Exec8
6243
Pájina foun: '{{nowrap|[[International direct dialing|IDD]]{{thin space}}:{{thin space|[[Telephone numbers in the Philippines|area code]]}}}}<noinclude> [[Category:Philippines templates]] </noinclude>'
70419
wikitext
text/x-wiki
{{nowrap|[[International direct dialing|IDD]]{{thin space}}:{{thin space|[[Telephone numbers in the Philippines|area code]]}}}}<noinclude>
[[Category:Philippines templates]]
</noinclude>
m8c7le2nun7sx6ku2l75r2bxenz0sso
Template:Nowrap
10
7229
70420
2026-04-25T04:22:55Z
Exec8
6243
Pájina foun: '<span class="nowrap">{{{1}}}</span><noinclude> {{documentation}} <!-- Categories go on the /doc page; interwikis go to Wikidata. --> </noinclude>'
70420
wikitext
text/x-wiki
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
</noinclude>
avb5tcymgupik1ikutqclidkj9tnitx
Módulo:Coordinates
828
7230
70421
2026-04-25T04:23:39Z
Exec8
6243
Pájina foun: '--[[ This module is intended to replace the functionality of {{Coord}} and related templates. It provides several methods, including {{#invoke:Coordinates | coord }} : General function formatting and displaying coordinate values. {{#invoke:Coordinates | dec2dms }} : Simple function for converting decimal degree values to DMS format. {{#invoke:Coordinates | dms2dec }} : Simple function for converting DMS format to decimal degree format. {{#invoke:Coordinates | link }} :...'
70421
Scribunto
text/plain
--[[
This module is intended to replace the functionality of {{Coord}} and related
templates. It provides several methods, including
{{#invoke:Coordinates | coord }} : General function formatting and displaying
coordinate values.
{{#invoke:Coordinates | dec2dms }} : Simple function for converting decimal
degree values to DMS format.
{{#invoke:Coordinates | dms2dec }} : Simple function for converting DMS format
to decimal degree format.
{{#invoke:Coordinates | link }} : Export the link used to reach the tools
]]
require('strict')
local math_mod = require("Module:Math")
local coordinates = {};
local isSandbox = mw.getCurrentFrame():getTitle():find('sandbox', 1, true);
local current_page = mw.title.getCurrentTitle()
local page_name = mw.uri.encode( current_page.prefixedText, 'WIKI' );
local coord_link = 'https://geohack.toolforge.org/geohack.php?pagename=' .. page_name .. '¶ms='
--[[ Helper function, replacement for {{coord/display/title}} ]]
local function displaytitle(coords)
return mw.getCurrentFrame():extensionTag{
name = 'indicator',
args = { name = 'coordinates' },
content = '<span id="coordinates">[[Geographic coordinate system|Coordinates]]: ' .. coords .. '</span>'
}
end
--[[ Helper function, used in detecting DMS formatting ]]
local function dmsTest(first, second)
if type(first) ~= 'string' or type(second) ~= 'string' then
return nil
end
local s = (first .. second):upper()
return s:find('^[NS][EW]$') or s:find('^[EW][NS]$')
end
--[[ Wrapper function to grab args, see Module:Arguments for this function's documentation. ]]
local function makeInvokeFunc(funcName)
return function (frame)
local args = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:Coord'
})
return coordinates[funcName](args, frame)
end
end
--[[ Helper function, handle optional args. ]]
local function optionalArg(arg, supplement)
return arg and arg .. supplement or ''
end
--[[
Formats any error messages generated for display
]]
local function errorPrinter(errors)
local result = ""
for i,v in ipairs(errors) do
result = result .. '<strong class="error">Coordinates: ' .. v[2] .. '</strong><br />'
end
return result
end
--[[
Determine the required CSS class to display coordinates
Usually geo-nondefault is hidden by CSS, unless a user has overridden this for himself
default is the mode as specificied by the user when calling the {{coord}} template
mode is the display mode (dec or dms) that we will need to determine the css class for
]]
local function displayDefault(default, mode)
if default == "" then
default = "dec"
end
if default == mode then
return "geo-default"
else
return "geo-nondefault"
end
end
--[[
specPrinter
Output formatter. Takes the structure generated by either parseDec
or parseDMS and formats it for inclusion on Wikipedia.
]]
local function specPrinter(args, coordinateSpec)
local uriComponents = coordinateSpec["param"]
if uriComponents == "" then
-- RETURN error, should never be empty or nil
return "ERROR param was empty"
end
if args["name"] then
uriComponents = uriComponents .. "&title=" .. mw.uri.encode(coordinateSpec["name"])
end
local geodmshtml = '<span class="geo-dms" title="Maps, aerial photos, and other data for this location">'
.. '<span class="latitude">' .. coordinateSpec["dms-lat"] .. '</span> '
.. '<span class="longitude">' ..coordinateSpec["dms-long"] .. '</span>'
.. '</span>'
local lat = tonumber( coordinateSpec["dec-lat"] ) or 0
local geodeclat
if lat < 0 then
-- FIXME this breaks the pre-existing precision
geodeclat = tostring(coordinateSpec["dec-lat"]):sub(2) .. "°S"
else
geodeclat = (coordinateSpec["dec-lat"] or 0) .. "°N"
end
local long = tonumber( coordinateSpec["dec-long"] ) or 0
local geodeclong
if long < 0 then
-- FIXME does not handle unicode minus
geodeclong = tostring(coordinateSpec["dec-long"]):sub(2) .. "°W"
else
geodeclong = (coordinateSpec["dec-long"] or 0) .. "°E"
end
local geodechtml = '<span class="geo-dec" title="Maps, aerial photos, and other data for this location">'
.. geodeclat .. ' '
.. geodeclong
.. '</span>'
local geonumhtml = '<span class="geo">'
.. coordinateSpec["dec-lat"] .. '; '
.. coordinateSpec["dec-long"]
.. '</span>'
local inner = '<span class="' .. displayDefault(coordinateSpec["default"], "dms" ) .. '">' .. geodmshtml .. '</span>'
.. '<span class="geo-multi-punct"> / </span>'
.. '<span class="' .. displayDefault(coordinateSpec["default"], "dec" ) .. '">';
if not args["name"] then
inner = inner .. geodechtml
.. '<span style="display:none"> / ' .. geonumhtml .. '</span></span>'
else
inner = inner .. '<span class="vcard">' .. geodechtml
.. '<span style="display:none"> / ' .. geonumhtml .. '</span>'
.. '<span style="display:none"> (<span class="fn org">'
.. args["name"] .. '</span>)</span></span></span>'
end
local stylesheetLink = 'Module:Coordinates' .. ( isSandbox and '/sandbox' or '' ) .. '/styles.css'
return mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = stylesheetLink }
} .. '<span class="plainlinks nourlexpansion">[' .. coord_link .. uriComponents ..
' ' .. inner .. ']</span>' .. '[[Category:Pages using gadget WikiMiniAtlas]]'
end
--[[ Helper function, convert decimal to degrees ]]
local function convert_dec2dms_d(coordinate)
local d = math_mod._round( coordinate, 0 ) .. "°"
return d .. ""
end
--[[ Helper function, convert decimal to degrees and minutes ]]
local function convert_dec2dms_dm(coordinate)
coordinate = math_mod._round( coordinate * 60, 0 );
local m = coordinate % 60;
coordinate = math.floor( (coordinate - m) / 60 );
local d = coordinate % 360 .."°"
return d .. string.format( "%02d′", m )
end
--[[ Helper function, convert decimal to degrees, minutes, and seconds ]]
local function convert_dec2dms_dms(coordinate)
coordinate = math_mod._round( coordinate * 60 * 60, 0 );
local s = coordinate % 60
coordinate = math.floor( (coordinate - s) / 60 );
local m = coordinate % 60
coordinate = math.floor( (coordinate - m) / 60 );
local d = coordinate % 360 .."°"
return d .. string.format( "%02d′", m ) .. string.format( "%02d″", s )
end
--[[
Helper function, convert decimal latitude or longitude to
degrees, minutes, and seconds format based on the specified precision.
]]
local function convert_dec2dms(coordinate, firstPostfix, secondPostfix, precision)
local coord = tonumber(coordinate)
local postfix
if coord >= 0 then
postfix = firstPostfix
else
postfix = secondPostfix
end
precision = precision:lower();
if precision == "dms" then
return convert_dec2dms_dms( math.abs( coord ) ) .. postfix;
elseif precision == "dm" then
return convert_dec2dms_dm( math.abs( coord ) ) .. postfix;
elseif precision == "d" then
return convert_dec2dms_d( math.abs( coord ) ) .. postfix;
end
end
--[[
Convert DMS format into a N or E decimal coordinate
]]
local function convert_dms2dec(direction, degrees_str, minutes_str, seconds_str)
local degrees = tonumber(degrees_str)
local minutes = tonumber(minutes_str) or 0
local seconds = tonumber(seconds_str) or 0
local factor = 1
if direction == "S" or direction == "W" then
factor = -1
end
local precision = 0
if seconds_str then
precision = 5 + math.max( math_mod._precision(seconds_str), 0 );
elseif minutes_str and minutes_str ~= '' then
precision = 3 + math.max( math_mod._precision(minutes_str), 0 );
else
precision = math.max( math_mod._precision(degrees_str), 0 );
end
local decimal = factor * (degrees+(minutes+seconds/60)/60)
return string.format( "%." .. precision .. "f", decimal ) -- not tonumber since this whole thing is string based.
end
--[[
Checks input values to for out of range errors.
]]
local function validate( lat_d, lat_m, lat_s, long_d, long_m, long_s, source, strong )
local errors = {};
lat_d = tonumber( lat_d ) or 0;
lat_m = tonumber( lat_m ) or 0;
lat_s = tonumber( lat_s ) or 0;
long_d = tonumber( long_d ) or 0;
long_m = tonumber( long_m ) or 0;
long_s = tonumber( long_s ) or 0;
if strong then
if lat_d < 0 then
table.insert(errors, {source, "latitude degrees < 0 with hemisphere flag"})
end
if long_d < 0 then
table.insert(errors, {source, "longitude degrees < 0 with hemisphere flag"})
end
--[[
#coordinates is inconsistent about whether this is an error. If globe: is
specified, it won't error on this condition, but otherwise it will.
For not simply disable this check.
if long_d > 180 then
table.insert(errors, {source, "longitude degrees > 180 with hemisphere flag"})
end
]]
end
if lat_d > 90 then
table.insert(errors, {source, "latitude degrees > 90"})
end
if lat_d < -90 then
table.insert(errors, {source, "latitude degrees < -90"})
end
if lat_m >= 60 then
table.insert(errors, {source, "latitude minutes >= 60"})
end
if lat_m < 0 then
table.insert(errors, {source, "latitude minutes < 0"})
end
if lat_s >= 60 then
table.insert(errors, {source, "latitude seconds >= 60"})
end
if lat_s < 0 then
table.insert(errors, {source, "latitude seconds < 0"})
end
if long_d >= 360 then
table.insert(errors, {source, "longitude degrees >= 360"})
end
if long_d <= -360 then
table.insert(errors, {source, "longitude degrees <= -360"})
end
if long_m >= 60 then
table.insert(errors, {source, "longitude minutes >= 60"})
end
if long_m < 0 then
table.insert(errors, {source, "longitude minutes < 0"})
end
if long_s >= 60 then
table.insert(errors, {source, "longitude seconds >= 60"})
end
if long_s < 0 then
table.insert(errors, {source, "longitude seconds < 0"})
end
return errors;
end
--[[
parseDec
Transforms decimal format latitude and longitude into the
structure to be used in displaying coordinates
]]
local function parseDec( lat, long, format )
local coordinateSpec = {}
local errors = {}
if not long then
return nil, {{"parseDec", "Missing longitude"}}
elseif not tonumber(long) then
return nil, {{"parseDec", "Longitude could not be parsed as a number: " .. long}}
end
errors = validate( lat, nil, nil, long, nil, nil, 'parseDec', false );
coordinateSpec["dec-lat"] = lat;
coordinateSpec["dec-long"] = long;
local mode = coordinates.determineMode( lat, long );
coordinateSpec["dms-lat"] = convert_dec2dms( lat, "N", "S", mode) -- {{coord/dec2dms|{{{1}}}|N|S|{{coord/prec dec|{{{1}}}|{{{2}}}}}}}
coordinateSpec["dms-long"] = convert_dec2dms( long, "E", "W", mode) -- {{coord/dec2dms|{{{2}}}|E|W|{{coord/prec dec|{{{1}}}|{{{2}}}}}}}
if format then
coordinateSpec.default = format
else
coordinateSpec.default = "dec"
end
return coordinateSpec, errors
end
--[[
parseDMS
Transforms degrees, minutes, seconds format latitude and longitude
into the a structure to be used in displaying coordinates
]]
local function parseDMS( lat_d, lat_m, lat_s, lat_f, long_d, long_m, long_s, long_f, format )
local coordinateSpec, errors, backward = {}, {}
lat_f = lat_f:upper();
long_f = long_f:upper();
-- Check if specified backward
if lat_f == 'E' or lat_f == 'W' then
lat_d, long_d, lat_m, long_m, lat_s, long_s, lat_f, long_f, backward = long_d, lat_d, long_m, lat_m, long_s, lat_s, long_f, lat_f, true;
end
errors = validate( lat_d, lat_m, lat_s, long_d, long_m, long_s, 'parseDMS', true );
if not long_d then
return nil, {{"parseDMS", "Missing longitude" }}
elseif not tonumber(long_d) then
return nil, {{"parseDMS", "Longitude could not be parsed as a number:" .. long_d }}
end
if not lat_m and not lat_s and not long_m and not long_s and #errors == 0 then
if math_mod._precision( lat_d ) > 0 or math_mod._precision( long_d ) > 0 then
if lat_f:upper() == 'S' then
lat_d = '-' .. lat_d;
end
if long_f:upper() == 'W' then
long_d = '-' .. long_d;
end
return parseDec( lat_d, long_d, format );
end
end
coordinateSpec["dms-lat"] = lat_d.."°"..optionalArg(lat_m,"′") .. optionalArg(lat_s,"″") .. lat_f
coordinateSpec["dms-long"] = long_d.."°"..optionalArg(long_m,"′") .. optionalArg(long_s,"″") .. long_f
coordinateSpec["dec-lat"] = convert_dms2dec(lat_f, lat_d, lat_m, lat_s) -- {{coord/dms2dec|{{{4}}}|{{{1}}}|0{{{2}}}|0{{{3}}}}}
coordinateSpec["dec-long"] = convert_dms2dec(long_f, long_d, long_m, long_s) -- {{coord/dms2dec|{{{8}}}|{{{5}}}|0{{{6}}}|0{{{7}}}}}
if format then
coordinateSpec.default = format
else
coordinateSpec.default = "dms"
end
return coordinateSpec, errors, backward
end
--[[
Check the input arguments for coord to determine the kind of data being provided
and then make the necessary processing.
]]
local function formatTest(args)
local result, errors
local backward, primary = false, false
local function getParam(args, lim)
local ret = {}
for i = 1, lim do
ret[i] = args[i] or ''
end
return table.concat(ret, '_')
end
if not args[1] then
-- no lat logic
return errorPrinter( {{"formatTest", "Missing latitude"}} )
elseif not tonumber(args[1]) then
-- bad lat logic
return errorPrinter( {{"formatTest", "Unable to parse latitude as a number:" .. args[1]}} )
elseif not args[4] and not args[5] and not args[6] then
-- dec logic
result, errors = parseDec(args[1], args[2], args.format)
if not result then
return errorPrinter(errors);
end
-- formatting for geohack: geohack expects D_N_D_E notation or D;D notation
-- wikiminiatlas doesn't support D;D notation
-- #coordinates parserfunction doesn't support negative decimals with NSWE
result.param = table.concat({
math.abs(tonumber(args[1])),
((tonumber(args[1]) or 0) < 0) and 'S' or 'N',
math.abs(tonumber(args[2])),
((tonumber(args[2]) or 0) < 0) and 'W' or 'E',
args[3] or ''}, '_')
elseif dmsTest(args[4], args[8]) then
-- dms logic
result, errors, backward = parseDMS(args[1], args[2], args[3], args[4],
args[5], args[6], args[7], args[8], args.format)
if args[10] then
table.insert(errors, {'formatTest', 'Extra unexpected parameters'})
end
if not result then
return errorPrinter(errors)
end
result.param = getParam(args, 9)
elseif dmsTest(args[3], args[6]) then
-- dm logic
result, errors, backward = parseDMS(args[1], args[2], nil, args[3],
args[4], args[5], nil, args[6], args['format'])
if args[8] then
table.insert(errors, {'formatTest', 'Extra unexpected parameters'})
end
if not result then
return errorPrinter(errors)
end
result.param = getParam(args, 7)
elseif dmsTest(args[2], args[4]) then
-- d logic
result, errors, backward = parseDMS(args[1], nil, nil, args[2],
args[3], nil, nil, args[4], args.format)
if args[6] then
table.insert(errors, {'formatTest', 'Extra unexpected parameters'})
end
if not result then
return errorPrinter(errors)
end
result.param = getParam(args, 5)
else
-- Error
return errorPrinter({{"formatTest", "Unknown argument format"}}) .. '[[Category:Pages with malformed coordinate tags]]'
end
result.name = args.name
local extra_param = {'dim', 'globe', 'scale', 'region', 'source', 'type'}
for _, v in ipairs(extra_param) do
if args[v] then
table.insert(errors, {'formatTest', 'Parameter: "' .. v .. '=" should be "' .. v .. ':"' })
end
end
local ret = specPrinter(args, result)
if #errors > 0 then
ret = ret .. ' ' .. errorPrinter(errors) .. '[[Category:Pages with malformed coordinate tags]]'
end
return ret, backward
end
--[[
Generate Wikidata tracking categories.
]]
local function makeWikidataCategories(qid)
local ret
local qid = qid or mw.wikibase.getEntityIdForCurrentPage()
if mw.wikibase and current_page.namespace == 0 then
if qid and mw.wikibase.entityExists(qid) and mw.wikibase.getBestStatements(qid, "P625") and mw.wikibase.getBestStatements(qid, "P625")[1] then
local snaktype = mw.wikibase.getBestStatements(qid, "P625")[1].mainsnak.snaktype
if snaktype == 'value' then
-- coordinates exist both here and on Wikidata, and can be compared.
ret = 'Coordinates on Wikidata'
elseif snaktype == 'somevalue' then
ret = 'Coordinates on Wikidata set to unknown value'
elseif snaktype == 'novalue' then
ret = 'Coordinates on Wikidata set to no value'
end
else
-- We have to either import the coordinates to Wikidata or remove them here.
ret = 'Coordinates not on Wikidata'
end
end
if ret then
return string.format('[[Category:%s]]', ret)
else
return ''
end
end
--[[
link
Simple function to export the coordinates link for other uses.
Usage:
{{#invoke:Coordinates | link }}
]]
function coordinates.link(frame)
return coord_link;
end
--[[
dec2dms
Wrapper to allow templates to call dec2dms directly.
Usage:
{{#invoke:Coordinates | dec2dms | decimal_coordinate | positive_suffix |
negative_suffix | precision }}
decimal_coordinate is converted to DMS format. If positive, the positive_suffix
is appended (typical N or E), if negative, the negative suffix is appended. The
specified precision is one of 'D', 'DM', or 'DMS' to specify the level of detail
to use.
]]
coordinates.dec2dms = makeInvokeFunc('_dec2dms')
function coordinates._dec2dms(args)
local coordinate = args[1]
local firstPostfix = args[2] or ''
local secondPostfix = args[3] or ''
local precision = args[4] or ''
return convert_dec2dms(coordinate, firstPostfix, secondPostfix, precision)
end
--[[
Helper function to determine whether to use D, DM, or DMS
format depending on the precision of the decimal input.
]]
function coordinates.determineMode( value1, value2 )
local precision = math.max( math_mod._precision( value1 ), math_mod._precision( value2 ) );
if precision <= 0 then
return 'd'
elseif precision <= 2 then
return 'dm';
else
return 'dms';
end
end
--[[
dms2dec
Wrapper to allow templates to call dms2dec directly.
Usage:
{{#invoke:Coordinates | dms2dec | direction_flag | degrees |
minutes | seconds }}
Converts DMS values specified as degrees, minutes, seconds too decimal format.
direction_flag is one of N, S, E, W, and determines whether the output is
positive (i.e. N and E) or negative (i.e. S and W).
]]
coordinates.dms2dec = makeInvokeFunc('_dms2dec')
function coordinates._dms2dec(args)
local direction = args[1]
local degrees = args[2]
local minutes = args[3]
local seconds = args[4]
return convert_dms2dec(direction, degrees, minutes, seconds)
end
--[[
coord
Main entry point for Lua function to replace {{coord}}
Usage:
{{#invoke:Coordinates | coord }}
{{#invoke:Coordinates | coord | lat | long }}
{{#invoke:Coordinates | coord | lat | lat_flag | long | long_flag }}
...
Refer to {{coord}} documentation page for many additional parameters and
configuration options.
Note: This function provides the visual display elements of {{coord}}. In
order to load coordinates into the database, the {{#coordinates:}} parser
function must also be called, this is done automatically in the Lua
version of {{coord}}.
]]
coordinates.coord = makeInvokeFunc('_coord')
function coordinates._coord(args)
if not tonumber(args[1]) and not args[2] then
args[3] = args[1]; args[1] = nil
local entity = mw.wikibase.getEntityObject(args.qid)
if entity
and entity.claims
and entity.claims.P625
and entity.claims.P625[1].mainsnak.snaktype == 'value'
then
local precision = entity.claims.P625[1].mainsnak.datavalue.value.precision
args[1] = entity.claims.P625[1].mainsnak.datavalue.value.latitude
args[2] = entity.claims.P625[1].mainsnak.datavalue.value.longitude
if precision then
precision = -math_mod._round(math.log(precision)/math.log(10),0)
args[1] = math_mod._round(args[1],precision)
args[2] = math_mod._round(args[2],precision)
end
end
end
local contents, backward = formatTest(args)
local Notes = args.notes or ''
local Display = args.display and args.display:lower() or 'inline'
-- it and ti are short for inline,title and title,inline
local function isInline(s)
-- Finds whether coordinates are displayed inline.
return s:find('inline') ~= nil or s == 'i' or s == 'it' or s == 'ti'
end
local function isInTitle(s)
-- Finds whether coordinates are displayed in the title.
return s:find('title') ~= nil or s == 't' or s == 'it' or s == 'ti'
end
local function coord_wrapper(in_args)
-- Calls the parser function {{#coordinates:}}.
return mw.getCurrentFrame():callParserFunction('#coordinates', in_args) or ''
end
local text = ''
if isInline(Display) then
text = text .. '<span class="geo-inline">' .. contents .. Notes .. '</span>'
end
if isInTitle(Display) then
-- Add to output since indicator content is invisible to Lua later on
if not isInline(Display) then
text = text .. '<span class="geo-inline-hidden noexcerpt">' .. contents .. Notes .. '</span>'
end
text = text .. displaytitle(contents .. Notes) .. makeWikidataCategories(args.qid)
end
if not args.nosave then
local page_title, count = mw.title.getCurrentTitle(), 1
if backward then
local tmp = {}
while not string.find((args[count-1] or ''), '[EW]') do tmp[count] = (args[count] or ''); count = count+1 end
tmp.count = count; count = 2*(count-1)
while count >= tmp.count do table.insert(tmp, 1, (args[count] or '')); count = count-1 end
for i, v in ipairs(tmp) do args[i] = v end
else
while count <= 9 do args[count] = (args[count] or ''); count = count+1 end
end
if isInTitle(Display) and not page_title.isTalkPage and page_title.subpageText ~= 'doc' and page_title.subpageText ~= 'testcases' then args[10] = 'primary' end
args.notes, args.format, args.display = nil
text = text .. coord_wrapper(args)
end
return text
end
--[[
coord2text
Extracts a single value from a transclusion of {{Coord}}.
IF THE GEOHACK LINK SYNTAX CHANGES THIS FUNCTION MUST BE MODIFIED.
Usage:
{{#invoke:Coordinates | coord2text | {{Coord}} | parameter }}
Valid values for the second parameter are: lat (signed integer), long (signed integer), type, scale, dim, region, globe, source
]]
function coordinates._coord2text(coord,type)
if coord == '' or type == '' or not type then return nil end
type = mw.text.trim(type)
if type == 'lat' or type == 'long' then
local coordString = mw.ustring.match(coord,'[%.%d]+°[NS] [%.%d]+°[EW]')
if not coordString then
return nil
end
local result = mw.text.split(coordString, ' ')
local negative
if type == 'lat' then
result, negative = result[1], 'S'
else
result, negative = result[2], 'W'
end
if not result then
return nil
end
result = mw.text.split(result, '°')
if not result[1] then
return nil
end
if result[2] == negative then result[1] = '-'..result[1] end
return result[1]
else
return mw.ustring.match(coord, 'params=.-_' .. type .. ':(.-)[ _]')
end
end
function coordinates.coord2text(frame)
return coordinates._coord2text(frame.args[1],frame.args[2]) or ''
end
--[[
coordinsert
Injects some text into the Geohack link of a transclusion of {{Coord}} (if that text isn't already in the transclusion). Outputs the modified transclusion of {{Coord}}.
IF THE GEOHACK LINK SYNTAX CHANGES THIS FUNCTION MUST BE MODIFIED.
Usage:
{{#invoke:Coordinates | coordinsert | {{Coord}} | parameter:value | parameter:value | … }}
Do not make Geohack unhappy by inserting something which isn't mentioned in the {{Coord}} documentation.
]]
function coordinates.coordinsert(frame)
-- for the 2nd or later integer parameter (the first is the coord template, as above)
for i, v in ipairs(frame.args) do
if i ~= 1 then
-- if we cannot find in the coord_template the i_th coordinsert parameter e.g. region
if not mw.ustring.find(frame.args[1], (mw.ustring.match(frame.args[i], '^(.-:)') or '')) then
-- find from the params= up to the first possibly-present underscore
-- and append the i_th coordinsert parameter and a space
-- IDK why we're adding a space but it does seem somewhat convenient
frame.args[1] = mw.ustring.gsub(frame.args[1], '(params=.-)_? ', '%1_'..frame.args[i]..' ')
end
end
end
if frame.args.name then
-- if we can't find the vcard class
if not mw.ustring.find(frame.args[1], '<span class="vcard">') then
-- take something that looks like a coord template and add the vcard span with class and fn org class
local namestr = frame.args.name
frame.args[1] = mw.ustring.gsub(
frame.args[1],
'(<span class="geo%-default">)(<span[^<>]*>[^<>]*</span><span[^<>]*>[^<>]*<span[^<>]*>[^<>]*</span></span>)(</span>)',
'%1<span class="vcard">%2<span style="display:none"> (<span class="fn org">' .. namestr .. '</span>)</span></span>%3'
)
-- then find anything from coordinates parameters to the 'end' and attach the title parameter
frame.args[1] = mw.ustring.gsub(
frame.args[1],
'(¶ms=[^&"<>%[%] ]*) ',
'%1&title=' .. mw.uri.encode(namestr) .. ' '
)
end
end
-- replace the existing indicator with a new indicator using the modified content
frame.args[1] = mw.ustring.gsub(
frame.args[1],
'(<span class="geo%-inline[^"]*">(.+)</span>)\127[^\127]*UNIQ%-%-indicator%-%x+%-%-?QINU[^\127]*\127',
function (inline, coord) return inline .. displaytitle(coord) end
)
return frame.args[1]
end
return coordinates
4j0gstvbrnunfsl9d87kcwlvt5s11ed
Módulo:Math
828
7231
70422
2026-04-25T04:24:09Z
Exec8
6243
Pájina foun: '--[[ This module provides a number of basic mathematical operations. ]] local yesno, getArgs -- lazily initialized local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules. local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua. --[[ Helper functions used to avoid redundant code. ]] local function err...'
70422
Scribunto
text/plain
--[[
This module provides a number of basic mathematical operations.
]]
local yesno, getArgs -- lazily initialized
local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules.
local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.
--[[
Helper functions used to avoid redundant code.
]]
local function err(msg)
-- Generates wikitext error messages.
return mw.ustring.format('<strong class="error">Formatting error: %s</strong>', msg)
end
local function unpackNumberArgs(args)
-- Returns an unpacked list of arguments specified with numerical keys.
local ret = {}
for k, v in pairs(args) do
if type(k) == 'number' then
table.insert(ret, v)
end
end
return unpack(ret)
end
local function makeArgArray(...)
-- Makes an array of arguments from a list of arguments that might include nils.
local args = {...} -- Table of arguments. It might contain nils or non-number values, so we can't use ipairs.
local nums = {} -- Stores the numbers of valid numerical arguments.
local ret = {}
for k, v in pairs(args) do
v = p._cleanNumber(v)
if v then
nums[#nums + 1] = k
args[k] = v
end
end
table.sort(nums)
for i, num in ipairs(nums) do
ret[#ret + 1] = args[num]
end
return ret
end
local function fold(func, ...)
-- Use a function on all supplied arguments, and return the result. The function must accept two numbers as parameters,
-- and must return a number as an output. This number is then supplied as input to the next function call.
local vals = makeArgArray(...)
local count = #vals -- The number of valid arguments
if count == 0 then return
-- Exit if we have no valid args, otherwise removing the first arg would cause an error.
nil, 0
end
local ret = table.remove(vals, 1)
for _, val in ipairs(vals) do
ret = func(ret, val)
end
return ret, count
end
--[[
Fold arguments by selectively choosing values (func should return when to choose the current "dominant" value).
]]
local function binary_fold(func, ...)
local value = fold((function(a, b) if func(a, b) then return a else return b end end), ...)
return value
end
--[[
random
Generate a random number
Usage:
{{#invoke: Math | random }}
{{#invoke: Math | random | maximum value }}
{{#invoke: Math | random | minimum value | maximum value }}
]]
function wrap.random(args)
local first = p._cleanNumber(args[1])
local second = p._cleanNumber(args[2])
return p._random(first, second)
end
function p._random(first, second)
math.randomseed(mw.site.stats.edits + mw.site.stats.pages + os.time() + math.floor(os.clock() * 1000000000))
-- math.random will throw an error if given an explicit nil parameter, so we need to use if statements to check the params.
if first and second then
if first <= second then -- math.random doesn't allow the first number to be greater than the second.
return math.random(first, second)
end
elseif first then
return math.random(first)
else
return math.random()
end
end
--[[
order
Determine order of magnitude of a number
Usage:
{{#invoke: Math | order | value }}
]]
function wrap.order(args)
local input_string = (args[1] or args.x or '0');
local input_number = p._cleanNumber(input_string);
if input_number == nil then
return err('order of magnitude input appears non-numeric')
else
return p._order(input_number)
end
end
function p._order(x)
if x == 0 then return 0 end
return math.floor(math.log10(math.abs(x)))
end
--[[
precision
Detemines the precision of a number using the string representation
Usage:
{{ #invoke: Math | precision | value }}
]]
function wrap.precision(args)
local input_string = (args[1] or args.x or '0');
local trap_fraction = args.check_fraction;
if not yesno then
yesno = require('Module:Yesno')
end
if yesno(trap_fraction, true) then -- Returns true for all input except nil, false, "no", "n", "0" and a few others. See [[Module:Yesno]].
local pos = string.find(input_string, '/', 1, true);
if pos ~= nil then
if string.find(input_string, '/', pos + 1, true) == nil then
local denominator = string.sub(input_string, pos+1, -1);
local denom_value = tonumber(denominator);
if denom_value ~= nil then
return math.log10(denom_value);
end
end
end
end
local _, clean_string = p._cleanNumber(input_string);
if clean_string == nil then
return err('precision input appears non-numeric')
else
return p._precision(clean_string)
end
end
function p._precision(x)
if type(x) == 'number' then
x = tostring(x)
end
local result = 0;
--subtract exponent
local _, _, coefficient, exponent = x:find("^(.*)[eE](.*)$")
if coefficient then
result = result - (tonumber(exponent) or 0)
x = coefficient
end
--add decimal places
local i, j = x:find('%..*$')
if i then
result = result + (j - i)
return result
end
--subtract trailing zeroes
i, j = x:find('[^0]0+$')
if i then
result = result - (j - i)
end
return result
end
--[[
max
Finds the maximum argument
Usage:
{{#invoke:Math| max | value1 | value2 | ... }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.max(args)
return p._max(unpackNumberArgs(args))
end
function p._max(...)
local max_value = binary_fold((function(a, b) return a > b end), ...)
if max_value then
return max_value
end
end
--[[
median
Find the median of set of numbers
Usage:
{{#invoke:Math | median | number1 | number2 | ...}}
OR
{{#invoke:Math | median }}
]]
function wrap.median(args)
return p._median(unpackNumberArgs(args))
end
function p._median(...)
local vals = makeArgArray(...)
local count = #vals
table.sort(vals)
if count == 0 then
return 0
end
if p._mod(count, 2) == 0 then
return (vals[count/2] + vals[count/2+1])/2
else
return vals[math.ceil(count/2)]
end
end
--[[
min
Finds the minimum argument
Usage:
{{#invoke:Math| min | value1 | value2 | ... }}
OR
{{#invoke:Math| min }}
When used with no arguments, it takes its input from the parent
frame. Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.min(args)
return p._min(unpackNumberArgs(args))
end
function p._min(...)
local min_value = binary_fold((function(a, b) return a < b end), ...)
if min_value then
return min_value
end
end
--[[
sum
Finds the sum
Usage:
{{#invoke:Math| sum | value1 | value2 | ... }}
OR
{{#invoke:Math| sum }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.sum(args)
return p._sum(unpackNumberArgs(args))
end
function p._sum(...)
local sums = fold((function(a, b) return a + b end), ...)
if not sums then
return 0
else
return sums
end
end
--[[
average
Finds the average
Usage:
{{#invoke:Math| average | value1 | value2 | ... }}
OR
{{#invoke:Math| average }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.average(args)
return p._average(unpackNumberArgs(args))
end
function p._average(...)
local sum, count = fold((function(a, b) return a + b end), ...)
if not sum then
return 0
else
return sum / count
end
end
--[[
round
Rounds a number to specified precision
Usage:
{{#invoke:Math | round | value | precision }}
--]]
function wrap.round(args)
local value = p._cleanNumber(args[1] or args.value or 0)
local precision = p._cleanNumber(args[2] or args.precision or 0)
if value == nil or precision == nil then
return err('round input appears non-numeric')
else
return p._round(value, precision)
end
end
function p._round(value, precision)
local rescale = math.pow(10, precision or 0);
return math.floor(value * rescale + 0.5) / rescale;
end
--[[
log10
returns the log (base 10) of a number
Usage:
{{#invoke:Math | log10 | x }}
]]
function wrap.log10(args)
return math.log10(args[1])
end
--[[
mod
Implements the modulo operator
Usage:
{{#invoke:Math | mod | x | y }}
--]]
function wrap.mod(args)
local x = p._cleanNumber(args[1])
local y = p._cleanNumber(args[2])
if not x then
return err('first argument to mod appears non-numeric')
elseif not y then
return err('second argument to mod appears non-numeric')
else
return p._mod(x, y)
end
end
function p._mod(x, y)
local ret = x % y
if not (0 <= ret and ret < y) then
ret = 0
end
return ret
end
--[[
gcd
Calculates the greatest common divisor of multiple numbers
Usage:
{{#invoke:Math | gcd | value 1 | value 2 | value 3 | ... }}
--]]
function wrap.gcd(args)
return p._gcd(unpackNumberArgs(args))
end
function p._gcd(...)
local function findGcd(a, b)
local r = b
local oldr = a
while r ~= 0 do
local quotient = math.floor(oldr / r)
oldr, r = r, oldr - quotient * r
end
if oldr < 0 then
oldr = oldr * -1
end
return oldr
end
local result = fold(findGcd, ...)
return result
end
--[[
precision_format
Rounds a number to the specified precision and formats according to rules
originally used for {{template:Rnd}}. Output is a string.
Usage:
{{#invoke: Math | precision_format | number | precision }}
]]
function wrap.precision_format(args)
local value_string = args[1] or 0
local precision = args[2] or 0
return p._precision_format(value_string, precision)
end
function p._precision_format(value_string, precision)
-- For access to Mediawiki built-in formatter.
local lang = mw.getContentLanguage();
local value
value, value_string = p._cleanNumber(value_string)
precision = p._cleanNumber(precision)
-- Check for non-numeric input
if value == nil or precision == nil then
return err('invalid input when rounding')
end
local abs_value = math.abs(value)
local current_precision = p._precision(value)
local order = p._order(value)
-- Due to round-off effects it is neccesary to limit the returned precision under
-- some circumstances because the terminal digits will be inaccurately reported.
if order + precision >= 14 then
if order + p._precision(value_string) >= 14 then
precision = 13 - order;
end
end
-- If rounding off, truncate extra digits
if precision < current_precision then
value = p._round(value, precision)
abs_value = math.abs(value)
current_precision = p._precision(value)
end
local formatted_num = lang:formatNum(abs_value)
-- Handle cases requiring scientific notation
if math.abs(order) >= 9 or string.find(formatted_num, 'E', 1, true) then
value = value * (10 ^ (-order))
abs_value = math.abs(value)
current_precision = current_precision + order
precision = precision + order
formatted_num = lang:formatNum(abs_value)
else
order = 0;
end
-- Use proper unary minus sign rather than ASCII default
formatted_num = ((value < 0) and '−' or '') .. formatted_num
-- Pad with zeros, if needed
if current_precision < precision then
local padding
if current_precision <= 0 then
if precision > 0 then
local zero_sep = lang:formatNum(1.1)
formatted_num = formatted_num .. zero_sep:sub(2,2)
padding = precision
if padding > 20 then
padding = 20
end
formatted_num = formatted_num .. string.rep('0', padding)
end
else
padding = precision - current_precision
if padding > 20 then
padding = 20
end
formatted_num = formatted_num .. string.rep('0', padding)
end
end
-- Add exponential notation, if necessary.
if order ~= 0 then
-- Use proper unary minus sign rather than ASCII default
if order < 0 then
order = '−' .. lang:formatNum(math.abs(order))
else
order = lang:formatNum(order)
end
formatted_num = formatted_num .. '<span style="margin:0 .15em 0 .25em">×</span>10<sup>' .. order .. '</sup>'
end
return formatted_num
end
--[[
divide
Implements the division operator
Usage:
{{#invoke:Math | divide | x | y | round= | precision= }}
--]]
function wrap.divide(args)
local x = args[1]
local y = args[2]
local round = args.round
local precision = args.precision
if not yesno then
yesno = require('Module:Yesno')
end
return p._divide(x, y, yesno(round), precision)
end
function p._divide(x, y, round, precision)
if y == nil or y == "" then
return err("Empty divisor")
elseif not tonumber(y) then
if type(y) == 'string' and string.sub(y, 1, 1) == '<' then
return y
else
return err("Not a number: " .. y)
end
elseif x == nil or x == "" then
return err("Empty dividend")
elseif not tonumber(x) then
if type(x) == 'string' and string.sub(x, 1, 1) == '<' then
return x
else
return err("Not a number: " .. x)
end
else
local z = x / y
if round then
return p._round(z, 0)
elseif precision then
return p._round(z, precision)
else
return z
end
end
end
--[[
Helper function that interprets the input numerically. If the
input does not appear to be a number, attempts evaluating it as
a parser functions expression.
]]
function p._cleanNumber(number_string, unformat)
if type(number_string) == 'number' then
-- We were passed a number, so we don't need to do any processing.
return number_string, tostring(number_string)
elseif type(number_string) ~= 'string' or not number_string:find('%S') then
-- We were passed a non-string or a blank string, so exit.
return nil, nil;
end
-- Attempt basic conversion
local number = tonumber(number_string)
-- If failed, try unformatting the number_string
if unformat and number == nil then
-- Cannot use mw.language.getContentLanguage():parseFormattedNumber()
-- because, unlike {{formatnum:|R}}, it won't ignore operators (it
-- would return an error on "1,234+1,234" instead of "1234+1234")
number_string = mw.getCurrentFrame():callParserFunction("formatnum", {number_string, "R"})
number = tonumber(number_string)
end
-- If failed, attempt to evaluate input as an expression
if number == nil then
local success, result = pcall(mw.ext.ParserFunctions.expr, number_string)
if success then
number = tonumber(result)
number_string = tostring(number)
else
number = nil
number_string = nil
end
else
number_string = number_string:match("^%s*(.-)%s*$") -- String is valid but may contain padding, clean it.
number_string = number_string:match("^%+(.*)$") or number_string -- Trim any leading + signs.
if number_string:find('^%-?0[xX]') then
-- Number is using 0xnnn notation to indicate base 16; use the number that Lua detected instead.
number_string = tostring(number)
end
end
return number, number_string
end
--[[
Wrapper function that does basic argument processing. This ensures that all functions from #invoke can use either the current
frame or the parent frame, and it also trims whitespace for all arguments and removes blank arguments.
]]
local mt = { __index = function(_, k)
return function(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return wrap[k](getArgs(frame)) -- Argument processing is left to Module:Arguments. Whitespace is trimmed and blank arguments are removed.
end
end }
return setmetatable(p, mt)
f4r823qxvpkct3eikmvj99wyjq9cjkm
Template:Thin space
10
7232
70423
2026-04-25T04:24:46Z
Exec8
6243
Pájina foun: '<span style="white-space: nowrap;">{{#if:{{{1|}}}|{{#if:{{{2|}}}|| }}}}{{{1|}}} <!-- -->{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}| {{{3}}}}}<!-- -->{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}| {{{5}}}}}<!-- -->{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}| {{{7}}}}}<!-- -->{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}| {{{9}}}}}<!-- -->{{#if:{{{10|}}}| {{{10}}}}}</span><noinclude> {{Documentation}} <!-- Please add categorie...'
70423
wikitext
text/x-wiki
<span style="white-space: nowrap;">{{#if:{{{1|}}}|{{#if:{{{2|}}}|| }}}}{{{1|}}} <!--
-->{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}| {{{3}}}}}<!--
-->{{#if:{{{4|}}}| {{{4}}}}}{{#if:{{{5|}}}| {{{5}}}}}<!--
-->{{#if:{{{6|}}}| {{{6}}}}}{{#if:{{{7|}}}| {{{7}}}}}<!--
-->{{#if:{{{8|}}}| {{{8}}}}}{{#if:{{{9|}}}| {{{9}}}}}<!--
-->{{#if:{{{10|}}}| {{{10}}}}}</span><noinclude>
{{Documentation}}
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
b3t8ug596s2nqqnys55o7tsr76dnm00
Módulo:Coordinates/styles.css
828
7233
70424
2026-04-25T04:25:01Z
Exec8
6243
Pájina foun: '/* {{pp-template}} */ /* Geographical coordinates defaults. The classes "geo", "longitude", and "latitude" are used by the [[Geo microformat]]. */ .geo-default, .geo-dms, .geo-dec { display: inline; } .geo-nondefault, .geo-multi-punct, .geo-inline-hidden { display: none; } .longitude, .latitude { white-space: nowrap; }'
70424
sanitized-css
text/css
/* {{pp-template}} */
/* Geographical coordinates defaults. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]]. */
.geo-default,
.geo-dms,
.geo-dec {
display: inline;
}
.geo-nondefault,
.geo-multi-punct,
.geo-inline-hidden {
display: none;
}
.longitude,
.latitude {
white-space: nowrap;
}
372gk2cap99kasnuwl2084jfakikzgw
Template:PH wikidata/iso
10
7234
70425
2026-04-25T04:25:35Z
Exec8
6243
Pájina foun: 'PH<noinclude> {{documentation|content= This subtemplate is used by {{tl|PH wikidata}} to compute the ISO region from properties P300 and P988. It is not intended to be used directly. }}</noinclude>'
70425
wikitext
text/x-wiki
PH<noinclude>
{{documentation|content=
This subtemplate is used by {{tl|PH wikidata}} to compute the ISO region from properties P300 and P988. It is not intended to be used directly.
}}</noinclude>
d4a28n5nyvkh8znacg7lwkb2m0p6j98
Template:PH wikidata/region
10
7235
70426
2026-04-25T04:25:48Z
Exec8
6243
Pájina foun: '{{<includeonly>safesubst:</includeonly>#switch:{{{1|}}} |Abra = CAR |Agusan del Norte = XIII |Agusan del Sur = XIII |Aklan = VI |Albay = V |Antique = VI |Apayao = CAR |Aurora = III |Basilan = BARMM |Bataan = III |Batanes = II |Batangas = IV-A |Benguet = CAR |Biliran = VIII |Bohol = VII |Bukidnon = X |Bulacan = III |Cagayan = II |Camarines Norte = V |Camarines Sur = V |Camiguin = X |Capiz = VI |Catanduanes = V |Cavite = IV-A |Cebu = VII |Cotabato = XII |Davao de Oro = XI |Dav...'
70426
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#switch:{{{1|}}}
|Abra = CAR
|Agusan del Norte = XIII
|Agusan del Sur = XIII
|Aklan = VI
|Albay = V
|Antique = VI
|Apayao = CAR
|Aurora = III
|Basilan = BARMM
|Bataan = III
|Batanes = II
|Batangas = IV-A
|Benguet = CAR
|Biliran = VIII
|Bohol = VII
|Bukidnon = X
|Bulacan = III
|Cagayan = II
|Camarines Norte = V
|Camarines Sur = V
|Camiguin = X
|Capiz = VI
|Catanduanes = V
|Cavite = IV-A
|Cebu = VII
|Cotabato = XII
|Davao de Oro = XI
|Davao del Norte = XI
|Davao del Sur = XI
|Davao Occidental = XI
|Davao Oriental = XI
|Dinagat Islands = XIII
|Eastern Samar = VIII
|Guimaras = VI
|Ifugao = CAR
|Ilocos Norte = I
|Ilocos Sur = I
|Iloilo = VI
|Isabela = II
|Kalinga = CAR
|La Union = I
|Laguna = IV-A
|Lanao del Norte = X
|Lanao del Sur = BARMM
|Leyte = VIII
|Maguindanao = BARMM
|Maguindanao del Norte = BARMM
|Maguindanao del Sur = BARMM
|Marinduque = Mimaropa
|Masbate = V
|Misamis Occidental = X
|Misamis Oriental = X
|Mountain Province = CAR
|Negros Occidental = NIR
|Negros Oriental = NIR
|Northern Samar = VIII
|Nueva Ecija = III
|Nueva Vizcaya = II
|Occidental Mindoro = Mimaropa
|Oriental Mindoro = Mimaropa
|Palawan = Mimaropa
|Pampanga = III
|Pangasinan = I
|Quezon = IV-A
|Quirino = II
|Rizal = IV-A
|Romblon = Mimaropa
|Samar = VIII
|Sarangani = XII
|Siquijor = NIR
|Sorsogon = V
|South Cotabato = XII
|Southern Leyte = VIII
|Sultan Kudarat = XII
|Sulu = IX
|Surigao del Norte = XIII
|Surigao del Sur = XIII
|Tarlac = III
|Tawi-Tawi = BARMM
|Zambales = III
|Zamboanga del Norte = IX
|Zamboanga del Sur = IX
|Zamboanga Sibugay = IX
|Metro Manila = NCR
|#default = {{{1|}}}{{<includeonly>safesubst:</includeonly>#ifeq:{{<includeonly>safesubst:</includeonly>#property:P31}}|province of the Philippines||{{<includeonly>safesubst:</includeonly>PH wikidata/region default}}}}
}}
0po25hraobyim2j4fv2utabv0l88u0q
Template:PH wikidata/region default
10
7236
70427
2026-04-25T04:26:03Z
Exec8
6243
Pájina foun: '<noinclude>Temporary tracking</noinclude>'
70427
wikitext
text/x-wiki
<noinclude>Temporary tracking</noinclude>
t4yfa1y3ulv7us4x7lt8ghp1xzyz1n4
Módulo:Mapframe
828
7237
70428
2026-04-25T04:27:19Z
Exec8
6243
Pájina foun: '-- Note: Originally written on English Wikipedia at https://en.wikipedia.org/wiki/Module:Mapframe --[[---------------------------------------------------------------------------- ##### Localisation (L10n) settings ##### Replace values in quotes ("") with localised values ----------------------------------------------------------------------------]]-- local L10n = {} local wb = mw.wikibase -- Modue dependencies local parser -- local copy of https://www.mediawiki.org/wiki/...'
70428
Scribunto
text/plain
-- Note: Originally written on English Wikipedia at https://en.wikipedia.org/wiki/Module:Mapframe
--[[----------------------------------------------------------------------------
##### Localisation (L10n) settings #####
Replace values in quotes ("") with localised values
----------------------------------------------------------------------------]]--
local L10n = {}
local wb = mw.wikibase
-- Modue dependencies
local parser -- local copy of https://www.mediawiki.org/wiki/Module:WikitextParser loaded lazily
-- "strict" should not be used, at least until all other modules which require this module are not using globals.
-- Template parameter names (unnumbered versions only)
-- Specify each as either a single string, or a table of strings (aliases)
-- Aliases are checked left-to-right, i.e. `{ "one", "two" }` is equivalent to using `{{{one| {{{two|}}} }}}` in a template
L10n.para = {
display = "display",
type = "type",
id = { "id", "ids" },
from = "from",
raw = "raw",
title = "title",
description = "description",
strokeColor = { "stroke-color", "stroke-colour" },
strokeWidth = "stroke-width",
strokeOpacity = "stroke-opacity",
fill = "fill",
fillOpacity = "fill-opacity",
coord = "coord",
marker = "marker",
markerColor = { "marker-color", "marker-colour" },
markerSize = "marker-size",
radius = { "radius", "radius_m" },
radiusKm = "radius_km",
radiusFt = "radius_ft",
radiusMi = "radius_mi",
edges = "edges",
text = "text",
icon = "icon",
zoom = "zoom",
frame = "frame",
plain = "plain",
frameWidth = "frame-width",
frameHeight = "frame-height",
frameCoordinates= { "frame-coordinates", "frame-coord" },
frameLatitude = { "frame-lat", "frame-latitude" },
frameLongitude = { "frame-long", "frame-longitude" },
frameAlign = "frame-align",
switch = "switch",
overlay = "overlay",
overlayBorder = "overlay-border",
overlayHorizontalAlignment = "overlay-horizontal-alignment",
overlayVerticalAlignment = "overlay-vertical-alignment",
overlayHorizontalOffset = "overlay-horizontal-offset",
overlayVerticalOffset = "overlay-vertical-offset"
}
-- Names of other templates this module can extract coordinates from
L10n.template = {
templates = { -- The coord template, as well as templates with output that contains {{coord}}
"Coord", "Coord/sandbox",
"NRHP row", "NRHP row/sandbox",
"WikidataCoord", "WikidataCoord/sandbox", "Wikidatacoord", "Wikidata coord"
},
modules = { -- The coordinates module, as well as modules with output that contains {{coord}}
"Coordinates", "Coordinates/sandbox",
"WikidataCoord", "WikidataCoord/sandbox"
}
}
-- Error messages
L10n.error = {
badDisplayPara = "Invalid display parameter",
noCoords = "Coordinates must be specified on Wikidata or in |" .. ( type(L10n.para.coord)== 'table' and L10n.para.coord[1] or L10n.para.coord ) .. "=",
wikidataCoords = "Coordinates not found on Wikidata",
noCircleCoords = "Circle centre coordinates must be specified, or available via Wikidata",
negativeRadius = "Circle radius must be a positive number",
noRadius = "Circle radius must be specified",
negativeEdges = "Circle edges must be a positive number",
noSwitchPara = "Found only one switch value in |" .. ( type(L10n.para.switch)== 'table' and L10n.para.switch[1] or L10n.para.switch ) .. "=",
oneSwitchLabel = "Found only one label in |" .. ( type(L10n.para.switch)== 'table' and L10n.para.switch[1] or L10n.para.switch ) .. "=",
noSwitchLists = "At least one parameter must have a SWITCH: list",
switchMismatches = "All SWITCH: lists must have the same number of values",
-- "%s" and "%d" tokens will be replaced with strings and numbers when used
oneSwitchValue = "Found only one switch value in |%s=",
fewerSwitchLabels = "Found %d switch values but only %d labels in |" .. ( type(L10n.para.switch)== 'table' and L10n.para.switch[1] or L10n.para.switch ) .. "=",
noNamedCoords = "No named coordinates found in %s"
}
-- Other strings
L10n.str = {
-- valid values for display parameter, e.g. (|display=inline) or (|display=title) or (|display=inline,title) or (|display=title,inline)
inline = "inline",
title = "title",
dsep = ",", -- separator between inline and title (comma in the example above)
-- valid values for type parameter
line = "line", -- geoline feature (e.g. a road)
shape = "shape", -- geoshape feature (e.g. a state or province)
shapeInverse = "shape-inverse", -- geomask feature (the inverse of a geoshape)
data = "data", -- geoJSON data page on Commons
point = "point", -- single point feature (coordinates)
circle = "circle", -- circular area around a point
named = "named", -- all named coordinates in an article or section
-- Keyword to indicate a switch list. Must NOT use the special characters ^$()%.[]*+-?
switch = "SWITCH",
-- valid values for icon, frame, and plain parameters
affirmedWords = ' '..table.concat({
"add",
"added",
"affirm",
"affirmed",
"include",
"included",
"on",
"true",
"yes",
"y"
}, ' ')..' ',
declinedWords = ' '..table.concat({
"decline",
"declined",
"exclude",
"excluded",
"false",
"none",
"not",
"no",
"n",
"off",
"omit",
"omitted",
"remove",
"removed"
}, ' ')..' '
}
-- Default values for parameters
L10n.defaults = {
display = L10n.str.inline,
text = "Map",
frameWidth = "300",
frameHeight = "200",
frameAlign = "right",
markerColor = "5E74F3",
markerSize = nil,
strokeColor = "#ff0000",
strokeWidth = 6,
edges = 32, -- number of edges used to approximate a circle
overlayBorder = "1px solid white",
overlayHorizontalAlignment = "right",
overlayHorizontalOffset = "0",
overlayVerticalAlignment = "bottom",
overlayVerticalOffset = "0"
}
-- #### End of L10n settings ####
--[[----------------------------------------------------------------------------
Utility methods
----------------------------------------------------------------------------]]--
local util = {}
--[[
Looks up a parameter value based on the id (a key from the L10n.para table) and
optionally a suffix, for parameters that can be suffixed (e.g. type2 is type
with suffix 2).
@param {table} args key-value pairs of parameter names and their values
@param {string} param_id id for parameter name (key from the L10n.para table)
@param {string} [suffix] suffix for parameter name
@returns {string|nil} parameter value if found, or nil if not found
]]--
function util.getParameterValue(args, param_id, suffix)
suffix = suffix or ''
if type( L10n.para[param_id] ) ~= 'table' then
return args[L10n.para[param_id]..suffix]
end
for _i, paramAlias in ipairs(L10n.para[param_id]) do
if args[paramAlias..suffix] then
return args[paramAlias..suffix]
end
end
return nil
end
--[[
Trim whitespace from args, and remove empty args. Also fix control characters.
@param {table} argsTable
@returns {table} trimmed args table
]]--
function util.trimArgs(argsTable)
local cleanArgs = {}
for key, val in pairs(argsTable) do
if type(key) == 'string' and type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val ~= '' then
-- control characters inside json need to be escaped, but stripping them is simpler
-- See also T214984
-- However, *don't* strip control characters from wikitext (text or description parameters) or you'll break strip markers
-- Alternatively it might be better to only strip control char from raw parameter content
if util.matchesParam('text', key) or util.matchesParam('description', key, key:gsub('^%D+(%d+)$', '%1') ) then
cleanArgs[key] = val
else
cleanArgs[key] = val:gsub('%c',' ')
end
end
else
cleanArgs[key] = val
end
end
return cleanArgs
end
--[[
Check if a parameter name matches an unlocalized parameter key
@param {string} key - the unlocalized parameter name to search through
@param {string} name - the localized parameter name to check
@param {string|nil} - an optional suffix to apply to the value(s) from the localization key
@returns {boolean} true if the name matches the parameter, false otherwise
]]--
function util.matchesParam(key, name, suffix)
local param = L10n.para[key]
suffix = suffix or ''
if type(param) == 'table' then
for _, v in pairs(param) do
if (v .. suffix) == name then return true end
end
return false
end
return ((param .. suffix) == name)
end
--[[
Check if a value is affirmed (one of the values in L10n.str.affirmedWords)
@param {string} val Value to be checked
@returns {boolean} true if affirmed, false otherwise
]]--
function util.isAffirmed(val)
if not(val) then return false end
return string.find(L10n.str.affirmedWords, ' '..val..' ', 1, true ) and true or false
end
--[[
Check if a value is declined (one of the values in L10n.str.declinedWords)
@param {string} val Value to be checked
@returns {boolean} true if declined, false otherwise
]]--
function util.isDeclined(val)
if not(val) then return false end
return string.find(L10n.str.declinedWords , ' '..val..' ', 1, true ) and true or false
end
--[[
Check if the name of a template matches the known coord templates or wrappers
(in L10n.template.templates and L10n.template.modules). The name is normalised
when checked, so e.g. the names "Coord", "coord", and " Coord" all return true.
@param {string} name
@returns {boolean} true if it is a coord template or wrapper, false otherwise
]]--
function util.isCoordTemplateOrWrapper(name)
name = mw.text.trim(name)
local modName = mw.ustring.gsub(name, '#invoke:', '')
local inputTitle = mw.title.new(modName, (name ~= modName) and 'Module' or 'Template')
if not inputTitle then
return false
end
-- Create (or reuse) mw.title objects for each known coord template/wrapper.
-- Stored in L10n.template.title so that they don't need to be recreated
-- each time this function is called
if not L10n.template.titles then
L10n.template.titles = {}
for _, v in pairs(L10n.template.templates) do
table.insert(L10n.template.titles, mw.title.new(v, 'Template'))
end
for _, v in pairs(L10n.template.modules) do
table.insert(L10n.template.titles, mw.title.new(v, 'Module'))
end
end
for _, templateTitle in pairs(L10n.template.titles) do
if mw.title.equals(inputTitle, templateTitle) then
return true
end
end
return false
end
--[[
Recursively extract coord templates which have a name parameter.
@param {string} wikitext
@returns {table} table sequence of coord templates
]]--
function util.extractCoordTemplates(wikitext)
local output = {}
local templates = mw.ustring.gmatch(wikitext, '{%b{}}')
for template in templates do
local templateName = mw.ustring.match(template, '{{([^}|]+)')
local nameParam = mw.ustring.match(template, "|%s*name%s*=%s*[^}|]+")
if util.isCoordTemplateOrWrapper(templateName) then
if nameParam then table.insert(output, template) end
elseif mw.ustring.find(mw.ustring.sub(template, 2), "{{") then
local subOutput = util.extractCoordTemplates(mw.ustring.sub(template, 2))
for _, t in pairs(subOutput) do
table.insert(output, t)
end
end
end
-- ensure coords are not using title display
for k, v in pairs(output) do
output[k] = mw.ustring.gsub(v, "|%s*display%s*=[^|}]+", "|display=inline")
end
return output
end
--[[
Gets all named coordiates from a page or a section of a page.
@param {string|nil} page Page name, or name#section, to get named coordinates
from. If the name is omitted, i.e. #section or nil or empty string, then
the current page will be used.
@returns {table} sequence of {coord, name, description} tables where coord is
the coordinates in a format suitable for #util.parseCoords, name is a string,
and description is a string (coordinates in a format suitable for displaying
to the reader). If for some reason the name can't be found, the description
is nil and the name contains display-format coordinates.
@throws {L10n.error.noNamedCoords} if no named coordinates are found.
]]--
function util.getNamedCoords(page)
local parts = mw.text.split(page or "", "#", true)
local name = parts[1] == "" and mw.title.getCurrentTitle().prefixedText or parts[1]
local section = parts[2]
local title = mw.title.new(name)
if title.isRedirect then
title = title.redirectTarget
end
local pageWikitext = title:getContent()
if section then
if parser == nil then
-- load [[Module:WikitextParser]] lazily so it is only transcluded on pages that use it
parser = require("Module:WikitextParser")
end
pageWikitext = parser.getSection(pageWikitext, section) or ''
end
local coordTemplates = util.extractCoordTemplates(pageWikitext)
if #coordTemplates == 0 then error(string.format(L10n.error.noNamedCoords, page or name), 0) end
local frame = mw.getCurrentFrame()
local sep = "________"
local expandedContent = frame:preprocess(table.concat(coordTemplates, sep))
local expandedTemplates = mw.text.split(expandedContent, sep)
local namedCoords = {}
for _, expandedTemplate in pairs(expandedTemplates) do
local coord = mw.ustring.match(expandedTemplate, "<span class=\"geo%-dec\".->(.-)</span>")
if coord then
local coordname = (
-- name specified by a wrapper template, e.g [[Article|Name]]
mw.ustring.match(expandedTemplate, "<span class=\"mapframe%-coord%-name\">(.-)</span>") or
-- name passed into coord template
mw.ustring.match(expandedTemplate, "<span class=\"fn org\">(.-)</span>") or
-- default to the coordinates if the name can't be retrieved
coord
)
local description = coordname ~= coord and coord
table.insert(namedCoords, {
coord=mw.ustring.gsub(coord, "[° ]", "_"),
name=coordname, description=description
})
end
end
if #namedCoords == 0 then error(string.format(L10n.error.noNamedCoords, page or name), 0) end
return namedCoords
end
--[[
Parse coordinate values from the params passed in a GeoHack url (such as
//tools.wmflabs.org/geohack/geohack.php?pagename=Example¶ms=1_2_N_3_4_W_ or
//tools.wmflabs.org/geohack/geohack.php?pagename=Example¶ms=1.23_S_4.56_E_ )
or non-url string in the same format (such as `1_2_N_3_4_W_` or `1.23_S_4.56_E_`)
@param {string} coords string containing coordinates
@returns {number, number} latitude, longitude
]]--
function util.parseCoords(coords)
local coordsPatt
if mw.ustring.find(coords, "params=", 1, true) then
-- prevent false matches from page name, e.g. ?pagename=Lorem_S._Ipsum
coordsPatt = 'params=([_%.%d]+[NS][_%.%d]+[EW])'
else
-- not actually a geohack url, just the same format
coordsPatt = '[_%.%d]+[NS][_%.%d]+[EW]'
end
local parts = mw.text.split((mw.ustring.match(coords, coordsPatt) or ''), '_')
local lat_d = tonumber(parts[1])
assert(lat_d, "Unable to get latitude from input '"..coords.."'.")
local lat_m = tonumber(parts[2]) -- nil if coords are in decimal format
local lat_s = lat_m and tonumber(parts[3]) -- nil if coords are either in decimal format or degrees and minutes only
local lat = lat_d + (lat_m or 0)/60 + (lat_s or 0)/3600
if parts[#parts/2] == 'S' then
lat = lat * -1
end
local long_d = tonumber(parts[1+#parts/2])
assert(long_d, "Unable to get longitude from input '"..coords.."'.")
local long_m = tonumber(parts[2+#parts/2]) -- nil if coords are in decimal format
local long_s = long_m and tonumber(parts[3+#parts/2]) -- nil if coords are either in decimal format or degrees and minutes only
local long = long_d + (long_m or 0)/60 + (long_s or 0)/3600
if parts[#parts] == 'W' then
long = long * -1
end
return lat, long
end
--[[
Get coordinates from a Wikidata item
@param {string} item_id Wikidata item id (Q number)
@returns {number, number} latitude, longitude
@throws {L10n.error.noCoords} if item_id is invalid or the item does not exist
@throws {L10n.error.wikidataCoords} if the the item does not have a P625
statement (coordinates), or it is set to "no value"
]]--
function util.wikidataCoords(item_id)
if not (item_id and wb.isValidEntityId(item_id) and wb.entityExists(item_id)) then
error(L10n.error.noCoords, 0)
end
local coordStatements = wb.getBestStatements(item_id, 'P625')
if not coordStatements or #coordStatements == 0 then
error(L10n.error.wikidataCoords, 0)
end
local hasNoValue = ( coordStatements[1].mainsnak and (coordStatements[1].mainsnak.snaktype == 'novalue' or coordStatements[1].mainsnak.snaktype == 'somevalue') )
if hasNoValue then
error(L10n.error.wikidataCoords, 0)
end
local wdCoords = coordStatements[1]['mainsnak']['datavalue']['value']
return tonumber(wdCoords['latitude']), tonumber(wdCoords['longitude'])
end
--[[
Creates a polygon that approximates a circle
@param {number} lat Latitude
@param {number} long Longitude
@param {number} radius Radius in metres
@param {number} n Number of edges for the polygon
@returns {table} sequence of {latitude, longitude} table sequences, where
latitude and longitude are both numbers
]]--
function util.circleToPolygon(lat, long, radius, n) -- n is number of edges
-- Based on https://github.com/gabzim/circle-to-polygon, ISC licence
local function offset(cLat, cLon, distance, bearing)
local lat1 = math.rad(cLat)
local lon1 = math.rad(cLon)
local dByR = distance / 6378137 -- distance divided by 6378137 (radius of the earth) wgs84
local offet_lat = math.asin(
math.sin(lat1) * math.cos(dByR) +
math.cos(lat1) * math.sin(dByR) * math.cos(bearing)
)
local offet_lon = lon1 + math.atan2(
math.sin(bearing) * math.sin(dByR) * math.cos(lat1),
math.cos(dByR) - math.sin(lat1) * math.sin(offet_lat)
)
return {math.deg(offet_lon), math.deg(offet_lat)}
end
local coordinates = {};
local i = 0;
while i < n do
table.insert(coordinates,
offset(lat, long, radius, (2*math.pi*i*-1)/n)
)
i = i + 1
end
table.insert(coordinates, offset(lat, long, radius, 0))
return coordinates
end
--[[
Get the number of key-value pairs in a table, which might not be a sequence.
@param {table} t
@returns {number} count of key-value pairs
]]--
function util.tableCount(t)
local count = 0
for k, v in pairs(t) do
count = count + 1
end
return count
end
--[[
For a table where the values are all tables, returns either the util.tableCount
of the subtables if they are all the same, or nil if they are not all the same.
@param {table} t
@returns {number|nil} count of key-value pairs of subtable, or nil if subtables
have different counts
]]--
function util.subTablesCount(t)
local count = nil
for k, v in pairs(t) do
if count == nil then
count = util.tableCount(v)
elseif count ~= util.tableCount(v) then
return nil
end
end
return count
end
--[[
Splits a list into a table sequence. The items in the list may be separated by
commas, or by semicolons (if items may contain commas), or by "###" (if items
may contain semicolons).
@param {string} listString
@returns {table} sequence of list items
]]--
function util.tableFromList(listString)
if type(listString) ~= "string" or listString == "" then return nil end
local separator = (mw.ustring.find(listString, "###", 0, true ) and "###") or
(mw.ustring.find(listString, ";", 0, true ) and ";") or ","
local pattern = "%s*"..separator.."%s*"
return mw.text.split(listString, pattern)
end
-- Boolean in outer scope indicating if Kartographer should be able to
-- automatically calculate coordinates (see phab:T227402)
local coordsDerivedFromFeatures = false;
--[[----------------------------------------------------------------------------
Make methods: These take in a table of arguments, and return either a string
or a table to be used in the eventual output.
----------------------------------------------------------------------------]]--
local make = {}
--[[
Makes content to go inside the maplink or mapframe tag.
@param {table} args
@returns {string} tag content
]]--
function make.content(args)
if util.getParameterValue(args, 'raw') then
coordsDerivedFromFeatures = true -- Kartographer should be able to automatically calculate coords from raw geoJSON
return util.getParameterValue(args, 'raw')
end
local content = {}
local argsExpanded = {}
for k, v in pairs(args) do
local index = string.match( k, '^[^0-9]+([0-9]*)$' )
if index ~= nil then
local indexNumber
if index ~= '' then
indexNumber = tonumber(index)
else
indexNumber = 1
end
if argsExpanded[indexNumber] == nil then
argsExpanded[indexNumber] = {}
end
argsExpanded[indexNumber][ string.gsub(k, index, '') ] = v
end
end
for contentIndex, contentArgs in pairs(argsExpanded) do
local argType = util.getParameterValue(contentArgs, "type")
-- Kartographer automatically calculates coords if geolines/shapes are used (T227402)
if not coordsDerivedFromFeatures then
coordsDerivedFromFeatures = ( argType == L10n.str.line or argType == L10n.str.shape ) and true or false
end
if argType == L10n.str.named then
local namedCoords = util.getNamedCoords(util.getParameterValue(contentArgs, "from"))
local typeKey = type(L10n.para.type) == "table" and L10n.para.type[1] or L10n.para.type
local coordKey = type(L10n.para.coord) == "table" and L10n.para.coord[1] or L10n.para.coord
local titleKey = type(L10n.para.title) == "table" and L10n.para.title[1] or L10n.para.title
local descKey = type(L10n.para.description) == "table" and L10n.para.description[1] or L10n.para.description
for _, namedCoord in pairs(namedCoords) do
contentArgs[typeKey] = "point"
contentArgs[coordKey] = namedCoord.coord
contentArgs[titleKey] = namedCoord.name
contentArgs[descKey] = namedCoord.description
content[#content+1] = make.contentJson(contentArgs)
end
else
content[#content + 1] = make.contentJson(contentArgs)
end
end
--Single item, no array needed
if #content==1 then return content[1] end
--Multiple items get placed in a FeatureCollection
local contentArray = '[\n' .. table.concat( content, ',\n') .. '\n]'
return contentArray
end
--[[
Make coordinates from the coord arg, or the id arg, or the current page's
Wikidata item.
@param {table} args
@param {boolean} [plainOutput]
@returns {Mixed} Either:
{number, number} latitude, longitude if plainOutput is true; or
{table} table sequence of longitude, then latitude (gives the required format
for GeoJSON when encoded)
]]--
function make.coords(args, plainOutput)
local coords, lat, long
local frame = mw.getCurrentFrame()
if util.getParameterValue(args, 'coord') then
coords = frame:preprocess( util.getParameterValue(args, 'coord') )
lat, long = util.parseCoords(coords)
else
lat, long = util.wikidataCoords(util.getParameterValue(args, 'id') or wb.getEntityIdForCurrentPage())
end
if plainOutput then
return lat, long
end
return {[0] = long, [1] = lat}
end
--[[
Makes a table of coordinates that approximate a circle.
@param {table} args
@returns {table} sequence of {latitude, longitude} table sequences, where
latitude and longitude are both numbers
@throws {L10n.error.noCircleCoords} if centre coordinates are not specified
@throws {L10n.error.noRadius} if radius is not specified
@throws {L10n.error.negativeRadius} if radius is negative or zero
@throws {L10n.error.negativeEdges} if edges is negative or zero
]]--
function make.circleCoords(args)
local lat, long = make.coords(args, true)
local radius = util.getParameterValue(args, 'radius')
if not radius then
radius = util.getParameterValue(args, 'radiusKm') and tonumber(util.getParameterValue(args, 'radiusKm'))*1000
if not radius then
radius = util.getParameterValue(args, 'radiusMi') and tonumber(util.getParameterValue(args, 'radiusMi'))*1609.344
if not radius then
radius = util.getParameterValue(args, 'radiusFt') and tonumber(util.getParameterValue(args, 'radiusFt'))*0.3048
end
end
end
local edges = util.getParameterValue(args, 'edges') or L10n.defaults.edges
if not lat or not long then
error(L10n.error.noCircleCoords, 0)
elseif not radius then
error(L10n.error.noRadius, 0)
elseif tonumber(radius) <= 0 then
error(L10n.error.negativeRadius, 0)
elseif tonumber(edges) <= 0 then
error(L10n.error.negativeEdges, 0)
end
return util.circleToPolygon(lat, long, radius, tonumber(edges))
end
--[[
Makes JSON data for a feature
@param contentArgs args for this feature. Keys must be the non-suffixed version
of the parameter names, i.e. use type, stroke, fill,... rather than type3,
stroke3, fill3,...
@returns {string} JSON encoded data
]]--
function make.contentJson(contentArgs)
local data = {}
if util.getParameterValue(contentArgs, 'type') == L10n.str.point or util.getParameterValue(contentArgs, 'type') == L10n.str.circle then
local isCircle = util.getParameterValue(contentArgs, 'type') == L10n.str.circle
data.type = "Feature"
data.geometry = {
type = isCircle and "LineString" or "Point",
coordinates = isCircle and make.circleCoords(contentArgs) or make.coords(contentArgs)
}
data.properties = {
title = util.getParameterValue(contentArgs, 'title') or mw.getCurrentFrame():getParent():getTitle()
}
if isCircle then
-- TODO: This is very similar to below, should be extracted into a function
data.properties.stroke = util.getParameterValue(contentArgs, 'strokeColor') or L10n.defaults.strokeColor
data.properties["stroke-width"] = tonumber(util.getParameterValue(contentArgs, 'strokeWidth')) or L10n.defaults.strokeWidth
local strokeOpacity = util.getParameterValue(contentArgs, 'strokeOpacity')
if strokeOpacity then
data.properties['stroke-opacity'] = tonumber(strokeOpacity)
end
local fill = util.getParameterValue(contentArgs, 'fill')
if fill then
data.properties.fill = fill
local fillOpacity = util.getParameterValue(contentArgs, 'fillOpacity')
data.properties['fill-opacity'] = fillOpacity and tonumber(fillOpacity) or 0.6
end
else -- is a point
local markerSymbol = util.getParameterValue(contentArgs, 'marker') or L10n.defaults.marker
-- allow blank to be explicitly specified, for overriding infoboxes or other templates with a default value
if markerSymbol ~= "blank" then
data.properties["marker-symbol"] = markerSymbol
end
data.properties["marker-color"] = util.getParameterValue(contentArgs, 'markerColor') or L10n.defaults.markerColor
data.properties["marker-size"] = util.getParameterValue(contentArgs, 'markerSize') or L10n.defaults.markerSize
end
else
data.type = "ExternalData"
if util.getParameterValue(contentArgs, 'type') == L10n.str.data or util.getParameterValue(contentArgs, 'from') then
data.service = "page"
elseif util.getParameterValue(contentArgs, 'type') == L10n.str.line then
data.service = "geoline"
elseif util.getParameterValue(contentArgs, 'type') == L10n.str.shape then
data.service = "geoshape"
elseif util.getParameterValue(contentArgs, 'type') == L10n.str.shapeInverse then
data.service = "geomask"
end
if util.getParameterValue(contentArgs, 'id') or (not (util.getParameterValue(contentArgs, 'from')) and wb.getEntityIdForCurrentPage()) then
data.ids = util.getParameterValue(contentArgs, 'id') or wb.getEntityIdForCurrentPage()
else
data.title = util.getParameterValue(contentArgs, 'from')
end
data.properties = {
stroke = util.getParameterValue(contentArgs, 'strokeColor') or L10n.defaults.strokeColor,
["stroke-width"] = tonumber(util.getParameterValue(contentArgs, 'strokeWidth')) or L10n.defaults.strokeWidth
}
local strokeOpacity = util.getParameterValue(contentArgs, 'strokeOpacity')
if strokeOpacity then
data.properties['stroke-opacity'] = tonumber(strokeOpacity)
end
local fill = util.getParameterValue(contentArgs, 'fill')
if fill and (data.service == "geoshape" or data.service == "geomask") then
data.properties.fill = fill
local fillOpacity = util.getParameterValue(contentArgs, 'fillOpacity')
if fillOpacity then
data.properties['fill-opacity'] = tonumber(fillOpacity)
end
end
end
data.properties.title = util.getParameterValue(contentArgs, 'title') or mw.title.getCurrentTitle().text
if util.getParameterValue(contentArgs, 'description') then
data.properties.description = util.getParameterValue(contentArgs, 'description')
end
return mw.text.jsonEncode(data)
end
--[[
Makes attributes for the maplink or mapframe tag.
@param {table} args
@param {boolean} [isTitle] Tag is to be displayed in the title of page rather
than inline
@returns {table<string,string>} key-value pairs of attribute names and values
]]--
function make.tagAttribs(args, isTitle)
local attribs = {}
if util.getParameterValue(args, 'zoom') then
attribs.zoom = util.getParameterValue(args, 'zoom')
end
if util.isDeclined(util.getParameterValue(args, 'icon')) then
attribs.class = "no-icon"
end
if util.getParameterValue(args, 'type') == L10n.str.point and not coordsDerivedFromFeatures then
local lat, long = make.coords(args, 'plainOutput')
attribs.latitude = tostring(lat)
attribs.longitude = tostring(long)
end
if util.isAffirmed(util.getParameterValue(args, 'frame')) and not(isTitle) then
attribs.width = util.getParameterValue(args, 'frameWidth') or L10n.defaults.frameWidth
attribs.height = util.getParameterValue(args, 'frameHeight') or L10n.defaults.frameHeight
if util.getParameterValue(args, 'frameCoordinates') then
local frameLat, frameLong = util.parseCoords(util.getParameterValue(args, 'frameCoordinates'))
attribs.latitude = frameLat
attribs.longitude = frameLong
else
if util.getParameterValue(args, 'frameLatitude') then
attribs.latitude = util.getParameterValue(args, 'frameLatitude')
end
if util.getParameterValue(args, 'frameLongitude') then
attribs.longitude = util.getParameterValue(args, 'frameLongitude')
end
end
if not attribs.latitude and not attribs.longitude and not coordsDerivedFromFeatures then
local success, lat, long = pcall(util.wikidataCoords, util.getParameterValue(args, 'id') or wb.getEntityIdForCurrentPage())
if success then
attribs.latitude = tostring(lat)
attribs.longitude = tostring(long)
end
end
if util.getParameterValue(args, 'frameAlign') then
attribs.align = util.getParameterValue(args, 'frameAlign')
end
if util.isAffirmed(util.getParameterValue(args, 'plain')) then
attribs.frameless = "1"
else
attribs.text = util.getParameterValue(args, 'text') or L10n.defaults.text
end
else
attribs.text = util.getParameterValue(args, 'text') or L10n.defaults.text
end
return attribs
end
--[[
Makes maplink wikitext that will be located in the top-right of the title of the
page (the same place where coords with |display=title are positioned).
@param {table} args
@param {string} tagContent Content for the maplink tag
@returns {string}
]]--
function make.titleOutput(args, tagContent)
local titleTag = mw.text.tag('maplink', make.tagAttribs(args, true), tagContent)
local spanAttribs = {
style = "font-size: small;",
id = "mapframe-coordinates"
}
local indicatorContent = mw.text.tag('span', spanAttribs, titleTag)
return mw.getCurrentFrame():extensionTag {
name = "indicator",
content = indicatorContent,
args = {
name = "zzz-mapframe" --zzz: show as last indicator
}
}
end
--[[
Makes maplink or mapframe wikitext that will be located inline.
@param {table} args
@param {string} tagContent Content for the maplink tag
@returns {string}
]]--
function make.inlineOutput(args, tagContent)
local tagName = 'maplink'
if util.getParameterValue(args, 'frame') then
tagName = 'mapframe'
end
return mw.text.tag(tagName, make.tagAttribs(args), tagContent)
end
--[[
Makes the HTML required for the swicther to work, including the templatestyles
tag.
@param {table} params table sequence of {map, label} tables
@param {string} params{}.map Wikitext for mapframe map
@param {string} params{}.label Label text for swicther option
@param {table} options
@param {string} options.alignment "left" or "center" or "right"
@param {boolean} options.isThumbnail Display in a thumbnail
@param {string} options.width Width of frame, e.g. "200"
@param {string} [options.caption] Caption wikitext for thumnail
@retruns {string} swicther HTML
]]--
function make.switcherHtml(params, options)
options = options or {}
local frame = mw.getCurrentFrame()
local styles = frame:extensionTag{
name = "templatestyles",
args = {src = "Template:Maplink/styles-multi.css"}
}
local container = mw.html.create("div")
:addClass("switcher-container")
:addClass("mapframe-multi-container")
if options.alignment == "left" or options.alignment == "right" then
container:addClass("float"..options.alignment)
else -- alignment is "center"
container:addClass("center")
end
for i = 1, #params do
container
:tag("div")
:wikitext(params[i].map)
:tag("span")
:addClass("switcher-label")
:css("display", "none")
:wikitext(mw.text.trim(params[i].label))
end
if not options.isThumbnail then
return styles .. tostring(container)
end
local classlist = container:getAttr("class")
classlist = mw.ustring.gsub(classlist, "%a*"..options.alignment, "")
container:attr("class", classlist)
local outerCountainer = mw.html.create("div")
:addClass("mapframe-multi-outer-container")
:addClass("mw-kartographer-container")
:addClass("thumb")
if options.alignment == "left" or options.alignment == "right" then
outerCountainer:addClass("t"..options.alignment)
else -- alignment is "center"
outerCountainer
:addClass("tnone")
:addClass("center")
end
outerCountainer
:tag("div")
:addClass("thumbinner")
:css("width", options.width.."px")
:node(container)
:node(options.caption and mw.html.create("div")
:addClass("thumbcaption")
:wikitext(options.caption)
)
return styles .. tostring(outerCountainer)
end
--[[
Makes the HTML required for an overlay map to work
tag.
@param {string} overlayMap wikitext for the overlay map
@param {string} baseMap wikitext for the base map
@param {table} options various styling/display options
@param {string} options.align "left" or "center" or "right"
@param {string|number} options.width Width of the base map, e.g. "300"
@param {string|number} options.width Height of the base map, e.g. "200"
@param {string} options.border Border style for the overlayed map, e.g. "1px solid white"
@param {string} options.horizontalAlignment Horizontal alignment for overlay map, "left" or "right"
@param {string|number} options.horizontalOffset Horizontal offset in pixels from the alignment edge, e.g "10"
@param {string} options.verticalAlignment Vertical alignment for overlay map, "top" or "bottom"
@param {string|number} options.verticalOffset Vertical offset in pixels from the alignment edge, e.g. is "10"
@param {boolean} options.isThumbnail Display in a thumbnail
@param {string} [options.caption] Caption wikitext for thumnail
@retruns {string} HTML for basemap with overlay
]]--
function make.overlayHtml(overlayMap, baseMap, options)
options = options or {}
local containerFloatClass = "float"..(options.align or "none")
if options.align == "center" then
containerFloatClass = "center"
end
local containerStyle = {
position = "relative",
width = options.width .. "px",
height = options.height .. "px",
overflow = "hidden" -- mobile/minerva tends to add scrollbars for a couple of pixels
}
if options.align == "center" then
containerStyle["margin-left"] = "auto"
containerStyle["margin-right"] = "auto"
end
local container = mw.html.create("div")
:addClass("mapframe-withOverlay-container")
:addClass(containerFloatClass)
:addClass("noresize")
:css(containerStyle)
local overlayStyle = {
position = "absolute",
["z-index"] = "1",
border = options.border or "1px solid white"
}
if options.horizontalAlignment == "right" then
overlayStyle.right = options.horizontalOffset .. "px"
else
overlayStyle.left = options.horizontalOffset .. "px"
end
if options.verticalAlignment == "bottom" then
overlayStyle.bottom = options.verticalOffset .. "px"
else
overlayStyle.top = options.verticalOffset .. "px"
end
local overlayDiv = mw.html.create("div")
:css(overlayStyle)
:wikitext(overlayMap)
container
:node(overlayDiv)
:wikitext(baseMap)
if not options.isThumbnail then
return tostring(container)
end
local classlist = container:getAttr("class")
classlist = mw.ustring.gsub(classlist, "%a*"..options.align, "")
container:attr("class", classlist)
local outerCountainer = mw.html.create("div")
:addClass("mapframe-withOverlay-outerContainer")
:addClass("mw-kartographer-container")
:addClass("thumb")
if options.align == "left" or options.align == "right" then
outerCountainer:addClass("t"..options.align)
else -- alignment is "center"
outerCountainer
:addClass("tnone")
:addClass("center")
end
outerCountainer
:tag("div")
:addClass("thumbinner")
:css("width", options.width.."px")
:node(container)
:node(options.caption and mw.html.create("div")
:addClass("thumbcaption")
:wikitext(options.caption)
)
return tostring(outerCountainer)
end
--[[----------------------------------------------------------------------------
Package to be exported, i.e. methods which will available to templates and
other modules.
----------------------------------------------------------------------------]]--
local p = {}
-- Entry point for templates
function p.main(frame)
local parent = frame.getParent(frame)
-- Check for overlay option
local overlay = util.getParameterValue(parent.args, 'overlay')
local hasOverlay = overlay and mw.text.trim(overlay) ~= ""
-- Check for switch option
local switch = util.getParameterValue(parent.args, 'switch')
local isMulti = switch and mw.text.trim(switch) ~= ""
-- Create output by choosing method to suit options
local output
if hasOverlay then
output = p.withOverlay(parent.args)
elseif isMulti then
output = p.multi(parent.args)
else
output = p._main(parent.args)
end
-- Preprocess output before returning it
return frame:preprocess(output)
end
-- Entry points for modules
function p._main(_args)
local args = util.trimArgs(_args)
local tagContent = make.content(args)
local display = mw.text.split(util.getParameterValue(args, 'display') or L10n.defaults.display, '%s*' .. L10n.str.dsep .. '%s*')
local displayInTitle = display[1] == L10n.str.title or display[2] == L10n.str.title
local displayInline = display[1] == L10n.str.inline or display[2] == L10n.str.inline
local output
if displayInTitle and displayInline then
output = make.titleOutput(args, tagContent) .. make.inlineOutput(args, tagContent)
elseif displayInTitle then
output = make.titleOutput(args, tagContent)
elseif displayInline then
output = make.inlineOutput(args, tagContent)
else
error(L10n.error.badDisplayPara)
end
return output
end
function p.multi(_args)
local args = util.trimArgs(_args)
if not args[L10n.para.switch] then error(L10n.error.noSwitchPara, 0) end
local switchParamValue = util.getParameterValue(args, 'switch')
local switchLabels = util.tableFromList(switchParamValue)
if #switchLabels == 1 then error(L10n.error.oneSwitchLabel, 0) end
local mapframeArgs = {}
local switchParams = {}
for name, val in pairs(args) do
-- Copy to mapframeArgs, if not the switch labels or a switch parameter
if val ~= switchParamValue and not string.match(val, "^"..L10n.str.switch..":") then
mapframeArgs[name] = val
end
-- Check if this is a param to switch. If so, store the name and switch
-- values in switchParams table.
local switchList = string.match(val, "^"..L10n.str.switch..":(.+)")
if switchList ~= nil then
local values = util.tableFromList(switchList)
if #values == 1 then
error(string.format(L10n.error.oneSwitchValue, name), 0)
end
switchParams[name] = values
end
end
if util.tableCount(switchParams) == 0 then
error(L10n.error.noSwitchLists, 0)
end
local switchCount = util.subTablesCount(switchParams)
if not switchCount then
error(L10n.error.switchMismatches, 0)
elseif switchCount > #switchLabels then
error(string.format(L10n.error.fewerSwitchLabels, switchCount, #switchLabels), 0)
end
-- Ensure a plain frame will be used (thumbnail will be built by the
-- make.switcherHtml function if required, so that switcher options are
-- inside the thumnail)
mapframeArgs.plain = "yes"
local switcher = {}
for i = 1, switchCount do
local label = switchLabels[i]
for name, values in pairs(switchParams) do
mapframeArgs[name] = values[i]
end
table.insert(switcher, {
map = p._main(mapframeArgs),
label = "Show "..label
})
end
return make.switcherHtml(switcher, {
alignment = args["frame-align"] or "right",
isThumbnail = (args.frame and not args.plain) and true or false,
width = args["frame-width"] or L10n.defaults.frameWidth,
caption = args.text
})
end
function p.withOverlay(_args)
-- Get and trim wikitext for overlay map
local overlayMap = _args.overlay
if type(overlayMap) == 'string' then
overlayMap = overlayMap:match('^%s*(.-)%s*$')
end
local isThumbnail = (util.getParameterValue(_args, "frame") and not util.getParameterValue(_args, "plain")) and true or false
-- Get base map using the _main function, as a plain map
local args = util.trimArgs(_args)
args.plain = "yes"
local basemap = p._main(args)
-- Extract overlay options from args
local overlayOptions = {
width = util.getParameterValue(args, "frameWidth") or L10n.defaults.frameWidth,
height = util.getParameterValue(args, "frameHeight") or L10n.defaults.frameHeight,
align = util.getParameterValue(args, "frameAlign") or L10n.defaults.frameAlign,
border = util.getParameterValue(args, "overlayBorder") or L10n.defaults.overlayBorder,
horizontalAlignment = util.getParameterValue(args, "overlayHorizontalAlignment") or L10n.defaults.overlayHorizontalAlignment,
horizontalOffset = util.getParameterValue(args, "overlayHorizontalOffset") or L10n.defaults.overlayHorizontalOffset,
verticalAlignment = util.getParameterValue(args, "overlayVerticalAlignment") or L10n.defaults.overlayVerticalAlignment,
verticalOffset = util.getParameterValue(args, "overlayVerticalOffset") or L10n.defaults.overlayVerticalOffset,
isThumbnail = isThumbnail,
caption = util.getParameterValue(args, "text") or L10n.defaults.text
}
-- Make the HTML for the overlaying maps
return make.overlayHtml(overlayMap, basemap, overlayOptions)
end
-- Entry point for testcase tests
p.test = util
return p
tqo7eop3oax1igeo3sp8rmff34652gt
Template:Mapframe
10
7238
70429
2026-04-25T04:27:53Z
Exec8
6243
Pájina foun: '<includeonly>{{#invoke:Mapframe|main}}</includeonly><noinclude> {{Maplink|frame=yes|zoom=9|frame-lat=35.90|frame-long=-106.56|text=Mapframe|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}} {{Maplink|display=inline,title|text=Maplink|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}} {{documentation}} </noinclude>'
70429
wikitext
text/x-wiki
<includeonly>{{#invoke:Mapframe|main}}</includeonly><noinclude>
{{Maplink|frame=yes|zoom=9|frame-lat=35.90|frame-long=-106.56|text=Mapframe|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}}
{{Maplink|display=inline,title|text=Maplink|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}}
{{documentation}}
</noinclude>
od34zqgaqqtudhriiswwpsnl32uhgv7
Template:Mapframe/Wikidata
10
7239
70430
2026-04-25T04:28:39Z
Exec8
6243
Pájina foun: '<includeonly>{{#tag:mapframe| [ {{#ifeq:{{{shape|}}}|no||{"type": "ExternalData", "service": "geoshape", "ids": "{{GetQID|qid={{{qid|}}}}}", "properties": { "fill": "{{{background_color|#999999}}}", "stroke": "#{{{stroke_color|636363}}}", "stroke-width": {{{stroke_width|2}}} } },}} {{#ifeq:{{{marker|}}}|no||{"type": "Feature", "geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB|getValue|rank=best|P625|qid={{GetQID|qid={{{qid|}}}}}|fetchwikidata=ALL|maxvals=1|...'
70430
wikitext
text/x-wiki
<includeonly>{{#tag:mapframe|
[
{{#ifeq:{{{shape|}}}|no||{"type": "ExternalData", "service": "geoshape", "ids": "{{GetQID|qid={{{qid|}}}}}", "properties": { "fill": "{{{background_color|#999999}}}", "stroke": "#{{{stroke_color|636363}}}", "stroke-width": {{{stroke_width|2}}} } },}}
{{#ifeq:{{{marker|}}}|no||{"type": "Feature", "geometry": { "type": "Point", "coordinates": [{{#invoke:WikidataIB|getValue|rank=best|P625|qid={{GetQID|qid={{{qid|}}}}}|fetchwikidata=ALL|maxvals=1|onlysourced={{{onlysourced|no}}}|noicon=yes|format=decimal|show=longlat|{{{coordinates|}}}}}] }, "properties": { {{#if:{{{marker_symbol|}}}|"marker-symbol": "{{{marker_symbol|}}}",|}} "marker-size": "{{{marker_size|large}}}", "marker-color": "{{{marker_color|ff0000}}}" } } }}
]
|frameless=1
|lang={{siteID}}
|width={{#ifeq:{{str find|{{{width|200}}}|px}}|-1|{{{width|200}}}|{{str_sub|{{{width|200}}}|0|{{#expr:{{str find|{{{width|200}}}|px}}-1}}}}}}
|height={{#ifeq:{{str find|{{{height|200}}}|px}}|-1|{{{height|200}}}|{{str_sub|{{{height|200}}}|0|{{#expr:{{str find|{{{height|200}}}|px}}-1}}}}}}
|zoom={{#if:{{{zoom|}}}|{{{zoom|}}}|14}}
|longitude={{#invoke:WikidataIB|getValue|rank=best|P625|qid={{GetQID|qid={{{qid|}}}}}|fetchwikidata=ALL|maxvals=1|onlysourced={{{onlysourced|no}}}|noicon=yes|format=decimal|show=long|{{{longitude|}}}}}
|latitude={{#invoke:WikidataIB|getValue|rank=best|P625|qid={{GetQID|qid={{{qid|}}}}}|fetchwikidata=ALL|maxvals=1|onlysourced={{{onlysourced|no}}}|noicon=yes|format=decimal|show=lat|{{{latitude|}}}}}
|align={{{align|right}}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
hcje3p6tbrr3hgb8ivtqb4grfal63hy
Template:Maplink
10
7240
70431
2026-04-25T04:28:56Z
Exec8
6243
Pájina foun: '<includeonly>{{#invoke:Mapframe|main}}</includeonly><noinclude> {{Maplink|frame=yes|zoom=9|frame-lat=35.90|frame-long=-106.56|text=Mapframe|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}} {{Maplink|display=inline,title|text=Maplink|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}} {{documentation}} </noinclude>'
70431
wikitext
text/x-wiki
<includeonly>{{#invoke:Mapframe|main}}</includeonly><noinclude>
{{Maplink|frame=yes|zoom=9|frame-lat=35.90|frame-long=-106.56|text=Mapframe|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}}
{{Maplink|display=inline,title|text=Maplink|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map}}
{{documentation}}
</noinclude>
od34zqgaqqtudhriiswwpsnl32uhgv7
Template:Maplink/testcases/overlays
10
7241
70432
2026-04-25T04:29:32Z
Exec8
6243
Pájina foun: '{{testcases notice}} {|class=wikitable !width=50%|Live template !Sandbox |- |colspan=2|'''Overlaying another mapframe'''<pre> {{maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13 |overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}} }}</pre> |- | -- |{{maplink/sandbox|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13 |overlay={{maplink|frame=yes|plain...'
70432
wikitext
text/x-wiki
{{testcases notice}}
{|class=wikitable
!width=50%|Live template
!Sandbox
|-
|colspan=2|'''Overlaying another mapframe'''<pre>
{{maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
}}
|-
|colspan=2|'''Overlaying a static street map'''<pre>
{{maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={Graph:Street map with marks | width=100 | height=100 | lat=37.8 | lon=-122.4 | zoom=6 | minimap=false |
{ "lat": 37.8, "lon": -122.4 }
}}
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay=
}}
|-
|colspan=2|'''With a frame'''<pre>
{{maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
}}
|-
|colspan=2|'''Alignment of overlay'''<pre>
{{maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=180|frame-height=140|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=left
|overlay-vertical-alignment=top
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=180|frame-height=140|type=shape|id=Q100|frame-align=center}}|overlay-horizontal-alignment=left
|overlay-vertical-alignment=top
}}
|-
|colspan=2|'''Offset for overlay'''<pre>
{{maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=left
|overlay-vertical-alignment=top
|overlay-horizontal-offset=10
|overlay-vertical-offset=15
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=left
|overlay-vertical-alignment=top
|overlay-horizontal-offset=10
|overlay-vertical-offset=10
}}
|-
|colspan=2|'''Offset for overlay (negative)'''<pre>
{{maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=right
|overlay-vertical-alignment=top
|overlay-horizontal-offset=-5
|overlay-vertical-offset=-5
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=right
|overlay-vertical-alignment=top
|overlay-horizontal-offset=-5
|overlay-vertical-offset=-5
}}
|-
|colspan=2|'''Image overlay'''<pre>
{{maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay=[[File:Example.svg|140x140px]]
}}</pre>
|-
| --
|{{maplink/sandbox|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay=[[File:Example.png|140x140px]]
}}
|}
goyvfpzk8vxz8c2sivfqt7vj0iy4ogu
Template:Testcases notice
10
7242
70433
2026-04-25T04:29:52Z
Exec8
6243
Pájina foun: '{{#ifeq:{{NAMESPACE}}|User||{{#ifexist:{{FULLBASEPAGENAME}}||{{db-g8}}}}}}{{ombox | image = [[File:Gnome-applications-science.svg|42px|alt=icon]] | text = This is the [[Wikipedia:Template sandbox and test cases|template test cases]] page for the <noinclude>[[Template:Template test cases notice/sandbox|sandbox]]</noinclude><includeonly>{{{sandbox link|{{#if:{{{1|}}}|{{{1|}}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}/{{{subpage-name|sandbox}}}}}}|{{{sandbox name|{{{subpage-name|sand...'
70433
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACE}}|User||{{#ifexist:{{FULLBASEPAGENAME}}||{{db-g8}}}}}}{{ombox
| image = [[File:Gnome-applications-science.svg|42px|alt=icon]]
| text =
This is the [[Wikipedia:Template sandbox and test cases|template test cases]] page for the <noinclude>[[Template:Template test cases notice/sandbox|sandbox]]</noinclude><includeonly>[[{{{sandbox link|{{#if:{{{1|}}}|{{{1|}}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}/{{{subpage-name|sandbox}}}}}}|{{{sandbox name|{{{subpage-name|sandbox}}}}}}]]</includeonly> of [[:{{#if:{{{1|}}}|{{{1|}}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}]]. {{Purge|Purge this page}} to update the examples. <br /> <small>If there are many examples of a complicated template, later ones may break due to [[Wikipedia:Template limits|limits in MediaWiki]]; see the HTML comment "[[Help:Template limits#How can you find out?|NewPP limit report]]" in the rendered page. <br /> You can also use [[Special:ExpandTemplates]] to examine the results of template uses. <br /> You can test how this page looks in the different skins and parsers with these links:</small>
<div style="text-align:center;font-size:90%;">{{select skin}}<br />
{{hlist|class=inline plainlinks nowraplinks
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useparsoid=1}} {{int:parsermigration-use-parsoid-toolbox-label}}]
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useparsoid=0}} {{int:parsermigration-use-legacy-parser-toolbox-label}}]
}}</div>
}}<includeonly>__EXPECTUNUSEDTEMPLATE__<!--
-->{{{category|[[Category:Template test cases]]}}}<!--
-->{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}} || [[Category:Template test cases subpages without corresponding pages]] }}<!--
--></includeonly><noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
{{Documentation}}
</noinclude>
n7qe0aiprgbbudz66jeebcrajtmh5gv
Template:Db-g8
10
7243
70434
2026-04-25T04:30:21Z
Exec8
6243
Pájina foun: '{{SAFESUBST:<noinclude />#invoke:Unsubst||$B={{Db-meta |bot={{{bot|}}} |raw={{{raw|}}} |rationale={{{reason|{{{rationale|}}}}}} |criterion=G8 |temp={{{temp|}}} |self=yes |1= as {{#if:{{{1|}}}|{{{1}}}|a dependent page of a page}} which has never existed or has been deleted |2={{{does_not_include|This does '''not''' include pages which are useful to the project such as user subpages and talk pages, talk page archives, information for a future article, redirects that can be...'
70434
wikitext
text/x-wiki
{{SAFESUBST:<noinclude />#invoke:Unsubst||$B={{Db-meta
|bot={{{bot|}}}
|raw={{{raw|}}}
|rationale={{{reason|{{{rationale|}}}}}}
|criterion=G8
|temp={{{temp|}}}
|self=yes
|1= as {{#if:{{{1|}}}|{{{1}}}|a dependent page of a page}} which has never existed or has been deleted
|2={{{does_not_include|This does '''not''' include pages which are useful to the project such as user subpages and talk pages, talk page archives, information for a future article, redirects that can be retargeted to existing pages, etc}}}
|notes={{#if:{{{1|}}}|{{{notes|}}}|Please use a more specific template – {{Tl|Db-talk}}, {{Tl|Db-subpage}}, {{Tl|Db-redirnone}} or {{Tl|Db-templatecat}} – where possible.}}
|summary={{#if:{{{summary|}}}
|{{{summary}}}
|{{#switch:{{NAMESPACE}}
|Category = Populated by deleted or retargeted template
|Template = Component or documentation of a deleted template
|#default = Page dependent on a deleted or nonexistent page
}}
}}
|help={{{help|}}}
}}{{#ifeq:{{NAMESPACE}}|{{ns:file_talk}}|{{#ifexist:Media:{{PAGENAME}}
|<div class="error" style="font-size: larger;">''This image talk page is '''not''' orphaned! It is the talk page of an image from Commons.''</div>
}}}}<includeonly>{{Category handler
| all = [[Category:Candidates for speedy deletion]][[Category:Candidates for speedy deletion as dependent on a non-existent page]]
| nocat = {{{nocat|}}}
| category2 = {{{category|¬}}}
| page = Foo <!--CIRCUMVENT BLACKLIST-->
}}</includeonly>}}<noinclude>
{{Documentation}}
</noinclude>
p4bgmszlo4k49opf09zq3aax7pilrmf
Kategoria:Provínsia sira Filipina nian
14
7244
70435
2026-04-25T04:40:40Z
Exec8
6243
Pájina foun: '[[Kategoria:Filipina]]'
70435
wikitext
text/x-wiki
[[Kategoria:Filipina]]
qv45e1ge960vg119jkvhf0o8fr6m2c2
Pangasinan
0
7245
70436
2026-04-25T04:41:18Z
Exec8
6243
Pájina foun: '[[File:{{PH wikidata|image_map}}|280px|right]] '''{{PH wikidata|name}}''', ofisialmente '''Provínsia {{PH wikidata|name}}''', maka provínsia ida iha rejiaun {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ida-ne'e dezignadu ho kódigu área telefone {{PH wikidata|area_code}}...'
70436
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', ofisialmente '''Provínsia {{PH wikidata|name}}''', maka provínsia ida iha rejiaun {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ida-ne'e dezignadu ho kódigu área telefone {{PH wikidata|area_code}}. Ninia kapitál maka {{wikidata|property|P36}}.
[[Kategoria:Provínsia sira Filipina nian]]
nga77o1zg3fchjntets3w70kvxs0ype
70437
70436
2026-04-25T04:43:30Z
Exec8
6243
70437
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', ofisialmente '''Provínsia {{PH wikidata|name}}''', maka provínsia ida iha rejiaun {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ida-ne'e dezignadu ho kódigu área telefone {{PH wikidata|area_code}}. Ninia kapitál maka {{wikidata|property|P36}}.
{{Reflist}}
[[Kategoria:Provínsia sira Filipina nian]]
1cz7siykpdhcmu9whid265gmin09zbu
Rejiaun Ilocos
0
7246
70438
2026-04-25T04:46:34Z
Exec8
6243
.
70438
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', maka rejiaun ida iha {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ninia kapitál maka {{wikidata|property|P36}}.
{{Reflist}}
[[Kategoria:Rejiaun sira iha Filipina]]
lberxsxzz8jx6yu2l6t73h4y2uldxon
70440
70438
2026-04-25T04:47:54Z
Exec8
6243
Exec8 moveu [[Ilocos]] para [[Rejiaun Ilocos]]
70438
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', maka rejiaun ida iha {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ninia kapitál maka {{wikidata|property|P36}}.
{{Reflist}}
[[Kategoria:Rejiaun sira iha Filipina]]
lberxsxzz8jx6yu2l6t73h4y2uldxon
70442
70440
2026-04-25T04:48:17Z
Exec8
6243
70442
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', maka rejiaun ida iha {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ninia kapitál maka [[{{wikidata|property|P36}}]].
{{Reflist}}
[[Kategoria:Rejiaun sira iha Filipina]]
7xaijoiblsevbn6otf9kfx6vsmrejj3
70443
70442
2026-04-25T04:48:31Z
Exec8
6243
70443
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', maka rejiaun ida iha {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu. Ninia kapitál maka {{wikidata|property|P36}}.
{{Reflist}}
[[Kategoria:Rejiaun sira iha Filipina]]
lberxsxzz8jx6yu2l6t73h4y2uldxon
Kategoria:Rejiaun sira iha Filipina
14
7247
70439
2026-04-25T04:47:29Z
Exec8
6243
Pájina foun: '[[Kategoria: Filipina]]'
70439
wikitext
text/x-wiki
[[Kategoria: Filipina]]
j0bqvh7y54o2902qfzn0ayyr9hryuqi
Ilocos
0
7248
70441
2026-04-25T04:47:54Z
Exec8
6243
Exec8 moveu [[Ilocos]] para [[Rejiaun Ilocos]]
70441
wikitext
text/x-wiki
#REDIRECIONAMENTO [[Rejiaun Ilocos]]
n4z5wn05uk6or5eao0kwgujpjb3g7jd
Dagupan
0
7249
70444
2026-04-25T04:52:01Z
Exec8
6243
Pájina foun: '[[File:{{PH wikidata|image_map}}|280px|right]] '''{{PH wikidata|name}}''', ofisialmente '''Sidade {{PH wikidata|name}}''', maka sidade iida iha provínsia {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu, no elevasaun {{wikidata|property|P2044}} metru hosi nível tasi nian. Ida-...'
70444
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', ofisialmente '''Sidade {{PH wikidata|name}}''', maka sidade iida iha provínsia {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu, no elevasaun {{wikidata|property|P2044}} metru hosi nível tasi nian. Ida-ne'e dezignadu ho kódigu área telefone {{PH wikidata|area_code}}, no kódigu postál {{PH wikidata|postal_code}}.
[[Kategoria:Sidade sira iha Filipina]]
1kye5qnpk87ftfm4esi1w0yrn1qbssw
70446
70444
2026-04-25T04:53:29Z
Exec8
6243
70446
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', ofisialmente '''Sidade {{PH wikidata|name}}''', maka sidade iida iha provínsia {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu, no elevasaun {{wikidata|property|P2044}} metru hosi nível tasi nian. Ida-ne'e dezignadu ho kódigu área telefone {{PH wikidata|area_code}}, no kódigu postál {{PH wikidata|postal_code}}.
Kategoria:Sidade no munisípiu sira iha Filipina
pfftgej2mg6thoji3f2jyii3bw31h42
70447
70446
2026-04-25T04:53:40Z
Exec8
6243
70447
wikitext
text/x-wiki
[[File:{{PH wikidata|image_map}}|280px|right]]
'''{{PH wikidata|name}}''', ofisialmente '''Sidade {{PH wikidata|name}}''', maka sidade iida iha provínsia {{PH wikidata|province}}, {{PH wikidata|country}}. Tuir sensus ikus liu {{wikidata|qualifier|single|P1082|P585}} nian, nia iha populasaun ema {{PH wikidata|population_total}}. Ida-ne'e iha área rai nian ho {{PH wikidata|area}} kilómetru kuadradu, no elevasaun {{wikidata|property|P2044}} metru hosi nível tasi nian. Ida-ne'e dezignadu ho kódigu área telefone {{PH wikidata|area_code}}, no kódigu postál {{PH wikidata|postal_code}}.
[[Kategoria:Sidade no munisípiu sira iha Filipina]]
t5q5by50dtpr7xqsvx5jx4d0k117uh9
Kategoria:Sidade sira iha Filipina
14
7250
70445
2026-04-25T04:53:06Z
Exec8
6243
Pájina foun: '[[Kategoria: Filipina]]'
70445
wikitext
text/x-wiki
[[Kategoria: Filipina]]
j0bqvh7y54o2902qfzn0ayyr9hryuqi