Module:form of/templates: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 195: Line 195:
if not term and not args["alt"] and not args["tr"] and not args["ts"] then
if not term and not args["alt"] and not args["tr"] and not args["ts"] then
if mw.title.getCurrentTitle().nsText == "Template" then
if mw.title.getCurrentTitle().nsText == "Template" then
term = "term"
term = "bold"
else
else
error("No linked-to term specified; either specify term, alt, translit or transcription")
error("No linked-to term specified; either specify term, alt, translit or transcription")
Line 440: Line 440:
tags = tags,
tags = tags,
terminfo = terminfo,
terminfo = terminfo,
terminfo_face = "term",
terminfo_face = "bold",
notext = args["notext"],
notext = args["notext"],
capfirst = args["cap"] or iargs["withcap"] and not args["nocap"],
capfirst = args["cap"] or iargs["withcap"] and not args["nocap"],