Jump to content

Editing Module:Sidebar

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 96: Line 96:
end
end
local plainlist_styles = add_list_templatestyles('plainlist', cfg.i18n.plainlist_templatestyles)
local plainlist_styles = add_list_templatestyles('plainlist', 'Plainlist/styles.css')
local hlist_styles = add_list_templatestyles('hlist', cfg.i18n.hlist_templatestyles)
local hlist_styles = add_list_templatestyles('hlist', 'Hlist/styles.css')
-- a second workaround for [[phab:T303378]]
-- a second workaround for [[phab:T303378]]
Line 104: Line 104:
if has_navbar(args.navbar, args.name) and hlist_styles == '' then
if has_navbar(args.navbar, args.name) and hlist_styles == '' then
hlist_styles = frame:extensionTag{
hlist_styles = frame:extensionTag{
name = 'templatestyles', args = { src = cfg.i18n.hlist_templatestyles}
name = 'templatestyles', args = { src = 'Hlist/styles.css' }
}
}
end
end
 
-- hlist -> plainlist is best-effort to preserve old Common.css ordering. [hlist_note]
-- hlist -> plainlist is best-effort to preserve old Common.css ordering. [hlist_note]
return hlist_styles .. plainlist_styles
return hlist_styles .. plainlist_styles
Please note that all contributions to OrangDev Labs Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OrangDev Labs Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template

Template used on this page: