Content deleted Content added
implement templatestyles just to remove the reflist dependency here -- these are not fundamentally reflists. templatestyles can be fixed elsewhere at a later date |
move templatestyles up |
||
Line 25:
return ''
end
local templatestyles = frame:extensionTag{▼
name = 'templatestyles', args = { src = 'Module:Sports table/styles.css' }▼
}▼
-- Edit links if requested
Line 592 ⟶ 596:
end
▲ local templatestyles = frame:extensionTag{
▲ name = 'templatestyles', args = { src = 'Module:Sports table/styles.css' }
▲ }
-- Add notes (if applicable)
if notes_exist then
table.insert(t_footer,'<br>Notes:')
-- As reflist size text
t_footer =
t_footer = t_footer..frame:expandTemplate{ title = 'notelist', args = { group='lower-alpha'} }
else
-- As reflist size text
t_footer =
end
Line 651 ⟶ 652:
if Args['float'] then
return frame:expandTemplate{ title = 'stack begin', args = {clear = 'true', margin = '1', float = Args['float']} }
.. templatestyles .. '\n' .. table.concat(t) .. frame:expandTemplate{ title = 'stack end'}
end
return templatestyles .. table.concat(t)
end
|