Anonymous user
Module:Shortcut: Difference between revisions
Change table to div, per talk
Enwikipedia>Mr. Stradivarius m (Protected Module:Shortcut: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(Change table to div, per talk) |
||
Line 78:
-- Shortcut box
local shortcutList = root
:tag('
:addClass('shortcutbox plainlist noprint')
:css('float', 'right')
:css('border', '1px solid #aaa')
:css('background', '#fff')
:css('margin', '.3em .3em .3em 1em')
:css('padding', '
:css('text-align', 'center')
▲ :css('border', 'none')
▲ :wikitext(shortcutHeading)
for i, item in ipairs(listItems) do
shortcutList:tag('li'):wikitext(item)
|