Content deleted Content added
The Mol Man (talk | contribs) No edit summary |
The Mol Man (talk | contribs) No edit summary |
||
Line 82:
end
local function add_title()
local title_string = '"'..args.Title..'"'▼
if args.RTitle then▼
title_string = title_string..RTitle▼
end▼
if args.AltTitle then▼
title_string = title_string..'"'..args.AltTitle..'"'▼
end▼
if args.RAltTitle then▼
title_string = title_string..RAltTitle▼
end▼
end
for _,v in ipairs(cell_names) do
if args[v] then
nonnil_params = nonnil_params + 1
td_tags[v] = mw.html.create('td')
:wikitext(args[v])▼
if args[v] == 'Title' then
td_tags[v]:wikitext(add_title())
else
end
table_row:node(td_tags[v])
end
Line 92 ⟶ 115:
if ProdCode and args.ProdCode then
ProdCode:attr('id','pc'..args.ProdCode)
▲ end
▲ if Title and args.Title then
▲ local title_string = '"'..args.Title..'"'
▲ if args.RTitle then
▲ title_string = title_string..RTitle
▲ end
▲ if args.AltTitle then
▲ title_string = title_string..'"'..AltTitle..'"'
▲ end
▲ if args.RAltTitle then
▲ title_string = title_string..RAltTitle
▲ end
▲ Title:wikitext(title_string)
end
|