Module:CareerList: Difference between revisions
Content deleted Content added
PeaceDeadC (talk | contribs) No edit summary |
PeaceDeadC (talk | contribs) No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
Line 4:
function p.makeTableTop()
local headerRow = mw.html.create('tr')
:node(mw.html.create('th'):wikitext('
:node(mw.html.create('th'):wikitext('
:node(mw.html.create('th'):wikitext('
:node(mw.html.create('th'):wikitext('
:done()
Line 29:
local function getAlias(alias, title)
end
end
local function getNotes(notes)
end
end
if not args.site then
return mw.html.create('tr')
:css('background-color', getColor(args.rowIndex))
:node(mw.html.create('td'):attr('colspan', '4'):wikitext('Invalid arguments. Please see documentation for correct usage.'))
:done()
Line 53:
local site = args.site or mw.title.getCurrentTitle().text
local id = args.id or ''
local alias = getAlias(args.alias,
local notes = getNotes(args.notes)
local background = getBackground(site)
Line 72:
:css('background-color', background)
:css('padding', '8px')
:wikitext(
:done()
Line 78:
:css('background-color', background)
:css('padding', '8px')
:wikitext(
:done()
return mw.html.create('tr')
:css('background-color', getColor(args.
:node(cell)
:node(idCell)
| |||