Module:number list/data/anrdg: Difference between revisions

Undo revision 331649 by Astaryuu (talk)
No edit summary
(Undo revision 331649 by Astaryuu (talk))
Line 137: Line 137:
}
}
for ones = 2, 9 do
for ones = 2, 9 do
local ones_cardinal = strsub(numbers[ones].cardinal,0,strfind(numbers[ones].cardinal,"<"))
local ones_cardinal = mw.ustring.sub(numbers[ones].cardinal,0,mw.ustring.find(numbers[ones].cardinal,"<"))
local ones_ordinal = strsub(numbers[ones].ordinal,0,strfind(numbers[ones].ordinal,"<"))
local ones_ordinal = mw.ustring.sub(numbers[ones].ordinal,0,mw.ustring.find(numbers[ones].ordinal,"<"))
numbers[tens + ones] = {
numbers[tens + ones] = {
ordinal = tens_ordinal .. ones_ordinal .. "<tr:" .. tens_ordinal .. ones_ordinal .. ">",
ordinal = tens_ordinal .. ones_ordinal .. "<tr:" .. tens_ordinal .. ones_ordinal .. ">",
1,073

edits