Jump to content

Module:Shortcut: Difference between revisions

104 bytes removed ,  6 years ago
m
remove line breaks to allow transclusion in list items
(make code nicer)
m (remove line breaks to allow transclusion in list items)
Line 65: Line 65:
anchorDiv:tag('span'):attr('id', anchor)
anchorDiv:tag('span'):attr('id', anchor)
end
end
root:newline() -- To match the old [[Template:Shortcut]]


-- Shortcut heading
-- Shortcut heading
Line 75: Line 73:
shortcutHeading = message(cfg['shortcut-heading'], nShortcuts)
shortcutHeading = message(cfg['shortcut-heading'], nShortcuts)
shortcutHeading = frame:preprocess(shortcutHeading)
shortcutHeading = frame:preprocess(shortcutHeading)
shortcutHeading = shortcutHeading .. '\n'
end
end
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.