Módulo:ABNT: mudanças entre as edições
Conteúdo deletado Conteúdo adicionado
Sem resumo de edição |
Sem resumo de edição |
||
Linha 23:
local agents={}
if #creator >= 1 or #contributor >= 1 then
Linha 33 ⟶ 32:
end
for k, v in pairs(agents) do
if string.match( v, '^(.*,.*),') then
end
end
for k, v in pairs(
if string.match( v, '^(.*)%s%(') then
end
end
Linha 92 ⟶ 89:
end
-- Verificar se há páginas
local pages = frame:callParserFunction{ name = '#show', args = { target, '?Has extent#', link = 'none' } }
pages = string.gsub( pages, 'páginas', 'p. ')
Linha 99 ⟶ 96:
end
-- Verificar se há ISBN
local isbn = frame:callParserFunction{ name = '#show', args = { target, '?Has ISBN#', link = 'none' } }
isbn = string.match( isbn, '^%d+') or ''
Linha 107 ⟶ 104:
end
-- Verificar se há URL
local url = frame:callParserFunction{ name = '#show', args = { target, '?Has uniform resource locator#', link = 'none' } }
if #url >= 1 then
| |||