Module:Color: Difference between revisions

Created page with "local p = {} local lib = require('Module:Feature') local aliases = { } local colors = { new = 'text-new', old = 'text-old' } -- Main function for wiki usage. -- If 2 arguments are present, treats the first one as a keyword. -- If only 1 argument is present, searches it for keywords. -- Returns the color associated with the keyword, or "inherit" if not found. function p.main(frame) local args = require('Module:Arguments').getArgs(frame) local..."
 
Els236 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
local colors = {
local colors = {
     new        = 'text-new',
     new        = 'text-new',
     old        = 'text-old'
     old        = 'text-old',
    buzz      = 'text-buzz',
    menu      = 'text-menu',
    help      = 'text-help',
    r4s        = 'text-R4S',
    r5s        = 'text-R5S',
}
}