Module:etymology: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 222: Line 222:
             if args["noaff"][i] then
             if args["noaff"][i] then
                 --cool, this is a marked non-affix, don't let it be classified as one!
                 --cool, this is a marked non-affix, don't let it be classified as one!
            elseif language_from then
            table.insert(categories, language_to.name .. " terms derived from " .. language_from.name)
            if is_infix(term) or is_prefix(term) or is_suffix(term) then n_affixes = n_affixes + 1 end
             elseif is_infix(term) then
             elseif is_infix(term) then
                 table.insert(categories, language_to.name .. " terms infixed with " .. cite_term)
                 table.insert(categories, language_to.name .. " terms infixed with " .. cite_term)
Line 231: Line 234:
                 table.insert(categories, language_to.name .. " terms suffixed with " .. cite_term)
                 table.insert(categories, language_to.name .. " terms suffixed with " .. cite_term)
                 n_affixes = n_affixes + 1
                 n_affixes = n_affixes + 1
            end
            if language_from then
                table.insert(categories, language_to.name .. " terms derived from " .. language_from.name)
             end
             end
         end
         end

Navigation menu