Module:also: Difference between revisions

no edit summary
(Created page with "local export = {} local yesno = require('Module:yesno') local get_script -- If there are characters in both scripts (the key and value), the second -- should be used. local...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 154: Line 154:
end
end
return ("<div class=\"disambig-see-also%s\">''See also:'' %s</div>"):format(
return (": <div class=\"disambig-see-also%s\">''See also:'' %s</div>"):format(
(#items == 2) and "-2" or "",
(#items == 2) and "-2" or "",
serial_comma_join(items, use_semicolon and ";" or ",")
serial_comma_join(items, use_semicolon and ";" or ",")