Diferencia entre revisiones de «Módulo:Biocitas»
Contenido eliminado Contenido añadido
categorías solo en NS0 |
Sin resumen de edición |
||
Línea 6:
local categorias = ''
function errorMessage(text,cat)
-- Función que entrega un mensaje de error formateado como tal
cat = categorias
local html = mw.html.create('div')
html:addClass('error')
:wikitext(text)
return tostring(html)
end
Línea 464 ⟶ 465:
end
if mw.title.getCurrentTitle().namespace ~= 0 then --solo categorías en el espacio principal▼
categorias = '' ▼
end▼
-- Ordenar e Iniciales--
if argus['Ordenar'] ~= nil then
Línea 478 ⟶ 476:
categorias=categorias..'[[Categoría:Wikisource:Artículos de autores sin llave de ordenamiento]]' --categoría Autores-X
end
▲ if mw.title.getCurrentTitle().namespace ~= 0 then --solo categorías en el espacio principal
▲ categorias = ''
▲ end
html:wikitext(categorias)
return tostring(html) .. '\n__NOTOC__'
|