8,278
edits
No edit summary Tag: Manual revert |
No edit summary |
||
Line 15: | Line 15: | ||
align = 'text-top' | align = 'text-top' | ||
} | } | ||
-- local id = mw.text.trim( tostring( args[1] or '' ) ) | |||
-- if not args.keepcase then | |||
-- id = mw.ustring.lower( id ):gsub( '[%s%+]', '-' ) | |||
-- end | |||
local id = mw.text.trim( tostring( args[1] or '' ) ) | local id = mw.text.trim( tostring( args[1] or '' ) ) | ||
if not args.keepcase then | if not args.keepcase then | ||
id = mw.ustring.lower( id ):gsub( '[%s%+]', '-' ) | id = mw.ustring.lower( id ):gsub( '[%s%+]', '-' ) | ||
end | if string.find(id, "parallel:") then | ||
id = mw.ustring.lower( id ):gsub( 'parallel:', '' ) | |||
end | |||
end | |||
-- local link = ( args.link or '' ) | -- local link = ( args.link or '' ) |