Anonimo

Modulo:DTGenerico: differenze tra le versioni

Da Wikitrek.
Category for modern HT box
(Annullata la modifica 34488 di Lucamauri (discussione))
Etichetta: Annulla
(Category for modern HT box)
Riga 209: Riga 209:
end
end


--- Function to query for HyperTrek migration data and to construct a proper box
--- Function to expand template contained within description,
-- to show them, if present
-- if present
-- @param frame Data from MW session
-- @param frame Data from MW session
-- @return Description with expanded template
-- @return String Text containing expanded template
function p.DescrWithTemplate(frame)
function p.DescrWithTemplate(frame)
local RawDescription = mw.wikibase.getDescription()
local RawDescription = mw.wikibase.getDescription()
Riga 279: Riga 279:
:attr('id', 'htdata')
:attr('id', 'htdata')
:addClass('htcontainer')
:addClass('htcontainer')
:wikitext(ImageString .. DataString .. "<ul>" .. QualiString .. "</ul>" .. "[[Categoria:Pagine originariamente convertite da HT]]") --.. string.char(10) .. "[[Categoria:Pagine originariamente convertite da HT]]")
:wikitext(ImageString .. DataString .. "<ul>" .. QualiString .. "</ul>" .. "[[Categoria:Pagine originariamente convertite da HT]]" .. "[[Categoria:Nuovo box HT]]") --.. string.char(10) .. "[[Categoria:Pagine originariamente convertite da HT]]")
return tostring(DIV)
return tostring(DIV)
else
else