Differenze tra le versioni di "Modulo:Bananas"
| Riga 3: | Riga 3: | ||
local acute_or_grave = "[" .. mw.ustring.char(0x300, 0x301) .. "]" | local acute_or_grave = "[" .. mw.ustring.char(0x300, 0x301) .. "]" | ||
| − | print(acute_or_grave[1]) | + | print('acute_or_grave[1]') |
function p.word(frame) | function p.word(frame) | ||
Versione delle 21:40, 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[1]')
function p.word(frame)
a = mw.ustring.lower('Cé4A')
decomposed = mw.ustring.toNFD(a)
return decomposed
end
return p