ಮಾಡ್ಯೂಲ್: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
|