12,564
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
| Line 19: | Line 19: | ||
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 | ||
-- format hover | -- format hover | ||
glosslet_format = frame:expandTemplate{title = "hover", args = {glosslet_format, l_gloss, noline = args.noline or (args.style == nil and l and args. | glosslet_format = frame:expandTemplate{title = "hover", args = {glosslet_format, l_gloss, noline = args.noline or (args.style == nil and l and args.nolinks == nil), style = args.style}} | ||
if l and args. | if l and args.nolinks == nil then glosslet_format = "[[Appendix:Glossary#" .. l_gloss .. "|" .. glosslet_format .. "]]" end | ||
-- format links (hover and links MUST be in this order) | -- format links (hover and links MUST be in this order) | ||
end | end | ||