Documentation for this module may be created at Մոդուլ:WikidataIB/titleformats/doc

--[[
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 = {}

p.quotes = {}

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