Differenze tra le versioni di "Modulo:Bananas"
| Riga 1: | Riga 1: | ||
local p={} | local p={} | ||
| + | |||
| + | local acute_or_grave = "[" .. mw.ustring.char(0x300, 0x301) .. "]" | ||
| + | print(acute_or_grave) | ||
| + | |||
function p.word(frame) | function p.word(frame) | ||
| Riga 7: | Riga 11: | ||
return decomposed | return decomposed | ||
| − | |||
end | end | ||
return p | return p | ||
Versione delle 17:36, 17 set 2018
La documentazione per questo modulo può essere creata in Modulo:Bananas/man
local p={}
local acute_or_grave = "[" .. mw.ustring.char(0x300, 0x301) .. "]"
print(acute_or_grave)
function p.word(frame)
a = mw.ustring.lower('Cé4A')
decomposed = mw.ustring.toNFD(a)
return decomposed
end
return p