Module:Horizontal timeline: Difference between revisions
m
1 revision imported
No edit summary |
Vivaporius (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 52:
end
if args.caption then
cntnt:tag('
:cssText('clear:both; text-align:center')
:wikitext(args.caption)
Line 102:
args[style .. '-color'],
'transparent')
local barborder = getNotNilValue (args['bar-border'], '1px solid #000')
if bordrTop ~= 'none' then
bordrTop = 'border-top:' .. bordrTop .. ';'
Line 165 ⟶ 166:
if bar_bordr == 'none' then
if firstNode then -- for first box both left and right border needed
bar_bordr =
firstNode = false
else
bar_bordr =
end
end
Line 207 ⟶ 208:
end
for _, vals in ipairs(rowDat) do
local note_at =args['row' .. num .. '-'.. vals .. '-at'] --will never be nil as it is what is
local note_text =getNotNilValue(args['row' .. num .. '-'.. vals .. '-text'], '' )
local note_shift=getNotNilValue(args['row' .. num .. '-'.. vals .. '-shift'], '0em' )
|