Diferencia entre revisiones de «Módulo:Gráfica de casos médicos»

Contenido eliminado Contenido añadido
Borro navbar
Repongo navbar pero como opcional
Línea 560:
end
local navbar = ''
if args.navbar then
local location = lang:ucfirst(mw.ustring.gsub(args.location, i18n.the_, ''))
local navbartitle = i18n._medicalCasesChart .. ' de ' .. args.disease .. ' en ' ..
(args.location3 and args.location3 .. '/' or '') ..
(args.location2 and args.location2 .. '/' or '') ..
location
navbar = spaces(2) .. '(' ..
require('Módulo:Navbar')._navbar({navbartitle, titleArg=':'
.. mw.getCurrentFrame():getParent():getTitle(), mini=1, nodiv=1}) ..
')'
end
title[1] = (args.pretitle and args.pretitle .. ' ' or '') ..
i18n.casesOf .. ' ' .. args.disease .. ' ' .. 'en' .. ' ' .. args.location ..
(args.location2 and ', ' .. args.location2 or '') ..
(args.location3 and ', ' .. args.location3 or '') ..
(args.posttitle and ' ' .. args.posttitle or '') .. navbar .. '<br />'
'<br />'
title[2] = p._legend0({p._barColors[1], i18n.deaths})