Content deleted Content added
mNo edit summary |
styling |
||
Line 642:
if args.demo_page then -- for testing purposes
local category_list = mw.html.create('div')
:css('background-color', '#F5F5F5'):css('border-width', '1px')
:css('width', '500px')
:wikitext('Categories:')
:tag('
for _, cat in ipairs(categories) do
local cat_link = wikilink(':Category:' .. cat.category, cat.category)
category_list:tag('li'):wikitext(cat_link):done()
end
|