Module:Progress box and Module:Progress box/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
-silly implements line, it's in the /doc |
enhanced concision of overly verbose condition |
||
Line 1: | Line 1: | ||
-- This module implements [[Template:Progress box]] |
|||
local makePurgeLink = require('Module:Purge')._main |
local makePurgeLink = require('Module:Purge')._main |
||
local lang = mw.language.getContentLanguage() |
local lang = mw.language.getContentLanguage() |
||
Line 127: | Line 129: | ||
-- Set data |
-- Set data |
||
if not args.float or |
if not args.float or (args.float == 'left' or args.float == '') then |
||
self._float_class = 'maint-cat-progress-left' |
self._float_class = 'maint-cat-progress-left' |
||
elseif args.float == 'right' then |
elseif args.float == 'right' then |