Module:etymology: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
No edit summary
Line 202: Line 202:
     ["root"] = {alias_of = "noaff"},
     ["root"] = {alias_of = "noaff"},
     ["nolink"] = {list = true, allow_holes = true, type = "boolean"},
     ["nolink"] = {list = true, allow_holes = true, type = "boolean"},
     ["hypothetical"] = {list = true, allow_holes = true, type = "boolean"},
     ["hypo"] = {list = true, allow_holes = true, type = "boolean"},
     ["hypo"] = {alias_of = "noaff"},
     ["hypothetical"] = {alias_of = "hypo"},
     ["notext"] = {type = "boolean"},
     ["notext"] = {type = "boolean"},
     ["nocap"] = {type = "boolean"},
     ["nocap"] = {type = "boolean"},
Line 435: Line 435:
             end
             end
         end
         end
         local i_out
         table.insert(pre_out,  m_links.full_link({
        if args["nolink"][i] or i_args["nolink"] then
        i_out = "''" .. i_term .. "''"
        else
        i_out = m_links.full_link({
            term = i_term,
            term = i_term,
            language = language_from or language_to,
            language = language_from or language_to,
Line 446: Line 442:
            pos = args["pos"][i] or i_args["pos"],
            pos = args["pos"][i] or i_args["pos"],
            anchor = args["anchor"][i] or i_args["anchor"] or i_args["a"],
            anchor = args["anchor"][i] or i_args["anchor"] or i_args["a"],
            --nolink = args["nolink"][i] or i_args["nolink"],
            --hypo = args["hypo"][i] or i_args["hypo"],
            showlanguage = (language_from and true),
            showlanguage = (language_from and true),
            nobold = true,
            nobold = true,
        }, "term")
        }, "term"))
        end
        table.insert(pre_out, i_out)
     end
     end
     if (not args["nocat"]) and (n_parts > 1 and n_affixes == 0) then
     if (not args["nocat"]) and (n_parts > 1 and n_affixes == 0) then

Navigation menu