Module:CareerList: Difference between revisions

46 bytes removed ,  13 March 2023
no edit summary
No edit summary
No edit summary
if not args then
return mw.html.create('tr')
:css('background-color', getColor(args.index))
:node(mw.html.create('td'):attr('colspan', '4'):wikitext('Invalid arguments. Please see documentation for correct usage.'))
:done()
local site = args.site or mw.title.getCurrentTitle().text
local id = args.id or ''
local alias = getAlias(args.alias, mw.title.getCurrentTitle().text) -- исправление 2
local notes = getNotes(args.notes) -- исправление 3
local background = getBackground(site)