Module:etymology: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 222: Line 222:
             elseif is_infix(term) then
             elseif is_infix(term) then
                 table.insert(categories, language_to.name .. " terms infixed with " .. term)
                 table.insert(categories, language_to.name .. " terms infixed with " .. term)
                 n_affix = n_affix + 1
                 n_affixes = n_affixes + 1
             elseif is_prefix(term) then
             elseif is_prefix(term) then
                 table.insert(categories, language_to.name .. " terms prefixed with " .. term)
                 table.insert(categories, language_to.name .. " terms prefixed with " .. term)
                 n_affix = n_affix + 1
                 n_affixes = n_affixes + 1
             elseif is_suffix(term) then
             elseif is_suffix(term) then
                 table.insert(categories, language_to.name .. " terms suffixed with " .. term)
                 table.insert(categories, language_to.name .. " terms suffixed with " .. term)
                 n_affix = n_affix + 1
                 n_affixes = n_affixes + 1
             end
             end
             if language_from then
             if language_from then
Line 243: Line 243:
         })
         })
     end
     end
     if (not args["nocat"]) and (n_parts > 1 and n_affix == 0) then
     if (not args["nocat"]) and (n_parts > 1 and n_affixes == 0) then
         table.insert(categories, language_to.name .. " compound terms")
         table.insert(categories, language_to.name .. " compound terms")
     end
     end

Navigation menu