12,564
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
| Line 18: | Line 18: | ||
local l_gloss = m_data.aliases[gloss_code] | local l_gloss = m_data.aliases[gloss_code] | ||
if l then l_gloss = type(l.glossary) == "string" and l.glossary or l.label end | if l then l_gloss = type(l.glossary) == "string" and l.glossary or l.label end | ||
glosslet_format = frame:expandTemplate{title = "hover", args = {glosslet_format, l_gloss, noline = | glosslet_format = frame:expandTemplate{title = "hover", args = {glosslet_format, l_gloss, noline = args.style == nil, style = args.style}} | ||
if args | if args.nolink == nil then glosslet_format = "[[Appendix:Glossary#" .. l_gloss .. "|" .. glosslet_format .. "]]" end | ||
end | end | ||
gloss_keys[glosslet] = '<span style="font-variant: small-caps">' .. glosslet_format .. '</span>' | gloss_keys[glosslet] = '<span style="font-variant: small-caps">' .. glosslet_format .. '</span>' | ||