Modulo:Val: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Moroboshi (discussione | contributi)
rimando a errori di compilazione del template M
 
(3 versioni intermedie di 3 utenti non mostrate)
Riga 41:
if iswarning then
body = '<sup class="noprint Inline-Template" style="white-space:nowrap;">' ..
'[[Template:ValM|<span title="' ..
msg:gsub('"', '&quot;') ..
'">warning</span>]]</sup>'
else
body = '<strong class="error">' ..
'Errore in &#123;&#123;[[Template:valM|valM]]&#125;&#125;: ' ..
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 .. (table.removeconcat(dpart, 1) or ''))
for _--table.insert(groups, vnumdot in.. ipairs(table.remove(dpart, 1) door ''))
--for _, v in ipairs(dpart) do
-- table.insert(groups, '<span style="margin-left:.25em;">' .. v .. '</span>')
--end
end
result = sign .. table.concat(groups)