Modulo:Val: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
fix formattazione di default numeri di quattro cifre |
|||
(4 versioni intermedie di 3 utenti non mostrate) | |||
Riga 36:
category = ''
else
category = '[[Category:Errori di compilazione del template
end
iswarning = false -- problems are infrequent so try showing large error so editor will notice
if iswarning then
body = '<sup class="noprint Inline-Template" style="white-space:nowrap;">' ..
'[[Template:
msg:gsub('"', '"') ..
'">warning</span>]]</sup>'
else
body = '<strong class="error">' ..
'Errore in {{[[Template:
msg ..
'</strong>'
Riga 58:
[","] = ", ",
["by"] = " su ",
["-"] = "
["–"] = "
["and"] = " e ",
["or"] = " o " ,
Riga 575:
table.insert(groups, '<span style="margin-left:.25em;">' .. v .. '</span>')
end
-- Nota su en.wiki viene divisa anche la parte decimale del numero
if dpart then
table.insert(groups, numdot ..
--for _, v in ipairs(dpart) do
-- table.insert(groups, '<span style="margin-left:.25em;">' .. v .. '</span>') --end
end
result = sign .. table.concat(groups)
|