Module:Shortcut: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
spacing changes, as discussed at Template talk:Shortcut
(Undid revision 805067215 by MSGJ (talk) - undo for now)
(spacing changes, as discussed at Template talk:Shortcut)
Line 87:
:css('border', '1px solid #aaa')
:css('background', '#fff')
:css('margin', '.3em0em .3em0em .3em0em 1em')
:css('padding', '.4em3em .6em .2em .6em')
:css('text-align', 'center')
:css('font-size', 'smaller85%')
:css('line-height', '2em')
:css('font-weight', 'bold')
:wikitext( if shortcutHeading) then
shortcutList
:tag('ul')
:tag('div')
:css('display','inline-block')
:css('border-bottom','1px solid #aaa')
:css('linemargin-heightbottom', '.2em')
:css('font-weight', 'normal')
:wikitext(shortcutHeading)
end
shortcutList
:tag('ul')
for i, item in ipairs(listItems) do
shortcutList:tag('li'):wikitext(item)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu