Módulo:ABNT: mudanças entre as edições

sem sumário de edição
imported>Jaideraf
Sem resumo de edição
imported>Jaideraf
Sem resumo de edição
local agents={}
local newagents={}
local newnewagents={}
if #creator >= 1 or #contributor >= 1 then
 
end
for k, v in pairs(agents) do
if string.match( v, '^(.*,.*),') then
vagents[k] = string.match( v, '^(.*,.*),') -- Assis, Machado de, 1839-1908
table.insert(newagents, v)
end
end
for k, v in pairs(newagentsagents) do
if string.match( v, '^(.*)%s%(') then
vagents[k] = string.match( v, '^(.*)%s%(') -- Tolkien, J. R. R. (John Ronald Reuel), 1892-1973
table.insert(newnewagents, v)
end
end
end
-- Verificar se há páginas
local pages = frame:callParserFunction{ name = '#show', args = { target, '?Has extent#', link = 'none' } } or ''
pages = string.gsub( pages, 'páginas', 'p. ')
 
end
-- Verificar se há ISBN
local isbn = frame:callParserFunction{ name = '#show', args = { target, '?Has ISBN#', link = 'none' } } or ''
isbn = string.match( isbn, '^%d+') or ''
 
end
-- Verificar se há URL
local url = frame:callParserFunction{ name = '#show', args = { target, '?Has uniform resource locator#', link = 'none' } } or ''
 
if #url >= 1 then
Usuário anônimo