Module:Interlinear: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local p = {} local data = mw.loadData( 'Module:Interlinear/data' ) local gloss_override = {} -- for custom gloss abbreviations local getArgs = require('Module:Arguments').getA...")
 
No edit summary
Line 26: Line 26:
-- if set to "none" abbreviations aren't formatted at all
-- if set to "none" abbreviations aren't formatted at all
ErrorCategory = "[[Category:Pages with errors in interlinear text]]",
ErrorCategory = "[[Category:Pages with errors in interlinear text]]",
AmbiguousGlossCategory = "[[Category:Articles with ambiguous glossing abbreviations]]",
AmbiguousGlossCategory = "",
MessageGlossingError = "Error(s) in interlinear glossing",
MessageGlossingError = "Error(s) in interlinear glossing",
combining_gender_numbers = "[0-9][0-9]?$", --e.g. G4 '4th gender' or CL7 'class 7'
combining_gender_numbers = "[0-9][0-9]?$", --e.g. G4 '4th gender' or CL7 'class 7'
Line 815: Line 815:
end
end
if last_line > 3 and template_name ~= 'Template:Fs interlinear'
if last_line > 3 and template_name ~= 'Template:Fs interlinear'
then  temp_track = "[[Category:Pages with interlinear glosses using more than three unnamed parameters]]"
then  temp_track = ""
end
end
return tostring(div) .. temp_track .. msg:print_warnings()
return tostring(div) .. temp_track .. msg:print_warnings()

Navigation menu