"ମଡ୍ୟୁଲ:Infobox" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
ଟିକେ fixes for child infoboxes so HTML Tidy is not required |
|||
୧୦ କ ଧାଡ଼ି:
local origArgs
local root
local function union(t1, t2)
Line ୪୭ ⟶ ୪୩:
-- Adds a row to the infobox, with either a header cell
-- or a label/data cell combination.
if rowArgs.header then
:tag('tr')
:addClass(rowArgs.rowclass)
Line ୯୮ ⟶ ୭୩:
:done()
end
local dataCell = row:tag('td')
if not rowArgs.label then
Line ୧୧୪ ⟶ ୮୮:
:wikitext(rowArgs.data)
end
end
Line ୧୪୨ ⟶ ୧୦୨:
local function renderAboveRow()
if not args.above then return end
root
:tag('tr')
Line ୨୭୦ ⟶ ୨୩୧:
-- Specify the overall layout of the infobox, with special settings
-- if the infobox is used as a 'child' inside another infobox.
if args.child ~= 'yes' then
root = mw.html.create('table')
Line ୩୦୦ ⟶ ୨୬୦:
else
root = mw.html.create()
root
:wikitext(args.title)
Line ୩୧୩ ⟶ ୨୭୩:
renderTrackingCategories()
return
end
|