Module:Sidebar: Difference between revisions
Created page with "require('strict') local cfg = mw.loadData('Module:Sidebar/configuration') local p = {} local getArgs = require('Module:Arguments').getArgs --[[ Categorizes calling templates and modules with a 'style' parameter of any sort for tracking to convert to TemplateStyles. TODO after a long cleanup: Catch sidebars in other namespaces than Template and Module. TODO would probably want to remove /log and /archive as CS1 does ]] local function categorizeTemplatesWithInlineStyle..." |
m 1 revision imported: some changes are needed ; like removing link to UTRS |
||
Line 1: | Line 1: | ||
-- | |||
-- This module implements {{Sidebar}} | |||
-- | |||
-- requires ('Module:No globals')('Module:Sidebar/configuration')('Module:Arguments') | |||
require('strict') | require('strict') | ||
local cfg = mw.loadData('Module:Sidebar/configuration') | local cfg = mw.loadData('Module:Sidebar/configuration') | ||
Line 383: | Line 388: | ||
:cssText(args.basestyle) | :cssText(args.basestyle) | ||
:cssText(args.listtitlestyle) | :cssText(args.listtitlestyle) | ||
:cssText('color: var(--color-base)') | |||
:cssText(args['list' .. num .. 'titlestyle']) | :cssText(args['list' .. num .. 'titlestyle']) | ||
:node(title) | :node(title) |