Module:Sandbox/CAS222222221: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 36:
:wikitext( ' ' )
:css( 'width', '10px' )
:css( 'border', '1px solid black' )
:css( 'background-color', color(args, year) )
Line 80 ⟶ 81:
local firstyear, lastyear
ret = mw.html.create( 'table' )
ret
:css('float', args.align or 'right')
:css('clear', args.align or 'right')
:css('margin', '0 0 0.5ex 1em')
:css('font-size', '85.7%')
:css('line-height', '90%')
:css('max-width', '264px')
:attr('cellspacing', '0')
:attr('cellpadding', '4')
:attr('summary', args.summary or '')
do
local caption
caption = mw.html.create('caption')
caption:wikitext(args.title or '发行时间轴')
ret:node(caption)
end
if tonumber(args.first) then
Line 100 ⟶ 120:
end
end
for year = firstyear, lastyear do