Module:Annotated link: Difference between revisions

Content deleted Content added
m Category:Pages displaying an annotated link with a case-altered short description <-- better
made |desc_first_letter_case=upper default + wrapping |abbr= with <abbr> tags and providing optional |abbr_title=
Line 49:
end
local case = args.desc_first_letter_case or 'upper'
local abbr_title = args.abbr_title
local dash = args.dash or ' –'
local display = args.display
Line 87 ⟶ 88:
if abbr then
result = result .. ' (' .. <abbr .. ')'
if abbr_title then
result = result .. ' title="' .. abbr_title '"'
end
result = result .. '>' .. abbr .. '</abbr>)'
end